/* ======= Puentir — design system ======= */
:root {
  --cream: #faf5ed;
  --cream-2: #f3ead9;
  --ink: #2b241c;
  --ink-soft: #5c5146;
  --brown: #6b4a2f;
  --rust: #c06a34;
  --gold: #d3a63c;
  --line: #e7d9c2;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(60, 40, 15, 0.10);
  --radius: 18px;
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rust); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
.eyebrow {
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.sec-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.sec-sub { color: var(--ink-soft); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; }
.center .sec-sub { margin: 0 auto; }

/* ======== Buttons ======== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 10px 24px rgba(192,106,42,.3); }
.btn-primary:hover { background: #a85922; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }

/* ======== Page transition overlay ======== */
.transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.transition-overlay.show { pointer-events: all; }
.transition-overlay .ti {
  width: 50vw; height: 100vh;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s cubic-bezier(.77,0,.18,1);
}
.transition-overlay.show .ti { transform: scaleY(1); transform-origin: top; }
.transition-overlay.hide .ti { transform: scaleY(0); transform-origin: bottom; }
.transition-logo {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  opacity: 0;
  transition: opacity .3s ease;
}
.transition-overlay.show .transition-logo { opacity: 1; }
.transition-logo svg { filter: drop-shadow(0 6px 30px rgba(0,0,0,.4)); }

/* ======== Header / Nav ======== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,245,237,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line, rgba(43,36,28,.08));
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .word { letter-spacing: .5px; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--ink-soft); font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--rust); background: rgba(192,106,42,.08); text-decoration: none; }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta-desktop { display: none; }
}

/* ======== Hero ======== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; }
.drape-img { border-radius: var(--radius); box-shadow: var(--shadow); height: 540px; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--rust); color:#fff;
  padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow);
}
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat b { font-family: var(--serif); font-size: 1.8rem; display: block; color: var(--brown); }
.stat span { color: var(--ink-soft); font-size: .9rem; }
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,106,42,.14), transparent 70%);
  right: -120px; top: -80px;
}
@media (max-width: 860px){ .hero-inner{ grid-template-columns:1fr; } .hero{padding-top:60px;} .drape-img{height:340px;} .hero-art{order:-1;} }

/* ======== Section decor ======== */
.section-alt { background: var(--white); }
.section-tint { background: var(--cream-2); }

/* ======== Services cards ======== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(60,40,15,.14); }
.card svg { width: 44px; height: 44px; margin-bottom: 18px; color: var(--rust); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card a.more { font-size: .92rem; font-weight: 600; display: inline-block; margin-top: 12px; }

/* ======== Testimonials ======== */
.testimonial-wrap { position: relative; max-width: 760px; margin: 48px auto 0; }
.testimonial-track { overflow: hidden; }
.testimonial-slide { min-width: 100%; padding: 40px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.testimonial-slide::before { content: "\201C"; font-family: var(--serif); font-size: 5rem; color: var(--rust); line-height: 1; display:block; opacity:.6; }
.testimonial-slide .quote { font-family: var(--serif); font-size: 1.25rem; font-style: italic; margin: 10px 0 20px; }
.t-author { color: var(--brown); font-weight: 600; }
.t-role { color: var(--ink-soft); font-size: .9rem; }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: all .2s; }
.t-dot.active { background: var(--rust); width: 26px; border-radius: 6px; }
.t-arrow { background: var(--white); border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; cursor: pointer; font-size: 1.2rem; color: var(--ink); transition: all .2s; }
.t-arrow:hover { background: var(--rust); color:#fff; border-color: var(--rust); }
.t-arrow:disabled { opacity:.4; cursor: default; }

/* ======== CTA band ======== */
.cta-band {
  background: linear-gradient(120deg, var(--brown), #4a3320);
  color: #fff; text-align: center; padding: 70px 24px; border-radius: var(--radius);
}
.cta-band h2 { font-size: clamp(1.8rem,3.5vw,2.5rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }

/* ======== Reveal animation ======== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay:.12s } .reveal-delay-2{transition-delay:.24s} .reveal-delay-3{transition-delay:.36s}

/* ======== Detail / content sections ======== */
.page-hero { padding: 70px 0 30px; }
.page-hero h1 { font-size: clamp(2.2rem,4.5vw,3.2rem); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; } }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose h3 { font-family: var(--serif); font-size: 1.4rem; margin: 28px 0 12px; }
.prose ul { margin: 12px 0 20px 20px; color: var(--ink-soft); }
.check { list-style: none; }
.check li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--ink-soft); }
.check li::before { content: "\2713"; position: absolute; left: 0; color: var(--rust); font-weight: 700; }

.img-chip { border-radius: var(--radius); box-shadow: var(--shadow); height: 320px; width: 100%; object-fit: cover; }

/* ======== Blog ======== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 26px; margin-top: 40px; }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border:1px solid var(--line); transition: transform .25s ease; display:flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); }
.post img { height: 210px; width: 100%; object-fit: cover; }
.post-body { padding: 24px; display:flex; flex-direction:column; flex:1; }
.post-meta { color: var(--rust); font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.post-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--rust); }
.post-body p { color: var(--ink-soft); font-size: .95rem; flex:1; }
.post-body .more { margin-top: 14px; font-weight:600; }
.filter { display:flex; gap:10px; flex-wrap:wrap; margin-top: 30px; }
.filter button { padding: 8px 18px; border-radius:999px; border:1px solid var(--line); background:var(--white); color:var(--ink-soft); cursor:pointer; transition:all .2s; font-size:.9rem; }
.filter button.active { background: var(--rust); color:#fff; border-color: var(--rust); }

/* ======== Contact ======== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; margin-top: 40px; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border:1px solid var(--line); }
.field { display:flex; flex-direction:column; gap:8px; }
.field label { font-weight:600; font-size:.9rem; color: var(--brown); }
.field input, .field textarea, .field select {
  padding: 13px 15px; border:1.5px solid var(--line); border-radius: 12px; font-family: var(--font);
  font-size:1rem; background: var(--cream); transition: border .2s; width:100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--rust); background:#fff; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width:720px){ .form-row{ grid-template-columns:1fr; } .contact-grid{ grid-template-columns:1fr; } }
.form-note { font-size:.85rem; color:var(--ink-soft); margin-top:10px; }
.form-success { display:none; background: #e8f5e9; color:#2e7d32; padding:14px 18px; border-radius:12px; margin-top:16px; }
.form-success.show { display:block; }
.info-card { background: var(--ink); color: #f5efe4; border-radius: var(--radius); padding: 34px; }
.info-card h3 { color:#fff; margin-bottom:20px; }
.info-row { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.info-row svg { width:22px; height:22px; color: var(--rust); flex-shrink:0; margin-top:3px; }
.info-row b { display:block; color:#fff; }
.info-row span, .info-row a { color: rgba(255,255,255,.78); }
.info-row a:hover { color:#fff; }
.socials { display:flex; gap:12px; margin-top:10px; }
.socials a { color:#fff; background: rgba(255,255,255,.1); width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; transition: all .2s; }
.socials a:hover { background: var(--rust); text-decoration:none; transform: translateY(-3px); }
.socials svg { width:18px; height:18px; }
.map { border-radius: var(--radius); overflow:hidden; margin-top:40px; box-shadow: var(--shadow); border:1px solid var(--line); }
.map iframe, .map-note { width:100%; height:400px; border:0; display:block; }

/* ======== Legal pages ======== */
.legal .page-hero { padding-bottom: 10px; }
.legal-section { max-width: 820px; }
.legal-section .updated { color: var(--rust); font-weight:600; margin-bottom: 24px; }
.legal-section p { color: var(--ink-soft); margin-bottom: 16px; }
.legal-section h2 { font-family: var(--serif); font-size: 1.5rem; margin: 34px 0 12px; color: var(--brown); }
.legal-section h3 { font-size: 1.15rem; margin: 22px 0 10px; font-family: var(--serif); }
.legal-section ul { margin: 10px 0 18px 20px; color: var(--ink-soft); }
.legal-table { width:100%; border-collapse: collapse; margin: 20px 0 24px; background:#fff; border-radius:12px; overflow:hidden; box-shadow: var(--shadow); }
.legal-table th, .legal-table td { text-align:left; padding: 12px 16px; border-bottom:1px solid var(--line); font-size:.95rem; }
.legal-table th { background: var(--cream-2); color: var(--brown); font-weight:600; }
.legal-note { background: var(--cream-2); border-left:4px solid var(--rust); padding: 16px 20px; border-radius: 10px; color: var(--ink-soft); margin: 20px 0; }

/* ======== Team ======== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 24px; margin-top:40px; }
.team-card { background:#fff; border-radius: var(--radius); padding: 28px; text-align:center; box-shadow: var(--shadow); border:1px solid var(--line); }
.avatar { width: 84px; height:84px; border-radius:50%; margin:0 auto 14px; background: linear-gradient(135deg, var(--brown), var(--rust)); color:#fff; display:flex; align-items:center; justify-content:center; font-family: var(--serif); font-size:1.8rem; }
.team-card h3 { font-family: var(--serif); }
.team-card .role { color: var(--rust); font-size:.88rem; text-transform: uppercase; letter-spacing:1px; margin:4px 0 10px; }
.team-card p { color: var(--ink-soft); font-size:.9rem; }

/* ======== Value cards ======== */
.values { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:24px; margin-top:40px; }
.value { background: var(--white); border-radius:var(--radius); padding: 26px; border-top: 4px solid var(--rust); box-shadow: var(--shadow); }
.value .num { font-family: var(--serif); color: var(--rust); font-size: 2rem; }
.value p { color: var(--ink-soft); font-size: .95rem; }

/* ======== Footer ======== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand { font-family: var(--serif); font-size:1.4rem; color:#fff; display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.site-footer h4 { color:#fff; font-family: var(--serif); font-size:1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style:none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color:#fff; }
.footer-sub { 
  display:flex; gap:10px; margin-top:16px;
}
.footer-sub input { flex:1; padding:10px 14px; border-radius:10px; border:none; font-family:var(--font); }
.footer-sub .btn { padding:10px 18px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding: 22px 0; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.86rem; }
.legal-links { display:flex; gap:18px; flex-wrap:wrap; }

/* ======== Floating WhatsApp ======== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 600;
  width: 60px; height:60px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height:32px; fill:#fff; }

/* ======== Cookie bar ======== */
.cookie-bar {
  position: fixed; left:0; right:0; bottom:0; z-index:700;
  background: var(--ink); color:#fff; padding: 18px 24px;
  display: flex; align-items:center; justify-content: space-between; gap:20px; flex-wrap:wrap;
  transform: translateY(100%); transition: transform .4s ease;
}
.cookie-bar.show { transform: none; }
.cookie-bar .cb-actions { display:flex; gap:12px; flex-wrap:wrap; }
.cookie-bar a { color: var(--gold); text-decoration:underline; }