/* ===== Tokens ===== */
:root{
  --green-deep:#0e3a2b;
  --green:#1f5c40;
  --green-mid:#2f6e4f;
  --green-soft:#eef4ec;
  --gold:#b6873f;
  --gold-light:#d9b46a;
  --cream:#fbf8f1;
  --ink:#233229;
  --ink-soft:#4a5a50;
  --white:#ffffff;
  --shadow:0 20px 50px -20px rgba(14,58,43,0.35);
  --radius:20px;
  --radius-sm:12px;
  --ff-serif:'Playfair Display', Georgia, serif;
  --ff-sans:'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-script:'Petit Formal Script', cursive;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--ff-sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--ff-serif);margin:0 0 .5em;color:var(--green-deep);line-height:1.15;}
p{margin:0 0 1em;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}
section{position:relative;}
.section-pad{padding:96px 0;}
@media (max-width:720px){.section-pad{padding:64px 0;}}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--ff-sans);font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  font-size:.78rem;color:var(--gold);margin-bottom:14px;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--gold);display:inline-block;border-radius:2px;}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 30px;border-radius:999px;font-weight:800;font-size:1rem;
  border:2px solid transparent;cursor:pointer;transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-gold{background:linear-gradient(135deg,var(--gold-light),var(--gold));color:var(--green-deep);box-shadow:0 12px 28px -10px rgba(182,135,63,.65);}
.btn-gold:hover{transform:translateY(-3px);box-shadow:0 16px 34px -10px rgba(182,135,63,.8);}
.btn-outline{border-color:rgba(255,255,255,.55);color:var(--white);background:transparent;}
.btn-outline:hover{background:rgba(255,255,255,.12);transform:translateY(-3px);}
.btn-outline-dark{border-color:var(--green);color:var(--green-deep);background:transparent;}
.btn-outline-dark:hover{background:var(--green-deep);color:var(--white);transform:translateY(-3px);}

/* ===== Reveal on scroll ===== */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s ease, transform .8s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

/* ===== Palm decorations ===== */
.palm-deco{position:absolute;opacity:.14;pointer-events:none;z-index:0;}
.palm-deco svg{width:100%;height:100%;}

