/* ==========================================================================
   Simply Home — Design System v2
   Editorial / premium renovation-brand style. Charcoal + brand blue.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue:        #08a6e5;
  --blue-deep:   #0589bd;
  --blue-dark:   #036f9b;
  --blue-tint:   #e5f5fc;
  --blue-wash:   #f2fafd;
  --blue-soft:   rgba(8,166,229,.14);

  /* Ink (dark base — nav, footer, dark bands) */
  --ink:         #1b1c1f;
  --ink-2:       #26282d;
  --ink-3:       #33363d;
  --ink-soft:    #62666f;
  --ink-faint:   #8d919b;

  /* Surface */
  --paper:       #ffffff;
  --paper-2:     #f8f7f4;
  --paper-3:     #f1f3f6;
  --cream:       #f4f1ea;
  --cream-2:     #eee9dd;
  --line:        #e6e4dd;
  --line-soft:   #eeece5;
  --line-dark:   rgba(255,255,255,.14);

  /* Type */
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-sans:    'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --shadow-card: 0 24px 50px -18px rgba(27,28,31,.22);
  --shadow-float: 0 40px 80px -24px rgba(27,28,31,.35);

  /* Space */
  --gutter: 28px;
  --maxw: 1280px;
  --section-y: 132px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 96px; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.h3 { font-size: 1.32rem; }
.display { font-size: clamp(2.6rem, 6vw, 5.1rem); font-weight: 600; letter-spacing: -0.015em; }
.lead { font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft); font-weight: 400; }
.small { font-size: .88rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; flex: none; }
.eyebrow.plain { color: var(--blue); }
.eyebrow.on-dark { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-size: .86rem; font-weight: 700;
  letter-spacing: .02em;
  padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 16px 32px -12px rgba(8,166,229,.55); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 20px 38px -12px rgba(8,166,229,.6); }

.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }

.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 16px 32px -12px rgba(37,211,102,.5); }
.btn-whatsapp:hover { background: #1ebe58; box-shadow: 0 20px 38px -12px rgba(37,211,102,.55); }

.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27,28,31,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-sans); font-size: .84rem; font-weight: 600;
  letter-spacing: .04em; color: rgba(255,255,255,.72);
  padding: 6px 0; position: relative; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); }
.nav-cta .btn-primary { padding: 12px 24px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: transparent; border: none; padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (full-bleed) ---------- */
.hero { position: relative; min-height: 96vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27,28,31,.55) 0%, rgba(27,28,31,.35) 30%, rgba(27,28,31,.55) 70%, rgba(27,28,31,.96) 100%),
    linear-gradient(90deg, rgba(27,28,31,.5) 0%, rgba(27,28,31,.05) 45%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 160px; }
.hero-inner .eyebrow { color: var(--blue); }
.hero-inner .eyebrow::before { background: var(--blue); }
.hero-inner h1.display { color: #fff; max-width: 16ch; }
.hero-inner .lead { color: rgba(255,255,255,.82); max-width: 46ch; margin-top: 22px; font-size: 1.14rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; padding-bottom: 132px; }

/* Floating division cards — overlap the hero's bottom edge */
.divisions-float { position: relative; z-index: 3; margin-top: -92px; padding-bottom: 0; }
.division-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.division-card {
  background: #fff; border-radius: var(--r-md); padding: 30px 26px;
  box-shadow: var(--shadow-float);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; gap: 14px;
}
.division-card:hover { transform: translateY(-6px); box-shadow: 0 48px 90px -22px rgba(27,28,31,.4); }
.division-card .dc-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 700; font-size: .82rem;
}
.division-card h3 { font-size: 1.14rem; font-weight: 600; }
.division-card p { margin: 0; color: var(--ink-soft); font-size: .89rem; line-height: 1.55; }
.division-card .go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: .76rem; font-weight: 700; color: var(--blue-deep); letter-spacing: .04em; margin-top: auto; }
.division-card .go svg { transition: transform .25s var(--ease); }
.division-card:hover .go svg { transform: translateX(4px); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-sm { padding: 76px 0; }
.section-alt { background: var(--paper-2); }
.section-tint { background: var(--blue-wash); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.68); }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .lead { margin-top: 16px; }

.head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
.head-split .side .lead { margin: 0; }

/* ---------- Tagline divider band (full-bleed photo, editorial serif line) ---------- */
.tagline-band {
  position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--ink); text-align: center;
}
.tagline-band .tb-media { position: absolute; inset: 0; }
.tagline-band .tb-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tagline-band .tb-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,28,31,.75), rgba(27,28,31,.55) 50%, rgba(27,28,31,.85)); }
.tagline-band .tb-inner { position: relative; z-index: 2; padding: 60px var(--gutter); }
.tagline-band .eyebrow { justify-content: center; color: var(--blue); }
.tagline-band .tb-text {
  font-family: var(--font-display); font-style: normal; font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); color: #fff; line-height: 1.2; max-width: 20ch; margin: 0 auto;
}
.tagline-band .btn { margin-top: 34px; }

