/* ===== CSS Custom Properties ===== */
:root {
  --primary: #E45B39;
  --primary-dark: #C44D2E;
  --accent: #408C3A;
  --accent-ink: #3A8F35;
  --bg: #FFFFFF;
  --surface: #F9F5EC;
  --text: #322416;
  --muted: #75644D;
  --ink: 50 36 22;   /* --text as RGB for textures */
  --maxw: 1100px;
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: min-height:4rem;
}

/* ===== Reset ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:clip}
html{scroll-behavior:smooth;scroll-padding-top:5rem}
body{font-family:Mulish,-apple-system,sans-serif;font-size:17px;line-height:1.6;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
address{font-style:normal}
button{cursor:pointer;font:inherit}
ul{list-style:none}
h1,h2,h3,h4{font-family:Comfortaa,serif;font-weight:700;line-height:1.15;hyphens:none}
h1{overflow-wrap:anywhere;hyphens:none}
[hidden]{display:none!important}

/* ===== Typography ===== */
.section-title{font-size:clamp(1.75rem,3.5vw,2.4rem);font-weight:700;margin-bottom:1.5rem;color:var(--text)}
.section-inner{max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem)}
.section{padding:clamp(3rem,6vw,5.5rem) 0}

/* ===== Nav ===== */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;min-height:4rem;transition:background .3s,box-shadow .3s}
.nav.scrolled{background:var(--bg);box-shadow:0 1px 8px rgba(0,0,0,.08)}
.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);display:flex;align-items:center;min-height:4rem;gap:clamp(1rem,3vw,2.5rem)}
.nav-brand{flex-shrink:1;min-width:0;max-width:min(46%,520px);display:flex;align-items:center;gap:.5rem}
.biz-logo{height:44px;width:auto;max-width:180px;object-fit:contain;flex-shrink:0}
.wordmark{font-family:Comfortaa,serif;font-weight:700;font-size:clamp(.92rem,1.15vw,1.15rem);color:#fff;overflow-wrap:anywhere;hyphens:none;max-width:min(40vw,340px);line-height:1.25}
.nav.scrolled .wordmark{color:var(--text)}
.nav-links{display:flex;align-items:center;gap:1.5rem;margin-left:auto}
.nav-links a{font-size:.95rem;font-weight:600;color:#fff;opacity:.9;transition:opacity .2s;overflow-wrap:anywhere;hyphens:none}
.nav.scrolled .nav-links a{color:var(--muted)}
.nav-links a:hover{opacity:1}
.nav-links a.nav-login{color:var(--accent);opacity:1}
.nav-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.nav-cta{display:flex;align-items:center;gap:.4rem;background:var(--primary);color:#fff;padding:.55rem 1.1rem;border-radius:var(--radius-sm);font-weight:700;font-size:.92rem;transition:background .2s;white-space:nowrap}
.nav-cta:hover{background:var(--primary-dark)}
.nav-wa{display:flex;align-items:center;color:#fff;opacity:.85;transition:opacity .2s}
.nav.scrolled .nav-wa{color:var(--text)}
.nav-wa:hover{opacity:1}
.nav-social{display:flex;align-items:center;gap:.5rem}
.nav-social .social-icon{width:30px;height:30px;background:rgba(255,255,255,.12);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}
.nav.scrolled .nav-social .social-icon{background:rgba(0,0,0,.05);color:var(--text)}
.nav-social .social-icon:hover{background:var(--primary);color:#fff}
.wordmark-tail{display:block;font-size:.58em;font-weight:400;color:inherit;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:6px;z-index:1001}
.menu-bar{display:block;width:26px;height:2.5px;background:#fff;border-radius:2px;transition:transform .3s,opacity .3s}
.nav.scrolled .menu-bar{background:var(--text)}
.menu-toggle.open .menu-bar:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.menu-toggle.open .menu-bar:nth-child(2){opacity:0}
.menu-toggle.open .menu-bar:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{position:relative;height:100vh;min-height:560px;display:flex;align-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(20,16,10,.65) 0%,rgba(20,16,10,.35) 40%,rgba(20,16,10,.15) 100%);z-index:1}
.hero-content{position:relative;z-index:2;max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);width:100%}
.hero-eyebrow{font-family:Comfortaa,serif;font-size:.92rem;font-weight:700;letter-spacing:.06em;color:rgba(255,255,255,.92);margin-bottom:.75rem;text-transform:uppercase}
.hero h1{font-family:Comfortaa,serif;font-size:clamp(2.2rem,5vw,3rem);font-weight:800;color:#fff;max-width:600px;line-height:1.1;margin-bottom:1rem;overflow-wrap:anywhere;hyphens:none}
.hero-sub{font-size:1.05rem;color:rgba(255,255,255,.85);max-width:500px;margin-bottom:2rem;line-height:1.55}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.75rem}
.btn{display:inline-flex;align-items:center;gap:.4rem;padding:.7rem 1.6rem;border-radius:var(--radius-sm);font-weight:700;font-size:.95rem;border:0;transition:all .2s}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* ===== Gallery ===== */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.25rem}
.gallery-item{cursor:pointer;border-radius:var(--radius);overflow:hidden;position:relative}
.gallery-item .img-wrap{border-radius:var(--radius);overflow:hidden;aspect-ratio:3/2}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.gallery-item:hover img,.gallery-item:focus-within img{transform:scale(1.04)}
.img-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.7));color:#fff;padding:1.5rem .75rem .6rem;font-size:.85rem;transform:translateY(100%);transition:transform .25s;pointer-events:none}
.gallery-item:hover .img-caption,.gallery-item:focus-within .img-caption{transform:translateY(0)}

/* ===== Dividers ===== */
.divider{position:relative;z-index:1;height:clamp(60px,8vw,100px);overflow:hidden;background:var(--bg)}
.divider-svg{position:absolute;bottom:0;left:0;width:100%;height:100%}
.divider-wave-opposing .divider-svg path{fill:var(--surface)}

/* ===== Services ===== */
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1.5rem}
.service-card{border-radius:var(--radius);overflow:hidden;background:var(--surface);transition:transform .3s,box-shadow .3s}
.service-card:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.08)}
.svc-img-wrap{aspect-ratio:3/2;overflow:hidden}
.svc-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.service-card:hover .svc-img-wrap img{transform:scale(1.04)}
.svc-body{padding:1.25rem}
.svc-body h3{font-size:1.1rem;margin-bottom:.4rem;overflow-wrap:anywhere;hyphens:none}
.svc-body p{font-size:.9rem;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.svc-footer{display:flex;align-items:center;justify-content:space-between;margin-top:.75rem;padding-top:.75rem;border-top:1px solid rgba(0,0,0,.06)}
.svc-price{font-weight:700;font-size:.95rem;color:var(--primary)}
.svc-book{font-size:.85rem;font-weight:700;color:var(--accent-ink);transition:opacity .2s}
.svc-book:hover{opacity:.75}

/* Entrance stagger — default VISIBLE */
.js-anim{opacity:1;transform:none;transition:opacity .5s ease-out,transform .5s ease-out}
html.js-ready .js-anim{opacity:0;transform:translateY(20px)}
html.js-ready .js-anim.anim-in{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){html.js-ready .js-anim,.js-anim{opacity:1;transform:none;transition:none}}

/* ===== Promo Layer Cake ===== */
.promo-layer-cake{max-width:700px;margin:0 auto}
.promo-svg{width:100%;height:auto;display:block}

/* ===== About ===== */
.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,3.5rem);align-items:center}
.about-body{font-size:1rem;line-height:1.65;color:var(--muted);margin-bottom:1.5rem}
.about-cta{margin-top:.5rem}
.about-img .img-wrap{border-radius:var(--radius);overflow:hidden;aspect-ratio:3/2}
.about-img img{width:100%;height:100%;object-fit:cover}

