:root {
  --ink: #141b1a;
  --ink-2: #1c2624;
  --ink-3: #293633;
  --paper: #f6f1e7;
  --paper-2: #fbf8f1;
  --white: #ffffff;
  --text: #202826;
  --muted: #68736f;
  --line: rgba(20, 27, 26, .12);
  --gold: #f6c453;
  --gold-2: #d9972f;
  --teal: #2f8f87;
  --teal-2: #1f6c66;
  --wood: #a76c38;
  --danger: #c64646;
  --shadow-sm: 0 10px 30px rgba(16, 23, 21, .10);
  --shadow: 0 28px 70px rgba(16, 23, 21, .16);
  --shadow-lg: 0 40px 110px rgba(16, 23, 21, .24);
  --radius: 26px;
  --radius-lg: 36px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(246, 196, 83, .10), transparent 36rem),
    linear-gradient(180deg, #fffaf0 0, var(--paper) 38rem, #fff 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(20, 27, 26, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 27, 26, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 68%);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

::selection { background: rgba(246, 196, 83, .42); }

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 14px;
  left: 14px;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--gold);
  color: #221804;
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(19, 26, 25, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(19, 26, 25, .94);
  border-color: rgba(246, 196, 83, .14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .20);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 248px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .18));
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
  transition: color .22s ease, background .22s ease, transform .22s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
  opacity: 0;
  transform: translateX(-50%) scaleX(.35);
  transition: transform .22s var(--ease), opacity .22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.header-cta,
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.015em;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.header-cta::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,.58) 45%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform .65s var(--ease);
}

.header-cta:hover::before,
.btn-primary:hover::before { transform: translateX(120%); }

.header-cta {
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
  color: #241902;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 16px 28px rgba(246, 196, 83, .22), inset 0 1px 0 rgba(255,255,255,.45);
}

.header-cta:hover,
.btn:hover { transform: translateY(-3px); }

.header-cta svg,
.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform .22s var(--ease), opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 720px;
  overflow: clip;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-pattern.svg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  inset: -20% -10% auto auto;
  width: 56rem;
  height: 56rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 196, 83, .22), transparent 62%);
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero::after {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 18, 17, .18), rgba(12, 18, 17, .05) 45%, rgba(12, 18, 17, .45)),
    radial-gradient(circle at var(--mouse-x, 68%) var(--mouse-y, 30%), rgba(255,255,255,.13), transparent 24rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: 720px;
  padding: 82px 0 88px;
}

.phone-wrap {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.phone-wrap::before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: conic-gradient(from 160deg, rgba(246, 196, 83, .28), rgba(47, 143, 135, .20), transparent, rgba(246, 196, 83, .28));
  filter: blur(.2px);
  animation: slowSpin 18s linear infinite;
}

.phone-shadow {
  position: absolute;
  bottom: 30px;
  width: 320px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .52);
  filter: blur(16px);
  transform: rotate(-6deg);
}

.phone {
  position: relative;
  width: 278px;
  height: 535px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 44px;
  background: linear-gradient(145deg, #101615, #33413e 55%, #121817);
  box-shadow:
    26px 36px 76px rgba(0, 0, 0, .42),
    inset 0 0 0 3px rgba(255, 255, 255, .04),
    0 0 0 10px rgba(255, 255, 255, .025);
  transform: rotate(-5deg) rotateY(7deg);
  animation: phoneFloat 5.6s ease-in-out infinite;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 20px;
  border-radius: 0 0 16px 16px;
  background: #0d1211;
  transform: translateX(-50%);
}

.phone-top {
  position: absolute;
  top: 21px;
  left: 50%;
  z-index: 4;
  width: 36px;
  height: 5px;
  border-radius: 99px;
  background: #2f3b38;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  padding: 30px 16px 18px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 25, 24, .92), rgba(18, 25, 24, .72)),
    radial-gradient(circle at 30% 20%, rgba(246, 196, 83, .32), transparent 34%),
    linear-gradient(135deg, #2f2216, #836035 54%, #17201f);
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(47, 143, 135, .30);
  filter: blur(14px);
}

.mini-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
}

.mini-header b {
  margin-left: auto;
  font-size: 16px;
  color: rgba(255,255,255,.82);
}

.mini-logo {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.18);
}