/* ===== Header ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:18px 0;transition:background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:20px;}
.site-header.scrolled{background:rgba(251,248,241,.92);backdrop-filter:blur(10px);padding:10px 0;box-shadow:0 8px 24px -16px rgba(14,58,43,.4);}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.brand-badge{width:46px;height:46px;flex-shrink:0;transition:transform .3s ease;}
.site-header.scrolled .brand-badge{width:38px;height:38px;}
.brand-text{font-family:var(--ff-serif);font-weight:700;line-height:1.05;color:var(--white);transition:color .3s ease;white-space:nowrap;}
.site-header.scrolled .brand-text{color:var(--green-deep);}
.brand-text .name{display:block;font-size:1.18rem;}
.brand-text .sub{display:block;font-size:.62rem;letter-spacing:.18em;font-family:var(--ff-sans);font-weight:800;color:var(--gold-light);}
.site-header.scrolled .brand-text .sub{color:var(--gold);}

.nav-links{display:flex;align-items:center;gap:clamp(14px,2vw,30px);flex-shrink:1;}
.nav-links a{
  font-weight:700;font-size:.95rem;color:var(--white);position:relative;padding:4px 0;
  transition:color .3s ease;white-space:nowrap;
}
.site-header.scrolled .nav-links a{color:var(--ink);}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:2px;background:var(--gold);transition:width .25s ease;}
.nav-links a:hover::after{width:100%;}
.nav-cta{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.nav-phone{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--white);font-size:.95rem;white-space:nowrap;}
.site-header.scrolled .nav-phone{color:var(--green-deep);}
.nav-phone svg{width:18px;height:18px;flex-shrink:0;}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;z-index:200;}
.menu-toggle svg{width:28px;height:28px;color:var(--white);}
.site-header.scrolled .menu-toggle svg{color:var(--green-deep);}

@media (max-width:1180px){
  .nav-links{position:fixed;top:0;right:-100%;height:100vh;width:min(320px,80vw);
    background:var(--green-deep);flex-direction:column;justify-content:center;align-items:flex-start;
    padding:40px;gap:26px;transition:right .4s ease;box-shadow:-10px 0 40px rgba(0,0,0,.3);}
  .nav-links.open{right:0;}
  .nav-links a{color:var(--cream);font-size:1.1rem;}
  .nav-cta{display:none;}
  .menu-toggle{display:block;}
  .site-header.scrolled .nav-links a{color:var(--cream);}
}

/* ===== Hero ===== */
.hero{
  min-height:100vh;display:flex;align-items:center;position:relative;color:var(--white);
  background:#12261c;
}
.hero-media{position:absolute;inset:0;overflow:hidden;}
.hero-media img{
  width:100%;height:100%;object-fit:cover;object-position:center top;
  transform-origin:center center;
  animation:heroDescend 6.5s cubic-bezier(.34,.64,.32,1) forwards, heroDrift 30s ease-in-out 6.5s infinite alternate;
  will-change:transform;
}
/* Full photo, top to bottom: opens on the sky above the property and pans straight down through the whole image to the entrance */
@keyframes heroDescend{
  0%{transform:scale(1.05) translateY(0%);}
  100%{transform:scale(1.05) translateY(-19%);}
}
@keyframes heroDrift{
  0%{transform:scale(1.05) translateY(-19%);}
  100%{transform:scale(1.08) translateY(-21%);}
}
.hero-media::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(115deg, transparent 0%, rgba(217,180,106,.16) 45%, transparent 60%);
  background-size:220% 220%;
  animation:heroSheen 9s ease-in-out .6s infinite;
  mix-blend-mode:soft-light;
}
@keyframes heroSheen{
  0%{background-position:120% -20%;opacity:0;}
  35%{opacity:1;}
  60%{background-position:-20% 120%;opacity:0;}
  100%{background-position:-20% 120%;opacity:0;}
}
.hero-media::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(14,25,19,.35) 0%, rgba(12,30,22,.55) 45%, rgba(9,32,22,.94) 88%),
             linear-gradient(90deg, rgba(9,32,22,.55) 0%, rgba(9,32,22,.05) 55%);
}
.hero-content{position:relative;z-index:2;padding:100px 0 70px;width:100%;}
.hero-content .eyebrow{color:var(--gold-light);}
.hero-content .eyebrow::before{background:var(--gold-light);}
.hero h1{
  font-size:clamp(2.4rem,5.4vw,4.2rem);color:var(--white);max-width:820px;margin-bottom:20px;
}
.hero h1 em{font-style:italic;color:var(--gold-light);}