/* ===== Amenities Ribbon ===== */
.amenities-ribbon{overflow:hidden;padding:.5rem 0}
.amenities-track{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:center}
.amenity-chip{display:inline-flex;align-items:center;gap:.4rem;font-size:.9rem;font-weight:600;color:var(--text);background:var(--surface);padding:.45rem .9rem;border-radius:2rem;white-space:nowrap}
.amenity-icon{flex-shrink:0;color:var(--primary)}
.amenity-sep{color:var(--accent);font-size:.6rem;opacity:.6}
.amenity-sep:last-child{display:none}

/* ===== Experience ===== */
.experience-layout{max-width:700px}
.experience-text p, .experience-text div{font-size:1rem;line-height:1.65;color:var(--muted)}

/* ===== Story ===== */
.story-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,3.5rem);align-items:center}
.story-body{font-size:1rem;line-height:1.65;color:var(--muted)}
.story-img{border-radius:var(--radius);overflow:hidden;aspect-ratio:3/2}
.story-img img{width:100%;height:100%;object-fit:cover}

/* ===== Reviews ===== */
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.5rem}
.review-card{background:var(--surface);padding:1.5rem;border-radius:var(--radius)}
.review-stars{font-size:.85rem;color:var(--primary);margin-bottom:.6rem;font-weight:700}
.review-text{font-size:.95rem;line-height:1.55;color:var(--text);margin-bottom:.6rem}
.review-author{font-size:.85rem;color:var(--muted)}