.mini-kicker {
  position: relative;
  z-index: 1;
  margin: 28px 0 7px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 950;
  font-size: 10px;
  letter-spacing: .09em;
}

.phone-screen h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 17px;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -.05em;
}

.mini-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 15px 32px rgba(0,0,0,.16);
  transform: translateZ(20px);
}

.mini-card:nth-of-type(2) { transform: translateX(8px); }
.mini-card:nth-of-type(3) { transform: translateX(-4px); }

.mini-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--teal-2);
  background: rgba(47, 143, 135, .13);
  font-weight: 950;
}

.mini-icon.bolt { color: #d9972f; background: rgba(246, 196, 83, .22); }

.mini-card strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.mini-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.mini-button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-top: 20px;
  min-height: 42px;
  border-radius: 13px;
  color: #241902;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(246, 196, 83, .18);
}

.floating-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  animation: badgeFloat 4.5s ease-in-out infinite;
}

.badge-1 { top: 90px; left: 10px; }
.badge-2 { right: -4px; top: 220px; animation-delay: .8s; }
.badge-3 { left: 28px; bottom: 106px; animation-delay: 1.4s; }

.hero-content {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--teal-2); }

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .95;
  letter-spacing: -.07em;
  font-weight: 900;
}

.hero-trades {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  color: #fff9e8;
  font-size: clamp(28px, 3.25vw, 48px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.hero-trades::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: min(210px, 68%);
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  box-shadow: 0 0 28px rgba(246, 196, 83, .35);
}

.hero-text {
  margin: 32px 0 0;
  max-width: 660px;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.90);
  font-size: 15px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
}

.hero-list span {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 196, 83, .95);
  color: #241902;
  font-size: 13px;
  font-weight: 950;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.055);
  font-size: 13px;
  font-weight: 750;
}

.hero-proof strong { color: var(--white); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  font-size: 16px;
}

.btn-primary {
  color: #241902;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 32px rgba(246, 196, 83, .22), inset 0 1px 0 rgba(255,255,255,.45);
}

.btn-primary:hover { box-shadow: 0 26px 48px rgba(246, 196, 83, .30); }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.58);
  background: rgba(255, 255, 255, .105);
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

.service-preview,
.realisations,
.about,
.reviews,
.contact { padding: 92px 0; }

.service-preview {
  position: relative;
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 143, 135, .10), transparent 28rem),
    linear-gradient(180deg, #fff, var(--paper-2));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.compact {
  max-width: 850px;
  text-align: left;
  margin-inline: 0;
}

.section-heading h2,
.section-line h2,
.about h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 950;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: 380px;
  padding: 26px;
  border: 1px solid rgba(20, 27, 26, .10);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 54px rgba(20, 27, 26, .09);
  transform: translateZ(0);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 26% 10%, rgba(246, 196, 83, .23), transparent 24rem);
  transition: opacity .28s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 4px;
  border-radius: 99px 99px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(.25);
  transform-origin: left;
  opacity: .55;
  transition: transform .28s var(--ease), opacity .28s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 32px 84px rgba(20, 27, 26, .15);
  border-color: rgba(47, 143, 135, .28);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); opacity: 1; }

.service-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #241902;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 15px 30px rgba(246, 196, 83, .22);
  font-size: 29px;
  font-weight: 950;
}

.service-copy { position: relative; z-index: 1; }

.service-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.04em;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.service-card li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.service-card li::before {
  content: "✓";
  color: var(--teal-2);
  font-weight: 950;
}

.service-visual {
  position: relative;
  z-index: 1;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid rgba(20, 27, 26, .08);
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
}

.electric {
  background:
    radial-gradient(circle at 28% 30%, rgba(246, 196, 83, .95) 0 10px, transparent 11px),
    radial-gradient(circle at 62% 22%, rgba(246, 196, 83, .72) 0 7px, transparent 8px),
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.06)),
    linear-gradient(135deg, #e7dbc6, #786a5d);
}

