/* ===========================================================
   Krishna Agrotech — Premium Wholesale Raisins
   Design system + all page styles
   =========================================================== */

:root {
  --deep:   #3D2817;   /* deep roasted brown  */
  --deep-2: #2A1B10;
  --gold:   #B9822A;   /* raisin golden       */
  --gold-2: #E7B84B;   /* bright gold accent  */
  --maroon: #6B2737;   /* dark raisin         */
  --cream:  #FBF6EE;   /* page background     */
  --cream-2:#F3E9D8;
  --sage:   #6F8B41;   /* fresh leaf green    */
  --wa:     #25D366;   /* whatsapp green      */
  --wa-d:   #1da851;
  --ink:    #2c2015;
  --muted:  #7a6a58;
  --line:   #e7dcc9;
  --card:   #ffffff;
  --shadow: 0 10px 30px -12px rgba(61,40,23,.28);
  --shadow-lg: 0 24px 60px -18px rgba(61,40,23,.40);
  --radius: 18px;
  --maxw: 1200px;
  --font-display: 'Fraunces','Playfair Display','Noto Sans Devanagari',Georgia,serif;
  --font-body: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans Devanagari',Roboto,sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--deep); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3a2708; box-shadow: 0 8px 20px -8px rgba(185,130,42,.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(185,130,42,.8); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { background: var(--deep-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(37,211,102,.6); }
.btn-wa:hover { background: var(--wa-d); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,238,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
/* The nav is a flex row, so the logo would otherwise get squeezed on narrow
   windows — and because images are capped at max-width:100% globally, that
   squeezing crushed it sideways instead of just making it smaller. */
.brand { flex: none; }
.brand img { height: 46px; width: auto; max-width: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* language switch */
.lang-switch { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: 0 4px 14px -10px rgba(61,40,23,.5); }
.lang-switch button { border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 11px; border-radius: 999px; transition: .18s; line-height: 1; }
.lang-switch button:hover { color: var(--deep); }
.lang-switch button.active { background: var(--deep); color: #fff; }

.dir-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--gold-2); }
.dir-link:hover { text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.4px; background: var(--deep); border-radius: 2px; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 78% -10%, rgba(231,184,75,.20), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(107,39,55,.10), transparent 60%),
    linear-gradient(180deg, #fffdf8, var(--cream));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 72px 0 90px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -.5px; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero p.lead { font-size: 18.5px; color: var(--muted); margin: 22px 0 12px; max-width: 540px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--deep);
  box-shadow: 0 4px 14px -10px rgba(61,40,23,.5);
}
.pill svg { width: 17px; height: 17px; color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-card {
  background: var(--card); border-radius: 26px; box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--line); transform: rotate(1.4deg);
  transition: transform .4s ease;
}
.hero-card:hover { transform: rotate(0); }
.hero-photo {
  aspect-ratio: 4/3; background:
    radial-gradient(circle at 30% 30%, #cf9b52, #8a5a24 70%);
  position: relative; display: grid; place-items: center;
}
.hero-photo .emoji { font-size: 96px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.3)); }
/* Fills the frame edge to edge. Positioned absolutely on purpose: a normal
   in-flow image would push the box to its own tall portrait height and
   stretch the whole hero, which is what happened before. Out of flow, the
   4/3 frame above stays in charge and the photo simply fills it.
   Display sizing only — the file is the full lot photo, untouched, so the
   catalogue and the lot popup are unaffected. */
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-card .meta { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.hero-card .meta strong { font-family: var(--font-display); font-size: 19px; }
.hero-card .meta .lot { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }
.hero-stat {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--deep); color: #fff; border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.hero-stat .num { font-family: var(--font-display); font-size: 30px; color: var(--gold-2); line-height: 1; }
.hero-stat .lbl { font-size: 12.5px; opacity: .85; }

/* ---------- Trust strip ---------- */
.trust { background: var(--deep); color: #f4ead7; }
.trust .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 34px 22px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(231,184,75,.15); display: grid; place-items: center; color: var(--gold-2); }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: #fff; }
.trust-item p { font-size: 13px; opacity: .8; }

/* ---------- Filter bar ---------- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 34px; }
.filters-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 260px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box input {
  width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; background: var(--cream); transition: .2s;
}
.search-box input:focus { outline: none; border-color: var(--gold); background: #fff; }
.select-wrap select {
  padding: 12px 40px 12px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; background: var(--cream); cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a6a58' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.tag-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  padding: 7px 15px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--cream); font-size: 13.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: .2s; text-transform: capitalize;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--deep); border-color: var(--deep); color: #fff; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ---------- Product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 26px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.card-media .placeholder { width:100%; height:100%; display:grid; place-items:center; font-size:64px; background: radial-gradient(circle at 35% 30%, #cf9b52, #855524 72%); }
.badge-lot {
  position: absolute; top: 12px; left: 12px; background: rgba(61,40,23,.9); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .6px; padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.badge-media {
  position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--deep);
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
}
.badge-media svg { width: 16px; height: 16px; }
.badge-out { position:absolute; inset:0; background:rgba(42,27,16,.55); display:grid; place-items:center; }
.badge-out span { background:var(--maroon); color:#fff; font-weight:700; padding:8px 18px; border-radius:999px; font-size:14px; letter-spacing:.5px; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
  font-size: 11.5px; font-weight: 600; color: var(--sage); background: rgba(111,139,65,.12);
  padding: 4px 10px; border-radius: 6px; text-transform: capitalize;
}
/* The price used to sit beside the button here; the button is on its own now,
   so let it fill the width rather than leaving a gap where the price was. */
.card-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.card-foot .btn { flex: 1; padding: 11px 16px; font-size: 13.5px; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .big { font-size: 54px; margin-bottom: 14px; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(42,27,16,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: #fff; border-radius: 22px; max-width: 920px; width: 100%; overflow: hidden;
  /* Fixed height so every lot opens at exactly the same size — the buttons
     then always sit in the same place instead of jumping about. Falls back
     to 92vh on short screens. */
  height: min(640px, 92vh);
  display: grid; grid-template-columns: 1fr 1fr;
  /* minmax(0,1fr) forces the row to obey max-height instead of growing to
     fit its content, which is what let tall lots spill out and get clipped */
  grid-template-rows: minmax(0, 1fr);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98); transition: transform .3s ease;
}
.modal-overlay.open .modal { transform: none; }
/* min-height:0 is essential — grid children refuse to shrink below their
   content by default, which stops .modal-body scrolling and clips the
   bottom of tall lots (thumbnail strip, buttons, hint text). */
.modal-media { background: var(--deep); position: relative; display: flex; flex-direction: column; min-height: 0; }
.modal-main-media { flex: 1; min-height: 200px; position: relative; display: grid; place-items: center; overflow: hidden; }
.modal-main-media img { width: 100%; height: 100%; object-fit: cover; position:absolute; inset:0; }
.modal-main-media iframe, .modal-main-media video { width: 100%; height: 100%; border: 0; position:absolute; inset:0; }
.modal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: rgba(0,0,0,.2); }
.modal-thumbs button { flex: none; width: 60px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background:#000; }
.modal-thumbs button.active { border-color: var(--gold-2); }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs .vid-thumb { width:100%; height:100%; display:grid; place-items:center; background:var(--maroon); color:#fff; }
.media-error { position:absolute; inset:0; display:grid; place-content:center; justify-items:center; gap:10px; padding:24px; text-align:center; color:#f4ead7; background:var(--deep); }
.media-error .me-ic { font-size:40px; opacity:.55; }
.media-error p { font-size:14px; opacity:.8; max-width:260px; }
.modal-body { padding: 30px 30px 26px; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.modal-thumbs { flex: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,.9); border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
}
.modal-close svg { width: 20px; height: 20px; }
.modal-body .lot-tag { font-size: 12.5px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.modal-body h2 { font-size: 30px; margin: 8px 0 14px; }
.modal-desc { color: var(--muted); font-size: 15px; margin: 14px 0; }
.modal-body .card-tags { margin: 4px 0 20px; }
.moq-note {
  display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1px dashed var(--gold);
  border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--deep); margin-bottom: 18px;
}
.moq-note svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.qty-row { margin-bottom: 16px; }
.qty-row label { font-size: 13.5px; font-weight: 600; color: var(--deep); display: block; margin-bottom: 7px; }
.qty-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; width: fit-content; }
.qty-input button { width: 42px; height: 44px; border: 0; background: var(--cream); font-size: 20px; cursor: pointer; color: var(--deep); }
.qty-input button:hover { background: var(--cream-2); }
.qty-input input { width: 90px; text-align: center; border: 0; font-size: 16px; font-weight: 600; font-family: inherit; }
.qty-input input:focus { outline: none; }
.qty-input .unit { padding: 0 14px; color: var(--muted); font-size: 14px; }
.btn.disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn.disabled:hover { transform: none; background: var(--wa); }

.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.enquire-hint { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--cream), #fffdf8); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(28px,4vw,42px); margin-bottom: 18px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.af { display: flex; gap: 12px; align-items: flex-start; }
.af .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(185,130,42,.12); color: var(--gold); display: grid; place-items: center; }
.af .ic svg { width: 21px; height: 21px; }
.af h4 { font-family: var(--font-body); font-size: 15.5px; font-weight: 700; color: var(--deep); }
.af p { font-size: 13.5px; margin: 3px 0 0; }
.about-visual { position: relative; }
/* Landscape now, to suit the photo of the premises — the old 5/6 portrait
   frame was built around a centred emoji and would have cropped the
   building away. The image is positioned absolutely so it fills the frame
   without its own height overriding the ratio. */
.about-visual .frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/10; background: radial-gradient(circle at 40% 30%, #d3a05a, #7c4f21 75%); }
.about-visual .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-visual .frame .emoji { font-size: 130px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { cursor: pointer; list-style: none; font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: var(--deep); padding: 16px 30px 16px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--gold); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.65; padding: 0 0 18px; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--deep); color: #f4ead7; }
.contact h2 { color: #fff; }
.contact .section-head p { color: rgba(244,234,215,.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.c-card { background: rgba(255,255,255,.05); border: 1px solid rgba(231,184,75,.18); border-radius: 16px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; transition: .25s; }
.c-card:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.c-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(231,184,75,.15); color: var(--gold-2); display: grid; place-items: center; }
.c-card .ic svg { width: 22px; height: 22px; }
.c-card h4 { font-family: var(--font-body); font-size: 15px; color: #fff; margin-bottom: 5px; }
.c-card p, .c-card a { font-size: 14.5px; color: rgba(244,234,215,.85); line-height: 1.55; }
.c-card .phones { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.c-card .phones a { font-weight: 600; color: var(--gold-2); }
.c-card .phones a:hover { text-decoration: underline; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid rgba(231,184,75,.18); min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: var(--deep-2); color: rgba(244,234,215,.7); padding: 46px 0 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { max-width: 320px; }
/* No invert filter here — it flattened the whole logo to a white blob.
   The footer uses assets/logo-dark.svg, which keeps the gold and green. */
.footer-brand img { height: 42px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; }
.footer-col h5 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; margin-bottom: 9px; transition: .2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 999px; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s; animation: fabpulse 2.6s infinite;
}
.fab:hover { transform: scale(1.09); }
.fab svg { width: 32px; height: 32px; }
@keyframes fabpulse { 0%,100%{ box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);} 50%{ box-shadow: 0 12px 30px -4px rgba(37,211,102,.95);} }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  /* width:100% matters — the hero photo is positioned out of flow, so without
     it this column has no in-flow content to size against and collapses. */
  .hero-visual { width: 100%; max-width: 420px; margin: 20px auto 0; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { max-width: 360px; margin: 0 auto; }
  .modal { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: min(700px, 94vh); }
  .modal-media { max-height: 40vh; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 22px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-desktop-cta { display: none; }
}
@media (max-width: 560px) {
  /* The logo no longer squashes, so the header row has to be made to fit
     instead: a smaller logo and a tighter language switch. */
  .brand img { height: 36px; }
  .lang-switch button { font-size: 12px; padding: 5px 9px; }
  .nav-actions { gap: 8px; }
  .section { padding: 60px 0; }
  .trust .container { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .modal-actions { grid-template-columns: 1fr; }
  .hero-stat { left: 0; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 420px) {
  /* Smallest common phones — squeeze the header a little further so the
     logo, the three languages and the menu button all still fit on one row. */
  .brand img { height: 31px; }
  .lang-switch { padding: 2px; }
  .lang-switch button { font-size: 11px; padding: 5px 7px; }
  .nav-actions { gap: 5px; }
  .nav-toggle { padding: 8px 4px; }
}
