:root {
  --forest: #163f35;
  --forest-2: #24594b;
  --mint: #dff0e9;
  --cream: #fbf8ef;
  --paper: #fffdf8;
  --ink: #18332c;
  --muted: #62736e;
  --accent: #e4b34d;
  --accent-soft: #f5e2ae;
  --white: #fff;
  --line: rgba(22,63,53,.13);
  --shadow: 0 18px 50px rgba(22,63,53,.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 9999;
  padding: 10px 16px; background: var(--forest); color: #fff; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251,248,239,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(22,63,53,.06); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--forest); color: var(--white); border-radius: 15px; flex: 0 0 auto;
}
.brand-mark svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .74rem; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-size: .94rem; font-weight: 700; color: var(--muted); transition: color .2s ease, transform .2s ease; }
.main-nav a:hover { color: var(--forest); }
.main-nav .nav-call { color: #fff; background: var(--forest); padding: 10px 18px; border-radius: 999px; }
.main-nav .nav-call:hover { color: #fff; transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; padding: 8px; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--forest); border-radius: 2px; transition: .25s ease; }

.hero {
  position: relative; min-height: 670px; display: grid; align-items: center;
  padding: 84px 0 92px; overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(228,179,77,.19), transparent 24%),
    linear-gradient(135deg, #fffdf7 0%, #f5efe0 100%);
}
.hero::after {
  content: ""; position: absolute; left: -80px; bottom: -110px; width: 340px; height: 340px;
  border-radius: 50%; border: 70px solid rgba(36,89,75,.05);
}
.hero-decor { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-decor-one { right: 11%; top: 13%; width: 18px; height: 18px; background: var(--accent); box-shadow: 46px -32px 0 2px rgba(36,89,75,.18), -28px 56px 0 4px rgba(36,89,75,.13); }
.hero-decor-two { left: 48%; bottom: 18%; width: 10px; height: 10px; background: var(--forest-2); box-shadow: 36px 42px 0 5px rgba(228,179,77,.22); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 900; color: var(--forest-2); }
.eyebrow.light { color: rgba(255,255,255,.72); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(3.2rem, 7vw, 6.1rem); line-height: .94; letter-spacing: -.07em; font-weight: 850; }
.hero h1 span { display: block; margin-top: 8px; color: var(--forest-2); }
.hero-contact { margin: 30px 0 0; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 800; }
.hero-contact span { color: var(--accent); margin-right: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-size: .96rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--forest); box-shadow: 0 10px 24px rgba(22,63,53,.18); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(22,63,53,.24); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.btn-secondary:hover { background: #fff; }
.btn-light { color: var(--forest); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.1); }

.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; }
.cow-card {
  position: relative; z-index: 2; width: min(420px, 90%); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 46% 54% 48% 52% / 48% 45% 55% 52%;
  background: linear-gradient(145deg, var(--forest), #0f3028);
  box-shadow: 0 40px 80px rgba(22,63,53,.25);
  transform: rotate(-3deg);
}
.cow-card::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; }
.cow-illustration { width: 78%; transform: rotate(3deg); }
.cow-ear, .cow-head { fill: #fff8e8; stroke: #fff8e8; stroke-width: 7; stroke-linejoin: round; }
.cow-patch, .cow-eye, .cow-nose { fill: #163f35; }
.cow-muzzle { fill: #e7b79d; }
.cow-smile { fill: none; stroke: #163f35; stroke-width: 5; stroke-linecap: round; }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(22,63,53,.15); }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 540px; height: 540px; border-style: dashed; opacity: .6; animation: spin 32s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-card { position: absolute; z-index: 4; padding: 12px 17px; border-radius: 15px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); font-weight: 800; font-size: .85rem; backdrop-filter: blur(10px); }
.mini-card span { color: var(--accent); }
.mini-location { left: -3%; top: 18%; }
.mini-phone { right: -3%; bottom: 18%; }

.info-strip { position: relative; z-index: 5; margin-top: -38px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { min-height: 145px; padding: 26px; display: flex; align-items: flex-start; gap: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.info-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--mint); color: var(--forest); font-weight: 900; }
.info-card p { margin: 1px 0 6px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 850; }
.info-card h2 { margin: 0; font-size: 1.07rem; line-height: 1.35; letter-spacing: -.02em; }
.info-card h2 a { text-decoration: none; }

.videos-section { background: var(--cream); }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.055em; line-height: 1; }
.heading-line { margin-top: 18px; width: 72px; height: 5px; border-radius: 999px; background: var(--accent); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.video-card { padding: 12px; border-radius: 30px; background: rgba(255,255,255,.66); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(22,63,53,.09); }
.video-shell { overflow: hidden; aspect-ratio: 9 / 16; background: #0a1512; border-radius: 22px; }
.video-shell video { width: 100%; height: 100%; object-fit: contain; background: #0a1512; }

.location-section { padding-top: 20px; }
.location-card { position: relative; overflow: hidden; min-height: 260px; padding: 50px 60px; display: flex; align-items: center; gap: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.location-card::after { content: ""; position: absolute; right: -90px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: var(--mint); opacity: .65; }
.location-symbol { position: relative; z-index: 2; width: 90px; height: 90px; display: grid; place-items: center; border-radius: 28px; background: var(--forest); color: #fff; flex: 0 0 auto; }
.location-symbol svg { width: 48px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linejoin: round; }
.location-card > div:last-child { position: relative; z-index: 2; }
.location-card h2 { margin: 0; font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.05em; line-height: 1; }

.contact-section { padding-top: 20px; }
.contact-card { min-height: 330px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--forest), #0e2e27); box-shadow: 0 28px 70px rgba(22,63,53,.22); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 290px; height: 290px; border-radius: 50%; right: -90px; bottom: -150px; border: 48px solid rgba(255,255,255,.06); }
.contact-copy { position: relative; z-index: 2; }
.contact-copy h2 { margin: 0; max-width: 720px; font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1.02; }
.contact-copy > p:not(.eyebrow) { margin: 18px 0 8px; color: rgba(255,255,255,.72); }
.contact-phone { display: inline-block; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 900; text-decoration: none; }
.contact-card .btn { position: relative; z-index: 2; flex: 0 0 auto; }

.site-footer { padding: 34px 0 110px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); padding-top: 30px; color: var(--muted); font-size: .9rem; }
.footer-wrap p { margin: 0; }
.footer-wrap strong { color: var(--ink); }
.footer-wrap a { text-decoration: none; }
.floating-call { display: none; }

/* El contenido es visible por defecto. Las animaciones nunca son necesarias para renderizar la página. */
.reveal { opacity: 1; transform: none; animation: reveal-in .55s ease both; }
@keyframes reveal-in {
  from { opacity: .88; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; animation: none; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero { min-height: auto; padding: 70px 0 95px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 400px; }
  .cow-card { width: min(360px, 80vw); }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 445px; height: 445px; }
  .info-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-card:last-child { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
  .contact-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 43px; height: 43px; border-radius: 13px; }
  .brand-copy strong { font-size: .98rem; }
  .brand-copy small { font-size: .69rem; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; top: 70px; left: 14px; right: 14px; display: grid; gap: 0;
    padding: 10px; background: rgba(255,253,248,.98); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .22s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 13px 14px; border-radius: 12px; }
  .main-nav .nav-call { text-align: center; margin-top: 5px; }
  .hero { padding: 56px 0 88px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-art { min-height: 330px; }
  .mini-card { font-size: .76rem; padding: 9px 12px; }
  .mini-location { left: 0; top: 13%; }
  .mini-phone { right: 0; bottom: 13%; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 360px; height: 360px; }
  .info-strip { margin-top: -30px; }
  .info-card { min-height: 120px; padding: 22px; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-card { width: min(100%, 410px); justify-self: center; padding: 10px; }
  .video-card:last-child { grid-column: auto; width: min(100%, 410px); }
  .location-card { min-height: 250px; padding: 36px 28px; align-items: flex-start; flex-direction: column; gap: 24px; }
  .location-symbol { width: 72px; height: 72px; border-radius: 22px; }
  .contact-card { padding: 40px 28px; min-height: 360px; }
  .footer-wrap { flex-direction: column; gap: 10px; }
  .floating-call {
    position: fixed; z-index: 990; left: 50%; bottom: 14px; transform: translateX(-50%);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 150px; min-height: 52px; padding: 0 22px; border-radius: 999px;
    color: #fff; background: var(--forest); text-decoration: none; font-weight: 900;
    box-shadow: 0 14px 34px rgba(22,63,53,.28); border: 1px solid rgba(255,255,255,.18);
  }
}

@media (max-width: 390px) {
  .brand-copy small { display: none; }
  .hero h1 { font-size: 2.9rem; }
  .hero-art { min-height: 290px; }
  .mini-card { display: none; }
  .cow-card { width: 250px; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 310px; height: 310px; }
}
