/* ---------- DESIGN SYSTEM & VARIABLES ---------- */
:root {
  --paper: #F4F4EF;
  --paper-deep: #EBEBE3;
  --ink: #14241C;
  --ink-soft: #3D4A42;
  --cash: #0E7A47;
  --cash-deep: #0A5F37;
  --tag: #F2C200;
  --line: #C9CCC2;
  --mono: 'IBM Plex Mono', monospace;
  --shadow: 4px 4px 0 rgba(20, 36, 28, 1);
  --shadow-lg: 8px 8px 0 rgba(20, 36, 28, 1);
  --shadow-sm: 2px 2px 0 rgba(20, 36, 28, 1);
}

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Assistant', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Karantina', sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
}

.mono {
  font-family: var(--mono);
  direction: ltr;
  unicode-bidi: embed;
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--paper-deep);
  border-left: 2px solid var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-soft);
  border: 2px solid var(--paper-deep);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

/* ---------- GENERAL COMPONENTS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cash);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.15s;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background-color: var(--cash-deep);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0px 0px 0 var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn.ghost:hover {
  background: var(--paper-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.accent {
  background: var(--tag);
  color: var(--ink);
}

.btn.accent:hover {
  background: #e0b400;
}

.btn svg {
  flex: none;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--tag);
  outline-offset: 2px;
}

/* ---------- TOP BAR ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 239, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo b {
  font-family: 'Karantina';
  font-size: 34px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo b span {
  color: var(--cash);
}

.logo small {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 15px;
}

.topbar nav a.navlink {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}

.topbar nav a.navlink::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: var(--cash);
  transition: width 0.2s ease;
}

.topbar nav a.navlink:hover {
  color: var(--ink);
}

.topbar nav a.navlink:hover::after {
  width: 100%;
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: radial-gradient(circle at 80% 20%, rgba(14, 122, 71, 0.05) 0%, transparent 50%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(56px, 8.5vw, 104px);
  margin-bottom: 20px;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--cash);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 8px;
  height: 0.15em;
  background: var(--tag);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero p.lead {
  font-size: 21px;
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 34px;
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero .note {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero .note b {
  color: var(--cash-deep);
}

/* Weighing Tags (Signature Widget) */
.tagboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.wtag {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 16px 20px 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  max-width: 420px;
}

.wtag:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: var(--shadow);
}

.wtag::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.wtag .t-body {
  padding-right: 16px;
}

.wtag .t-name {
  font-weight: 700;
  font-size: 18px;
}

.wtag .t-sub {
  font-size: 14px;
  color: var(--ink-soft);
}

.wtag .t-price {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  background: var(--tag);
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.tagboard .hint {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- TRUST STRIP ---------- */
.trust {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 0;
  border-bottom: 2px solid var(--ink);
}

.trust .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 16px;
}

.trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust .dot {
  color: var(--tag);
}

/* ---------- SECTIONS & HEADER ---------- */
section {
  padding: 110px 0;
}

.sec-head {
  margin-bottom: 48px;
  max-width: 680px;
}

.sec-head .eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--cash-deep);
  display: block;
  margin-bottom: 12px;
}

.sec-head h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  color: var(--ink);
}

.sec-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 19px;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step .num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 12px;
  margin-bottom: 20px;
  border-radius: 2px;
}

.step h3 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--ink);
}

.step p {
  color: var(--ink-soft);
  font-size: 16px;
}

.step .stamp {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cash);
  border: 2px solid var(--cash);
  border-radius: 4px;
  padding: 3px 10px;
  transform: rotate(-6deg);
  opacity: 0.9;
  background: #fff;
  box-shadow: 1px 1px 0 rgba(14, 122, 71, 0.2);
}

/* ---------- WHAT WE BUY ---------- */
.buy {
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.buygrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.buygrid .wtag {
  --r: 0deg;
  width: 100%;
  max-width: none;
}

.buy .anyway {
  margin-top: 40px;
  font-family: 'Karantina';
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--cash-deep);
}

/* ---------- INTERACTIVE ESTIMATOR (CALCULATOR) ---------- */
.calc-section {
  border-bottom: 2px solid var(--ink);
  background: radial-gradient(circle at 10% 80%, rgba(242, 194, 0, 0.04) 0%, transparent 40%);
}

.calc-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.calc-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}

.calc-slider-group {
  margin-bottom: 28px;
}

.calc-slider-group:last-child {
  margin-bottom: 0;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.calc-label-row label {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.calc-slider-val {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--cash-deep);
  background: var(--paper);
  padding: 2px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.calc-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--paper-deep);
  outline: none;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--tag);
  border: 2px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--tag);
  border: 2px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.calc-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  width: 32px;
}

/* Calculator Receipt Panel */
.calc-receipt {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 94px;
  transform: rotate(0.5deg);
}

.calc-receipt::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 10px;
  right: 10px;
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--ink), var(--ink) 4px, transparent 4px, transparent 8px);
  opacity: 0.15;
}

