:root {
  --green: #3f5f31;
  --green-dark: #29431f;
  --green-soft: #6d7f59;
  --gold: #c59643;
  --gold-dark: #9d6f25;
  --blue: #628fa8;
  --cream: #fbf8f1;
  --sand: #efe3ca;
  --paper: #fffdf9;
  --ink: #2f332c;
  --muted: #6b6f67;
  --line: rgba(63, 95, 49, .15);
  --shadow: 0 18px 45px rgba(58, 50, 31, .12);
  --radius: 22px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 105px 0; }
.skip-link { position: fixed; top: -50px; left: 20px; z-index: 1000; padding: 12px 18px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .94); border-bottom: 1px solid rgba(63,95,49,.08); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 245px; }
.brand img { width: 245px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 27px; }
.main-nav a { position: relative; color: #34372f; text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--gold); transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-cta { flex: 0 0 auto; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 27px; height: 2px; margin: 6px 0; background: var(--green); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(47,51,44,.14); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--gold); color: var(--gold-dark); background: rgba(255,255,255,.8); }
.button-whatsapp { background: #365a2c; color: #fff; }
.button svg, .hero-phone svg, .floating-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }

.hero { position: relative; min-height: 650px; overflow: hidden; display: grid; align-items: center; }
.hero-image { position: absolute; inset: 0; background: url("assets/hero.webp") center 48% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252,249,241,.98) 0%, rgba(252,249,241,.9) 35%, rgba(252,249,241,.22) 64%, rgba(0,0,0,.02) 100%); }
.hero-content { position: relative; z-index: 2; padding: 90px 0 100px; }
.hero-copy { max-width: 580px; }
.eyebrow { display: inline-block; color: var(--gold-dark); font-size: .78rem; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1 { margin: 12px 0 20px; color: var(--green); font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.6rem); line-height: .99; font-weight: 600; letter-spacing: -.035em; }
.hero-copy > p { max-width: 530px; font-size: 1.08rem; color: #4e534a; }
.hero-facts { display: flex; align-items: stretch; margin: 30px 0 32px; }
.hero-fact { min-width: 108px; padding: 0 20px; text-align: center; border-right: 1px solid rgba(63,95,49,.15); }
.hero-fact:first-child { padding-left: 0; }
.hero-fact:last-child { border-right: 0; }
.hero-fact strong { display: block; color: #3f443b; font-size: .88rem; line-height: 1.35; }
.icon { display: block; position: relative; width: 31px; height: 31px; margin: 0 auto 8px; color: var(--gold-dark); }
.icon-clock { border: 2px solid currentColor; border-radius: 50%; }
.icon-clock::before { content: ""; position: absolute; left: 14px; top: 5px; width: 2px; height: 9px; background: currentColor; border-radius: 2px; }
.icon-clock::after { content: ""; position: absolute; left: 14px; top: 14px; width: 8px; height: 2px; background: currentColor; transform: rotate(25deg); transform-origin: left center; }
.icon-paw::before { content: "●  ●"; position: absolute; top: -6px; left: 1px; font-size: 14px; letter-spacing: 3px; }
.icon-paw::after { content: "●"; position: absolute; top: 7px; left: 6px; font-size: 25px; transform: scaleX(1.25); }
.icon-people::before { content: "○ ○ ○"; position: absolute; top: -6px; left: -4px; font-size: 15px; letter-spacing: -1px; font-weight: 900; }
.icon-people::after { content: "⌒⌒⌒"; position: absolute; top: 9px; left: -4px; font-size: 15px; letter-spacing: -1px; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-phone { position: absolute; z-index: 3; right: max(30px, calc((100vw - 1180px) / 2)); bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 2px solid rgba(255,255,255,.85); border-radius: 9px; background: #5ea660; color: #fff; box-shadow: var(--shadow); text-decoration: none; font-weight: 800; font-size: 1.05rem; }

.quick-facts { position: relative; z-index: 5; padding: 20px 0; background: linear-gradient(180deg, #f8f1e2, #fffaf0); border-bottom: 1px solid rgba(197,150,67,.12); }
.fact-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.fact-card { min-height: 104px; padding: 16px 13px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.78); border: 1px solid rgba(197,150,67,.17); border-radius: 14px; box-shadow: 0 7px 20px rgba(73,62,37,.06); }
.line-icon { flex: 0 0 34px; color: var(--green); font-size: 2rem; text-align: center; }
.fact-card p { margin: 0; font-size: .78rem; line-height: 1.35; color: #4f534b; }
.fact-card strong { display: block; color: #3b4037; font-size: .83rem; margin-bottom: 3px; }

.experience { overflow: hidden; background: radial-gradient(circle at 4% 80%, rgba(197,150,67,.12), transparent 23%), #fffdf9; }
.experience-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.section-copy { max-width: 565px; }
.section-copy h2, .section-heading h2, .pet-copy h2, .important-info h2, .booking-card h2 { margin: 10px 0 22px; color: var(--green); font-family: var(--serif); font-size: clamp(2.3rem, 3.7vw, 4.1rem); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
.section-copy p { color: var(--muted); }
.text-link { display: inline-flex; gap: 20px; margin-top: 12px; padding: 10px 0 4px; color: var(--gold-dark); border-bottom: 1px solid var(--gold); text-decoration: none; font-weight: 700; }
.experience-icons { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { min-height: 155px; padding: 22px 14px; text-align: center; border-left: 1px solid rgba(63,95,49,.12); }
.benefit:first-child { border-left: 0; }
.benefit-icon { display: block; min-height: 58px; color: var(--green); font-family: var(--serif); font-size: 3rem; line-height: 1; }
.benefit-icon.wave { color: var(--blue); }
.benefit-icon.paw { color: var(--gold); }
.benefit h3 { margin: 8px 0 0; font-size: .95rem; font-weight: 600; color: #50564c; line-height: 1.45; }

.amenities { background: #f8f2e7; }
.section-heading { max-width: 760px; margin: 0 auto 48px; }
.section-heading.centered { text-align: center; }
.section-heading h2 { font-size: clamp(2.3rem, 3.6vw, 3.8rem); }
.section-heading p { color: var(--muted); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenity-card { position: relative; min-height: 286px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--green); box-shadow: var(--shadow); cursor: zoom-in; }
.amenity-card.wide { grid-column: span 2; }
.amenity-card img { width: 100%; height: 100%; min-height: 286px; object-fit: cover; transition: transform .45s; }
.amenity-card:hover img { transform: scale(1.045); }
.amenity-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(26,49,21,.92)); }
.amenity-card span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 19px; text-align: left; color: #fff; }
.amenity-card strong { display: block; font-family: var(--serif); font-size: 1.5rem; }
.amenity-card small { color: rgba(255,255,255,.84); }
.amenity-info { min-height: 225px; padding: 30px; display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius); background: #fff; border: 1px solid rgba(63,95,49,.1); }
.amenity-info h3 { margin: 12px 0 8px; color: var(--green); font-family: var(--serif); font-size: 1.6rem; }
.amenity-info p { margin: 0; color: var(--muted); font-size: .92rem; }
.amenity-symbol { color: var(--gold); font-size: 2.6rem; line-height: 1; }
.pet-mini { background: linear-gradient(135deg, #edf0e5, #fff); }
.image-note { margin: 22px 0 0; text-align: right; color: #807967; font-size: .76rem; }

.pet-section { display: grid; grid-template-columns: 1.07fr .93fr; min-height: 620px; background: #fffaf1; }
.pet-photo { position: relative; min-height: 620px; overflow: hidden; }
.pet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.pet-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,49,21,.08), transparent 60%); }
.pet-seal { position: absolute; z-index: 2; top: 60px; left: 60px; width: 145px; height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; border: 4px double #e0b459; background: rgba(48,83,34,.94); color: #fff; text-align: center; font-weight: 800; letter-spacing: .04em; box-shadow: 0 18px 40px rgba(23,47,18,.25); }
.pet-seal strong { display: block; font-size: 2.3rem; line-height: 1; }
.pet-copy { padding: 90px clamp(40px, 6vw, 100px); align-self: center; max-width: 740px; }
.pet-copy h2 { font-size: clamp(2.8rem, 4.4vw, 4.7rem); }
.pet-copy p { color: var(--muted); font-size: 1.03rem; }
.check-list { list-style: none; padding: 0; margin: 27px 0 32px; }
.check-list li { position: relative; padding: 8px 0 8px 31px; color: #454b42; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; line-height: 22px; text-align: center; font-weight: 900; }

.pricing { background: linear-gradient(180deg, #fff, #f7f0e4); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; align-items: stretch; }
.price-card { position: relative; padding: 34px 25px 27px; display: flex; flex-direction: column; border: 1px solid rgba(63,95,49,.12); border-radius: 18px; background: #fff; box-shadow: 0 13px 36px rgba(73,62,37,.08); }
.price-card.featured { border: 2px solid var(--green); transform: translateY(-10px); }
.price-tag { position: absolute; top: -15px; right: 22px; padding: 7px 13px; border-radius: 20px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { color: #343a31; font-family: var(--serif); font-size: 1.5rem; }
.price-card .from { margin: 20px 0 0; color: var(--muted); font-size: .82rem; }
.price { margin: 3px 0 4px; color: var(--green); font-family: var(--serif); font-size: 3rem; line-height: 1.15; }
.price span { font-size: 1.3rem; }
.price.blue { color: var(--blue); }
.price.gold { color: var(--gold-dark); }
.price-card > p:last-of-type { min-height: 48px; color: var(--muted); }
.price-card .button { margin-top: auto; width: 100%; }
.pricing-note { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: .83rem; }

.info-booking { position: relative; overflow: hidden; background: #fffdf9; }
.info-booking::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 43%; background: linear-gradient(rgba(235,245,247,.88), rgba(240,247,245,.93)), url("assets/sede-playa.webp") center / cover; }
.booking-grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: start; }
.important-info h2, .booking-card h2 { font-size: clamp(2.2rem, 3.2vw, 3.3rem); }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 32px; margin-top: 34px; }
.info-list > div { display: flex; gap: 14px; align-items: flex-start; }
.info-list span { flex: 0 0 34px; color: var(--gold-dark); font-size: 1.7rem; line-height: 1; }
.info-list p { margin: 0; color: var(--muted); font-size: .9rem; }
.info-list strong { display: block; margin-bottom: 2px; color: #3e443b; }
.booking-card { padding: 45px; border-radius: var(--radius); background: rgba(255,255,255,.9); border: 1px solid rgba(98,143,168,.22); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.booking-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; color: #484d45; font-size: .82rem; font-weight: 700; }
input, select { width: 100%; margin: 6px 0 14px; padding: 13px 14px; color: var(--ink); border: 1px solid #d9d8cf; border-radius: 9px; background: #fff; outline: none; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,95,49,.12); }
.submit-booking { width: 100%; margin-top: 4px; border: 0; }
.form-error { min-height: 24px; margin: 7px 0 0; color: #a13d2d; font-size: .8rem; }
.phone-large { display: block; margin: 18px 0 10px; color: var(--green); text-decoration: none; font-family: var(--serif); font-size: 2.2rem; text-align: center; }
.reassurance { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; color: #596055; font-size: .72rem; }
.reassurance span::before { content: "✓"; margin-right: 5px; color: var(--green); font-weight: 900; }

.site-footer { padding: 35px 0; background: var(--green-dark); color: rgba(255,255,255,.88); }
.footer-grid { display: grid; grid-template-columns: 280px 1fr auto; gap: 40px; align-items: center; }
.footer-brand { padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.93); }
.footer-brand img { width: 255px; }
.site-footer p { margin: 3px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-tagline { color: #f0d89d; font-family: var(--serif); font-size: 1.05rem; }

.floating-whatsapp { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 999px; background: #34a853; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 15px 35px rgba(20,96,43,.3); }
.lightbox { width: min(1040px, calc(100% - 36px)); max-width: none; padding: 0; border: 0; border-radius: 18px; background: #111; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(19,26,17,.82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 1.8rem; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .brand { flex-basis: 225px; }
  .main-nav { gap: 19px; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .amenity-card.wide { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 78px; }
  .container { width: min(100% - 28px, 720px); }
  .section { padding: 78px 0; }
  .nav-wrap { min-height: 76px; }
  .brand { flex-basis: 205px; }
  .brand img { width: 205px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); margin: 0; padding: 16px; display: grid; gap: 4px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); visibility: hidden; transition: .22s; }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a { padding: 11px 12px; }
  .main-nav a::after { display: none; }
  .hero { min-height: 750px; align-items: end; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(250,247,239,.2), rgba(250,247,239,.92) 48%, #faf7ef 85%); }
  .hero-content { padding: 250px 0 82px; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: clamp(3.1rem, 13vw, 5rem); }
  .hero-phone { display: none; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-grid { grid-template-columns: 1fr; gap: 50px; }
  .experience-icons { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-left: 0; border-top: 1px solid rgba(63,95,49,.12); }
  .benefit:nth-child(4) { border-top: 1px solid rgba(63,95,49,.12); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .pet-section { grid-template-columns: 1fr; }
  .pet-photo { min-height: 500px; }
  .pet-copy { padding: 65px 28px 78px; max-width: 740px; }
  .booking-grid { grid-template-columns: 1fr; }
  .info-booking::before { top: 52%; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { width: max-content; max-width: 100%; margin: auto; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 520px); }
  .hero { min-height: 800px; }
  .hero-content { padding-top: 290px; }
  .hero-copy > p { font-size: .96rem; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .hero-fact { border-right: 1px solid rgba(63,95,49,.15); }
  .hero-fact:nth-child(2) { border-right: 0; }
  .hero-fact:nth-child(3), .hero-fact:nth-child(4) { padding-top: 16px; border-top: 1px solid rgba(63,95,49,.15); }
  .hero-fact:nth-child(4) { border-right: 0; }
  .hero-actions { display: grid; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 84px; }
  .experience-icons { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenity-card.wide { grid-column: auto; }
  .amenity-card, .amenity-card img { min-height: 245px; }
  .pet-photo { min-height: 410px; }
  .pet-seal { top: 24px; left: 24px; width: 115px; height: 115px; font-size: .75rem; }
  .pet-seal strong { font-size: 1.8rem; }
  .pet-copy h2 { font-size: 2.6rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .info-list, .form-grid { grid-template-columns: 1fr; }
  .booking-card { padding: 28px 20px; }
  .phone-large { font-size: 1.8rem; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 52px; height: 52px; padding: 0; justify-content: center; }
}

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