@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --ink: #30241d;
  --coffee: #674b36;
  --accent: var(--coffee);
  --cream: #f6f1e9;
  --paper: #fffaf3;
  --sand: #e6d9c9;
  --muted: #67584a;
  --line: #cdbca8;
}

body { background: var(--cream) !important; color: var(--ink) !important; font-family: Satoshi, Arial, sans-serif !important; }
#nosotros, #contacto { scroll-margin-top: 1.5rem; }
h1, h2, h3, .font-headline, .font-clash, .font-body { font-family: Satoshi, Arial, sans-serif !important; }
.hero-section::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(23, 17, 13, .48)); pointer-events: none; }
.hero-section > .z-10, .hero-section > .z-50 { z-index: 2; }
.hero-section h1 { letter-spacing: -.035em; }
.hero-section h1 > span:first-child { font-size: clamp(2.55rem, 6.5vw, 5.8rem); line-height: 1.02; }
.hero-primary { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 1.3rem; padding: .8rem 1.4rem; background: var(--cream); color: var(--ink); font: 700 .88rem Satoshi, sans-serif; text-decoration: none; }
.hero-primary:hover, .hero-primary:focus-visible { background: var(--paper); }
.services-surface { background: var(--cream) !important; color: var(--ink) !important; }
.services-inner { width: min(100% - 48px, 1280px); margin-inline: auto; padding-block: 112px 96px; }
.services-heading { max-width: 850px; margin: 0 auto 48px; color: var(--ink); font-size: clamp(2.65rem, 4.4vw, 4.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; text-align: center; text-wrap: balance; }

.image-gallery { display: flex; gap: 12px; width: 100%; height: clamp(380px, 42vw, 560px); }
.gallery-card { position: relative; min-width: 0; flex: 1 1 0; overflow: hidden; background: var(--sand); transition: flex-grow .55s cubic-bezier(.22,.68,0,1); }
.gallery-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(23,17,13,.78)); pointer-events: none; }
.gallery-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s cubic-bezier(.22,.68,0,1); }
.gallery-card-action { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; width: 100%; padding: 32px; border: 0; background: transparent; color: var(--paper); text-align: left; cursor: pointer; }
.gallery-card-title { display: block; max-width: 15ch; font: 600 clamp(1.9rem, 2.6vw, 2.9rem)/.98 "Barlow Condensed", sans-serif; text-wrap: balance; }
.gallery-card-detail { display: block; max-width: 31ch; margin-top: 12px; font: 500 14px/1.45 Satoshi, sans-serif; opacity: .84; }
.gallery-card-icon { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,250,243,.8); border-radius: 50%; font: 500 24px/1 Satoshi, sans-serif; transition: transform .3s ease, background .3s ease; }
.gallery-card-action:hover .gallery-card-icon, .gallery-card-action:focus-visible .gallery-card-icon { transform: translate(3px,-3px); background: rgba(255,250,243,.14); }
@media (min-width: 769px) { .image-gallery:has(.gallery-card:focus-within) .gallery-card:focus-within, .image-gallery.has-selection .gallery-card.is-active { flex-grow: 1.8; } .image-gallery:has(.gallery-card:focus-within) .gallery-card:not(:focus-within), .image-gallery.has-selection .gallery-card:not(.is-active) { flex-grow: .8; } }
@media (hover: hover) and (min-width: 769px) { .image-gallery:has(.gallery-card:hover) .gallery-card:hover { flex-grow: 1.8; } .image-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) { flex-grow: .8; } }
.gallery-card:hover img, .gallery-card:focus-within img, .gallery-card.is-active img { transform: scale(1.035); }
.ambient-section { padding: 0 24px 96px; background: var(--cream); }
.ambient-panel { display: flex; align-items: center; justify-content: center; width: min(100%, 1440px); min-height: 480px; margin-inline: auto; padding: clamp(48px, 7vw, 112px); background: var(--coffee); color: var(--cream); }
.ambient-copy { max-width: 760px; text-align: center; }
.ambient-kicker { display: block; margin-bottom: 20px; color: var(--sand); font: 700 11px/1.4 Satoshi, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.ambient-copy h2 { margin: 0; color: var(--paper); font-size: clamp(3.25rem, 5vw, 5.75rem); font-weight: 600; line-height: .95; text-wrap: balance; }
.ambient-copy p { max-width: 42ch; margin: 24px auto 0; color: var(--cream); font: 500 clamp(15px, 1.15vw, 18px)/1.65 Satoshi, sans-serif; }
.ambient-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; margin-top: 32px; padding: 12px 18px; border: 1px solid var(--cream); color: var(--paper); font: 700 13px/1.3 Satoshi, sans-serif; text-decoration: none; }
.ambient-action:hover, .ambient-action:focus-visible { background: var(--paper); color: var(--coffee); }
.ambient-action span { font-size: 19px; line-height: 1; }
.contact-surface { background: var(--sand) !important; color: var(--ink) !important; }
.contact-kicker { color: var(--coffee); }
.contact-divider { background: var(--coffee); opacity: .5; }
.contact-surface .contact-title { color: var(--ink) !important; text-transform: none !important; font-size: clamp(2.35rem, 4vw, 4.1rem); line-height: 1.04; letter-spacing: -.04em; }
.contact-surface .contact-copy { color: var(--muted) !important; }
.contact-surface .form-card { background: var(--paper) !important; border: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
.contact-surface .phone-card { display: block; padding: 1.35rem; border: 1px solid var(--accent); border-radius: 0; color: var(--ink); text-decoration: none; }
.contact-surface .phone-card:hover, .contact-surface .phone-card:focus-visible { background: var(--paper); }
.contact-surface .phone-number { display: block; font: 600 clamp(2rem, 3vw, 3rem)/1.1 "Satoshi", sans-serif; }
.contact-surface .form-submit { background: var(--coffee) !important; color: var(--paper) !important; border: 0; border-radius: 0; min-height: 48px; padding: .8rem 1.35rem; }
.contact-surface .form-submit svg { display: none; }
.contact-surface .form-submit:hover, .contact-surface .form-submit:focus-visible { background: var(--ink) !important; }
.form-field { color: var(--ink) !important; font-family: Satoshi, sans-serif !important; }
.form-field::placeholder { color: var(--muted) !important; }
.form-note { color: var(--muted); }
.form-divider { border-color: var(--line); }
.site-footer { background: var(--ink) !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--coffee) !important; outline-offset: 3px; }
.gallery-card-action:focus-visible { outline-color: var(--paper) !important; outline-offset: -4px; }
.ambient-action:focus-visible, .site-footer a:focus-visible, .hero-section a:focus-visible { outline-color: var(--paper) !important; }
@media (max-width: 768px) {
  .hero-section h1 > span:first-child { font-size: clamp(2.45rem, 9vw, 3.8rem); }
  .services-inner { width: min(100% - 32px, 640px); padding-block: 80px 64px; }
  .services-heading { max-width: 18ch; margin-bottom: 36px; font-size: clamp(2.35rem, 6.8vw, 3.6rem); }
  .image-gallery { display: grid; grid-template-rows: repeat(3, 1fr); height: 900px; gap: 12px; transition: grid-template-rows .55s cubic-bezier(.22,.68,0,1); }
  .gallery-card { min-height: 0; transition: none; }
  .gallery-card-action { padding: 24px; }
  .gallery-card-title { font-size: clamp(2rem, 7vw, 2.7rem); }
  .gallery-card-detail { margin-top: 8px; font-size: 12px; }
  .gallery-card-icon { top: 16px; right: 16px; }
  .image-gallery.has-selection { grid-template-rows: 1.4fr .8fr .8fr; }
  .image-gallery.has-selection:has(.gallery-card:nth-child(2).is-active) { grid-template-rows: .8fr 1.4fr .8fr; }
  .image-gallery.has-selection:has(.gallery-card:nth-child(3).is-active) { grid-template-rows: .8fr .8fr 1.4fr; }
  .ambient-section { padding: 0 16px 64px; }
  .ambient-panel { min-height: 420px; padding: 64px 24px; }
  .ambient-copy h2 { font-size: clamp(3.5rem, 10vw, 5rem); }
}
@media (max-width: 390px) {
  .services-heading { font-size: 2.25rem; }
  .image-gallery { height: 804px; }
  .gallery-card-title { font-size: 1.95rem; }
  .gallery-card-action { padding: 20px; }
  .ambient-panel { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.whatsapp-card { display: flex; flex-direction: column; justify-content: center; min-height: 64px; margin-bottom: 12px; padding: 20px; background: var(--coffee); color: var(--paper); font-weight: 700; text-decoration: none; }
.whatsapp-card span { margin-top: 4px; font-size: 18px; font-weight: 500; }
.whatsapp-card:hover, .whatsapp-card:focus-visible { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .gallery-card img { transform: none !important; } }

/* Hablemos: recorrido completo y resplandor sin recortes. */
.hero-section .draw-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.hero-section .draw-button svg { overflow: visible; filter: drop-shadow(0 0 4px rgba(255,255,255,.85)); }
.hero-section .draw-button path { filter: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-section .draw-button:focus-visible path { stroke-dashoffset: 0; }
.hero-section .draw-button:focus-visible { outline: 2px solid white; outline-offset: 6px; }

/* El trazado progresivo lo controla contact-button.js con Web Animations. */
.hero-section .draw-button path { stroke-dasharray: var(--trace-length); stroke-dashoffset: var(--trace-length); }
