/* ==========================================================================
   Arkay Renewables — public website design system
   Ported from the 2026 redesign mockups. Desktop-first with responsive
   breakpoints at 1024 / 768 / 560px.
   ========================================================================== */

:root {
  --navy: #223368;
  --navy-deep: #1b2a57;
  --navy-dark: #142048;
  --navy-soft: #2b4080;
  --navy-mid: #33447f;

  --cream: #f4f8ef;
  --white: #ffffff;

  --line: #dfe9d3;
  --line-soft: #eaf1e2;

  --amber: #ffa818;
  --amber-light: #ffc24d;
  --amber-wash: #fff0d4;
  --amber-ink: #8a5a00;
  --amber-deep: #3a2600;

  --green: #4a8420;
  --green-ink: #3f7418;
  --green-wash: #e8f4dc;
  --green-deep: #35660f;
  --green-mid: #4a7a22;

  --muted: #4a5a93;
  --muted-soft: #5a6ba6;
  --on-navy: #bfc9e8;
  --on-navy-soft: #9aa6d0;
  --on-navy-bright: #dce3f8;

  --shell: 1240px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --pill: 999px;

  --display: 'Sora', 'Segoe UI', sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', sans-serif;
}

/* --------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy-deep);
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--navy); }

img { max-width: 100%; }
input, button, textarea, select { font-family: var(--body); }
input[type=range] { accent-color: var(--amber); }
::selection { background: var(--amber); color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--display); margin: 0; }

@keyframes ark-kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes ark-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ------------------------------------------------------------- layout --- */

.shell { max-width: var(--shell); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 20px 0 96px; }
.section--flush-top { padding-top: 0; }
.section--wash {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--flip { grid-template-columns: 1.05fr 1fr; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------- typography --- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
  flex: none;
}
.eyebrow--on-navy { color: var(--amber-light); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}

h1.display { font-size: 62px; line-height: 1.07; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1.page-title { font-size: 52px; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; color: var(--white); }

.h2 { font-size: 40px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; text-wrap: balance; margin: 16px 0 0; }
.h2--cta { font-size: 38px; }

.lede { font-size: 16.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.lede--hero { font-size: 19px; line-height: 1.6; color: var(--on-navy-bright); max-width: 560px; }

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  transition: all .25s;
  text-align: center;
}
.btn--lg { padding: 16px 30px; font-size: 16px; font-weight: 700; }
.btn--sm { padding: 11px 22px; font-size: 14px; }

.btn--amber { background: var(--amber); color: var(--amber-deep); }
.btn--amber:hover { background: var(--navy); color: var(--white); }
.btn--amber-invert:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--amber); color: var(--amber-deep); }

.btn--outline-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; padding: 13px 26px; }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--outline-green { border: 1.5px solid var(--green); color: var(--green-ink); background: transparent; padding: 12px 24px; font-size: 14.5px; }
.btn--outline-green:hover { background: var(--green); color: var(--white); }

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: var(--white);
  background: transparent;
  padding: 15px 28px;
  font-size: 16px;
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-light); }

.link-arrow { font-weight: 600; font-size: 14.5px; }

.btn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ------------------------------------------------------------- topbar --- */

