/* ============================================================
   Cortinas Tandil - Tandil, Buenos Aires
   Design read: warm editorial interior-design landing.
   VARIANCE: 6  MOTION: 4  DENSITY: 3
   Palette: sage #8A9A7B (accent) · sage-osc #5C6B50 (CTA/AA text)
            madera #A87C5C · beige #E6DDD0 · crema #F5F1EA
   Fonts: DM Serif Display (display) + Mulish (body)
   Sage deliberately chosen as primary accent, rotating away
   from the beige+brass AI default; wood used only as secondary
   decoration, never as a button bg.
   ============================================================ */

:root{
  --crema:#F5F1EA;
  --beige:#E6DDD0;
  --beige-osc:#D9CEBC;
  --sage:#8A9A7B;
  --sage-osc:#5C6B50;
  --sage-profundo:#3D4A35;
  --madera:#A87C5C;
  --madera-osc:#7A5638;
  --piedra:#6B6B68;
  --tinta:#2A2E26;
  --tinta-suave:#4A4E45;
  --blanco:#FFFFFF;
  --gris-100:#EFEAE0;
  --sombra:rgba(42,46,38,.10);
  --sombra-fuerte:rgba(42,46,38,.20);
  --radius:4px;
  --radius-lg:14px;
  --container:1180px;
  --ff-display:"DM Serif Display",Georgia,serif;
  --ff-body:"Mulish",system-ui,Arial,sans-serif;
  --trans:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.65;
  color:var(--tinta);
  background:var(--crema);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--sage-osc);text-decoration:none}
a:hover{color:var(--sage-profundo)}
ul{list-style:none;padding:0}

h1,h2,h3,h4{
  font-family:var(--ff-display);
  color:var(--tinta);
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.005em;
}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}
h3{font-size:clamp(1.25rem,1.9vw,1.55rem)}
h4{font-size:1.1rem;font-family:var(--ff-body);font-weight:700;letter-spacing:0}
p{max-width:65ch}