/* Each line fades in on its own, one at a time, timed so the last one lands exactly as the photo finishes settling at 6.5s */
.hero-content > *{opacity:0;animation:heroRise .5s ease-out forwards;}
.hero-content > *:nth-child(1){animation-delay:.6s;}
.hero-content > *:nth-child(2){animation-delay:1.95s;}
.hero-content > *:nth-child(3){animation-delay:3.3s;}
.hero-content > *:nth-child(4){animation-delay:4.65s;}
.hero-content > *:nth-child(5){animation-delay:6s;}
@keyframes heroRise{
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:translateY(0);}
}
.hero-quote{
  max-width:680px;font-size:clamp(1.05rem,1.6vw,1.3rem);font-style:italic;
  color:#f1ece0;border-left:3px solid var(--gold);padding-left:20px;margin-bottom:26px;
}
.hero-facts{display:flex;flex-wrap:wrap;gap:14px 28px;margin-bottom:38px;font-weight:700;font-size:.95rem;color:#e7e3d6;}
.hero-facts span{display:flex;align-items:center;gap:8px;}
.hero-facts svg{width:18px;height:18px;color:var(--gold-light);flex-shrink:0;}
.hero-btns{display:flex;flex-wrap:wrap;gap:16px;}
.scroll-cue{
  position:absolute;bottom:26px;left:50%;transform:translateX(-50%);z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:6px;color:#e7e3d6;font-size:.72rem;
  letter-spacing:.12em;text-transform:uppercase;font-weight:800;opacity:.85;
}
.scroll-cue .line{width:1px;height:34px;background:linear-gradient(180deg,var(--gold-light),transparent);animation:pulseDown 1.8s ease-in-out infinite;}
@keyframes pulseDown{0%{opacity:.2;transform:translateY(-6px);}50%{opacity:1;}100%{opacity:.2;transform:translateY(6px);}}

/* ===== About ===== */
.about-wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;}
@media (max-width:880px){.about-wrap{grid-template-columns:1fr;gap:36px;}}
.about-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;}
.badge-pill{
  display:flex;align-items:center;gap:8px;background:var(--green-soft);color:var(--green-deep);
  padding:10px 16px;border-radius:999px;font-weight:800;font-size:.85rem;border:1px solid rgba(31,92,64,.15);
}
.badge-pill svg{width:16px;height:16px;color:var(--gold);flex-shrink:0;}
.about-card{
  background:var(--white);border-radius:var(--radius);padding:36px;box-shadow:var(--shadow);
  border:1px solid rgba(14,58,43,.08);position:relative;
}
.about-card .years{font-family:var(--ff-serif);font-size:3.6rem;color:var(--green);font-weight:700;line-height:1;}
.about-card .years-label{font-weight:800;color:var(--ink-soft);letter-spacing:.05em;text-transform:uppercase;font-size:.78rem;}
.about-card hr{border:none;border-top:1px solid rgba(14,58,43,.12);margin:22px 0;}
.about-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;}
.about-card li{display:flex;gap:12px;align-items:flex-start;font-weight:700;color:var(--ink);}
.about-card li svg{width:20px;height:20px;color:var(--gold);flex-shrink:0;margin-top:2px;}

/* ===== Services ===== */
.services-bg{background:var(--green-soft);}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:50px;}
@media (max-width:980px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.services-grid{grid-template-columns:1fr;}}
.service-card{
  background:var(--white);border-radius:var(--radius-sm);padding:30px 24px;text-align:left;
  border:1px solid rgba(14,58,43,.08);transition:transform .3s ease, box-shadow .3s ease;
}
.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.service-icon{
  width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,var(--green),var(--green-deep));
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.service-icon svg{width:26px;height:26px;color:var(--gold-light);}
.service-card h4{font-size:1.05rem;margin-bottom:8px;color:var(--green-deep);}
.service-card p{font-size:.92rem;color:var(--ink-soft);margin:0;}

/* ===== Specialty band ===== */
.specialty{
  background:linear-gradient(160deg,var(--green-deep),#0a2a1e);color:var(--white);overflow:hidden;
}
.specialty-wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;position:relative;z-index:1;}
@media (max-width:880px){.specialty-wrap{grid-template-columns:1fr;gap:30px;}}
.specialty .eyebrow{color:var(--gold-light);}
.specialty .eyebrow::before{background:var(--gold-light);}
.specialty h2{color:var(--white);}
.specialty p{color:#dcdfd6;}
.specialty-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px;}
.specialty-list li{display:flex;gap:14px;align-items:flex-start;}
.specialty-list .num{
  flex-shrink:0;width:38px;height:38px;border-radius:50%;background:rgba(217,180,106,.15);
  border:1px solid rgba(217,180,106,.5);color:var(--gold-light);font-weight:800;font-family:var(--ff-serif);
  display:flex;align-items:center;justify-content:center;font-size:.95rem;
}
.specialty-list h4{color:var(--white);margin:0 0 4px;font-size:1.05rem;}
.specialty-list p{margin:0;color:#c9cec1;font-size:.92rem;}

/* ===== Instalaciones ===== */
.facility-wrap{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center;}
@media (max-width:880px){.facility-wrap{grid-template-columns:1fr;gap:32px;}}
.facility-img{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);position:relative;}
.facility-img img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5;}
.facility-list{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:20px;}
.facility-list li{display:flex;gap:16px;align-items:flex-start;}
.facility-list .ic{
  flex-shrink:0;width:48px;height:48px;border-radius:12px;background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;
}
.facility-list .ic svg{width:24px;height:24px;color:var(--green);}
.facility-list h4{margin:0 0 4px;font-size:1.05rem;color:var(--green-deep);}
.facility-list p{margin:0;color:var(--ink-soft);font-size:.92rem;}