.electric::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 30px;
  top: 68px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1d2725, transparent 42%, #1d2725 43% 60%, transparent 61%);
  box-shadow: 0 28px 0 rgba(29,39,37,.75);
}

.plumbing {
  background:
    radial-gradient(circle at 70% 26%, rgba(255,255,255,.62) 0 34px, transparent 35px),
    linear-gradient(135deg, rgba(255,255,255,.56), rgba(255,255,255,.06)),
    linear-gradient(135deg, #f0f3f0, #839996);
}

.plumbing::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 36px;
  width: 60px;
  height: 64px;
  border: 10px solid #202a28;
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}

.woodwork {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 4px, transparent 4px 28px),
    linear-gradient(135deg, #d5a46a, #7b4825);
}

.woodwork::before {
  content: "";
  position: absolute;
  inset: 34px 24px auto;
  height: 76px;
  border-radius: 18px;
  border: 8px solid rgba(38, 25, 15, .72);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.12);
}

.trust-strip {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.86);
  border-block: 1px solid var(--line);
  box-shadow: 0 14px 50px rgba(20, 27, 26, .06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background .25s ease, transform .25s var(--ease);
}

.trust-item:last-child { border-right: 0; }

.trust-item:hover {
  background: rgba(246, 196, 83, .07);
  transform: translateY(-2px);
}

.trust-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 27, 26, .10);
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #f6efe0);
  box-shadow: 0 12px 24px rgba(20,27,26,.08);
  font-size: 29px;
}

.trust-item strong,
.trust-item small { display: block; }

.trust-item strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.trust-item small {
  margin-top: 5px;
  color: var(--muted);
}

.stars { color: var(--gold-2); letter-spacing: 1px; }

.realisations {
  background:
    radial-gradient(circle at 100% 12%, rgba(246, 196, 83, .11), transparent 28rem),
    linear-gradient(180deg, var(--paper-2), #fff);
}

.section-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-line a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(47, 143, 135, .18);
  border-radius: 999px;
  color: var(--teal-2);
  background: rgba(47, 143, 135, .07);
  font-weight: 950;
  transition: transform .22s var(--ease), background .22s ease;
}

.section-line a:hover {
  transform: translateX(4px);
  background: rgba(47, 143, 135, .12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.12fr .94fr .94fr;
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .28s var(--ease), box-shadow .28s ease;
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.project-card::before {
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform .65s var(--ease), filter .65s ease;
}

.project-card::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.76)),
    radial-gradient(circle at top right, rgba(246, 196, 83, .24), transparent 17rem);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card:hover::before {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.project-electric::before {
  background:
    radial-gradient(circle at 22% 24%, rgba(246, 196, 83, .95) 0 13px, transparent 14px),
    radial-gradient(circle at 60% 18%, rgba(246, 196, 83, .8) 0 9px, transparent 10px),
    linear-gradient(135deg, #e7d8bd, #5e4b42);
}

.project-bath::before {
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, .54) 0 58px, transparent 59px),
    linear-gradient(135deg, #ebe8e1, #637c78);
}

.project-wood::before {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 4px, transparent 4px 30px),
    linear-gradient(135deg, #c99155, #53331c);
}

.project-label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #241902;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.project-card p {
  margin: 9px 0 0;
  max-width: 400px;
  color: rgba(255,255,255,.84);
}

.about {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.about::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 143, 135, .25), transparent 64%);
}

.about::after {
  content: "";
  position: absolute;
  inset: auto auto -25% -12%;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 196, 83, .18), transparent 64%);
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.17fr .83fr;
  gap: 28px;
}

.about-card,
.process-card {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.055));
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
  backdrop-filter: blur(14px);
}

.about-card { padding: 42px; }
.process-card { padding: 36px; }

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(246, 196, 83, .22);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(246, 196, 83, .10);
  font-size: 13px;
  font-weight: 950;
}

.about h2 { color: var(--white); }

.about p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.75);
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stats div {
  min-height: 126px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background: rgba(255,255,255,.065);
  transition: transform .24s var(--ease), background .24s ease;
}

.stats div:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.095);
}

.stats strong,
.stats span {
  display: inline-block;
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.stats small {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.72);
}