.topbar { background: var(--navy); color: var(--on-navy); font-size: 13px; }
.topbar .shell {
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar__links { display: flex; gap: 20px; align-items: center; }
.topbar__phone { color: var(--amber-light); font-weight: 600; }
.topbar__phone:hover { color: var(--white); }
.topbar__wa { color: var(--on-navy); }
.topbar__wa:hover { color: var(--amber-light); }

/* ---------------------------------------------------------- masthead --- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 248, 239, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.masthead__logo { display: flex; align-items: center; gap: 10px; color: var(--navy-deep); }
.masthead__logo img { height: 52px; width: auto; display: block; }
.masthead__logo-text { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--navy); }

.nav { display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--navy-mid); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a.is-active { color: var(--navy); font-weight: 700; border-bottom-color: var(--amber); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  cursor: pointer;
  line-height: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav-toggle span + span { margin-top: 4px; }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ark-kenburns 24s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 32, 72, .93) 0%, rgba(20, 32, 72, .66) 46%, rgba(20, 32, 72, .18) 100%);
}
.hero__body { position: relative; width: 100%; padding-top: 110px; padding-bottom: 150px; }
.hero__body h1 { color: var(--white); margin: 22px 0 20px; max-width: 780px; }
.hero__body .lede--hero { margin: 0 0 38px; }
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 42px;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .7));
  animation: ark-bob 2.2s ease-in-out infinite;
}

.page-hero { position: relative; background: var(--navy); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-hero__veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 32, 72, .9), rgba(20, 32, 72, .4)); }
.page-hero__body { position: relative; padding-top: 96px; padding-bottom: 84px; }
.page-hero__lede { font-size: 17px; color: var(--on-navy); max-width: 560px; margin: 16px 0 0; line-height: 1.6; }

.crumbs { font-size: 13.5px; color: var(--on-navy); margin-bottom: 14px; }
.crumbs a { color: var(--amber-light); }
.crumbs span { margin: 0 10px; color: var(--on-navy-soft); }

/* --------------------------------------------------------------- stats --- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(27, 42, 87, .14);
}
.stats--float { margin-top: -76px; position: relative; z-index: 2; }
.stats--navy {
  background: var(--navy);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.stat { padding: 38px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stats--navy .stat { padding: 40px 24px; }
.stats--navy .stat + .stat { border-left-color: rgba(255, 255, 255, .12); }
.stat__value { font-family: var(--display); font-size: 42px; font-weight: 700; color: var(--navy); }
.stats--navy .stat__value { color: var(--amber-light); }
.stat__label {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.stats--navy .stat__label { color: var(--on-navy); }

/* --------------------------------------------------------------- cards --- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s;
}
.card--wash { background: var(--cream); }
.card--lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(27, 42, 87, .10);
  border-color: var(--amber);
}
.card--flat { padding: 28px; }
.card h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.card p:last-child { margin-bottom: 0; }

.card--navy {
  background: var(--navy);
  border: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card--navy:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(27, 42, 87, .25); background: var(--navy-soft); }
.card--navy .card__title { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--white); }
.card--navy .card__note { font-size: 15.5px; line-height: 1.65; color: var(--on-navy); margin-top: 12px; }
.card--navy .card__cue { color: var(--amber-light); font-weight: 600; font-size: 15px; margin-top: 24px; }

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex: none;
}
.icon-tile svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile--amber { background: var(--amber-wash); }
.icon-tile--amber svg { stroke: var(--amber-ink); }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 0; }
.icon-tile--solid svg { fill: var(--green); stroke: none; }

/* Small feature card (Why Choose Us) */
.mini { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: all .3s; }
.mini:hover { border-color: var(--amber); transform: translateY(-3px); }
.mini__title { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.mini__text { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Step card (How It Works) */
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step__num { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--amber-ink); letter-spacing: .1em; margin-bottom: 14px; }
.step__title { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.step .icon-tile { width: 48px; height: 48px; margin-bottom: 16px; }

/* Service card (services page — wider, with a checklist) */
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 38px; transition: all .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(27, 42, 87, .10); border-color: var(--amber); }
.service-card__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.service-card__head h2 { font-size: 23px; font-weight: 600; margin: 0 0 8px; }
.service-card__head p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 0; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 26px; list-style: none; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.checklist li::before { content: '✓'; color: var(--green-ink); font-weight: 700; }

.tick-list { display: flex; flex-direction: column; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 500; }
.tick-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  border-radius: var(--pill);
  background: var(--green-wash);
  color: var(--green-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

/* ------------------------------------------------------------- media --- */

.framed { position: relative; }
.framed img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.framed--tall img { height: 520px; }
.framed__badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 18px 44px rgba(27, 42, 87, .25);
}
.framed__badge strong { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--amber-light); display: block; }
.framed__badge span { font-size: 13px; color: var(--on-navy); }

/* ------------------------------------------------------------ project --- */

.tile { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: all .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(27, 42, 87, .10); }
.tile__media { width: 100%; height: 250px; object-fit: cover; display: block; background: var(--green-wash); }
.tile__body { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile__title { font-family: var(--display); font-size: 16.5px; font-weight: 600; color: var(--navy-deep); }
.tile__meta { font-size: 13.5px; color: var(--muted-soft); margin-top: 3px; }

.badge {
  background: var(--green-wash);
  color: var(--green-ink);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--pill);
  flex: none;
  white-space: nowrap;
}

.filters { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter {
  border: 1.5px solid #d3e0c4;
  background: transparent;
  color: var(--navy-mid);
  cursor: pointer;
  padding: 10px 24px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  transition: all .25s;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* --------------------------------------------------------------- team --- */

.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.member:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(27, 42, 87, .10); }
.member__photo { width: 100%; height: 300px; object-fit: cover; display: block; background: var(--green-wash); }
.member__body { padding: 20px 22px; }
.member__name { font-family: var(--display); font-size: 17px; font-weight: 600; }
.member__role { font-size: 14px; color: var(--muted); margin-top: 4px; }
.member__tag {
  font-size: 13px;
  color: var(--green-ink);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 6px;
}
.member__social { display: flex; gap: 8px; margin-top: 14px; }
.member__social a {
  width: 32px;
  height: 32px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.member__social a:hover { background: var(--amber); border-color: var(--amber); }
.member__social svg { width: 14px; height: 14px; fill: var(--muted); }
.member__social a:hover svg { fill: var(--amber-deep); }

/* -------------------------------------------------------- testimonial --- */

.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; }
.quote__stars { color: #c97a00; font-size: 17px; letter-spacing: 3px; margin-bottom: 16px; }
.quote__text { font-size: 15.5px; line-height: 1.7; color: var(--navy-mid); font-style: italic; margin: 0 0 24px; }
.quote__who { display: flex; gap: 12px; align-items: center; }
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--pill);
  background: var(--navy);
  color: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  flex: none;
  object-fit: cover;
}
.quote__name { font-family: var(--display); font-size: 15.5px; font-weight: 600; }
.quote__meta { font-size: 13px; color: var(--muted-soft); }

/* ---------------------------------------------------------------- faq --- */

.faq-layout { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }

.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--white); margin-bottom: 12px; overflow: hidden; transition: border-color .3s; }
.faq.is-open { border-color: var(--amber); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy-deep);
}
.faq__sign {
  width: 28px;
  height: 28px;
  border-radius: var(--pill);
  border: 1.5px solid var(--green);
  color: var(--green-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex: none;
  transition: transform .3s;
}
.faq.is-open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a > div { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 720px; }

/* --------------------------------------------------------- calculator --- */

.calc { background: var(--navy); padding: 96px 0; }
.calc__layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.calc h2 { color: var(--white); }
.calc__lede { font-size: 16.5px; line-height: 1.7; color: var(--on-navy); margin: 16px 0 34px; max-width: 480px; }

.toggle { display: inline-flex; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: var(--pill); padding: 4px; margin-bottom: 36px; }
.toggle button {
  border: none;
  cursor: pointer;
  padding: 10px 24px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  transition: all .25s;
  background: transparent;
  color: var(--on-navy);
}
.toggle button.is-active { background: var(--amber); color: var(--amber-deep); }

.slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.slider-head span:first-child { color: var(--on-navy); font-size: 14px; }
.slider-head output { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--amber-light); }
.slider-scale { display: flex; justify-content: space-between; color: var(--on-navy-soft); font-size: 12.5px; margin-top: 6px; }
.calc input[type=range] { width: 100%; cursor: pointer; }

