/* =========================================================
   C Y A · Importaciones y Exportaciones SpA
   Paleta del boceto: ink #203448 · muted #5D6871 · accent #B9693F
                    line #E3E3E0 · card #F4F3F0 · bg #FAF9F6
   ========================================================= */

:root {
  --bg: #FAF9F6;
  --ink: #203448;
  --muted: #5D6871;
  --accent: #B9693F;
  --accent-cta: #A85B34;
  --accent-text: #8F4E2C;
  --accent-dark: #9E5732;
  --line: #E3E3E0;
  --card: #F4F3F0;
  --white: #FFFFFF;

  --ink-90: rgba(32, 52, 72, .9);
  --ink-60: rgba(32, 52, 72, .6);
  --accent-soft: rgba(185, 105, 63, .12);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(32, 52, 72, .06), 0 6px 18px rgba(32, 52, 72, .05);
  --shadow-md: 0 12px 40px rgba(32, 52, 72, .10);
  --shadow-lg: 0 30px 70px rgba(32, 52, 72, .16);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --header-h: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

.container { width: min(1200px, 92vw); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid rgba(185, 105, 63, .25);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow-light {
  color: #F1C6AE;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .72rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent-cta);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(185, 105, 63, .30);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 14px 30px rgba(185, 105, 63, .38); }

.btn-accent { background: var(--ink); color: var(--white); }
.btn-accent:hover { background: #16283a; box-shadow: 0 14px 30px rgba(32, 52, 72, .35); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 246, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(32, 52, 72, .07);
  background: rgba(250, 249, 246, .92);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .12em;
}
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav-link {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-90);
  padding: .25rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--accent-text); font-weight: 600; }
.nav-cta { padding: .6rem 1.4rem; }
.nav-cta.is-active {
  background: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(185, 105, 63, .20);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .5rem;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(185, 105, 63, .16), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -180px; top: 120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(32, 52, 72, .10), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.hero-points strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; }

.hero-visual { position: relative; min-height: 440px; }
.hero-img {
  position: absolute;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  background: var(--card);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-main { inset: 0 22% 18% 0; z-index: 2; }
.hero-img-a { width: 46%; aspect-ratio: 1; right: 0; top: 8%; z-index: 3; animation: float 7s ease-in-out infinite; }
.hero-img-b { width: 42%; aspect-ratio: 4/3; right: 6%; bottom: 0; z-index: 4; animation: float 8.5s ease-in-out infinite .6s; }

.hero-badge {
  position: absolute;
  left: -6px; bottom: 8%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .6rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2s infinite;
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 2.4rem;
  box-shadow: var(--shadow-sm);
}
.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: .62rem 1.25rem;
  font-size: .92rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.tab:hover { color: var(--ink); background: var(--card); }
.tab.is-active {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(32, 52, 72, .22);
}

/* ---------- Grid de productos ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 105, 63, .35);
}

.card-media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--card);
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-chip {
  position: absolute;
  top: .8rem; left: .8rem;
  background: rgba(250, 249, 246, .92);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.3rem 1.35rem 1.5rem;
  flex: 1;
}
.card-body h3 { margin: 0; font-size: 1.08rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: .93rem;
  background: none;
  border: 0;
  padding: .4rem 0 0;
  align-self: flex-start;
}
.card-link svg { transition: transform .25s ease; }
.card:hover .card-link svg { transform: translateX(5px); }

.grid-empty { color: var(--muted); text-align: center; padding: 3rem 0; }

/* ---------- Nosotros ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-copy p { color: var(--muted); }
.about-copy .btn { margin-top: .6rem; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 1.3rem;
  margin-bottom: .9rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Catálogos ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.catalog-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.catalog-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.catalog-card:hover img { transform: scale(1.08); }
.catalog-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32, 52, 72, .10) 0%, rgba(32, 52, 72, .82) 100%);
}
.catalog-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.3rem;
  color: var(--white);
}
.catalog-card-body h3 { margin: 0 0 .2rem; font-size: 1.12rem; }
.catalog-card-body span { font-size: .85rem; opacity: .85; }
.catalog-count {
  position: absolute;
  top: .9rem; right: .9rem;
  z-index: 2;
  background: rgba(250, 249, 246, .92);
  color: var(--ink);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  padding: .28rem .7rem;
}

/* ---------- Contacto ---------- */
.section-ink {
  background: linear-gradient(160deg, var(--ink) 0%, #16283a 60%, #122234 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-ink::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(185, 105, 63, .32), transparent 65%);
  pointer-events: none;
}
.section-ink h2 { color: var(--white); }

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy p { color: rgba(255, 255, 255, .78); }

.contact-list { list-style: none; margin: 1.8rem 0 .8rem; padding: 0; display: grid; gap: .8rem; }
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  padding: .8rem 1.1rem;
  font-size: .95rem;
}
.contact-list span {
  min-width: 78px;
  color: #F1C6AE;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-note { font-size: .8rem !important; color: rgba(255, 255, 255, .62) !important; }

.contact-form {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field span {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: .8rem 1rem;
  font-size: .95rem;
  color: var(--ink);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(185, 105, 63, .30);
}
.form-status { margin: 0; font-size: .9rem; color: #C9E7CE; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 2.6rem 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.footer-brand { display: grid; grid-template-columns: auto auto; column-gap: .7rem; align-items: center; }
.footer-brand .brand-mark { grid-row: span 2; width: 40px; height: 40px; font-size: .82rem; }
.footer-brand strong { font-family: var(--font-display); letter-spacing: .12em; }
.footer-brand small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; font-size: .92rem; color: var(--muted); }
.footer-nav a:hover { color: var(--accent-text); }
.footer-note, .footer-copy { width: 100%; margin: .4rem 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(32, 52, 72, .55);
  backdrop-filter: blur(6px);
  animation: fade .25s ease;
}
.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  animation: pop .3s cubic-bezier(.2, .9, .3, 1.3);
}
.modal-media { background: var(--card); }
.modal-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.modal-body { padding: clamp(1.5rem, 3vw, 2.4rem); }
.modal-body h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: .5rem; }
.modal-desc { color: var(--muted); margin-top: 0; }
.modal-body h4 { margin-top: 1.6rem; }
.spec-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.spec-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .95rem;
  color: var(--ink-90);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
}
.breadcrumb { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem; }
.breadcrumb b { color: var(--accent-text); font-weight: 600; }
.modal-note { font-size: .87rem; color: var(--muted); margin: .9rem 0 0; }
.modal-close {
  position: absolute;
  top: .8rem; right: .8rem;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(250, 249, 246, .95);
  color: var(--ink);
  font-size: .95rem;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--white); transform: rotate(90deg); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- WhatsApp ---------- */
.ico-wa { width: 18px; height: 18px; fill: currentColor; flex: none; }

.wa-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.7rem; }
.btn-wa-ghost {
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  border-color: rgba(255, 255, 255, .30);
}
.btn-wa-ghost:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.contact-list a {
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: color .2s ease, border-color .2s ease;
}
.contact-list a:hover { color: #F1C6AE; border-bottom-color: #F1C6AE; }

.modal-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.modal-actions .btn-ghost { background: var(--white); }
.modal-actions .btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
}
.wa-fab-btn {
  position: relative;
  width: 58px; height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-cta);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(32, 52, 72, .32);
  transition: transform .25s ease, background .2s ease;
}
.wa-fab-btn:hover { transform: translateY(-3px) scale(1.04); background: var(--accent-dark); }
.wa-fab-btn svg { width: 30px; height: 30px; fill: currentColor; }
.wa-fab-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(185, 105, 63, .45);
  animation: pulse 2.4s infinite;
  pointer-events: none;
}
.wa-fab-menu {
  display: grid;
  gap: .45rem;
  min-width: 236px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .6rem;
  box-shadow: var(--shadow-lg);
  animation: pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
.wa-fab-menu[hidden] { display: none; }
.wa-fab-menu a {
  display: grid;
  gap: .1rem;
  padding: .6rem .85rem;
  border-radius: 12px;
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.wa-fab-menu a span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.wa-fab-menu a:hover { background: var(--accent-soft); color: var(--accent-text); }
.wa-fab-menu a:hover span { color: var(--accent-text); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; order: -1; }
  .modal-dialog { grid-template-columns: 1fr; }
  .modal-media img { max-height: 300px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: rgba(250, 249, 246, .98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4vw 1.4rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-link { padding: .8rem .4rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: .8rem; }
  .nav-toggle { display: flex; }

  .about-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .tabs { border-radius: 22px; width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .hero-img-main { inset: 0 18% 22% 0; }
  .hero-badge { left: 0; }
  .grid { grid-template-columns: 1fr; }
  .wa-fab { right: 14px; bottom: 14px; }
  .wa-fab-btn { width: 52px; height: 52px; }
  .wa-fab-menu { min-width: 214px; }
  .wa-actions .btn { width: 100%; }
  .modal-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