/* ---------- Divisions (home page numbered rows kept as secondary index list) ---------- */
.divisions { display: flex; flex-direction: column; margin-top: 48px; border-top: 1px solid var(--line); }
.division-row {
  display: grid; grid-template-columns: 90px 1fr 1.15fr; gap: 34px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.division-row:hover { background: var(--paper-2); }
.division-row .division-num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--blue); }
.division-row .cat { font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.division-row h3 { font-size: 1.5rem; }
.division-row .division-side { display: flex; align-items: center; gap: 20px; }
.division-row .division-side p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.division-row .go { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all .25s var(--ease); }
.division-row:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Feature band (alternating image + copy) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 560px; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.feature-media { position: relative; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.feature-body { display: flex; flex-direction: column; justify-content: center; padding: 70px 72px; background: var(--paper); }
.feature-body .lead { margin-top: 18px; }
.feature-body .actions { margin-top: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: .88rem; color: var(--blue-deep); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- General services / feature-card grid ---------- */
.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.gen-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.gen-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.gen-item .ico-wrap {
  width: 54px; height: 54px; border-radius: 14px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.gen-item .ico { width: 24px; height: 24px; }
.gen-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.gen-item p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.58; }

/* ---------- Values (dark, color-block numbered) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; }
.value {
  background: var(--ink-2); border-radius: var(--r-md); padding: 38px 32px;
  border: 1px solid rgba(255,255,255,.08);
}
.value .num {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--blue);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(8,166,229,.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.value h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.value p { margin: 0; color: rgba(255,255,255,.66); font-size: .93rem; line-height: 1.65; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: #fff; border-radius: var(--r-md); padding: 34px 26px; text-align: center; border: 1px solid var(--line); }
.stat .n { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--blue-deep); }
.stat .n span { font-size: .55em; }
.stat .l { margin-top: 10px; font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- Our Craft (gallery + copy) ---------- */
.craft-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.craft-media { display: flex; flex-direction: column; gap: 5px; }
.craft-row { display: flex; gap: 5px; }
.craft-row.row-a { height: 252px; }
.craft-row.row-b { height: 216px; }
.craft-row.row-a .t-a { flex: 2.44 1 0; }
.craft-row.row-a .t-b { flex: 1 1 0; }
.craft-row.row-b .t-c { flex: 1.08 1 0; }
.craft-row.row-b .t-d { flex: 1 1 0; }
.craft-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.craft-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.craft-tile:hover img { transform: scale(1.06); }
.craft-body .actions { margin-top: 30px; }
.section-dark .eyebrow, .section-dark .link-arrow { color: var(--blue); }

/* ---------- Bento gallery ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 224px; gap: 3px; margin-top: 52px;
}
.bento-item { position: relative; overflow: hidden; border-radius: var(--r-md); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600; color: #fff;
  opacity: 0; transform: translateY(8px); transition: all .3s var(--ease);
}
.bento-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .3s var(--ease); }
.bento-item:hover figcaption, .bento-item:hover::after { opacity: 1; transform: translateY(0); }
.bento-item.b-lg { grid-column: span 2; grid-row: span 2; }
.bento-item.b-wide { grid-column: span 2; }
.bento-item.b-tall { grid-row: span 2; }

/* legacy simple gallery (kept for contact page) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.gal-item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.07); }
.gal-item figcaption {
  position: absolute; left: 16px; bottom: 14px; font-family: var(--font-sans); font-size: .76rem; font-weight: 600; color: #fff; z-index: 2;
}
.gal-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.step.is-accent { background: var(--ink); border-color: var(--ink); }
.step.is-accent .n, .step.is-accent h3 { color: #fff; }
.step.is-accent p { color: rgba(255,255,255,.66); }
.step .n { font-family: var(--font-sans); font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--blue-deep); text-transform: uppercase; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 85% 20%, rgba(8,166,229,.22), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; padding: 110px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { color: var(--blue); justify-content: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.68); max-width: 46ch; margin: 18px 0 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.page-head-media { position: absolute; inset: 0; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,28,31,.5) 0%, rgba(27,28,31,.4) 40%, rgba(27,28,31,.95) 100%); }
.page-head-inner { position: relative; z-index: 2; padding: 170px 0 64px; }
.page-head-inner .eyebrow { color: var(--blue); }
.page-head-inner h1 { color: #fff; max-width: 20ch; }
.page-head-inner .lead { color: rgba(255,255,255,.8); max-width: 52ch; margin-top: 18px; }

/* ---------- Division bands (services.html) ---------- */
.div-band { padding: 96px 0; }
.div-band:nth-child(even) { background: var(--paper-2); }
.div-band .div-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.div-band.reverse .div-grid { direction: rtl; }
.div-band.reverse .div-grid > * { direction: ltr; }
.div-figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3.2; }
.div-figure img { width: 100%; height: 100%; object-fit: cover; }
.num-badge {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--blue);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.div-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 0; }
.div-copy .cat { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); margin: 10px 0 16px; }
.div-copy p.lead { margin: 0; }

