:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-soft: #f2eee6;
  --ink: #252321;
  --muted: #69645d;
  --line: #ded6ca;
  --accent: #9b6245;
  --accent-dark: #6f4432;
  --olive: #6f715f;
  --shadow: 0 22px 70px rgba(37, 35, 33, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(251, 248, 242, 0.91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 214, 202, 0.7);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-logo {
  width: clamp(156px, 15vw, 205px);
  height: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 12px;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav-links a {
  color: #3c3935;
  transition: color 180ms ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent-dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  margin: 5px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); background: #0f0e0d; }
.button[data-whatsapp]::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.02 3.2A12.69 12.69 0 0 0 5.05 22.28L3.2 28.8l6.68-1.75A12.67 12.67 0 1 0 16.02 3.2Zm0 22.86c-2.15 0-4.14-.67-5.79-1.82l-.41-.27-3.96 1.04 1.06-3.84-.28-.43a10.16 10.16 0 1 1 9.38 5.32Zm5.62-7.58c-.31-.16-1.82-.9-2.1-1-.28-.1-.49-.16-.7.16-.2.31-.8 1-.98 1.2-.18.2-.36.23-.67.08-.31-.16-1.31-.48-2.49-1.54-.92-.82-1.54-1.83-1.72-2.14-.18-.31-.02-.48.14-.63.14-.14.31-.36.46-.54.16-.18.2-.31.31-.52.1-.2.05-.39-.03-.54-.08-.16-.7-1.69-.96-2.31-.25-.6-.51-.52-.7-.53h-.6c-.2 0-.54.08-.82.39-.28.31-1.08 1.05-1.08 2.57s1.11 2.99 1.26 3.19c.16.2 2.18 3.33 5.28 4.67.74.32 1.31.51 1.76.65.74.23 1.41.2 1.94.12.59-.09 1.82-.74 2.08-1.46.26-.72.26-1.34.18-1.46-.08-.13-.28-.21-.59-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.02 3.2A12.69 12.69 0 0 0 5.05 22.28L3.2 28.8l6.68-1.75A12.67 12.67 0 1 0 16.02 3.2Zm0 22.86c-2.15 0-4.14-.67-5.79-1.82l-.41-.27-3.96 1.04 1.06-3.84-.28-.43a10.16 10.16 0 1 1 9.38 5.32Zm5.62-7.58c-.31-.16-1.82-.9-2.1-1-.28-.1-.49-.16-.7.16-.2.31-.8 1-.98 1.2-.18.2-.36.23-.67.08-.31-.16-1.31-.48-2.49-1.54-.92-.82-1.54-1.83-1.72-2.14-.18-.31-.02-.48.14-.63.14-.14.31-.36.46-.54.16-.18.2-.31.31-.52.1-.2.05-.39-.03-.54-.08-.16-.7-1.69-.96-2.31-.25-.6-.51-.52-.7-.53h-.6c-.2 0-.54.08-.82.39-.28.31-1.08 1.05-1.08 2.57s1.11 2.99 1.26 3.19c.16.2 2.18 3.33 5.28 4.67.74.32 1.31.51 1.76.65.74.23 1.41.2 1.94.12.59-.09 1.82-.74 2.08-1.46.26-.72.26-1.34.18-1.46-.08-.13-.28-.21-.59-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--accent);
  background: rgba(155, 98, 69, 0.06);
}
.button.text {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--accent-dark);
}

