/* Arnáez · web-redesign — generado del handoff Claude Design. Hero editorial · Fraunces+Bricolage · phototone color */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..600;1,9..144,400..600&family=Bricolage+Grotesque:opsz,wght@10..48,300..700&display=swap');
/* ============================================================
   Arnáez · Color tokens
   Premium editorial system: warm neutral base + controlled
   vibrant accents. Pink is an ACCENT, never the protagonist.
   ============================================================ */
:root {
  /* ---- Brand palette (raw) ---- */
  --color-beige-hueso:    #FAF7F2; /* warm bone — dominant background */
  --color-negro-carbon:   #1A1A1A; /* warm black — never pure #000 */
  --color-rosa-empolvado: #E8A4B5; /* powder pink — dots, lines, italics */
  --color-turquesa-logo:  #4DBFBC; /* logo turquoise — identity only */
  --color-gris-logo:      #939598; /* logo grey — secondary, dividers */
  --color-crema-logo:     #F0F5F8; /* cool cream — alternate surface */
  --color-white:          #FFFFFF;

  /* ---- Tints & shades (derived, harmonious in oklch) ---- */
  --color-beige-deep:     #F3EEE5; /* sunk panel on beige */
  --color-beige-line:     #E9E2D6; /* hairline on beige */
  --color-carbon-80:      #3A3A3A; /* softened ink */
  --color-carbon-60:      #5C5C5C;
  --color-turquesa-deep:  #3AA6A3; /* pressed / hover turquoise */
  --color-turquesa-soft:  #DCF0EF; /* turquoise wash surface */
  --color-rosa-deep:      #D98298; /* pressed pink */
  --color-rosa-soft:      #F7E4E9; /* pink wash surface */

  /* ---- Semantic: text ---- */
  --text-primary:    var(--color-negro-carbon);
  --text-secondary:  var(--color-gris-logo);
  --text-muted:      var(--color-carbon-60);
  --text-on-photo:   var(--color-white);
  --text-on-dark:    var(--color-beige-hueso);
  --text-accent:     var(--color-rosa-empolvado);

  /* ---- Semantic: surfaces ---- */
  --bg-default:      var(--color-beige-hueso);
  --bg-alt:          var(--color-crema-logo);
  --bg-sunk:         var(--color-beige-deep);
  --bg-dark:         var(--color-negro-carbon);
  --surface-card:    var(--color-white);
  --surface-wash:    var(--color-turquesa-soft);

  /* ---- Semantic: lines & accents ---- */
  --border-hairline: var(--color-beige-line);
  --border-strong:   var(--color-gris-logo);
  --accent-dot:      var(--color-rosa-empolvado);
  --accent-line:     var(--color-rosa-empolvado);
  --brand-mark:      var(--color-turquesa-logo);

  /* ---- Functional (medical UI: appointments, status) ---- */
  --status-ok:       #5BA897; /* recuperado — desaturated to fit palette */
  --status-warn:     #D6A75C; /* control pendiente */
  --status-urgent:   #C9605F; /* urgencia — warm red, never neon */

  /* ---- Photo overlays (validated gradients) ---- */
  --overlay-bottom:  linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%); /* @kind other */
  --overlay-top:     linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%); /* @kind other */
  --overlay-even:    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.7) 100%); /* @kind other */
}
/* ============================================================
   Arnáez · Typography tokens
   Serif for personality (Cormorant Garamond) +
   Sans for clarity (Inter). Editorial hierarchy.
   ============================================================ */