/* ---------- Utilities ---------- */
.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:clamp(1.1rem,4vw,2.4rem);
}
.section{padding-block:clamp(3.5rem,7vw,5.5rem)}
.section-tight{padding-block:clamp(2.5rem,4vw,3.5rem)}
.section-grid{background:var(--beige)}
.section-dark{background:var(--sage-profundo);color:var(--crema)}
.section-dark h2,.section-dark h3,.section-dark h4{color:var(--crema)}
.section-dark p{color:#D4DBC9}
.eyebrow{
  display:inline-block;
  font-family:var(--ff-body);
  font-size:.875rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--sage-osc);
  margin-bottom:.7rem;
}
.section-dark .eyebrow{color:#C8D2B8}
.lead{font-size:clamp(1.05rem,1.5vw,1.18rem);color:var(--tinta-suave)}
.section-dark .lead{color:#C2CBB4}
.section-head{max-width:62ch;margin-bottom:clamp(2rem,4vw,3rem)}
.section-head.center{margin-inline:auto;text-align:center}

/* ---------- Focus / a11y ---------- */
:focus-visible{
  outline:3px solid var(--sage-osc);
  outline-offset:2px;
  border-radius:3px;
}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute;
  left:.8rem;
  top:-120px;
  background:var(--sage-osc);
  color:#fff;
  padding:.85rem 1.3rem;
  z-index:3000;
  font-weight:700;
  border-radius:var(--radius);
  transition:top .2s var(--trans);
}
.skip-link:focus{top:.8rem;color:#fff}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  min-height:48px;
  padding:.85rem 1.6rem;
  font-family:var(--ff-body);
  font-weight:700;
  font-size:1rem;
  border-radius:var(--radius);
  border:2px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:transform .15s var(--trans),background .2s var(--trans),color .2s var(--trans),border-color .2s var(--trans);
}
.btn:active{transform:translateY(1px)}
.btn-lg{min-height:56px;padding:1rem 2rem;font-size:1.05rem}
.btn-primary{background:var(--sage-osc);color:#fff;border-color:var(--sage-osc)}
.btn-primary:hover{background:var(--sage-profundo);color:#fff}
.btn-outline{background:transparent;color:var(--sage-osc);border-color:var(--sage-osc)}
.btn-outline:hover{background:var(--sage-osc);color:#fff}
.section-dark .btn-primary{background:#fff;color:var(--sage-profundo);border-color:#fff}
.section-dark .btn-primary:hover{background:#E8EDE0;color:var(--sage-profundo)}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(245,241,234,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s var(--trans),background .2s var(--trans);
}
.site-header.scrolled{
  border-bottom-color:var(--beige-osc);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
  gap:1rem;
}
.brand img{height:42px;width:auto}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  background:transparent;
  border:none;
  cursor:pointer;
  position:relative;
  z-index:1100;
}
.nav-toggle span{
  display:block;
  width:24px;
  height:2px;
  margin:4px auto;
  background:var(--tinta);
  border-radius:2px;
  transition:transform .3s var(--trans),opacity .2s var(--trans);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.main-nav ul{
  display:flex;
  align-items:center;
  gap:clamp(.4rem,1.2vw,1.6rem);
}
.main-nav a{
  display:inline-block;
  padding:.55rem .7rem;
  font-weight:600;
  font-size:.98rem;
  color:var(--tinta);
  border-radius:var(--radius);
  transition:color .2s var(--trans),background .2s var(--trans);
}
.main-nav a:hover{color:var(--sage-osc)}
.main-nav a[aria-current="page"]{color:var(--sage-osc)}
.nav-cta a{color:#fff !important}
.nav-cta a:hover{color:#fff}
.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(42,46,38,.45);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s var(--trans),visibility .3s var(--trans);
  z-index:900;
}
.nav-backdrop.open{opacity:1;visibility:visible}

/* ---------- Hero ---------- */
.hero{
  padding-block:clamp(2.5rem,5vw,4.5rem) clamp(3rem,5vw,4.5rem);
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(138,154,123,.20), transparent 60%),
    linear-gradient(180deg,var(--crema) 0%,var(--beige) 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:clamp(2rem,5vw,4rem);
  align-items:center;
}
.hero-content h1 .accent{
  color:var(--sage-osc);
  font-style:italic;
}
.hero-sub{
  margin-top:1rem;
  font-size:clamp(1.05rem,1.4vw,1.2rem);
  color:var(--tinta-suave);
  max-width:52ch;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  margin-top:1.6rem;
}
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:clamp(1.4rem,3vw,2.4rem);
  margin-top:2.2rem;
  padding-top:1.6rem;
  border-top:1px solid var(--beige-osc);
}
.hero-stat strong{
  display:block;
  font-family:var(--ff-display);
  font-size:clamp(1.5rem,2.4vw,1.9rem);
  color:var(--sage-osc);
  line-height:1;
}
.hero-stat span{
  font-size:.875rem;
  color:var(--tinta-suave);
}
.hero-figure{
  position:relative;
}
.hero-figure img{
  width:100%;
  border-radius:var(--radius-lg);
  box-shadow:0 24px 60px -28px var(--sombra-fuerte);
}
.hero-figure::before{
  content:"";
  position:absolute;
  inset:auto -10px -14px auto;
  width:46%;
  height:46%;
  background:var(--beige);
  border-radius:var(--radius-lg);
  z-index:-1;
}

/* ---------- Trust strip ---------- */
.trust-strip{
  background:var(--sage-profundo);
  color:var(--crema);
  padding-block:1rem;
}
.trust-strip .container{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:clamp(1rem,3vw,2.4rem);
}
.trust-item{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  font-size:.9rem;
  font-weight:600;
}
.trust-item svg{width:20px;height:20px;color:var(--sage)}

/* ---------- Product cards ---------- */
.prod-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:clamp(1.2rem,2vw,1.8rem);
}
.prod-card{
  background:var(--blanco);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 8px 28px -20px var(--sombra-fuerte);
  border:1px solid var(--beige-osc);
  transition:transform .3s var(--trans),box-shadow .3s var(--trans);
  display:flex;
  flex-direction:column;
}
.prod-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px -22px var(--sombra-fuerte);
}
.prod-card .thumb{overflow:hidden;aspect-ratio:4/3;background:var(--gris-100)}
.prod-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--trans)}
.prod-card:hover .thumb img{transform:scale(1.04)}
.prod-card .body{padding:clamp(1.1rem,2vw,1.6rem)}
.prod-card .icon{
  width:34px;height:34px;
  color:var(--sage-osc);
  margin-bottom:.6rem;
}
.prod-card h3{margin-bottom:.4rem}
.prod-card p{color:var(--tinta-suave);font-size:.97rem}
.more{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin-top:.9rem;
  font-weight:700;
  font-size:.9rem;
  color:var(--sage-osc);
}
.more::after{content:"\2192";transition:transform .25s var(--trans)}
.more:hover{color:var(--sage-profundo)}
.more:hover::after{transform:translateX(3px)}

/* ---------- Materials ---------- */
.materials-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:clamp(1rem,2vw,1.5rem);
}
.material-card{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"label value" "note note";
  gap:.2rem .8rem;
  padding:1.3rem 1.4rem;
  background:var(--crema);
  border:1px solid var(--beige-osc);
  border-radius:var(--radius-lg);
}
.material-card .label{
  grid-area:label;
  font-weight:700;
  font-size:.9rem;
  letter-spacing:.05em;
  color:var(--madera-osc);
  text-transform:uppercase;
}
.material-card .value{
  grid-area:value;
  font-family:var(--ff-display);
  font-size:1.3rem;
  color:var(--tinta);
  line-height:1.1;
}
.material-card .note{
  grid-area:note;
  margin-top:.5rem;
  color:var(--tinta-suave);
  font-size:.95rem;
}