/* ===== FAQs ===== */
.faqs-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,3.5rem);align-items:center}
.faqs-list{max-width:750px;margin:0 auto}
.faqs-img .img-wrap{border-radius:var(--radius);overflow:hidden;aspect-ratio:3/2}
.faqs-img img{width:100%;height:100%;object-fit:cover}
.faq-item{border-bottom:1px solid rgba(0,0,0,.08)}
.faq-q{font-family:Comfortaa,serif;font-weight:700;font-size:1.02rem;padding:1.1rem .5rem 1.1rem 0;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:.75rem;overflow-wrap:anywhere;hyphens:none}
.faq-q::-webkit-details-marker{display:none}
.faq-q::after{content:'+';font-size:1.4rem;font-weight:400;flex-shrink:0;color:var(--primary);transition:transform .25s}
.faq-item[open] .faq-q::after{content:'−'}
.faq-a{padding:0 .5rem 1.1rem 0;font-size:.95rem;line-height:1.55;color:var(--muted)}

/* ===== Contact (Stacked Strip) ===== */
.contact-strip{display:flex;flex-wrap:wrap;gap:1rem 2rem;margin-bottom:2rem;justify-content:center}
.contact-strip-item{display:flex;align-items:center;gap:.5rem;font-size:.95rem}
.contact-strip-icon{flex-shrink:0;color:var(--primary)}
.contact-strip-val{color:var(--text);font-weight:500;overflow-wrap:anywhere;hyphens:none}
.contact-strip-val a{color:var(--primary);font-weight:700}
.contact-map{margin-bottom:2rem;border-radius:var(--radius);overflow:hidden}
.map-embed{width:100%;aspect-ratio:16/7;border:0}
.contact-form{display:none;max-width:500px;margin:0 auto}
[data-contact="form"] .contact-map{display:block}
[data-contact="form"] .contact-form{display:block}
.contact-form form{display:flex;flex-direction:column;gap:1rem}
.contact-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600}
.contact-form input,.contact-form textarea{padding:.65rem .8rem;border:1.5px solid #ddd;border-radius:var(--radius-sm);font:inherit;font-size:.95rem;background:var(--bg);transition:border-color .2s}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--primary)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ===== Hours ===== */
.hours-table{max-width:400px;margin:0 auto}
.hours-row{display:flex;justify-content:space-between;padding:.55rem .5rem;border-bottom:1px solid rgba(0,0,0,.06);font-size:.95rem}
.hours-day{font-weight:600}
.hours-hrs{color:var(--muted)}

/* ===== Branches ===== */
.branches-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.5rem}
.branch-card{background:var(--surface);padding:1.5rem;border-radius:var(--radius)}
.branch-card h3{font-size:1.05rem;margin-bottom:.4rem}
.branch-card address{font-size:.9rem;color:var(--muted);margin-bottom:.4rem}
.branch-card a{font-weight:700;color:var(--primary);font-size:.9rem}

/* ===== Footer ===== */
.footer{background:var(--text);color:#fff;padding:3rem 0 0}
.footer-inner{max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:2.5rem}
.footer-brand{display:flex;flex-direction:column;gap:.4rem}
.biz-logo-footer{height:52px;width:auto;max-width:200px;object-fit:contain}
.wordmark-footer{font-family:Comfortaa,serif;font-weight:700;font-size:1.15rem;overflow-wrap:anywhere;hyphens:none}
.footer-giro{font-size:.85rem;color:rgba(255,255,255,.55)}
.footer-col{display:flex;flex-direction:column;gap:.5rem}
.footer-col h4{font-family:Mulish,sans-serif;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--accent);margin-bottom:.2rem}
.footer-col a,.footer-col address{font-size:.9rem;color:rgba(255,255,255,.7);transition:color .2s;overflow-wrap:anywhere;hyphens:none}
.footer-col a:hover{color:#fff}
.social-row{display:flex;gap:.75rem}
.social-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.1);transition:background .2s}
.social-icon:hover{background:var(--primary)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:2.5rem;padding:1.25rem clamp(1.25rem,4vw,2.5rem);text-align:center;font-size:.82rem;color:rgba(255,255,255,.4);max-width:var(--maxw);margin-left:auto;margin-right:auto}