/* ===== Equipo ===== */
.team-bg{background:var(--green-soft);}
.director-card{
  display:grid;grid-template-columns:auto 1fr;gap:36px;align-items:center;
  background:var(--white);border-radius:var(--radius);padding:38px;margin-top:44px;
  box-shadow:var(--shadow);border:1px solid rgba(14,58,43,.08);
}
@media (max-width:700px){.director-card{grid-template-columns:1fr;text-align:center;}}
.director-photo{
  width:150px;height:150px;border-radius:50%;object-fit:cover;
  border:4px solid var(--gold-light);box-shadow:0 12px 28px -12px rgba(14,58,43,.4);
}
@media (max-width:700px){.director-photo{margin:0 auto;}}
.director-role{
  display:inline-block;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  font-size:.78rem;color:var(--gold);margin-bottom:6px;
}
.director-info h3{font-size:1.6rem;margin-bottom:12px;}
.director-info p{color:var(--ink-soft);font-size:.96rem;}
.director-quote{
  font-style:italic;color:var(--green-deep)!important;border-left:3px solid var(--gold);
  padding-left:16px;margin:14px 0 0;
}
@media (max-width:700px){.director-quote{border-left:none;border-top:2px solid var(--gold);padding-left:0;padding-top:12px;}}

.staff-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:26px;}
@media (max-width:820px){.staff-grid{grid-template-columns:1fr;}}
.staff-card{
  background:var(--white);border-radius:var(--radius-sm);padding:28px 24px;
  border:1px solid rgba(14,58,43,.08);transition:transform .3s ease, box-shadow .3s ease;
}
.staff-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.staff-icon{
  width:50px;height:50px;border-radius:12px;background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.staff-icon svg{width:24px;height:24px;color:var(--green);}
.staff-card h4{font-size:1.02rem;margin-bottom:6px;color:var(--green-deep);}
.staff-card p{font-size:.9rem;color:var(--ink-soft);margin:0;}
.team-more{text-align:center;margin-top:36px;}

/* ===== Team page (equipo.html) ===== */
.page-hero{
  background:linear-gradient(160deg,var(--green-deep),#0a2a1e);color:var(--white);
  padding:200px 0 70px;text-align:center;position:relative;z-index:1;
}
.page-hero .eyebrow{color:var(--gold-light);justify-content:center;}
.page-hero .eyebrow::before{background:var(--gold-light);}
.page-hero h1{color:var(--white);font-size:clamp(2rem,4.4vw,3.2rem);}
.page-hero-intro{max-width:620px;margin:0 auto;color:#dcdfd6;font-size:1.05rem;}

.department-group{margin-bottom:56px;}
.department-group:last-child{margin-bottom:0;}
.department-title{
  font-size:1.3rem;margin-bottom:14px;padding-bottom:12px;
  border-bottom:2px solid rgba(14,58,43,.12);
}
.department-desc{max-width:700px;color:var(--ink-soft);font-size:.96rem;margin-bottom:0;}
/* Staff cards sit side by side, collapsed to just photo + name. Hovering
   (on devices with real hover) or clicking/tapping expands the card to
   reveal the role and bio. */
.person-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:20px;margin-top:26px;align-items:start;
}
.person-xcard{
  background:var(--white);border-radius:var(--radius-sm);padding:26px 20px;
  border:1px solid rgba(14,58,43,.08);text-align:center;cursor:pointer;
  transition:box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.person-xcard.expanded{box-shadow:var(--shadow);transform:translateY(-4px);border-color:rgba(182,135,63,.4);}
.xphoto{
  width:88px;height:88px;border-radius:50%;object-fit:cover;margin:0 auto 14px;
  border:3px solid var(--gold-light);display:block;background:var(--green-soft);
}
.placeholder-xphoto{display:flex;align-items:center;justify-content:center;}
.placeholder-xphoto::after{
  content:"";width:38px;height:38px;display:block;background:var(--green);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8"/></svg>') center/contain no-repeat;
  opacity:.5;
}
.person-xcard h4{margin:0;font-size:1rem;color:var(--green-deep);}
.xdetails{max-height:0;opacity:0;overflow:hidden;transition:max-height .4s ease, opacity .3s ease, margin-top .3s ease;}
.person-xcard.expanded .xdetails{max-height:320px;opacity:1;margin-top:14px;}
.xrole{
  display:block;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  font-size:.7rem;color:var(--gold);margin-bottom:8px;
}
.xdetails p{font-size:.88rem;color:var(--ink-soft);margin:0;}
.xdetails .xquote{font-style:italic;color:var(--green-deep);margin-top:8px;}
@media (hover:hover) and (pointer:fine){
  .person-xcard:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:rgba(182,135,63,.4);}
  .person-xcard:hover .xdetails{max-height:320px;opacity:1;margin-top:14px;}
}

/* ===== Gallery page ===== */
.gallery-empty{grid-column:1/-1;text-align:center;color:var(--ink-soft);padding:40px 0;}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px;}
.photo-item{
  position:relative;display:block;width:100%;aspect-ratio:4/3;border-radius:var(--radius-sm);
  overflow:hidden;border:1px solid rgba(14,58,43,.08);padding:0;cursor:pointer;background:var(--green-soft);
}
.photo-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.photo-item:hover img{transform:scale(1.06);}
.photo-caption{
  position:absolute;left:0;right:0;bottom:0;padding:14px 16px 12px;text-align:left;
  background:linear-gradient(0deg, rgba(9,32,22,.85), transparent);
  color:var(--white);font-weight:700;font-size:.9rem;
}
.lightbox{
  position:fixed;inset:0;z-index:200;background:rgba(9,20,15,.94);
  display:flex;align-items:center;justify-content:center;padding:40px 20px;
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.lightbox.open{opacity:1;pointer-events:auto;}
.lightbox-figure{max-width:min(90vw,1000px);max-height:85vh;margin:0;text-align:center;}
.lightbox-figure img{max-width:100%;max-height:75vh;border-radius:12px;display:block;margin:0 auto;}
.lightbox-figure figcaption{color:#e7e3d6;margin-top:14px;font-size:.95rem;}
.lightbox-close{
  position:absolute;top:22px;right:22px;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);color:var(--white);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.lightbox-close svg{width:20px;height:20px;}
.lightbox-close:hover{background:rgba(255,255,255,.2);}

/* ===== Testimonials ===== */
.testimonials-bg{background:var(--cream);}
.rating-badge{
  display:inline-flex;align-items:center;gap:12px;background:var(--white);border-radius:999px;
  padding:12px 22px;box-shadow:var(--shadow);margin-bottom:40px;border:1px solid rgba(14,58,43,.08);
}
.rating-badge .stars{color:var(--gold);font-size:1.1rem;letter-spacing:2px;}
.rating-badge .score{font-family:var(--ff-serif);font-weight:700;font-size:1.3rem;color:var(--green-deep);}
.rating-badge .count{font-size:.82rem;color:var(--ink-soft);font-weight:700;}
.testi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;}
@media (max-width:820px){.testi-grid{grid-template-columns:1fr;}}
.testi-card{
  background:var(--white);border-radius:var(--radius);padding:34px;border:1px solid rgba(14,58,43,.08);
  position:relative;box-shadow:0 14px 34px -22px rgba(14,58,43,.3);
}
.testi-card .quote-mark{font-family:var(--ff-serif);font-size:3.2rem;color:var(--gold-light);line-height:.6;display:block;margin-bottom:8px;}
.testi-card p{font-size:1rem;color:var(--ink);font-style:italic;}
.testi-author{display:flex;align-items:center;gap:12px;margin-top:18px;}
.testi-avatar{
  width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--green-deep));
  color:var(--gold-light);display:flex;align-items:center;justify-content:center;font-family:var(--ff-serif);font-weight:700;
  flex-shrink:0;
}
.testi-author strong{display:block;color:var(--green-deep);font-size:.95rem;}
.testi-author > div span{display:block;font-size:.78rem;color:var(--ink-soft);}
.testi-stars{color:var(--gold);font-size:.85rem;}