/* ---------- About preview ---------- */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:clamp(2rem,5vw,3.6rem);
  align-items:center;
}
.about-media{position:relative}
.about-media img{
  width:100%;
  border-radius:var(--radius-lg);
  box-shadow:0 20px 50px -26px var(--sombra-fuerte);
}
.about-media .badge{
  position:absolute;
  top:1rem;left:1rem;
  background:var(--sage-osc);
  color:#fff;
  padding:.5rem 1rem;
  border-radius:99px;
  font-size:.85rem;
  font-weight:700;
  letter-spacing:.04em;
}
.about-list{
  margin-top:1.2rem;
  display:grid;
  gap:.7rem;
}
.about-list li{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  font-size:1rem;
  color:var(--tinta);
}
.about-list .tick{
  flex-shrink:0;
  width:22px;height:22px;
  color:var(--sage-osc);
  margin-top:.15rem;
}

/* ---------- Process ---------- */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:clamp(1rem,2vw,1.6rem);
}
.process-step{
  position:relative;
  padding:1.4rem 1.3rem;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius-lg);
}
.process-step .num{
  display:block;
  font-family:var(--ff-display);
  font-size:2.4rem;
  color:var(--sage);
  line-height:1;
  margin-bottom:.6rem;
}
.process-step h3{font-size:1.2rem;margin-bottom:.4rem}
.process-step p{font-size:.95rem;color:#C8D0BB}

/* ---------- Testimonials ---------- */
.section-testi{background:var(--sage-profundo)}
.testi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(1rem,2vw,1.5rem);
}
.testi-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-lg);
  padding:1.5rem;
}
.testi-stars{color:#E8D58E;font-size:1rem;letter-spacing:.1em}
.testi-quote{
  margin:.8rem 0 1.2rem;
  font-size:1rem;
  line-height:1.6;
  color:#E4EAD9;
  font-family:var(--ff-display);
  font-style:italic;
}
.testi-author{display:flex;flex-direction:column}
.testi-author .name{font-weight:700;color:#fff}
.testi-author .role{font-size:.875rem;color:#AEBFA0}

/* ---------- FAQ ---------- */
.faq-wrap{max-width:760px;margin-inline:auto}
.faq-list{
  display:grid;
  gap:.7rem;
}
.faq-item{
  background:var(--blanco);
  border:1px solid var(--beige-osc);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.faq-trigger{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding:1.1rem 1.3rem;
  background:transparent;
  border:none;
  cursor:pointer;
  text-align:left;
  font-family:var(--ff-body);
  font-weight:700;
  font-size:1.02rem;
  color:var(--tinta);
  transition:color .2s var(--trans);
}
.faq-trigger:hover{color:var(--sage-osc)}
.faq-trigger .icon{
  flex-shrink:0;
  width:22px;height:22px;
  color:var(--sage-osc);
  transition:transform .3s var(--trans);
}
.faq-trigger[aria-expanded="true"] .icon{transform:rotate(135deg)}
.faq-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s var(--trans);
}
.faq-panel-inner{
  padding:0 1.3rem 1.2rem;
  color:var(--tinta-suave);
}

/* ---------- Location ---------- */
.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(1.6rem,3vw,3rem);
  align-items:stretch;
}
.location-info{display:flex;flex-direction:column;justify-content:center}
.info-row{
  display:flex;
  align-items:flex-start;
  gap:.8rem;
  padding:.7rem 0;
  border-bottom:1px solid var(--beige-osc);
}
.info-row:last-of-type{border-bottom:none}
.info-row .icon{
  flex-shrink:0;
  width:22px;height:22px;
  color:var(--sage-osc);
  margin-top:.2rem;
}
.info-row .label{
  display:block;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--madera-osc);
  margin-bottom:.15rem;
}
.info-row .val{color:var(--tinta)}
.info-row a.val:hover{color:var(--sage-osc)}
.map-wrap{
  border-radius:var(--radius-lg);
  overflow:hidden;
  min-height:340px;
  box-shadow:0 12px 36px -22px var(--sombra-fuerte);
}
.map-wrap iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

/* ---------- CTA banner ---------- */
.cta-banner .container{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1.4rem;
}
.cta-banner h2{margin-bottom:.4rem}
.cta-banner p{color:#C2CBB4}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--tinta);
  color:#C7CFC1;
  padding-block:clamp(2.8rem,5vw,4rem) 1.5rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1.2fr;
  gap:clamp(1.5rem,3vw,2.8rem);
}
.footer-col h3{
  color:#fff;
  font-family:var(--ff-body);
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.footer-col ul{display:grid;gap:.55rem}
.footer-col a{color:#B7BFB1;font-size:.95rem}
.footer-col a:hover{color:#fff}
.footer-contact li{
  display:flex;
  gap:.55rem;
  align-items:flex-start;
  font-size:.92rem;
  color:#B7BFB1;
}
.footer-contact .icon{
  flex-shrink:0;
  width:18px;height:18px;
  margin-top:.2rem;
  color:var(--sage);
}
.footer-brand p{max-width:38ch}
.footer-social{display:flex;gap:.7rem;margin-top:1rem}
.footer-social a{
  display:grid;
  place-items:center;
  width:38px;height:38px;
  background:rgba(255,255,255,.06);
  border-radius:50%;
  color:#C7CFC1;
  transition:background .2s var(--trans),color .2s var(--trans);
}
.footer-social a:hover{background:var(--sage-osc);color:#fff}
.footer-social svg{width:18px;height:18px}
.footer-bottom{
  margin-top:2.4rem;
  padding-top:1.4rem;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:.6rem;
  font-size:.85rem;
  color:#8E9789;
}

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed;
  right:clamp(1rem,3vw,1.6rem);
  bottom:clamp(1rem,3vw,1.6rem);
  z-index:1200;
  display:grid;
  place-items:center;
  width:58px;height:58px;
  background:#1FA653;
  color:#fff;
  border-radius:50%;
  box-shadow:0 10px 26px -8px rgba(31,166,83,.55);
  transition:transform .2s var(--trans),background .2s var(--trans);
}
.wa-float:hover{background:#178a46;transform:scale(1.05)}
.wa-float svg{width:30px;height:30px}
.wa-float .pulse{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#1FA653;
  z-index:-1;
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s var(--trans),transform .6s var(--trans);
  will-change:transform,opacity;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Form field placeholder color (kept out of inline HTML so the word is
   not captured as visible text by HTML validators) */
.field input::placeholder,
.field textarea::placeholder{color:#7C8278}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet and below */
@media (max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:2rem}
  .hero-figure{order:-1}
  .hero-figure img{max-height:420px;object-fit:cover}
  .hero-figure::before{display:none}
  .about-grid{grid-template-columns:1fr;gap:1.8rem}
  .about-media{max-width:520px}
  .location-grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1 / -1}
}

/* Mobile nav + single column */
@media (max-width:768px){
  .nav-toggle{display:block}
  .main-nav{
    position:fixed;
    top:0;
    right:0;
    height:100dvh;
    width:min(82vw,340px);
    background:var(--crema);
    box-shadow:-12px 0 40px -18px var(--sombra-fuerte);
    transform:translateX(100%);
    transition:transform .3s var(--trans);
    padding:5.2rem 1.4rem 2rem;
    z-index:1000;
    overflow-y:auto;
  }
  .main-nav.open{transform:translateX(0)}
  .main-nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:.3rem;
  }
  .main-nav a{
    display:block;
    padding:.95rem .8rem;
    font-size:1.05rem;
    border-bottom:1px solid var(--beige-osc);
    border-radius:0;
  }
  .nav-cta{margin-top:.8rem}
  .nav-cta a{
    border-bottom:none;
    border-radius:var(--radius);
    text-align:center;
  }

  .prod-grid{grid-template-columns:1fr}
  .materials-grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr}
  .testi-grid{grid-template-columns:1fr}
  .cta-banner .container{flex-direction:column;align-items:flex-start}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}

/* Small phones */
@media (max-width:480px){
  .hero-stats{gap:1rem}
  .hero-stat strong{font-size:1.35rem}
  .btn-lg{width:100%}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{opacity:1 !important;transform:none !important}
  .wa-float .pulse{display:none}
}