.receipt-head {
  border-bottom: 2px dashed var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.receipt-head h3 {
  font-size: 32px;
  color: var(--ink);
}

.receipt-head p {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.receipt-row.total-weight {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 10px;
  font-weight: 700;
  color: var(--ink);
}

.receipt-total {
  border-top: 2px solid var(--ink);
  margin-top: 16px;
  padding-top: 16px;
  text-align: center;
}

.receipt-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  display: block;
}

.receipt-total-val {
  font-family: var(--mono);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  color: var(--cash);
  display: block;
  margin: 6px 0 20px;
}

.receipt-note {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 16px;
  line-height: 1.4;
}

/* ---------- DATA SECURITY ---------- */
.secure {
  background: var(--ink);
  color: var(--paper);
}

.secure .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.secure .eyebrow {
  color: var(--tag);
}

.secure h2 {
  color: #fff;
  font-size: clamp(40px, 5.5vw, 60px);
}

.secure p {
  color: #C9D2CC;
  font-size: 18px;
  margin-top: 14px;
}

.secure ul {
  margin-top: 24px;
  list-style: none;
}

.secure li {
  padding: 12px 32px 12px 0;
  border-bottom: 1px solid rgba(244, 244, 239, 0.15);
  position: relative;
  font-size: 17px;
}

.secure li::before {
  content: "✓";
  color: var(--tag);
  font-weight: 700;
  position: absolute;
  right: 0;
  top: 12px;
}

.cert {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 32px 28px;
  max-width: 400px;
  margin-inline: auto;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
}

.cert:hover {
  transform: rotate(0deg) scale(1.02);
}

.cert .c-head {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cert h3 {
  font-size: 36px;
  margin-bottom: 12px;
}

.cert p {
  font-size: 14px;
  color: var(--ink-soft);
}

.cert .c-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.cert .c-row b {
  font-family: var(--mono);
}

.cert .c-stamp {
  margin-top: 22px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cash);
  border: 2px solid var(--cash);
  border-radius: 4px;
  padding: 6px 16px;
  transform: rotate(-5deg);
  background: #fff;
}

/* ---------- ECO STRIP ---------- */
.eco {
  padding: 36px 0;
  background: var(--cash);
  color: #fff;
  border-bottom: 2px solid var(--ink);
}

.eco .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eco p {
  font-size: 18px;
  font-weight: 700;
  max-width: 64ch;
}

.eco .mono {
  font-size: 14px;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease;
}

.faq details:hover {
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
  color: var(--cash);
  flex: none;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "–";
}

.faq .a {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 16.5px;
  border-top: 1px solid var(--paper-deep);
  background: #fafafa;
}

/* ---------- QUOTE REQUEST FORM ---------- */
.contact-section {
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 40px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-method-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact-method-card svg {
  color: var(--cash);
}

.contact-method-card h4 {
  font-size: 16px;
  color: var(--ink-soft);
}

.contact-method-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

/* Form Styles */
.contact-form-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
  outline: none;
  transition: background-color 0.15s ease;
}

.form-control:focus {
  background: #fff;
  border-color: var(--cash);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* File upload styling */
.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px dashed var(--line);
  background: var(--paper);
  padding: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.file-upload-wrapper:hover {
  border-color: var(--ink);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.file-upload-label svg {
  color: var(--cash);
}

.file-list-preview {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Form success message */
.form-success-alert {
  display: none;
  background: #e6f7ed;
  border: 2px solid var(--cash);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  color: var(--cash-deep);
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.form-success-alert svg {
  margin-bottom: 10px;
}

.form-success-alert h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

/* ---------- CLOSING CTA ---------- */
.close-cta {
  background: var(--paper);
  border-top: none;
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.close-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(45deg, var(--ink), var(--ink) 6px, transparent 6px, transparent 12px);
}

.close-cta h2 {
  font-size: clamp(48px, 7vw, 88px);
  margin-bottom: 18px;
  color: var(--ink);
}

.close-cta h2 em {
  font-style: normal;
  color: var(--cash);
}

.close-cta p {
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.close-cta .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: #9FAAA3;
  padding: 48px 0;
  font-size: 14.5px;
  border-top: 2px solid var(--ink);
}

footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

footer b {
  color: var(--paper);
  font-family: 'Karantina';
  font-size: 26px;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 8px;
}

footer a {
  text-decoration: none;
  color: #c9d2cc;
}

footer a:hover {
  color: var(--paper);
}

footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer-title {
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}

footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(244, 244, 239, 0.1);
  padding-top: 24px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: #7b8880;
  font-size: 13px;
}

/* ---------- ANIMATION REVEALS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .wtag, .btn, .step, .cert {
    transition: none;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- RESPONSIVE LAYOUTS ---------- */
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .calc-container {
    grid-template-columns: 1fr;
  }
  
  .calc-receipt {
    position: static;
    transform: none;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .secure .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  footer .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .topbar nav .navlink {
    display: none;
  }
  
  .logo small {
    display: none;
  }
  
  .topbar .btn {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .topbar .btn .long {
    display: none;
  }
  
  .hero {
    padding: 56px 0;
  }
  
  .wtag {
    max-width: none;
  }
}

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--ink);
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--ink);
}

.floating-whatsapp:active {
  transform: scale(0.95);
}

/* Tooltip for floating WhatsApp */
.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  background-color: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(10px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--ink);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Pulse Animation for Floating WhatsApp */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--ink);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--ink);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--ink);
  }
}

.floating-whatsapp {
  animation: whatsapp-pulse 2.5s infinite;
}

.floating-whatsapp:hover {
  animation: none;
}

/* Adjustments for smaller screens to keep WhatsApp floating button clear */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-tooltip {
    display: none; /* Hide tooltips on mobile */
  }
}

/* ---------- BRAND AND TRUST ICONS ---------- */
.logo-icon {
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(20deg) scale(1.05);
}

.trust-icon {
  flex-shrink: 0;
  margin-left: 8px; /* Spacing in Hebrew RTL layout */
  transition: transform 0.2s ease;
}

.trust span:hover .trust-icon {
  transform: scale(1.2);
}