:root {
  /* ---- Families ---- */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* ---- Weights ---- */
  --fw-light:    300; /* @kind font */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */

  /* ---- Display / headline scale (serif) — social-native px ----
     These match the editorial templates (story, carrusel, post).
     For web/app UI, prefer the responsive --type-* aliases below. */
  --display-xl: 130px; /* cover stories     */
  --display-l:  104px; /* carrusel slides   */
  --display-m:  78px;  /* feed headlines    */
  --subhead:    52px;  /* sub-headlines     */

  /* ---- Web/app type scale (fluid, clamp) ---- */
  --type-display: clamp(48px, 7vw, 92px);   /* serif hero          */
  --type-h1:      clamp(36px, 5vw, 60px);   /* serif page title    */
  --type-h2:      clamp(28px, 3.4vw, 42px); /* serif section       */
  --type-h3:      clamp(22px, 2.2vw, 28px); /* serif card title    */
  --type-lead:    clamp(18px, 1.6vw, 22px); /* sans lead paragraph */
  --type-body:    17px;                      /* sans body           */
  --type-small:   15px;                      /* sans caption        */
  --type-eyebrow: 13px;                      /* sans kicker         */

  /* ---- Line heights ---- */
  --lh-display: 1.05; /* @kind font */
  --lh-heading: 1.1;  /* @kind font */
  --lh-body:    1.55; /* @kind font */
  --lh-tight:   1.3;  /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-display: -0.01em;  /* @kind font */
  --ls-tight:   -0.005em; /* @kind font */
  --ls-normal:  0;        /* @kind font */
  --ls-eyebrow: 0.2em;    /* @kind font */
  --ls-cta:     0.18em;   /* @kind font */
}
/* ============================================================
   Arnáez · Spacing, radii, shadows, motion
   Calm editorial spacing. Soft corners, gentle shadows.
   ============================================================ */
:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-pad: clamp(20px, 5vw, 80px);
  --gutter:        24px;

  /* ---- Radii ---- (soft, editorial — never pill-everything) */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-width: 1px;    /* @kind spacing */
  --accent-line-w: 4px;   /* @kind spacing */
  --accent-line-l: 60px;  /* @kind spacing */

  /* ---- Shadows ---- (warm-tinted, low, never harsh) */
  --shadow-xs:  0 1px 2px rgba(26,26,26,0.05);
  --shadow-sm:  0 2px 8px rgba(26,26,26,0.06);
  --shadow-md:  0 8px 24px rgba(26,26,26,0.08);
  --shadow-lg:  0 18px 48px rgba(26,26,26,0.10);
  --shadow-focus: 0 0 0 3px rgba(77,191,188,0.35); /* turquoise focus ring */

  /* ---- Motion ---- (gentle, no bounce) */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-inout: cubic-bezier(0.45, 0, 0.2, 1);     /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   240ms; /* @kind other */
  --dur-slow:   420ms; /* @kind other */
}
/* ============================================================
   Arnáez · Base elements & brand utilities
   Editorial primitives reused across cards, kits, templates.
   ============================================================ */

body {
  margin: 0;
  background: var(--bg-default);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Headlines (serif) ---- */
.ar-display,
.ar-h1, .ar-h2, .ar-h3 {
  font-family: var(--font-serif);
  font-weight: var(--fw-medium);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}
.ar-display { font-size: var(--type-display); }
.ar-h1 { font-size: var(--type-h1); }
.ar-h2 { font-size: var(--type-h2); line-height: var(--lh-heading); }
.ar-h3 { font-size: var(--type-h3); line-height: var(--lh-heading); letter-spacing: var(--ls-tight); }

/* signature: italic keyword + pink closing dot */
.ar-italic { font-style: italic; }
.ar-dot { color: var(--accent-dot); }

/* ---- Eyebrow / kicker (sans uppercase) ---- */
.ar-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
}
.ar-eyebrow--pink { color: var(--accent-dot); }

/* ---- Body ---- */
.ar-lead {
  font-size: var(--type-lead);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin: 0;
}
.ar-body { font-size: var(--type-body); color: var(--text-primary); margin: 0; }
.ar-small { font-size: var(--type-small); color: var(--text-secondary); margin: 0; }

/* ---- The signature pink divider ---- */
.ar-rule {
  width: var(--accent-line-l);
  height: var(--accent-line-w);
  background: var(--accent-line);
  border: 0;
  margin: var(--space-5) 0;
}

/* ---- Pink-bulleted list (editorial) ---- */
.ar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.ar-list li { position: relative; padding-left: var(--space-5); }
.ar-list li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent-dot);
  font-weight: var(--fw-semibold);
}