.calc__panel { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.calc__row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); gap: 16px; }
.calc__row:last-of-type { border-bottom: none; }
.calc__row span { color: var(--muted); font-size: 15px; }
.calc__row strong { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); }
.calc__row--key strong { font-weight: 700; font-size: 20px; }
.calc__row--saving strong { color: var(--green-ink); }

.calc__result {
  background: var(--green-wash);
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.calc__result-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-mid); font-weight: 600; }
.calc__result-value { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--green-deep); margin-top: 4px; }
.calc__note { font-size: 12.5px; color: var(--muted-soft); line-height: 1.55; margin-top: 16px; }

/* ----------------------------------------------------------------- cta --- */

.cta {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-soft) 60%, #304890 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta h2 { color: var(--white); margin: 0 0 14px; }
.cta p { font-size: 16.5px; line-height: 1.65; color: var(--on-navy); margin: 0; }
.cta__copy { max-width: 560px; }
.cta__actions { display: flex; gap: 14px; flex: none; flex-wrap: wrap; }

/* --------------------------------------------------------------- forms --- */

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.form-card h2 { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.form-card > p { font-size: 15px; color: var(--muted); margin: 0 0 28px; line-height: 1.6; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--navy-mid); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--cream);
  outline: none;
  color: var(--navy-deep);
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-ink); background: var(--white); }
.field .error { color: #b42318; font-size: 12.5px; margin-top: 5px; display: block; }
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: #b42318; }

.form-note { font-size: 12.5px; color: var(--muted-soft); margin-top: 14px; }

.alert-ok {
  background: var(--green-wash);
  border: 1px solid #cbe5b4;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.alert-ok__mark {
  width: 52px;
  height: 52px;
  border-radius: var(--pill);
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.alert-ok__title { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--green-deep); margin-bottom: 8px; }
.alert-ok p { font-size: 15px; color: var(--green-mid); line-height: 1.6; margin: 0; }

/* --------------------------------------------------------- contact aside --- */

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-card__title { font-family: var(--display); font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.info-card__text { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.info-card__sub { font-size: 13.5px; color: var(--muted-soft); margin-top: 3px; }
.info-card .icon-tile { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 0; }

.info-card--wa { background: var(--navy); border: none; align-items: center; transition: background .25s; }
.info-card--wa:hover { background: var(--navy-soft); }
.info-card--wa .icon-tile { background: var(--green); }
.info-card--wa .icon-tile svg { fill: var(--white); stroke: none; }
.info-card--wa .info-card__title { color: var(--white); margin-bottom: 3px; }
.info-card--wa .info-card__text { color: var(--on-navy); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { border: 0; display: block; width: 100%; height: 420px; }

/* -------------------------------------------------------------- footer --- */

.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer .shell { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 48px; }
.site-footer h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.site-footer p { font-size: 14.5px; line-height: 1.7; margin: 0 0 22px; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--amber-light); }

.footer__brand { border-radius: var(--radius-sm); background: var(--white); padding: 8px 12px; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.footer__brand img { height: 44px; width: auto; display: block; }
.footer__brand span { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--navy); }

.footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; line-height: 1.6; }
.footer__contact a.is-phone { color: var(--amber-light); font-weight: 600; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.socials a:hover { background: var(--amber); border-color: var(--amber); }
.socials svg { width: 15px; height: 15px; fill: var(--on-navy-bright); }
.socials a:hover svg { fill: var(--amber-deep); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.08); }

.colophon { border-top: 1px solid rgba(255, 255, 255, .12); }
.colophon .shell {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13.5px;
  color: var(--on-navy-soft);
}

.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: var(--pill);
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(27, 42, 87, .3);
  z-index: 80;
  transition: transform .25s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; fill: var(--white); }

/* ------------------------------------------------------------- reveal --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg, .hero__scroll { animation: none; }
  * { scroll-behavior: auto; }
}

/* No-JS fallback: never hide content behind an animation that will not run. */
.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js .faq__a { max-height: none; }

/* -------------------------------------------------------------- 404 --- */

.notfound { text-align: center; padding: 120px 0; }
.notfound__code { font-family: var(--display); font-size: 96px; font-weight: 800; color: var(--navy); line-height: 1; }

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1080px) {
  .split, .split--flip { grid-template-columns: 1fr; gap: 44px; }
  .split--flip > .framed { order: -1; }
  .calc__layout { grid-template-columns: 1fr; gap: 44px; }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .shell { grid-template-columns: 1fr 1fr; gap: 40px; }
  h1.display { font-size: 50px; }
  h1.page-title { font-size: 42px; }
  .framed__badge { right: 16px; bottom: 16px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .masthead .shell { flex-wrap: wrap; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0 14px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; border-bottom: none; }
  .nav a.is-active { border-bottom: none; color: var(--green-ink); }
  .masthead__cta { display: none; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .stats--navy .stat:nth-child(even) { border-left-color: rgba(255, 255, 255, .12); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .stats--navy .stat:nth-child(n + 3) { border-top-color: rgba(255, 255, 255, .12); }

  .cta { flex-direction: column; align-items: flex-start; padding: 44px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .topbar .shell { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 16px 0 64px; }
  .shell { padding-left: 18px; padding-right: 18px; }

  h1.display { font-size: 36px; }
  h1.page-title { font-size: 32px; }
  .h2, .h2--cta { font-size: 28px; }

  .hero { min-height: 0; }
  .hero__body { padding-top: 72px; padding-bottom: 96px; }
  .hero__scroll { display: none; }
  .lede--hero { font-size: 17px; }

  .stats--float { margin-top: 24px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none !important; border-top: 1px solid var(--line-soft); }
  .stats--navy .stat + .stat { border-top-color: rgba(255, 255, 255, .12); }
  .stat__value { font-size: 34px; }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .checklist, .field-grid { grid-template-columns: 1fr; }
  .site-footer .shell { grid-template-columns: 1fr; gap: 34px; }
  .colophon .shell { flex-direction: column; gap: 6px; }

  .card, .service-card, .form-card, .quote { padding: 24px; }
  .cta { padding: 32px; border-radius: var(--radius); }
  .calc__panel { padding: 24px; }
  .framed img, .framed--tall img { height: 300px; }
  .framed__badge { position: static; margin-top: 14px; display: inline-block; }
  .tile__body { flex-direction: column; align-items: flex-start; }
  .page-hero__body { padding-top: 64px; padding-bottom: 56px; }
  .calc__result { flex-direction: column; align-items: flex-start; }
  .calc__result > div:last-child { text-align: left !important; }
  .wa-fab { bottom: 16px; right: 16px; }
}
