:root {
  --bg: #f8f5f1;
  --surface: #fcfaf7;
  --surface-strong: #ffffff;
  --text: #231d19;
  --muted: #6c625a;
  --line: rgba(35, 29, 25, 0.12);
  --primary: #1d1815;
  --accent: #a76939;
  --accent-soft: rgba(167, 105, 57, 0.12);
  --success: #25d366;
  --shadow: 0 24px 60px rgba(34, 26, 21, 0.1);
  --radius: 24px;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", sans-serif; color: var(--text); background: var(--bg); }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(18px); background: rgba(248, 245, 241, 0.82); border-bottom: 1px solid rgba(35, 29, 25, 0.08); }
.site-header.compact { position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-title { font-family: "Playfair Display", serif; font-size: 1.75rem; font-weight: 600; }
.brand-subtitle { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(35, 29, 25, 0.56); }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.desktop-nav a:hover, .site-footer a:hover, .back-link:hover { color: var(--accent); }
.menu-toggle, .mobile-nav { display: none; }
.menu-toggle { background: none; border: 0; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--primary); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-1px); }
.button-sm { min-height: 44px; padding: 0 20px; }
.button-readable { padding-inline: 34px; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.button-block { width: 100%; }
.button-solid { background: var(--accent); color: #fff7f0; }
.button-solid:hover { background: #945d31; }
.button-outline { border-color: rgba(255, 255, 255, 0.4); color: inherit; }
.button-light { color: white; }

.hero { position: relative; min-height: 112vh; display: grid; place-items: center; overflow: hidden; background: #1d1815; }
.hero-media, .hero-overlay, .page-hero img, .page-hero-overlay, .banner-media, .banner-overlay { position: absolute; inset: 0; }
.hero-media img, .page-hero img, .banner-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: center center; }
.hero-media img { animation: heroDrift 18s ease-in-out infinite alternate; transform-origin: center center; will-change: transform; }
.hero-overlay { background: linear-gradient(180deg, rgba(32, 24, 18, 0.46), rgba(20, 15, 12, 0.62)); }
.hero-content, .banner-content, .page-hero-content { position: relative; z-index: 1; }
.hero-content { padding: 120px 0 72px; color: #fffaf5; max-width: 1080px; min-height: 112vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; margin-left: 6vw; }
.eyebrow { margin: 0 0 18px; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.hero-kicker { margin: 0 0 24px; font-size: 0.92rem; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255, 248, 241, 0.9); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.hero h1, .section h2, .banner-content h2, .page-hero h1, .thank-you-card h1 { margin: 0; font-family: "Playfair Display", serif; line-height: 0.98; }
.hero h1 { font-size: clamp(3.7rem, 6.7vw, 6.9rem); max-width: 1040px; color: #fffaf4; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.38); }
.hero-text { max-width: 760px; margin: 24px 0 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; color: rgba(255, 246, 238, 0.95); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-button { min-height: 60px; padding-inline: 32px; border-radius: 0; background: #c67a2d; font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-button:hover { background: #b36d26; }
.hero-note { margin: 64px 0 0; font-size: 0.92rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 243, 232, 0.78); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }

.stats { margin-top: -58px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stats-grid article, .project-card, .material-card, .step, .contact-card, .thank-you-card, .quote-form, .instagram-item, .radio-card, .contact-option { background: var(--surface-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats-grid article { padding: 26px 24px; border-radius: 20px; }
.stats-grid strong, .project-card h3, .material-card h3, .step h3, .contact-card h3, .site-footer h3, .thank-you-banner-copy p { display: block; margin-bottom: 10px; }
.stats-grid p, .project-card p, .split-copy p, .material-card p, .step p, .contact-card p, .site-footer p, .section-heading p, .quote-form label span, .thank-you-card p { color: var(--muted); line-height: 1.75; }

.section { padding: 110px 0; }
.section-light { background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(248,245,241,0)); }
.section-dark { background: radial-gradient(circle at top right, rgba(167, 105, 57, 0.18), transparent 26%), #1d1815; color: #fbf5f0; }
.section-dark .section-heading p, .section-dark .step p { color: rgba(251, 245, 240, 0.72); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section h2, .banner-content h2, .thank-you-card h1 { font-size: clamp(2.3rem, 4vw, 4.2rem); }

.projects-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.project-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.project-card img { aspect-ratio: 16 / 8; object-fit: cover; }
.project-copy { position: static; padding: 24px 28px 28px; background: var(--surface-strong); }
.project-tag { display: inline-block; margin-bottom: 10px; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.project-card h3 { color: var(--text); margin-bottom: 8px; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.02; }
.project-card p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: start; }
.feature-list { margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 22px; margin-bottom: 14px; line-height: 1.7; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.material-panel { display: grid; gap: 18px; }
.material-card, .step, .contact-card, .thank-you-card, .quote-form { border-radius: var(--radius); padding: 28px; }
.material-card span, .step span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); box-shadow: none; }

.image-banner, .page-hero { position: relative; overflow: hidden; }
.image-banner { min-height: 68vh; display: grid; place-items: center; background: #120f0d; }
.banner-overlay { background: linear-gradient(90deg, rgba(18, 15, 13, 0.82), rgba(18, 15, 13, 0.3)); }
.banner-content { padding: 130px 0; color: #fffaf5; max-width: 720px; }

.showroom-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: stretch; }
.map-frame, .map-frame iframe { width: 100%; min-height: 100%; }
.map-frame { min-height: 520px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame iframe { border: 0; }
.contact-card { display: grid; gap: 22px; }

.instagram-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.instagram-item { border-radius: 20px; overflow: hidden; }
.instagram-item img { aspect-ratio: 1; object-fit: cover; transition: transform 240ms ease; }
.instagram-item:hover img { transform: scale(1.06); }
.section-cta { margin-top: 30px; text-align: center; }

.site-footer { background: var(--primary); color: rgba(251, 245, 240, 0.78); padding-top: 80px; }
.compact-footer { padding-top: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; padding-bottom: 48px; }
.footer-brand { margin-bottom: 20px; }
.site-footer a { display: block; margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.88rem; }
.whatsapp-float { position: fixed; right: 26px; bottom: 26px; width: 60px; height: 60px; border-radius: 999px; display: grid; place-items: center; background: var(--success); color: white; font-weight: 700; box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35); z-index: 25; }
.whatsapp-float svg { width: 31px; height: 31px; }

.page-hero { min-height: 320px; display: grid; place-items: center; }
.page-hero-overlay { background: rgba(10, 8, 7, 0.55); }
.page-hero-content { text-align: center; color: #fffaf5; }
.page-hero h1 { font-size: clamp(3rem, 4vw, 4.6rem); }
.form-wrap { max-width: 860px; }
.quote-form { display: grid; gap: 22px; }
.form-grid { display: grid; gap: 18px; }
.form-grid-2 { grid-template-columns: repeat(2, 1fr); }
.quote-form label, .quote-form fieldset { display: grid; gap: 10px; }
.quote-form fieldset { margin: 0; padding: 0; border: 0; }
.quote-form legend, .quote-form label span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.quote-form input, .quote-form textarea { width: 100%; min-height: 56px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.quote-form textarea { min-height: 150px; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(167, 105, 57, 0.12); }
.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.radio-card, .contact-option { position: relative; border-radius: 18px; padding: 16px 18px; cursor: pointer; }
.radio-card input, .contact-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.radio-card span, .contact-option span { display: block; color: var(--muted); }
.radio-card.is-selected, .contact-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.radio-card.is-selected span, .contact-option.is-selected span { color: var(--text); }
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.thank-you-page { min-height: calc(100vh - 82px); display: grid; align-items: center; }
.thank-you-card { max-width: 760px; margin: 0 auto; text-align: center; }
.thank-you-icon { width: 76px; height: 76px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 2rem; font-weight: 700; }
.thank-you-banner { position: relative; margin: 28px 0; border-radius: 24px; overflow: hidden; }
.thank-you-banner img { height: 250px; object-fit: cover; }
.thank-you-banner-copy { position: absolute; inset: 0; display: grid; place-items: center; gap: 14px; background: rgba(14, 12, 11, 0.58); color: white; }
.thank-you-banner-copy p { margin: 0; color: white; font-family: "Playfair Display", serif; font-size: 2rem; }
.back-link { color: var(--accent); font-weight: 600; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes heroDrift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  50% { transform: scale(1.08) translate3d(-10px, -6px, 0); }
  100% { transform: scale(1.11) translate3d(12px, 8px, 0); }
}

@media (max-width: 1024px) {
  .projects-grid, .steps-grid, .instagram-grid, .footer-grid, .showroom-grid, .split { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: none; flex-direction: column; gap: 16px; padding: 0 20px 18px; border-top: 1px solid rgba(35, 29, 25, 0.08); background: rgba(248, 245, 241, 0.94); }
  .mobile-nav.is-open { display: flex; }
  .stats-grid, .projects-grid, .split, .steps-grid, .showroom-grid, .footer-grid, .instagram-grid, .form-grid-2, .radio-grid, .contact-options { grid-template-columns: 1fr; }
  .project-card { overflow: hidden; background: var(--surface-strong); }
  .project-card img { aspect-ratio: 16 / 10; display: block; position: relative; z-index: 1; }
  .project-copy { position: relative; inset: auto; margin-top: 0; padding: 20px 18px 22px; border-radius: 0; background: var(--surface-strong); z-index: 2; }
  .project-tag { margin-bottom: 8px; }
  .project-card h3 { font-size: clamp(1.55rem, 7vw, 2.1rem); color: var(--text); }
  .project-card p { color: var(--muted); }
  .hero { min-height: 100svh; }
  .hero-content { padding: 110px 0 48px; min-height: 100svh; margin-left: 0; align-items: center; text-align: center; }
  .hero-kicker { font-size: 0.74rem; letter-spacing: 0.22em; }
  .hero h1 { font-size: clamp(2.9rem, 10vw, 4.8rem); }
  .hero-text { font-size: 1.02rem; }
  .hero-note { margin-top: 42px; font-size: 0.74rem; letter-spacing: 0.16em; }
  .section { padding: 86px 0; }
  .footer-bottom { flex-direction: column; }
  .button, .button-sm { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-button { width: 100%; }
  .whatsapp-float { bottom: 18px; right: 18px; }
}