/* ---- Focus ring ---- */
.ar-focusable:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
/* lock tipografía 'caracter' */
:root{--font-serif:'Fraunces',Georgia,serif;--font-sans:'Bricolage Grotesque',-apple-system,BlinkMacSystemFont,sans-serif;}
/* ============================================================
   Veterinaria Arnáez · Website styles
   Built on the design-system tokens (styles.css).
   Editorial base (Carballo) + warmth (Vetclan) + clarity (AniCura).
   ============================================================ */


/* ---- Type direction (website overrides the DS default Cormorant+Inter) ---- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-default); color: var(--text-primary); font-family: var(--font-sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--color-negro-carbon); color: var(--text-on-dark); }

/* ---- Type helpers ---- */
.eyebrow { font-size: var(--type-eyebrow); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 18px; }
.eyebrow--pink { color: var(--accent-dot); }
.display { font-family: var(--font-serif); font-weight: 500; font-size: var(--type-display); line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--font-serif); font-weight: 500; font-size: var(--type-h3); line-height: 1.12; margin: 0; }
.lead { font-size: var(--type-lead); font-weight: 300; line-height: 1.5; color: var(--text-primary); margin: 0; }
.muted { color: var(--text-secondary); }
.italic { font-style: italic; }
.dot { color: var(--accent-dot); }
.rule { width: 60px; height: 4px; background: var(--accent-line); border: 0; margin: 24px 0; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-sans); font-weight: 500; font-size: 15px; line-height: 1; padding: 14px 26px; border-radius: var(--radius-pill); border: 1px solid transparent; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--color-turquesa-logo); color: #fff; }
.btn--primary:hover { background: var(--color-turquesa-deep); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1eb858; }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--color-negro-carbon); color: var(--color-beige-hueso); border-color: var(--color-negro-carbon); }
.btn--light { background: #fff; color: var(--text-primary); }
.btn--light:hover { background: var(--color-beige-deep); }
.btn--ondark { background: var(--color-beige-hueso); color: var(--color-negro-carbon); }
.btn--ondark:hover { background: #fff; }

/* ---- Header (pill flotante) ---- */
.site-header { position: sticky; top: 14px; z-index: 100; background: transparent; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border: 1px solid var(--border-hairline); border-radius: 999px; padding: 0 12px 0 24px; box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-primary); transition: color var(--dur-fast); }
.nav a:hover { color: var(--text-secondary); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

/* ---- Hero shared ---- */
.hero { position: relative; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface-wash); color: var(--color-turquesa-deep); }
.chip--plain { background: #fff; color: var(--text-primary); border: 1px solid var(--border-hairline); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* hero: editorial */
.hero .display { font-size: clamp(46px, 7.2vw, 106px); line-height: 0.98; letter-spacing: -0.025em; }
.hero-editorial { overflow: hidden; }
.hero-editorial .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 72px); }
.hero-editorial__media { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px; overflow: visible; }
.hero-editorial__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow-lg); }
.sticker { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border-hairline); border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-md); white-space: nowrap; }
.sticker--star { top: 7%; right: -26px; transform: rotate(5deg); }
.sticker--star b { color: var(--color-turquesa-deep); }
.sticker--paw { bottom: 9%; left: -30px; transform: rotate(-5deg); }
.sticker svg { width: 18px; height: 18px; color: var(--color-turquesa-deep); }