/* ===== CTA band ===== */
.cta-band{
  background:linear-gradient(135deg,var(--gold-light),var(--gold));color:var(--green-deep);
  text-align:center;
}
.cta-band h2{color:var(--green-deep);font-size:clamp(1.6rem,3.4vw,2.4rem);max-width:760px;margin:0 auto 14px;}
.cta-band p{max-width:620px;margin:0 auto 32px;font-weight:700;color:#3a2f16;}
.cta-btns{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;}
.cta-band .btn-outline-dark{border-color:var(--green-deep);}

/* ===== Contact ===== */
.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;}
@media (max-width:880px){.contact-wrap{grid-template-columns:1fr;gap:36px;}}
.contact-list{list-style:none;margin:26px 0 32px;padding:0;display:flex;flex-direction:column;gap:20px;}
.contact-list li{display:flex;gap:16px;align-items:flex-start;}
.contact-list .ic{
  flex-shrink:0;width:48px;height:48px;border-radius:12px;background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;
}
.contact-list .ic svg{width:22px;height:22px;color:var(--green);}
.contact-list h4{margin:0 0 4px;font-size:.98rem;color:var(--green-deep);}
.contact-list p, .contact-list a{margin:0;color:var(--ink-soft);font-size:.94rem;}
.contact-list a:hover{color:var(--green);}
.social-row{display:flex;gap:14px;}
.social-row a{
  width:44px;height:44px;border-radius:50%;background:var(--green-deep);color:var(--gold-light);
  display:flex;align-items:center;justify-content:center;transition:transform .25s ease, background .25s ease;
}
.social-row a:hover{transform:translateY(-4px);background:var(--gold);color:var(--green-deep);}
.social-row svg{width:20px;height:20px;}
.map-frame{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(14,58,43,.08);}
.map-frame iframe{width:100%;height:100%;min-height:420px;border:0;display:block;}