.process-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.process-card ol {
  counter-reset: step;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card li {
  counter-increment: step;
  position: relative;
  padding: 1px 0 1px 56px;
}

.process-card li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #241902;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 950;
}

.process-card strong,
.process-card span { display: block; }

.process-card span {
  margin-top: 2px;
  color: rgba(255,255,255,.70);
}

.reviews {
  background:
    radial-gradient(circle at 50% 0, rgba(47, 143, 135, .10), transparent 30rem),
    linear-gradient(180deg, #fff, var(--paper-2));
}

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

.review-card {
  position: relative;
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(20, 27, 26, .10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(20, 27, 26, .08);
  transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 22px;
  color: rgba(246, 196, 83, .35);
  font-size: 84px;
  line-height: 1;
  font-family: Georgia, serif;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 196, 83, .35);
  box-shadow: 0 26px 70px rgba(20, 27, 26, .12);
}

.review-card blockquote {
  position: relative;
  margin: 0;
  color: #3f4744;
  font-size: 17px;
}

.review-card figcaption {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 950;
}

.review-card span {
  display: block;
  margin-top: 5px;
  color: var(--gold-2);
  letter-spacing: 2px;
}

.contact {
  background:
    radial-gradient(circle at 0 20%, rgba(246, 196, 83, .12), transparent 27rem),
    #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 36px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-items {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-items a,
.contact-items span {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 16px 13px 50px;
  border: 1px solid rgba(20, 27, 26, .10);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(246, 241, 231, .74);
  font-weight: 900;
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease;
}

.contact-items a::before,
.contact-items span::before {
  position: absolute;
  left: 16px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #241902;
  background: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.contact-items a[href^="tel"]::before { content: "☎"; }
.contact-items a[href^="mailto"]::before { content: "@"; }
.contact-items span::before { content: "⌂"; }

.contact-items a:hover {
  transform: translateX(5px);
  border-color: rgba(47, 143, 135, .28);
  background: #fff;
}

.quote-form {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(20, 27, 26, .10);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(251,248,241,.92));
  box-shadow: var(--shadow);
}

.quote-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 27, 26, .14);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255,255,255,.88);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

input,
select {
  height: 54px;
  padding: 0 15px;
}

textarea {
  min-height: 144px;
  resize: vertical;
  padding: 14px 15px;
}

input:hover,
select:hover,
textarea:hover { background: #fff; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 143, 135, .14), inset 0 1px 0 rgba(255,255,255,.9);
}

input.is-error,
select.is-error,
textarea.is-error {
  border-color: var(--danger);
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(198, 70, 70, .10);
}

.checkbox-line {
  grid-template-columns: 22px 1fr !important;
  align-items: start;
  margin: 18px 0 21px;
  color: var(--muted) !important;
  font-weight: 700 !important;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.full { width: 100%; }

.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.form-note.success { color: var(--teal-2); }
.form-note.error { color: #a92b2b; }

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 24px;
  color: rgba(255,255,255,.76);
  background: #121918;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -20rem auto auto -16rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 143, 135, .20), transparent 62%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .7fr .95fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-logo { width: 248px; filter: brightness(3.1) grayscale(.1); }

.site-footer p { max-width: 430px; }

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 10px;
  transition: color .2s ease, transform .2s ease;
}

.site-footer a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.back-top {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 11px 15px;
  color: var(--white);
  background: rgba(255,255,255,.075);
  font-weight: 900;
  transition: transform .2s var(--ease), background .2s ease;
}

.back-top:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.13);
}

.legal-page {
  min-height: calc(100vh - 86px);
  padding: 88px 0;
  background:
    radial-gradient(circle at 100% 0, rgba(246, 196, 83, .14), transparent 28rem),
    #fff;
}

.legal-page .container { max-width: 890px; }

.legal-page h1 {
  margin: 20px 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 60px);
  line-height: .98;
  letter-spacing: -.055em;
}

.legal-page h2 {
  margin: 36px 0 10px;
  color: var(--ink);
}

.legal-page p { color: var(--muted); }