.section {
  padding: 82px 0;
}
.section.compact { padding: 56px 0; }
.section.surface { background: var(--surface); }
.section.soft { background: var(--surface-soft); }

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(46px, 6vw, 82px); max-width: 980px; }
h2 { font-size: clamp(34px, 4vw, 58px); max-width: 820px; }
h3 { font-size: clamp(25px, 2.5vw, 34px); }

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  max-width: 780px;
  overflow-wrap: break-word;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #111;
}
.hero.short { min-height: 620px; }
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 14, 0.72), rgba(20, 17, 14, 0.22) 58%, rgba(20, 17, 14, 0.1));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 86px;
  color: #fff;
  min-width: 0;
}
.hero-content h1,
.hero-content p { color: #fff; }
.hero-content .lead { margin-top: 24px; color: rgba(255, 255, 255, 0.86); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-card,
.portfolio-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.quiet-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 24px;
  min-height: auto;
}
.service-card h3 { font-size: 30px; }
.quiet-card h3 { font-size: 25px; }
.service-card p { margin-top: 14px; }
.quiet-card p { margin-top: 10px; }
.service-card-featured {
  background: #252321;
  border-color: #252321;
  color: #fff;
  box-shadow: var(--shadow);
}
.service-card-featured h3,
.service-card-featured p,
.service-card-featured .button.text { color: #fff; }
.service-card-featured .number { color: #d2ad8f; }
.service-card-muted {
  background: rgba(255, 255, 255, 0.36);
}
.intent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.intent-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.intent-card h3 { font-size: 25px; }
.intent-card p { margin-top: 10px; }

.number {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 64px;
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-list li {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.1;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-step {
  min-height: 145px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step h3 {
  margin-top: 24px;
  font-size: 23px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.trust-item {
  background: var(--bg);
  padding: 30px;
}
.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.edit-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--accent-dark);
}

.page-hero {
  padding: 112px 0 74px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: 52px;
  align-items: end;
}
.page-hero-inner > * { min-width: 0; }
.page-hero .lead { margin-top: 24px; }

.image-hero {
  min-height: 640px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #14110e;
}
.image-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 14, 0.76), rgba(20, 17, 14, 0.32) 58%, rgba(20, 17, 14, 0.14));
}
.image-hero .page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 118px 0 76px;
  color: #fff;
}
.image-hero h1,
.image-hero p { color: #fff; }
.image-hero .lead,
.image-hero .page-hero-inner > p { color: rgba(255, 255, 255, 0.82); }
.image-hero .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.media-strip {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  color: var(--ink);
}
.faq details p {
  padding: 0 0 22px;
  max-width: 780px;
}

.cta-section {
  background: var(--ink);
  color: #fff;
  padding: 86px 0;
}
.cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.cta-section h2,
.cta-section p { color: #fff; }
.cta-section p { color: rgba(255, 255, 255, 0.76); margin-top: 18px; }
.cta-section .button {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.cta-section .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.portfolio-card {
  padding: 0;
  overflow: hidden;
  min-height: auto;
}
.portfolio-card img {
  width: 100%;
  height: clamp(220px, 25vw, 300px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.portfolio-body { padding: 26px; }
.portfolio-body h3 { font-size: 28px; }
.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tag {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  padding: 4px 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}
.contact-panel {
  border: 1px solid var(--line);
  padding: 30px;
  background: rgba(255, 255, 255, 0.64);
}
.contact-panel dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact-panel dt {
  font-size: 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.contact-panel dd { margin: 4px 0 0; color: var(--ink); }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form h2 {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.lead-form-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 0.9fr);
  gap: 52px;
  align-items: start;
}
.mini-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 26px;
}
.mini-form .field.full {
  grid-column: 1 / -1;
}
.mini-form textarea {
  min-height: 92px;
}
.field.full { grid-column: 1 / -1; }
label {
  display: block;
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
  font: inherit;
  border-radius: 0;
}
textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(155, 98, 69, 0.28);
  border-color: var(--accent);
}
.error {
  display: none;
  color: #8d3427;
  font-size: 13px;
  margin-top: 6px;
}
.field.has-error .error { display: block; }
.form-status {
  grid-column: 1 / -1;
  color: var(--accent-dark);
  font-weight: 650;
  min-height: 28px;
}

.site-footer {
  background: #1b1a18;
  color: #fff;
  padding: 58px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}
.site-footer p,
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer h2 {
  font-size: 34px;
  color: #fff;
}
.footer-logo {
  width: min(230px, 100%);
  height: auto;
  filter: invert(1) brightness(1.9) contrast(0.85);
  opacity: 0.92;
  margin-bottom: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.mobile-contact {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 18;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-contact .button { min-height: 48px; padding: 10px; }
.mobile-contact .button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 17;
  min-height: 52px;
  padding: 13px 18px;
  box-shadow: 0 18px 46px rgba(37, 35, 33, 0.16);
}
.whatsapp-float.button {
  background: rgba(37, 35, 33, 0.94);
  border-color: rgba(37, 35, 33, 0.94);
}

@media (max-width: 980px) {
  .hero { min-height: min(760px, calc(88svh - 78px)); }
  .hero.short { min-height: 620px; }
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 22px 20px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: block; }
  .nav-actions .button.secondary { display: none; }
  .intro,
  .split,
  .page-hero-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .lead-form-wrap {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-2,
  .feature-list,
  .intent-grid,
  .trust-band {
    grid-template-columns: 1fr 1fr;
  }
  .process { grid-template-columns: 1fr 1fr; }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding: 58px 0; }
  .hero,
  .hero.short,
  .image-hero { min-height: min(620px, calc(100svh - 78px)); }
  .hero::after,
  .image-hero::after { background: linear-gradient(180deg, rgba(20, 17, 14, 0.46), rgba(20, 17, 14, 0.82)); }
  .hero-content,
  .image-hero .page-hero-inner { padding: 72px 0 94px; }
  h1 { font-size: clamp(35px, 10vw, 43px); }
  h2 { font-size: clamp(31px, 8.5vw, 40px); }
  h3 { font-size: clamp(24px, 7vw, 30px); }
  .lead { font-size: 17px; line-height: 1.58; }
  .eyebrow { margin-bottom: 12px; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }
  .cta-inner .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .intro {
    gap: 18px;
    margin-bottom: 24px;
  }
  .grid-3,
  .grid-2,
  .feature-list,
  .intent-grid,
  .trust-band,
  .process,
  .footer-grid,
  .form {
    grid-template-columns: 1fr;
  }
  .service-card,
  .quiet-card,
  .intent-card { padding: 22px; }
  .intent-card {
    min-height: auto;
  }
  .service-card {
    min-height: auto;
    gap: 18px;
  }
  .service-card h3,
  .quiet-card h3,
  .portfolio-body h3 { font-size: 27px; }
  .feature-list li {
    padding: 16px 18px;
    font-size: 25px;
  }
  .process-step {
    min-height: 122px;
    padding: 18px;
  }
  .process-step h3 {
    margin-top: 18px;
    font-size: 22px;
  }
  .split { gap: 32px; }
  .split img {
    height: 320px;
    aspect-ratio: auto;
  }
  .portfolio-card img {
    height: 230px;
    aspect-ratio: auto;
  }
  .portfolio-body { padding: 22px; }
  .contact-layout { gap: 34px; }
  .contact-layout .form { order: 1; }
  .contact-panel { order: 2; padding: 24px; }
  .mini-form { padding: 22px; }
  input, select, textarea {
    min-height: 46px;
    font-size: 16px;
  }
  .page-hero { padding: 84px 0 58px; }
  .cta-section { padding: 64px 0 78px; }
  .mobile-contact { display: grid; }
  .whatsapp-float { display: none; }
  .site-footer { padding-bottom: 86px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 24px, 1140px); }
  .nav { min-height: 72px; }
  .brand-logo { width: 144px; }
  .nav-links { inset: 72px 0 auto 0; }
  .hero,
  .hero.short,
  .image-hero { min-height: min(590px, calc(100svh - 72px)); }
  .hero-content,
  .image-hero .page-hero-inner { padding: 58px 0 88px; }
  h1 { font-size: clamp(32px, 9.2vw, 36px); }
  .lead { font-size: 16px; }
  .section { padding: 50px 0; }
  .button { padding-inline: 14px; }
  .portfolio-card img,
  .split img { height: 210px; }
  .mobile-contact {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
}
