:root {
  --ink: #14191d;
  --ink-2: #222a2f;
  --steel: #5d696f;
  --mist: #eef1f1;
  --paper: #f8f8f5;
  --white: #ffffff;
  --accent: #b78d53;
  --accent-dark: #8b6838;
  --line: rgba(20, 25, 29, 0.13);
  --shadow: 0 28px 70px rgba(15, 20, 23, 0.12);
  --radius: 2px;
  --container: min(1240px, calc(100% - 48px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--white); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 116px 0; }
.section-sm { padding: 76px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-mist { background: var(--mist); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #d5b47e; }
.display {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.title {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.lead { color: var(--steel); font-size: clamp(1.03rem, 1.3vw, 1.2rem); }
.section-dark .lead { color: rgba(255,255,255,.68); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 54px;
}
.section-head > div:first-child { max-width: 760px; }
.section-head .lead { max-width: 450px; margin: 0; }
.muted { color: var(--steel); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 5px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s, gap .25s, border-color .25s;
}
.text-link:hover { gap: 20px; color: var(--accent-dark); border-color: var(--accent-dark); }
.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  padding: 0 25px;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.55); background: transparent; }
.btn-outline:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: var(--ink-2); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: var(--white);
  transition: background .35s, color .35s, box-shadow .35s, transform .35s;
}
.site-header.scrolled,
body:not([data-page="home"]) .site-header { background: rgba(248,248,245,.96); box-shadow: 0 8px 30px rgba(15,20,23,.07); color: var(--ink); backdrop-filter: blur(16px); }
.header-inner { display: flex; height: 88px; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo-image { display: block; width: 180px; height: auto; }
.logo-image--dark { display: none; }
.site-header.scrolled .logo-image--light,
body:not([data-page="home"]) .site-header .logo-image--light { display: none; }
.site-header.scrolled .logo-image--dark,
body:not([data-page="home"]) .site-header .logo-image--dark { display: block; }
.site-header.menu-active .logo-image--light { display: block; }
.site-header.menu-active .logo-image--dark { display: none; }
body:not([data-page="home"]) .site-header.menu-active .logo-image--light { display: block; }
body:not([data-page="home"]) .site-header.menu-active .logo-image--dark { display: none; }
.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: -.08em;
}
.logo-copy strong { display: block; font-size: .9rem; letter-spacing: .13em; }
.logo-copy span { display: block; margin-top: 6px; opacity: .65; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); }
.nav-link {
  position: relative;
  padding: 34px 0;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-link::after { position: absolute; right: 0; bottom: 24px; left: 0; height: 1px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.language-link { color: var(--accent); }
.header-cta { min-height: 44px; padding-inline: 18px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,17,.89) 0%, rgba(10,14,17,.54) 48%, rgba(10,14,17,.1) 100%), linear-gradient(0deg, rgba(10,14,17,.55), transparent 45%); content: ""; }
.hero-media img { height: 100%; object-fit: cover; animation: heroZoom 16s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-content { position: relative; z-index: 1; max-width: 850px; padding: 190px 0 120px; }
.hero .display { max-width: 820px; }
.hero p { max-width: 600px; margin: 28px 0 38px; color: rgba(255,255,255,.74); font-size: 1.12rem; }
.hero-description { max-width: 600px; margin: 28px 0 38px; color: rgba(255,255,255,.74); font-size: 1.12rem; }
.hero-description > :first-child { margin-top: 0; }
.hero-description > :last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { position: absolute; z-index: 1; right: max(24px, calc((100vw - 1240px)/2)); bottom: 52px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.68); font-size: .72rem; letter-spacing: .15em; }
.hero-index::before { width: 70px; height: 1px; background: rgba(255,255,255,.5); content: ""; }
.hero-slider { display: block; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s;
}
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; visibility: visible; }
.hero-slide .hero-media img { animation: none; transform: scale(1.045); }
.hero-slide.is-active .hero-media img { animation: heroZoom 8s ease-out both; }
.hero-slide .hero-content { opacity: 0; transform: translateY(24px); transition: opacity .65s .18s var(--ease), transform .65s .18s var(--ease); }
.hero-slide.is-active .hero-content { opacity: 1; transform: none; }
.hero-slider-nav {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 42px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  pointer-events: none;
}
.hero-slider-arrows, .hero-slider-dots, .hero-counter { display: flex; align-items: center; pointer-events: auto; }
.hero-slider-arrows { gap: 8px; }
.hero-slider-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(10,14,17,.16);
  color: var(--white);
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s;
}
.hero-slider-arrow:hover, .hero-slider-arrow:focus-visible { border-color: var(--white); background: var(--white); color: var(--ink); }
.hero-slider-dots { gap: 8px; }
.hero-slider-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,.42);
  cursor: pointer;
  transition: width .25s, border-radius .25s, background .25s;
}
.hero-slider-dot.is-active { width: 28px; border-radius: 8px; background: var(--accent); }
.hero-counter { gap: 8px; color: rgba(255,255,255,.72); font-size: .7rem; letter-spacing: .16em; }
.page-hero { position: relative; overflow: hidden; padding: 190px 0 86px; background: var(--ink); color: var(--white); }
.page-hero::before { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(20,25,29,.98), rgba(20,25,29,.84)), url('../img/architecture-lines.jpg') center/cover; content: ""; }
.page-hero::after { position: absolute; right: 7vw; bottom: -120px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.09); content: ""; transform: rotate(28deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .display { max-width: 900px; }
.breadcrumb { display: flex; gap: 10px; margin-top: 25px; color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

/* Home intro */
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; }
.intro-visual { position: relative; }
.intro-visual img { height: 620px; object-fit: cover; }
.intro-copy .title { margin-bottom: 27px; }
.intro-copy p { color: var(--steel); }
.intro-copy .text-link { margin-top: 20px; }

/* Cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.service-card-media { height: 330px; overflow: hidden; background: #d9dddc; }
.service-card-media img { height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .4s; }
.service-card-body { position: relative; min-height: 190px; padding: 29px 30px 32px; }
.service-no { color: var(--accent-dark); font-size: .67rem; letter-spacing: .15em; }
.service-card h3 { margin: 13px 0 10px; font-size: 1.25rem; font-weight: 550; letter-spacing: -.02em; line-height: 1.25; }
.service-card p { display: -webkit-box; overflow: hidden; margin: 0 0 20px; color: var(--steel); font-size: .9rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.service-card .card-arrow { position: absolute; right: 28px; bottom: 26px; font-size: 1.2rem; transition: transform .3s; }
.service-card:hover img { transform: scale(1.055); }
.service-card:hover .card-arrow { transform: translateX(6px); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.project-card { position: relative; grid-column: span 4; min-height: 400px; overflow: hidden; background: #30383c; color: var(--white); cursor: zoom-in; }
.project-card.wide { grid-column: span 8; }
.project-card img { height: 100%; min-height: 400px; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.project-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,17,.82), transparent 60%); content: ""; }
.project-card-body { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 30px; transform: translateY(5px); transition: transform .35s; }
.project-card small { display: block; margin-bottom: 7px; color: #d5b47e; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: 1.25rem; font-weight: 500; }
.project-card:hover img { filter: brightness(.82); transform: scale(1.045); }
.project-card:hover .project-card-body { transform: translateY(0); }
.project-links .project-card { cursor: pointer; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.projects-footer { margin-top: 46px; text-align: center; }
.faq-list { display: grid; gap: 14px; max-width: 980px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); background: var(--white); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span:last-child { color: var(--gold); font-size: 24px; font-weight: 400; transition: transform .25s ease; }
.faq-item[open] summary span:last-child { transform: rotate(45deg); }
.faq-item .rich-text { padding: 0 28px 26px; color: var(--muted); }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: start; }
.why-copy { position: sticky; top: 130px; }
.why-copy .lead { margin-top: 26px; }
.features { border-top: 1px solid rgba(255,255,255,.16); }
.feature { display: grid; grid-template-columns: 58px 1fr; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.16); padding: 30px 0; }
.feature-no { color: #d5b47e; font-size: .7rem; letter-spacing: .14em; }
.feature h3 { margin: -5px 0 7px; font-size: 1.22rem; font-weight: 500; }
.feature p { margin: 0; color: rgba(255,255,255,.56); font-size: .92rem; }

/* CTA */
.cta-panel { position: relative; overflow: hidden; padding: 86px 7vw; background: var(--accent); color: var(--white); }
.cta-panel::after { position: absolute; right: -130px; bottom: -180px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.24); content: ""; transform: rotate(38deg); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.cta-panel .title { max-width: 720px; }
.cta-panel p { max-width: 580px; margin: 20px 0 0; color: rgba(255,255,255,.78); }
.cta-panel .btn { flex: 0 0 auto; background: var(--ink); }

/* Corporate and detail */
.split-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; }
.story-image { position: relative; padding-bottom: 54px; }
.story-image img { height: 650px; object-fit: cover; }
.story-image::after { position: absolute; right: -28px; bottom: 0; width: 58%; height: 110px; background: var(--accent); content: ""; z-index: -1; }
.story-copy p { color: var(--steel); }
.story-copy .title { margin-bottom: 28px; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text img { height: auto; margin-block: 28px; }
.corporate-gallery { padding-top: 0; }
.corporate-gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.corporate-gallery-item { grid-column: span 6; height: 480px; margin: 0; overflow: hidden; background: var(--mist); }
.corporate-gallery-item:first-child:nth-last-child(1) { grid-column: span 12; height: min(62vw, 720px); }
.corporate-gallery-item:nth-child(4n + 1), .corporate-gallery-item:nth-child(4n + 4) { grid-column: span 7; }
.corporate-gallery-item:nth-child(4n + 2), .corporate-gallery-item:nth-child(4n + 3) { grid-column: span 5; }
.corporate-gallery-item img { height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.corporate-gallery-item:hover img { transform: scale(1.025); }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; margin-top: 36px; border-top: 1px solid var(--line); }
.value-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-item strong { display: block; font-size: .95rem; }
.value-item span { color: var(--steel); font-size: .82rem; }
.detail-hero-image { height: min(70vw, 720px); min-height: 420px; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .6fr; gap: 8vw; }
.detail-content h2 { margin: 0 0 26px; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.detail-content p { color: var(--steel); font-size: 1.04rem; }
.detail-aside { position: sticky; top: 120px; align-self: start; padding: 35px; background: var(--mist); }
.detail-aside h3 { margin: 0 0 18px; font-size: 1.1rem; }
.check-list { margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; border-bottom: 1px solid var(--line); padding: 12px 0 12px 23px; color: var(--steel); font-size: .9rem; }
.check-list li::before { position: absolute; left: 0; color: var(--accent-dark); content: "—"; }
.image-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 64px; }
.image-pair img { height: 500px; object-fit: cover; }
.image-pair img:last-child { margin-top: 65px; }
.detail-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.detail-gallery-grid img { height: 520px; object-fit: cover; }
.service-detail-gallery { margin-top: 70px; }
.service-detail-gallery img:nth-child(3n) { grid-column: 1 / -1; }
.usage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; background: var(--line); }
.usage { min-height: 180px; padding: 30px; background: var(--paper); }
.usage span { color: var(--accent-dark); font-size: .68rem; letter-spacing: .14em; }
.usage h3 { margin: 34px 0 0; font-size: 1rem; font-weight: 550; }