.legal-page a {
  display: inline-flex;
  color: var(--teal-2);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal:nth-child(2),
.project-card.reveal:nth-child(2),
.review-card.reveal:nth-child(2),
.trust-item.reveal:nth-child(2) { transition-delay: .08s; }
.service-card.reveal:nth-child(3),
.project-card.reveal:nth-child(3),
.review-card.reveal:nth-child(3),
.trust-item.reveal:nth-child(3) { transition-delay: .16s; }
.trust-item.reveal:nth-child(4) { transition-delay: .24s; }

@keyframes phoneFloat {
  0%, 100% { transform: rotate(-5deg) rotateY(7deg) translateY(0); }
  50% { transform: rotate(-3.5deg) rotateY(5deg) translateY(-13px); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slowSpin { to { transform: rotate(360deg); } }

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-5%, 3%, 0) scale(1.08); }
}

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto auto; }
  .brand img { width: 226px; }
  .nav-toggle { display: block; justify-self: end; }
  .header-cta { display: none; }

  .main-nav {
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(19, 26, 25, .96);
    box-shadow: 0 25px 70px rgba(0,0,0,.26);
  }

  .main-nav.is-open { display: flex; }

  .nav-link {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 16px;
  }

  .nav-link::after { left: 16px; right: auto; bottom: 7px; transform: scaleX(.35); }
  .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 62px 0 76px;
  }

  .hero-content { order: 1; max-width: 850px; }
  .phone-wrap { order: 2; min-height: 470px; }
  .phone { width: 246px; height: 472px; }

  .service-cards,
  .review-grid,
  .gallery-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .service-card { min-height: 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-copy { position: static; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 74px; gap: 14px; }
  .brand img { width: 190px; }
  .main-nav { top: 74px; left: 14px; right: 14px; }

  .hero { min-height: 0; }
  .hero-grid { min-height: 0; padding: 46px 0 58px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-trades { font-size: clamp(28px, 8.5vw, 39px); }
  .hero-text { font-size: 16px; }
  .hero-list { grid-template-columns: 1fr; font-size: 15px; }
  .hero-proof { align-items: stretch; }
  .hero-proof span { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }

  .phone-wrap { min-height: 398px; }
  .phone-wrap::before { width: 305px; height: 305px; }
  .phone { width: 208px; height: 408px; }
  .phone-screen { padding: 28px 13px 15px; }
  .phone-screen h2 { font-size: 19px; }
  .mini-card { grid-template-columns: 34px 1fr; padding: 9px; }
  .mini-icon { width: 34px; height: 34px; }
  .floating-badge { min-height: 36px; padding: 0 11px; font-size: 12px; }
  .badge-1 { top: 52px; left: 0; }
  .badge-2 { top: 186px; right: 0; }
  .badge-3 { bottom: 72px; left: 2px; }

  .service-preview,
  .realisations,
  .about,
  .reviews,
  .contact { padding: 62px 0; }

  .section-heading,
  .section-heading.compact { text-align: left; }
  .section-heading h2,
  .section-line h2,
  .about h2,
  .contact h2 { font-size: clamp(31px, 9vw, 43px); }

  .service-card,
  .about-card,
  .process-card,
  .quote-form,
  .review-card { padding: 24px; border-radius: 26px; }

  .service-visual { min-height: 142px; }
  .trust-grid,
  .form-row.two,
  .stats,
  .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-line { align-items: start; flex-direction: column; }
  .project-card { min-height: 286px; }
  .footer-bottom { flex-direction: column; align-items: start; }
}

@media (max-width: 420px) {
  .brand img { width: 166px; }
  .nav-toggle { width: 44px; height: 44px; border-radius: 14px; }
  .hero h1 { letter-spacing: -.06em; }
  .floating-badge { display: none; }
  .phone { transform: rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }
}


/* === FAS-Multitec branding layer === */
:root {
  --ink: #061612;
  --ink-2: #0b211a;
  --ink-3: #16342a;
  --paper: #f7f3ea;
  --paper-2: #fffaf0;
  --text: #17221e;
  --muted: #65736d;
  --line: rgba(6, 22, 18, .12);
  --gold: #d9a233;
  --gold-2: #b6781e;
  --teal: #006b46;
  --teal-2: #004d36;
  --shadow-sm: 0 10px 30px rgba(5, 16, 13, .10);
  --shadow: 0 28px 70px rgba(5, 16, 13, .17);
  --shadow-lg: 0 42px 120px rgba(5, 16, 13, .28);
}

body {
  background:
    radial-gradient(circle at top left, rgba(217, 162, 51, .12), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(0, 107, 70, .10), transparent 28rem),
    linear-gradient(180deg, #fffaf2 0, var(--paper) 42rem, #fff 100%);
}

.site-header {
  background: rgba(6, 22, 18, .86);
  border-bottom-color: rgba(217, 162, 51, .12);
}

.site-header.is-scrolled { background: rgba(6, 22, 18, .96); }

.brand {
  padding: 8px 12px;
  border: 1px solid rgba(217, 162, 51, .20);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .86);
}

.brand img {
  width: 255px;
  filter: none;
}

.hero-bg {
  background-image: url("assets/fas-theme.jpg");
  background-position: center;
  background-size: cover;
  opacity: .74;
}

.hero::before {
  background: radial-gradient(circle, rgba(217, 162, 51, .30), transparent 62%);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(4, 12, 10, .62), rgba(4, 12, 10, .34) 45%, rgba(4, 12, 10, .72)),
    radial-gradient(circle at var(--mouse-x, 68%) var(--mouse-y, 30%), rgba(217, 162, 51, .18), transparent 24rem);
}

