:root {
  --ink: #1d1c19;
  --muted: #6e6b64;
  --paper: #f7f5f0;
  --warm: #ece7de;
  --sand: #c9b596;
  --wood: #9b7653;
  --line: rgba(29, 28, 25, .14);
  --white: #fff;
  --header-h: 94px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.container-wide { width: min(1420px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 140px 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 18px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h); color: #fff; transition: height .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { height: 76px; color: var(--ink); background: rgba(247, 245, 240, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; z-index: 2; width: 268px; height: 72px; display: flex; align-items: center; }
.brand-logo { width: 100%; max-height: 66px; object-fit: contain; object-position: left center; transition: filter .35s ease; }
.site-header:not(.is-scrolled) .brand-logo {  }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.main-nav > a:not(.nav-call) { position: relative; padding: 12px 0; }
.main-nav > a:not(.nav-call)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 1px; background: currentColor; transition: right .25s ease; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { right: 0; }
.nav-call { padding: 13px 22px; border: 1px solid rgba(255,255,255,.55); transition: .25s ease; }
.nav-call:hover { background: #fff; color: var(--ink); }
.is-scrolled .nav-call { border-color: var(--ink); }
.is-scrolled .nav-call:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 1px; background: currentColor; transition: .25s ease; }

.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; color: #fff; background: #292722; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { visibility: hidden; opacity: 0; transition: opacity 1s cubic-bezier(.4,0,.2,1), visibility 1s; }
.hero-slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--position, center); transform: scale(1.04); transition: transform 8s ease; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.78) 0%, rgba(20,19,17,.5) 38%, rgba(20,19,17,.08) 72%), linear-gradient(0deg, rgba(10,10,9,.42), transparent 45%); }
.hero-slide--portrait .hero-bg { filter: blur(30px); transform: scale(1.18); opacity: .68; }
.hero-slide--portrait.is-active .hero-bg { transform: scale(1.12); }
.hero-portrait { position: absolute; z-index: 0; top: 11%; right: 7%; width: min(38vw, 520px); height: 78%; object-fit: contain; filter: drop-shadow(0 28px 52px rgba(0,0,0,.25)); }
.hero-slide--portrait .hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(20,19,17,.88) 0%, rgba(20,19,17,.56) 47%, rgba(20,19,17,.12) 75%); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 128px)); height: 100%; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 5vh; }
.hero-eyebrow { display: flex; align-items: center; gap: 15px; margin: 0 0 24px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(18px); }
.hero-eyebrow::before { content: ""; width: 45px; height: 1px; background: currentColor; }
.hero-title { max-width: 760px; margin: 0; font: 400 clamp(58px, 7.1vw, 110px)/.93 var(--serif); letter-spacing: -.045em; opacity: 0; transform: translateY(28px); }
.hero-title em { font-weight: 400; }
.hero-description { width: min(540px, 78vw); margin: 30px 0 38px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.72; color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.28); opacity: 0; transform: translateY(24px); }
.hero-button { display: inline-flex; align-items: center; gap: 36px; padding: 19px 24px; border: 1px solid rgba(255,255,255,.7); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(22px); transition: background .25s, color .25s; }
.hero-button span { font-size: 18px; line-height: 1; transition: transform .25s; }
.hero-button:hover { background: #fff; color: var(--ink); }
.hero-button:hover span { transform: translateX(4px); }
.is-active .hero-eyebrow, .is-active .hero-title, .is-active .hero-description, .is-active .hero-button { animation: heroIn .8s both; }
.is-active .hero-title { animation-delay: .08s; }
.is-active .hero-description { animation-delay: .16s; }
.is-active .hero-button { animation-delay: .24s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-controls { position: absolute; z-index: 5; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; justify-content: flex-end; align-items: center; gap: 20px; pointer-events: none; }
.slider-arrow { pointer-events: auto; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(20,20,18,.08); display: grid; place-items: center; cursor: pointer; transition: .25s; }
.slider-arrow:hover { background: #fff; color: var(--ink); }
.slider-arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.slider-status { display: flex; align-items: center; gap: 14px; min-width: 220px; font-size: 11px; letter-spacing: .12em; }
.slider-dots { display: flex; align-items: center; gap: 7px; flex: 1; }
.slider-dot { flex: 1; height: 16px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.slider-dot::before { content: ""; position: absolute; inset: 7px 0 auto; height: 1px; background: rgba(255,255,255,.36); }
.slider-dot::after { content: ""; position: absolute; inset: 7px 100% auto 0; height: 1px; background: #fff; transition: right .45s; }
.slider-dot.is-active::after { right: 0; }
.hero-scroll { position: absolute; z-index: 4; left: 36px; bottom: 40px; display: flex; align-items: center; gap: 14px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-90deg); transform-origin: left center; }
.hero-scroll i { display: block; width: 44px; height: 1px; background: currentColor; }

.section-kicker { color: var(--wood); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 50px; align-items: start; }
.intro-copy h2, .section-heading h2, .values-content h2, .cta-inner h2 { margin: 0; font: 400 clamp(42px, 5.3vw, 76px)/1.03 var(--serif); letter-spacing: -.04em; }
h2 em { color: var(--wood); font-weight: 400; }
.intro-copy > p { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.intro-note { padding-top: 76px; }
.intro-note .line { display: block; width: 55px; height: 1px; margin-bottom: 24px; background: var(--wood); }
.intro-note p { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; }

.categories { padding-top: 30px; background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 80px; margin-bottom: 62px; }
.section-heading .section-kicker { display: block; margin-bottom: 20px; }
.section-heading > p { width: 320px; margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.category-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.category-card { grid-column: span 4; position: relative; height: 460px; overflow: hidden; background: #d8d3ca; color: #fff; }
.category-card:nth-child(4) { grid-column: 2 / span 5; }
.category-card:nth-child(5) { grid-column: 7 / span 5; }
.category-card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--card-position, center); transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.category-card.is-portrait img { object-fit: cover; object-position: center 48%; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,14,12,.7), transparent 60%); transition: background .4s; }
.category-card-content { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 28px; display: flex; align-items: end; justify-content: space-between; }
.category-number { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .18em; opacity: .75; }
.category-card h3 { margin: 0; font: 400 clamp(27px, 3vw, 40px)/1 var(--serif); }
.category-arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; font-size: 20px; transition: .25s; }
.category-card:hover img { transform: scale(1.045); }
.category-card:hover .category-arrow { background: #fff; color: var(--ink); transform: rotate(45deg); }

.values { background: var(--warm); }
.values-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 100px; align-items: center; }
.values-visual { position: relative; padding: 0 45px 55px 0; }
.values-visual > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 44% center; }
.material-swatch { position: absolute; right: 0; bottom: 0; width: 225px; padding: 22px; background: var(--paper); box-shadow: 0 18px 50px rgba(37,33,27,.1); }
.material-swatch span { display: block; height: 80px; margin-bottom: 15px; background: linear-gradient(110deg, #9d7652, #d6b88e 48%, #a07651); }
.material-swatch small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.values-content .section-kicker { display: block; margin-bottom: 22px; }
.values-content > p { margin: 30px 0 42px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.value-list article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.value-list article:last-child { border-bottom: 1px solid var(--line); }
.value-list span { padding-top: 4px; color: var(--wood); font-size: 10px; }
.value-list h3 { margin: 0 0 7px; font: 400 20px var(--serif); }
.value-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.contact-cta { position: relative; overflow: hidden; padding: 130px 0; color: #fff; background: #292722; }
.cta-pattern { position: absolute; inset: 0; opacity: .14; background: repeating-linear-gradient(115deg, transparent 0 105px, rgba(255,255,255,.25) 105px 106px); }
.cta-inner { position: relative; text-align: center; }
.cta-inner .section-kicker { color: var(--sand); }
.cta-inner h2 { margin-top: 20px; }
.cta-inner h2 em { color: var(--sand); }
.cta-inner > p { max-width: 520px; margin: 26px auto 36px; color: rgba(255,255,255,.66); line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 17px 24px; font-size: 12px; font-weight: 700; letter-spacing: .08em; transition: .25s; }
.button-light { color: var(--ink); background: #fff; border: 1px solid #fff; }
.button-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.button-light:hover { background: var(--sand); border-color: var(--sand); }
.button-outline-light:hover { color: var(--ink); background: #fff; }

.site-footer { padding: 80px 0 24px; background: #ece8e0; }
.footer-main { display: grid; grid-template-columns: 2fr .8fr .9fr 1.25fr; gap: 55px; padding-bottom: 65px; }
.footer-brand img { width: 245px; height: 86px; object-fit: contain; object-position: left center; margin-bottom: 22px; }
.footer-brand p, .footer-column p, .footer-column address { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; font-style: normal; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column h3 { margin: 8px 0 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-column a { color: var(--muted); font-size: 13px; }
.footer-column a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-bottom p { margin: 0; }

/* Site-wide fixed contact actions */
.contact-dock {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-dock__link {
  min-width: 144px;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid rgba(29, 28, 25, .12);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  background: rgba(247, 245, 240, .96);
  box-shadow: 0 12px 34px rgba(29, 28, 25, .16);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.contact-dock__link svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.contact-dock__link--whatsapp { color: #fff; background: #26735b; border-color: #26735b; }
.contact-dock__link--whatsapp svg { fill: currentColor; stroke: none; }
.contact-dock__link:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.contact-dock__link--whatsapp:hover { background: #1d5f4a; border-color: #1d5f4a; }
.contact-dock__link:focus-visible { outline: 3px solid rgba(155, 118, 83, .45); outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .container, .container-wide { width: min(100% - 44px, 920px); }
  .section { padding: 105px 0; }
  .main-nav { gap: 22px; }
  .nav-call { display: none; }
  .hero-content { width: calc(100% - 100px); }
  .intro-grid { grid-template-columns: 1fr 3fr; }
  .intro-note { grid-column: 2; padding-top: 10px; max-width: 420px; }
  .values-grid { gap: 55px; }
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-address { grid-column: 2 / span 2; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .container, .container-wide { width: calc(100% - 36px); }
  .section { padding: 82px 0; }
  .site-header, .site-header.is-scrolled { height: 72px; }
  .brand { width: 170px; height: 52px; }
  .site-header.menu-active { height: 100svh; color: var(--ink); background: var(--paper); backdrop-filter: none; }
  .site-header.menu-active .header-inner { height: 72px; }
  .site-header.menu-active .brand { z-index: 103; }
  .site-header.menu-active .brand-logo { filter: none; }
  .menu-toggle { display: flex; position: relative; z-index: 102; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 101; inset: 0; padding: 120px 28px 50px; color: var(--ink); background: var(--paper); flex-direction: column; align-items: flex-start; gap: 4px; transform: translateX(100%); visibility: hidden; transition: .35s ease; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav > a:not(.nav-call) { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 30px var(--serif); }
  .nav-call { display: inline-flex; margin-top: 24px; border-color: var(--ink); }
  .hero { min-height: 630px; }
  .hero-content { width: calc(100% - 44px); justify-content: flex-end; padding: 0 0 148px; }
  .hero-title { font-size: clamp(50px, 16vw, 72px); }
  .hero-description { margin: 22px 0 28px; font-size: 15px; line-height: 1.6; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-bg { object-position: var(--mobile-position, var(--position, center)); }
  .hero-shade { background: linear-gradient(0deg, rgba(17,16,14,.86) 0%, rgba(17,16,14,.45) 50%, rgba(17,16,14,.12) 100%); }
  .hero-slide--portrait .hero-bg { filter: blur(18px); }
  .hero-portrait { top: 10%; left: 50%; right: auto; width: 78vw; height: 56%; transform: translateX(-50%); opacity: .88; }
  .hero-slide--portrait .hero-shade { background: linear-gradient(0deg, rgba(17,16,14,.92) 0%, rgba(17,16,14,.45) 55%, rgba(17,16,14,.12) 100%); }
  .hero-controls { bottom: calc(28px + 68px + env(safe-area-inset-bottom)); justify-content: space-between; }
  .slider-status { min-width: 150px; flex: 1; }
  .slider-arrow { width: 42px; height: 42px; }
  .hero-scroll { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-note { grid-column: auto; padding-top: 10px; }
  .intro-copy h2, .section-heading h2, .values-content h2, .cta-inner h2 { font-size: clamp(39px, 12vw, 58px); }
  .intro-copy > p { font-size: 16px; }
  .section-heading { display: block; margin-bottom: 40px; }
  .section-heading > p { width: auto; margin-top: 24px; }
  .category-grid { display: block; }
  .category-card { display: block; height: 410px; margin-bottom: 18px; }
  .category-card:nth-child(3) { height: 480px; }
  .category-card-content { left: 22px; right: 22px; bottom: 22px; }
  .values-grid { grid-template-columns: 1fr; gap: 65px; }
  .values-visual { padding: 0 22px 34px 0; }
  .material-swatch { width: 175px; padding: 15px; }
  .material-swatch span { height: 52px; }
  .contact-cta { padding: 95px 0; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-address { grid-column: 1 / -1; }
  .footer-bottom { gap: 20px; }
  .site-footer { padding-bottom: calc(24px + 68px + env(safe-area-inset-bottom)); }
  .contact-dock {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(247, 245, 240, .97);
    box-shadow: 0 -8px 28px rgba(29, 28, 25, .12);
    backdrop-filter: blur(16px);
  }
  .contact-dock__link {
    min-width: 0;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 0;
    justify-content: center;
    box-shadow: none;
    font-size: 13px;
  }
  .contact-dock__link:first-child { border-right: 0; }
  .contact-dock__link:hover { transform: none; }
  body.menu-open .contact-dock, body.lightbox-open .contact-dock { visibility: hidden; opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