.svc-panel { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; }
.div-band:nth-child(even) .svc-panel { background: var(--paper); }
.svc-panel .svc-label { font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; display: block; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: .84rem; font-weight: 600; color: var(--ink-2);
  background: var(--blue-wash); border: 1px solid var(--blue-tint);
  padding: 10px 16px 10px 12px; border-radius: 999px;
  transition: all .22s var(--ease);
}
.svc-chips li:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.svc-chips li:hover svg { stroke: #fff; }
.svc-chips li svg { width: 14px; height: 14px; stroke: var(--blue-deep); flex: none; transition: stroke .22s var(--ease); }

/* old hairline list kept as fallback/util (not used by new services layout) */
.svc-list { columns: 1; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: var(--paper-2); border-radius: var(--r-md); border: 1px solid var(--line); }
.contact-item .ico { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px; background: var(--blue); color: #fff; }
.contact-item .k { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.contact-item .v { font-weight: 600; color: var(--ink); }
.contact-item a.v:hover { color: var(--blue-deep); }

.form-card {
  background: #fff; border-radius: var(--r-lg); padding: 46px 44px;
  box-shadow: var(--shadow-float); border: 1px solid var(--line-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 9px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--paper-2);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft);
}
.form-group textarea { min-height: 132px; resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-status { padding: 14px 16px; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 20px; font-weight: 500; }
.form-status.success { background: #e8f7ee; color: #1c7a41; border: 1px solid #bfe8cd; }
.form-status.error { background: #fdecec; color: #b3261e; border: 1px solid #f6c6c4; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 90px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 32px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul li { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer ul a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .82rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 10px; }
.footer-bottom .tag { font-family: var(--font-sans); font-weight: 600; letter-spacing: .04em; color: var(--blue); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  :root { --section-y: 96px; }
  .division-cards { grid-template-columns: repeat(2, 1fr); }
  .divisions-float { margin-top: -64px; }
  .feature, .div-band .div-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse, .div-band.reverse .div-grid { direction: ltr; }
  .feature-media img { min-height: 300px; }
  .feature-body { padding: 56px var(--gutter); }
  .gen-grid, .values, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; gap: 3px; }
  .bento-item.b-lg { grid-column: span 2; grid-row: span 2; }
  .craft-grid { gap: 48px; }
  .craft-row.row-a { height: 216px; }
  .craft-row.row-b { height: 184px; }
  .head-split { grid-template-columns: 1fr; gap: 24px; }
  .div-figure { order: -1; }
}

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 84px; left: 0; right: 0; height: calc(100vh - 84px); height: calc(100dvh - 84px); background: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px var(--gutter);
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta .nav-phone { display: none; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: .78rem; }

  .hero { min-height: 88vh; }
  .hero-inner { padding-top: 130px; }
  .hero-actions { padding-bottom: 110px; }
  .divisions-float { margin-top: -50px; }
  .division-cards { grid-template-columns: 1fr; }

  .division-row { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .division-row .division-side { justify-content: space-between; }

  .gen-grid, .values, .steps, .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 3px; }
  .bento-item.b-lg, .bento-item.b-wide { grid-column: span 2; }
  .craft-grid { grid-template-columns: 1fr; gap: 32px; }
  .craft-row.row-a { height: 190px; }
  .craft-row.row-b { height: 162px; }

  .contact-grid { gap: 40px; }
  .form-card { padding: 32px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 76px; }
  .nav-inner { height: 68px; }
  .nav-logo img { height: 27px; }
  .nav-cta .btn-primary { display: none; }
  .nav-links { top: 68px; height: calc(100vh - 68px); height: calc(100dvh - 68px); }

  .hero { min-height: 84vh; }
  .hero-inner { padding-top: 108px; }
  .hero-actions { flex-direction: column; align-items: stretch; padding-bottom: 92px; }
  .hero-actions .btn { width: 100%; }

  .divisions-float { margin-top: -40px; }
  .division-card { padding: 24px 20px; }

  .tagline-band { min-height: 48vh; }

  .craft-row.row-a { height: 148px; }
  .craft-row.row-b { height: 126px; }
  .craft-row { gap: 5px; }
  .craft-media { gap: 5px; }

  .feature-body { padding: 40px 20px; }
  .div-band { padding: 64px 0; }
  .div-band .div-grid { gap: 32px; }
  .svc-panel { padding: 22px 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-inner { padding: 76px 0; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-actions .btn { width: 100%; }

  .page-head { min-height: 44vh; }
  .page-head-inner { padding: 140px 0 44px; }

  .wa-float { width: 50px; height: 50px; right: 18px; bottom: 18px; }
}