/* ---- Marquee (ticker de servicios) ---- */
.marquee { background: var(--color-negro-carbon); color: var(--color-beige-hueso); overflow: hidden; padding-block: 18px; border-block: 1px solid var(--color-negro-carbon); }
.marquee__track { display: flex; gap: 0; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: ar-marquee 36s linear infinite; } }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); white-space: nowrap; }
.marquee__item::after { content: "●"; font-size: 10px; color: var(--accent-dot); font-style: normal; }
@keyframes ar-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* hero: fresco (full-bleed photo) */
.hero-fresco { min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-fresco__bg { position: absolute; inset: 0; }
.hero-fresco__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-fresco__bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay-even); }
.hero-fresco .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 90px); color: #fff; }
.hero-fresco .display, .hero-fresco .lead { color: #fff; }
.hero-fresco .eyebrow { color: var(--accent-dot); }

/* hero: clínico (split with info card) */
.hero-clinico .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; padding-block: clamp(44px, 7vw, 80px); }
.hero-clinico__left { display: flex; flex-direction: column; justify-content: center; }
.hero-clinico__card { background: #fff; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; }
.hero-clinico__card img { width: 100%; height: 230px; object-fit: cover; object-position: center 30%; }
.hero-clinico__cardbody { padding: 26px; display: grid; gap: 16px; }
.info-row { display: flex; align-items: center; gap: 14px; }
.info-row__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-wash); color: var(--color-turquesa-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row__t { font-weight: 600; font-size: 14.5px; }
.info-row__s { font-size: 13px; color: var(--text-secondary); }

/* ---- Servicios ---- */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.service { position: relative; background: #fff; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-xs); transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); overflow: hidden; }
.service:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); background: var(--surface-wash); }
.service__num { position: absolute; top: 18px; right: 24px; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 44px; line-height: 1; color: var(--color-beige-deep); transition: color var(--dur-base); }
.service:hover .service__num { color: rgba(77,191,188,0.45); }
.service__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-wash); color: var(--color-turquesa-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background var(--dur-base); }
.service:hover .service__icon { background: #fff; }
.service h3 { margin: 0 0 10px; }
.service p { margin: 0; font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }

/* ---- Casos teaser ---- */
.casos { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.casos__media { aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--shadow-md); }
.casos__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---- Stats / equipo strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat__n { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.stat__l { font-size: 13.5px; color: var(--text-secondary); margin-top: 8px; }

/* ---- Urgencias band ---- */
.urgencias { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---- Ubicación ---- */
.ubicacion { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.map-card { aspect-ratio: 16/11; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-hairline); box-shadow: var(--shadow-sm); background: var(--color-beige-deep); position: relative; }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(0.95); }

/* ---- Footer ---- */
.site-footer { background: var(--color-negro-carbon); color: var(--color-beige-hueso); padding-block: clamp(48px, 7vw, 80px); }
.site-footer a { color: var(--color-beige-hueso); opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 40px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 18px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gris-logo); margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--color-gris-logo); flex-wrap: wrap; }

/* ---- Page hero (inner pages) ---- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--border-hairline); }
.page-hero .display { font-size: clamp(38px, 5vw, 68px); }
.page-hero .lead { margin-top: 18px; max-width: 52ch; }

/* ---- Team ---- */
.vteam { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.vcard { background: #fff; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.vcard__media { aspect-ratio: 5/4; overflow: hidden; background: var(--color-beige-deep); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__body { padding: 26px 28px 30px; }
.vcard__role { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dot); margin: 0 0 8px; }
.vcard__name { font-family: var(--font-serif); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; margin: 0 0 10px; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery a, .gallery div.g { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow-xs); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery .g:hover img { transform: scale(1.04); }

/* ---- Case feature ---- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.case__media { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }

@media (max-width: 900px) {
  .vteam, .gallery, .case, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---- Floating WhatsApp ---- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: transform var(--dur-fast) var(--ease-out); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---- Reveal animation (content visible by default; animates in when JS adds .in) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: ar-reveal 0.6s var(--ease-out) both; }
}
@keyframes ar-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-editorial .wrap, .hero-clinico .wrap, .casos, .ubicacion { grid-template-columns: 1fr; }
  .hero-editorial__media, .casos__media { aspect-ratio: 4/4.4; max-width: 420px; margin-inline: auto; }
  .sticker--star { right: 4px; }
  .sticker--paw { left: 4px; }
  .grid-services { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 560px) {
  .grid-services, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

/* ---- web-redesign: tamaños de íconos (lucide) + nav mobile ---- */
.chip svg { width: 16px; height: 16px; }
.service__icon svg { width: 26px; height: 26px; }
.info-row__icon svg { width: 20px; height: 20px; }
.hamburger svg { width: 26px; height: 26px; }
.nav-mobile { display: none; }
.nav-mobile.is-open { display: grid; gap: 14px; padding-bottom: 18px; }
.nav-mobile a { font-size: 16px; font-weight: 600; }

/* ---- web-redesign: header en mobile (evita superponer marca + WA + menú) ---- */
@media (max-width: 600px) {
  .site-header .nav__cta .btn--wa { display: none; }
  .site-header__inner { padding-right: 8px; }
}