.mini-logo {
  background: url("assets/favicon.png") center / contain no-repeat;
  box-shadow: none;
}

.phone-screen {
  background:
    linear-gradient(180deg, rgba(6, 22, 18, .94), rgba(6, 22, 18, .78)),
    url("assets/fas-theme.jpg") center / cover no-repeat;
}

.btn-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, #0bbf6a, #07854e);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 18px 30px rgba(7, 133, 78, .28), inset 0 1px 0 rgba(255,255,255,.28);
}

.btn-whatsapp:hover {
  box-shadow: 0 24px 42px rgba(7, 133, 78, .36), inset 0 1px 0 rgba(255,255,255,.28);
}

.contact-items .whatsapp-link {
  color: #ffffff;
  background: linear-gradient(135deg, #0aa95f, #087246);
  border-color: rgba(7, 133, 78, .18);
}

.contact-items .whatsapp-link:hover { transform: translateX(4px); }

.footer-logo {
  width: 275px;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(217, 162, 51, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  filter: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .20);
}

.footer-link {
  display: block;
  width: fit-content;
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .76);
  background: transparent;
  font: inherit;
  text-align: left;
  transition: color .2s ease, transform .2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold);
  transform: translateX(3px);
  outline: none;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #0bbf6a, #07854e);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28), 0 0 0 8px rgba(10, 169, 95, .12);
  transition: transform .22s var(--ease), box-shadow .22s ease;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .34), 0 0 0 10px rgba(10, 169, 95, .16);
}

body.modal-open { overflow: hidden; }

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 6, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid rgba(217, 162, 51, .22);
  border-radius: 30px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0, rgba(217, 162, 51, .16), transparent 22rem),
    #fffdf8;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .38);
  transform: translateY(14px) scale(.985);
  transition: transform .24s var(--ease);
}

.modal.is-open .modal-card { transform: translateY(0) scale(1); }

.modal-scroll {
  max-height: inherit;
  overflow: auto;
  padding: clamp(26px, 5vw, 46px);
}

.modal-kicker {
  margin: 0 0 10px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.modal-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
}

.modal-card h3 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.modal-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.modal-card strong { color: var(--ink); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 22, 18, .12);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  font-size: 28px;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: #fff;
  background: var(--teal-2);
  outline: none;
}

@media (max-width: 1180px) {
  .brand img { width: 230px; }
}

@media (max-width: 760px) {
  .brand { padding: 7px 9px; border-radius: 15px; }
  .brand img { width: 182px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .modal { padding: 14px; }
  .modal-card { border-radius: 24px; max-height: calc(100vh - 28px); }
  .modal-scroll { padding: 30px 22px; }
}

@media (max-width: 420px) {
  .brand img { width: 158px; }
}
