/* ==========================================================
   SMART Design & Renovation — styles
   Warm palette: cream, wood, espresso, brushed gold
   ========================================================== */
:root {
  --cream: #FAF6F0;
  --sand: #F1E8DC;
  --linen: #E7DACA;
  --wood: #A6774A;
  --gold: #B8894A;
  --gold-dark: #9C7038;
  --espresso: #3B2F26;
  --ink: #2C241E;
  --muted: #6E5E50;
  --white: #fff;
  --wa: #25D366;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(59, 47, 38, .35);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--espresso); margin: 0 0 .6em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 120px) 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.eyebrow.light { color: #E3C08E; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--gold); margin: 18px auto 0;
}
.section-sub { color: var(--muted); margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 30px;
  font-family: var(--sans); font-size: .85rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 24px -10px rgba(184,137,74,.7); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--espresso); }
.btn-whatsapp { background: var(--wa); color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-sm { padding: 10px 20px; font-size: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250, 246, 240, .96); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: block; width: 190px; color: #E3C08E; text-decoration: none; }
.logo svg { width: 100%; height: auto; display: block; }
.logo-word { font-family: var(--serif); font-size: 38px; font-weight: 600; letter-spacing: 5px; fill: var(--white); transition: fill .3s; }
.logo-sub  { font-family: var(--sans); font-size: 11.5px; letter-spacing: 3.2px; fill: rgba(255,255,255,.85); transition: fill .3s; }
.scrolled .logo { color: var(--gold); }
.scrolled .logo-word { fill: var(--espresso); }
.scrolled .logo-sub { fill: #8A6B4A; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) {
  text-decoration: none; font-size: .82rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--white);
  position: relative; padding: 6px 0; transition: color .3s;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .3s;
}
.site-nav a:not(.btn):hover::after { width: 100%; }
.scrolled .site-nav a:not(.btn) { color: var(--espresso); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--white); transition: transform .3s, opacity .3s, background .3s; }
.scrolled .nav-toggle span { background: var(--espresso); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(36,26,18,.82) 0%, rgba(36,26,18,.55) 45%, rgba(36,26,18,.15) 100%);
}
.hero-content { position: relative; padding-top: var(--header-h); max-width: 1180px; }
.hero h1 { color: var(--white); max-width: 11ch; }
.hero h1 em { font-style: italic; color: #E3C08E; }
.hero .eyebrow { color: #E3C08E; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 560px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: #E3C08E; margin: 0; }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--espresso); }
blockquote {
  margin: 30px 0 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.35; color: var(--espresso);
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; left: -28px; bottom: 36px;
  background: var(--espresso); color: var(--white);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px;
}
.badge-big { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .12em; color: #E3C08E; }
.badge-small { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }

/* ---------- Why ---------- */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: var(--cream); padding: 38px 32px; border-radius: var(--radius);
  border: 1px solid var(--linen); transition: transform .35s, box-shadow .35s, border-color .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-card h3 { font-size: 1.55rem; }
.why-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.why-icon {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(184,137,74,.12); margin-bottom: 22px;
}
.why-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Services ---------- */
.service-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 70px; }
.service-chips a {
  text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 18px; border: 1px solid var(--linen); border-radius: 999px; color: var(--muted);
  transition: all .25s;
}
.service-chips a:hover { background: var(--espresso); border-color: var(--espresso); color: var(--white); }

.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; margin-bottom: clamp(70px, 9vw, 110px); }
.service.reverse .service-media { order: 2; }
.service-media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s ease; }
.service:hover .service-media img { transform: scale(1.04); }
.service-body { position: relative; }
.service-body p:not(.eyebrow):not(.service-tag) { color: var(--muted); }
.service-num {
  position: absolute; top: -48px; right: 0;
  font-family: var(--serif); font-size: 6rem; font-weight: 600; line-height: 1;
  color: var(--linen); z-index: -1; user-select: none;
}
.service-tag {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-dark);
  padding-top: 14px; border-top: 1px solid var(--linen); margin-top: 22px;
}

.legal-box {
  background: var(--white); border: 1px solid var(--linen); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 54px);
  margin: calc(-1 * clamp(30px, 5vw, 60px)) 0 clamp(70px, 9vw, 110px); box-shadow: var(--shadow);
}
.legal-box p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 30px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.note { background: var(--sand); padding: 16px 20px; border-radius: 10px; font-size: .92rem; margin: 18px 0 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--sand); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }
.g-wide { grid-column: span 2; }
.g-item {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: 12px; background: var(--linen);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.g-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; text-align: left;
  font-family: var(--serif); font-size: 1.35rem; color: var(--white);
  background: linear-gradient(transparent, rgba(30,22,16,.7));
  opacity: 0; transform: translateY(10px); transition: all .4s;
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover span, .g-item:focus-visible span { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,15,11,.94);
  display: flex; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #E3C08E; font-family: var(--serif); font-size: 1.4rem; margin-top: 14px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 3rem; line-height: 1; padding: 10px 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA / Contact ---------- */
.cta { position: relative; padding: clamp(80px, 11vw, 130px) 0; color: var(--white); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(36,26,18,.93), rgba(59,47,38,.85)); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.cta h2 { color: var(--white); }
.cta-text p { color: rgba(255,255,255,.82); }
.cta-sign { color: #E3C08E; font-style: italic; margin-top: 28px; }

.contact-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 14px 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px;
  transition: background .25s, border-color .25s;
}
.contact-link:hover { background: rgba(255,255,255,.08); border-color: #E3C08E; }
.contact-link svg { width: 26px; height: 26px; fill: none; stroke: #E3C08E; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-link span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 400; }
.contact-link small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.quote-form {
  background: var(--cream); color: var(--ink); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.quote-form h3 { margin-bottom: .2em; }
.form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  background: var(--white); border: 1px solid var(--linen); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,137,74,.18); }
.field .invalid { border-color: #c0573f; }
.form-error { color: #b14a33; font-size: .92rem; margin: 0 0 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1 1 180px; }
.form-hint { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #241A12; color: rgba(255,255,255,.7); padding: 60px 0 40px; text-align: center; }
.footer-logo { width: 220px; margin: 0 auto 6px; filter: brightness(0) invert(1); opacity: .9; }
.footer-tag { font-family: var(--serif); font-style: italic; color: #E3C08E; font-size: 1.2rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 22px 0; }
.footer-nav a, .footer-contact a { text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a:hover, .footer-contact a:hover { color: #E3C08E; }
.copy { font-size: .8rem; margin: 22px 0 0; opacity: .6; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(0,0,0,.4);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-bg { background-attachment: scroll; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .logo { width: 160px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .site-nav a:not(.btn) { color: var(--espresso) !important; font-size: 1rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span { background: var(--espresso); }
  .nav-open .logo { color: var(--gold); position: relative; z-index: 2; }
  .nav-open .logo-word { fill: var(--espresso); }
  .nav-open .logo-sub { fill: #8A6B4A; }

  .about-grid, .service { grid-template-columns: 1fr; }
  .service.reverse .service-media { order: 0; }
  .about-badge { left: 16px; bottom: 16px; }
  .service-num { top: -30px; font-size: 4.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .g-wide { grid-column: auto; }
  .g-item span { opacity: 1; transform: none; }
  .lightbox { padding: 50px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .about-media img { aspect-ratio: 4 / 3; }
}