/* ===== Footer ===== */
.site-footer{background:var(--green-deep);color:#cdd6cb;padding:60px 0 26px;}
.footer-top{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.1);}
@media (max-width:820px){.footer-top{grid-template-columns:1fr;gap:28px;}}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.footer-brand .brand-badge{width:44px;height:44px;}
.footer-brand .name{font-family:var(--ff-serif);color:var(--white);font-size:1.15rem;font-weight:700;}
.site-footer p{color:#aab7a6;font-size:.92rem;}
.site-footer h5{color:var(--white);font-size:.85rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:16px;}
.footer-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.footer-links a{color:#c9d2c6;font-size:.92rem;}
.footer-links a:hover{color:var(--gold-light);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-top:22px;font-size:.82rem;color:#8ea089;}

/* ===== Back to top ===== */
.to-top{
  position:fixed;bottom:26px;right:26px;width:48px;height:48px;border-radius:50%;
  background:var(--green-deep);color:var(--gold-light);display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px -10px rgba(0,0,0,.4);opacity:0;transform:translateY(12px);pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;z-index:90;
}
.to-top.show{opacity:1;transform:translateY(0);pointer-events:auto;}
.to-top svg{width:20px;height:20px;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .reveal{transition:none;opacity:1;transform:none;}
  .scroll-cue .line{animation:none;}
  .hero-media img{animation:none;transform:scale(1.05) translateY(-19%);}
  .hero-media::before{animation:none;opacity:0;}
  .hero-content > *{animation:none;opacity:1;transform:none;}
}

/* ===== Added with the admin panel ===== */
/* Content is rebuilt from the database: keep the built-in copy hidden for the instant that takes (site.js removes this class). */
html.cms-pending .site-header, html.cms-pending main, html.cms-pending .site-footer{display:none;}
.brand-logo{height:46px;width:auto;border-radius:8px;object-fit:contain;}
.site-header.scrolled .brand-logo{height:38px;}
.nav-item{position:relative;display:flex;align-items:center;}
.nav-sub{display:none;position:absolute;top:100%;left:-14px;min-width:230px;margin-top:10px;padding:10px 6px;flex-direction:column;gap:2px;
  background:var(--cream);border-radius:var(--radius-sm);box-shadow:var(--shadow);z-index:150;}
.nav-sub::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px;}
.nav-item:hover .nav-sub,.nav-item:focus-within .nav-sub{display:flex;}
.nav-links .nav-sub a,.site-header.scrolled .nav-links .nav-sub a{color:var(--ink);padding:9px 14px;border-radius:8px;display:block;white-space:normal;}
.nav-links .nav-sub a:hover{background:var(--green-soft);}
.nav-links .nav-sub a::after{display:none;}
.nav-links .nav-item > a.has-sub::before{content:"";position:absolute;right:-14px;top:50%;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);opacity:.7;}
.nav-links .nav-item > a.has-sub{margin-right:14px;}
.header-social{display:flex;gap:10px;align-items:center;}
.header-social a{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--white);border:1px solid rgba(255,255,255,.45);transition:all .25s ease;}
.site-header.scrolled .header-social a{color:var(--green-deep);border-color:rgba(14,58,43,.35);}
.header-social a:hover{background:var(--gold);border-color:var(--gold);color:var(--green-deep);}
.header-social svg{width:16px;height:16px;}
.footer-social{display:flex;gap:12px;margin-top:16px;}
.footer-social a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#c9d2c6;border:1px solid rgba(201,210,198,.4);transition:all .25s ease;}
.footer-social a:hover{background:var(--gold);border-color:var(--gold);color:var(--green-deep);}
.footer-social svg{width:17px;height:17px;}
.footer-brand img{height:42px;width:auto;border-radius:8px;}
.facility-wrap.img-right .facility-img{order:2;}
@media (max-width:880px){.facility-wrap.img-right .facility-img{order:0;}}
.text-wrap{max-width:820px;}
.text-wrap.has-image{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.text-wrap.has-image.img-left .text-image{order:-1;}
.text-image{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.text-image img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;}
@media (max-width:880px){.text-wrap.has-image{grid-template-columns:1fr;gap:32px;}.text-wrap.has-image.img-left .text-image{order:0;}}
.image-block{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.image-block img{width:100%;}
.image-block figcaption{padding:12px 18px;background:var(--white);color:var(--ink-soft);font-size:.92rem;}
.gallery-intro{max-width:640px;margin-bottom:34px;}
.preview-banner{position:fixed;left:0;right:0;bottom:0;z-index:400;display:flex;justify-content:center;gap:14px;align-items:center;flex-wrap:wrap;
  padding:12px 18px;background:#7a2e2e;color:#fff;font-weight:700;font-size:.92rem;text-align:center;}
.preview-banner a{color:#fff;text-decoration:underline;}
.cms-notfound{padding:200px 0 120px;text-align:center;}
.footer-top{grid-template-columns:1.5fr repeat(var(--cols,2),1fr);}
@media (max-width:820px){.footer-top{grid-template-columns:1fr;}}

/* ===== Admin panel link (lock at the right end of the header) ===== */
.admin-lock{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid currentColor;border-radius:50%;color:var(--white);opacity:.85;transition:background .2s,color .2s,opacity .2s;}
.admin-lock svg{width:16px;height:16px;}
.site-header.scrolled .admin-lock{color:var(--green-deep);}
.admin-lock:hover,.admin-lock:focus-visible{background:#d4af37;border-color:#d4af37;color:#0f2a1c;opacity:1;}
@media (min-width:1181px) and (max-width:1360px){.nav-phone{display:none;}}
@media (max-width:1180px){.admin-lock{margin-left:auto;margin-right:-8px;}}