/* ===== Cookie Notice ===== */
#lb-cookie-notice{position:fixed;left:12px;right:12px;bottom:12px;z-index:9990;display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:rgba(50,36,22,.97);color:#f2f4f7;padding:14px 18px;border-radius:10px;box-shadow:0 4px 18px rgba(0,0,0,.25);font-size:.85rem;line-height:1.45}
#lb-cookie-notice[hidden]{display:none}
#lb-cookie-notice p{margin:0;flex:1 1 260px}
#lb-cookie-notice a{color:var(--accent);text-decoration:underline}
#lb-cookie-btn{flex:0 0 auto;min-height:44px;padding:10px 22px;border:0;border-radius:8px;background:#fff;color:var(--text);font-weight:700;cursor:pointer}

/* ===== Lightbox ===== */
.lightbox{position:fixed;inset:0;z-index:9999}
.lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.9);cursor:pointer}
.lightbox-close{position:absolute;top:1rem;right:1rem;background:none;border:0;color:#fff;font-size:2.5rem;line-height:1;z-index:1;padding:.25rem}
.lightbox-img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:90vw;max-height:85vh;object-fit:contain}

/* ===== Image Hover: caption slide-up (type 6) ===== */
.img-hover .img-caption{transform:translateY(100%);transition:transform .25s ease-out}
.img-hover:hover .img-caption,.img-hover:focus-within .img-caption{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.img-caption{transform:none!important}}

/* ===== Mixed image shapes ===== */
.img-shape-mixed:nth-child(odd){border-radius:var(--radius)}
.img-shape-mixed:nth-child(even){border-radius:var(--radius) var(--radius) var(--radius-sm) var(--radius-sm)}

/* ===== Background bands ===== */
.band--solid{background:var(--surface)}
.band--textured{background:var(--surface);position:relative;isolation:isolate}
.band--textured::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Crect x='12' y='18' width='5' height='5' rx='1.5' fill='%23322416' opacity='.06'/%3E%3Crect x='78' y='23' width='6' height='3' rx='1.5' fill='%23322416' opacity='.045'/%3E%3Crect x='45' y='62' width='5' height='7' rx='1.5' fill='%23322416' opacity='.055'/%3E%3Crect x='102' y='44' width='4' height='4' rx='1.5' fill='%23322416' opacity='.07'/%3E%3Crect x='33' y='98' width='7' height='4' rx='1.5' fill='%23322416' opacity='.045'/%3E%3Crect x='88' y='110' width='4' height='6' rx='1.5' fill='%23322416' opacity='.06'/%3E%3Crect x='130' y='75' width='5' height='3' rx='1.5' fill='%23322416' opacity='.05'/%3E%3Crect x='55' y='135' width='6' height='4' rx='1.5' fill='%23322416' opacity='.055'/%3E%3Crect x='115' y='130' width='3' height='5' rx='1.5' fill='%23322416' opacity='.065'/%3E%3Crect x='8' y='72' width='4' height='4' rx='1.5' fill='%23322416' opacity='.05'/%3E%3C/svg%3E");background-repeat:repeat}
.band--textured .section-inner{position:relative;z-index:1}

/* ===== Responsive ===== */
@media(max-width:800px){
  .about-layout,.story-layout,.faqs-layout{grid-template-columns:1fr}
  .about-img,.story-img{order:-1;max-width:450px;margin:0 auto}
  .services-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
}
@media(max-width:700px){
  .menu-toggle{display:flex}
  .nav-links{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg);flex-direction:column;align-items:flex-start;justify-content:center;padding:2rem;gap:1.5rem;z-index:1000}
  .nav-links.open{display:flex}
  .nav-links a{font-size:1.2rem;color:var(--text)}
  .nav-cta span{display:none}
  .hero h1{font-size:clamp(1.8rem,6vw,2.5rem)}
  .gallery-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
  .contact-strip{flex-direction:column;align-items:flex-start;gap:.75rem}
}
@media(max-width:400px){
  .hero-ctas{flex-direction:column}
  .btn{justify-content:center}
}

/* ===== Reduced motion ===== */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ── AA contrast overrides (measured on the rendered page) ── */
#nosotros > div.section-inner.about-layout > div.about-text > a.btn.btn-primary.about-cta:not(:hover){background-color:#c94f31 !important}
footer.footer > div.footer-inner > div.footer-col > h4:nth-child(1):not(:hover){color:#499f43 !important}
footer.footer > div.footer-bottom > p:nth-child(1):not(:hover){color:#9a9187 !important}