/* Filters and lightbox */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; }
.filter-btn { border: 1px solid var(--line); padding: 12px 18px; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: .25s; }
.filter-btn:hover, .filter-btn.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.gallery .project-card { transition: opacity .25s, transform .25s; }
.gallery .project-card.hidden { display: none; }
.lightbox { position: fixed; z-index: 2000; inset: 0; display: none; align-items: center; justify-content: center; padding: 50px; background: rgba(9,12,14,.95); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 90vw); max-height: 84vh; width: auto; box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: var(--white); cursor: pointer; font-size: 1.5rem; }
.lightbox-caption { position: absolute; bottom: 22px; color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

/* Forms */
.form-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; align-items: start; }
.form-intro { position: sticky; top: 125px; }
.form-intro .lead { margin: 25px 0 34px; }
.contact-mini { margin-top: 42px; border-top: 1px solid var(--line); }
.contact-mini-row { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.contact-mini-row span { color: var(--steel); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-mini-row strong { font-size: .88rem; font-weight: 550; }
.contact-mini-row a { color: inherit; }
.form-panel { padding: clamp(28px, 5vw, 64px); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 22px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: .69rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 0; border-bottom: 1px solid #c9cece; border-radius: 0; padding: 8px 2px; outline: none; background: transparent; color: var(--ink); transition: border-color .25s; }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-dark); }
.file-field { border: 1px dashed #b9c0c0; padding: 20px; background: var(--paper); }
.file-field input { min-height: auto; border: 0; }
.form-note { margin: 22px 0 0; color: var(--steel); font-size: .78rem; }
.form-success { display: none; margin-top: 20px; border-left: 3px solid var(--accent); padding: 12px 15px; background: #f3efe8; font-size: .88rem; }
.form-success.show { display: block; }
.field [data-valmsg-for] { display: block; margin-top: 6px; color: #9a382d; font-size: .74rem; }
.g-recaptcha { min-height: 78px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.contact-card { min-height: 220px; padding: 32px; background: var(--white); }
.contact-card .contact-icon { color: var(--accent-dark); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.contact-card h3 { margin: 42px 0 9px; font-size: 1rem; font-weight: 600; }
.contact-card p, .contact-card a { margin: 0; color: var(--steel); font-size: .88rem; }
.map-placeholder { position: relative; display: grid; min-height: 480px; place-items: center; overflow: hidden; background-color: #d9dddd; background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px); background-size: 48px 48px; }
.map-placeholder::before, .map-placeholder::after { position: absolute; width: 130%; height: 3px; background: rgba(93,105,111,.2); content: ""; transform: rotate(14deg); }
.map-placeholder::after { transform: rotate(-27deg); }
.map-pin { position: relative; z-index: 1; padding: 20px 28px; background: var(--ink); color: var(--white); text-align: center; box-shadow: var(--shadow); }
.map-pin strong { display: block; font-size: .8rem; letter-spacing: .1em; }
.map-pin span { color: rgba(255,255,255,.62); font-size: .72rem; }
.map-embed::before, .map-embed::after { display: none; }
.map-embed iframe { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-form-wrap { margin-top: -80px; position: relative; z-index: 2; }

.empty-state { border: 1px solid var(--line); padding: 32px; color: var(--steel); text-align: center; }

/* Footer */
.site-footer { padding: 82px 0 0; background: #101519; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr 1.1fr; gap: 6vw; padding-bottom: 64px; }
.footer-logo .logo-image { width: 210px; }
.footer-brand p { max-width: 330px; margin-top: 24px; color: rgba(255,255,255,.5); font-size: .88rem; }
.footer-about { line-height: 1.7; }
.footer-about-link { color: rgba(255,255,255,.82); font-weight: 600; white-space: nowrap; }
.footer-about-link:hover { color: var(--accent); }
.footer-title { margin: 4px 0 22px; color: rgba(255,255,255,.4); font-size: .67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .86rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { margin: 0 0 12px; color: rgba(255,255,255,.68); font-size: .86rem; }
.socials { display: flex; gap: 8px; margin-top: 23px; }
.socials a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.2); font-size: .62rem; font-weight: 700; text-transform: uppercase; transition: .2s; }
.socials i { font-size: .9rem; }
.socials a:hover { border-color: var(--accent); background: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); padding: 23px 0; color: rgba(255,255,255,.36); font-size: .7rem; }
.footer-bottom-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.footer-bottom a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal-separator { color: rgba(255,255,255,.22); }
.footer-credit { color: var(--white) !important; font-weight: 700; letter-spacing: .14em; }
.footer-credit:hover { color: var(--accent) !important; }

/* Floating WhatsApp contact */
.floating-whatsapp {
  position: fixed;
  z-index: 1100;
  right: 26px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.floating-whatsapp svg { width: 34px; height: 34px; }
.floating-whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.floating-whatsapp:hover {
  background: #1fbd5a;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0,0,0,.34);
  transform: translateY(-3px) scale(1.04);
}
.floating-whatsapp:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: 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; }
}

@media (max-width: 1050px) {
  :root { --container: min(100% - 40px, 920px); }
  .header-cta { display: none; }
  .site-nav { gap: 20px; }
  .nav-link { font-size: .68rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .split-story, .why-grid, .form-layout { gap: 5vw; }
  .project-card, .project-card.wide { grid-column: span 6; }
  .contact-cards, .usage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr .7fr .9fr; }
  .footer-grid > :nth-child(3) { display: none; }
}

@media (max-width: 820px) {
  .section { padding: 86px 0; }
  .section-head, .cta-inner { align-items: flex-start; flex-direction: column; }
  body.nav-open::before {
    position: fixed;
    z-index: 999;
    inset: 0;
    background: var(--ink);
    content: "";
    pointer-events: none;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 125px 30px 40px;
    background: var(--ink);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .3s, transform .3s;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-link { width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 1rem; }
  .nav-link::after { display: none; }
  .logo, .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle { display: block; }
  body .site-header.menu-active {
    background: var(--ink);
    color: var(--white);
    box-shadow: none;
    backdrop-filter: none;
  }
  .header-inner { height: 76px; }
  .hero-content { padding: 150px 0 95px; }
  .hero-index { display: none; }
  .hero-slider-nav { bottom: 28px; justify-content: flex-start; }
  .hero-counter { margin-left: auto; }
  .page-hero { padding: 150px 0 70px; }
  .intro-grid, .split-story, .why-grid, .form-layout, .detail-grid { grid-template-columns: 1fr; gap: 58px; }
  .intro-visual img, .story-image img { height: 560px; }
  .why-copy, .form-intro, .detail-aside { position: static; }
  .image-pair img { height: 420px; }
  .detail-gallery-grid img { height: 420px; }
  .corporate-gallery-item { height: 400px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-grid > :nth-child(3) { display: block; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
  .logo-copy strong { font-size: .78rem; }
  .logo-copy span { font-size: .52rem; }
  .site-header .logo-image { width: 148px; }
  .display { font-size: clamp(2.55rem, 13vw, 4rem); }
  .title { font-size: 2.2rem; }
  .hero { min-height: 780px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(10,14,17,.91), rgba(10,14,17,.4)), linear-gradient(0deg, rgba(10,14,17,.8), transparent 65%); }
  .hero-content { padding-bottom: 70px; }
  .hero-actions .btn { width: 100%; }
  .hero-slider .hero-content { padding-bottom: 155px; }
  .hero-slider-nav { bottom: 30px; gap: 15px; }
  .hero-slider-dots { display: none; }
  .hero-slider-arrow { width: 42px; height: 42px; }
  .intro-visual img, .story-image img { height: 430px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card-media { height: 290px; }
  .project-grid { display: block; }
  .project-card { min-height: 330px; margin-bottom: 16px; }
  .project-card img { min-height: 330px; }
  .value-list, .form-grid, .image-pair, .contact-cards, .usage-grid, .detail-gallery-grid { grid-template-columns: 1fr; }
  .corporate-gallery-grid { display: block; }
  .corporate-gallery-item, .corporate-gallery-item:first-child:nth-last-child(1) { height: 360px; margin-bottom: 16px; }
  .image-pair img { height: 360px; }
  .image-pair img:last-child { margin-top: 0; }
  .usage { min-height: 140px; }
  .lightbox { padding: 20px; }
  .form-panel { margin-inline: -8px; }
  .contact-form-wrap { margin-top: -35px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid > :nth-child(3) { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .floating-whatsapp { right: 18px; bottom: 18px; width: 56px; height: 56px; }
  .floating-whatsapp svg { width: 31px; height: 31px; }
}
