:root {
  --navy: #071f36;
  --navy-2: #0b2d4c;
  --navy-3: #103b62;
  --yellow: #ffd21a;
  --yellow-deep: #f1b900;
  --white: #ffffff;
  --ink: #11273b;
  --muted: #617386;
  --line: rgba(7, 31, 54, .12);
  --surface: #f7f9fb;
  --shadow: 0 24px 60px rgba(6, 31, 54, .14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(6, 27, 47, .95);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  padding: 8px 0;
}
.nav-shell {
  width: min(1240px, calc(100% - 30px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  width: 180px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
  flex: 0 0 auto;
}
.brand img { width: 100%; aspect-ratio: 1.02; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 12px; }
.main-nav a {
  padding: 10px 13px;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  transition: .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow); background: rgba(255, 255, 255, .07); }
.main-nav .nav-cta {
  background: var(--yellow);
  color: var(--navy);
  padding-inline: 20px;
}
.main-nav .nav-cta:hover { color: var(--navy); background: #ffe35a; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: .25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section-dark { background: var(--navy); color: var(--white); }
.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 170px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% 0 auto;
  width: 650px;
  height: 260px;
  background: var(--yellow);
  opacity: .96;
  transform: rotate(-8deg) skewX(-10deg) translateY(55%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  right: -180px;
  top: 90px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 340px; height: 340px; background: rgba(255,210,26,.12); left: -130px; top: 250px; }
.hero-glow-two { width: 420px; height: 420px; background: rgba(45,152,255,.11); right: 18%; bottom: -180px; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .82rem;
  font-weight: 800;
  color: rgba(255,255,255,.78);
}
.eyebrow span { color: var(--yellow); }
.hero h1 {
  margin: 20px 0 20px;
  max-width: 780px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 900;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  position: relative;
  display: inline;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  height: 9px;
  left: 2px;
  right: 0;
  bottom: -.12em;
  background: var(--yellow);
  border-radius: 50%;
  transform: rotate(-1.5deg);
  opacity: .85;
}
.hero-lead { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 15px;
  font-weight: 850;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 16px 34px rgba(255,210,26,.2); }
.btn-primary:hover { background: #ffe05d; box-shadow: 0 18px 36px rgba(255,210,26,.27); }
.btn-outline { border: 1px solid rgba(255,255,255,.23); color: #fff; background: rgba(255,255,255,.045); }
.btn-outline:hover { background: rgba(255,255,255,.09); }
.btn-large { min-height: 58px; padding-inline: 30px; }
.hero-points { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 28px; }
.hero-points span {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .84rem;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.03);
}
.hero-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.house-card {
  width: min(410px, 100%);
  height: 390px;
  position: relative;
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 36px 80px rgba(0,0,0,.28);
  transform: rotate(2deg);
  overflow: hidden;
}
.house-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .07;
  left: -100px;
  bottom: -100px;
}
.house-body {
  position: absolute;
  width: 215px;
  height: 180px;
  background: #fff;
  left: 92px;
  top: 150px;
  border-radius: 5px 5px 10px 10px;
  box-shadow: inset 0 -20px 40px rgba(8,31,53,.08);
}
.roof { position: absolute; height: 22px; background: var(--yellow); top: 116px; z-index: 3; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.roof-left { width: 178px; left: 54px; transform: rotate(-37deg); border-radius: 20px 4px 4px 20px; }
.roof-right { width: 178px; right: 54px; transform: rotate(37deg); border-radius: 4px 20px 20px 4px; }
.window-grid { position: absolute; width: 66px; height: 66px; left: 34px; top: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.window-grid i { background: var(--navy); border-radius: 4px; }
.door { position: absolute; right: 34px; bottom: 0; width: 66px; height: 100px; background: var(--navy-2); border-radius: 8px 8px 0 0; }
.tool { position: absolute; z-index: 5; }
.tool-handle { width: 24px; height: 128px; background: #fff; border-radius: 14px; transform: rotate(35deg); top: 42px; right: 72px; }
.tool-head { width: 88px; height: 28px; background: #fff; border-radius: 10px; transform: rotate(-6deg); top: 28px; right: 31px; }
.spark { position: absolute; color: var(--yellow); font-size: 2.2rem; }
.spark-one { top: 37px; left: 48px; }
.spark-two { bottom: 46px; right: 34px; font-size: 1.5rem; }
.visual-note {
  position: absolute;
  right: -8px;
  bottom: 25px;
  background: var(--yellow);
  color: var(--navy);
  padding: 16px 26px;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 13px 4px 13px 4px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 34px rgba(0,0,0,.25);
}

.mold-banner { background: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.mold-banner::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 110px;
  background: var(--yellow);
  left: -130px;
  top: 84px;
  transform: rotate(-4deg) skewX(-12deg);
  opacity: .9;
}
.mold-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.brush-label, .kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 900;
  color: var(--navy-2);
}
.brush-label { background: var(--navy); color: #fff; padding: 7px 13px; transform: rotate(-2deg); }
.mold-copy h2, .section-heading h2, .window-feature h2, .contact h2 {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 900;
}
.mold-copy h2 em { font-style: normal; color: var(--yellow-deep); }
.mold-copy p { margin: 22px 0 0; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 750; }
.mold-side { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center; }
.window-frame {
  aspect-ratio: 1;
  padding: 10px;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border: 8px solid #dfe8ed;
  box-shadow: var(--shadow);
}
.window-frame div { background: linear-gradient(145deg, #aee4ff, #ecf9ff 48%, #92c7e4); }
.mold-service strong { display: block; font-size: 1.5rem; line-height: 1.15; }
.mold-service a { display: inline-flex; margin-top: 18px; font-weight: 850; color: var(--navy); border-bottom: 3px solid var(--yellow); }

.services { background: var(--surface); padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading h2 { color: var(--navy); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  min-height: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 42px rgba(9, 39, 64, .07);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -38px; bottom: -38px; background: currentColor; opacity: .075; }
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: currentColor;
  margin-bottom: 24px;
  box-shadow: 0 12px 28px rgba(7,31,54,.12);
}
.service-icon svg { width: 36px; height: 36px; fill: #fff; }
.service-card h3 { margin: 0 0 12px; font-size: 1.35rem; color: var(--navy); }
.service-card p { margin: 0; color: var(--muted); }
.service-blue { color: #0e4c82; }
.service-sky { color: #1c94cc; }
.service-yellow { color: #f3c400; }
.service-yellow .service-icon svg { fill: #071f36; }
.service-purple { color: #7f26a9; }
.service-green { color: #0ca74b; }
.service-red { color: #d91227; }
.service-brown { color: #96511f; }

.window-feature { padding: 110px 0; position: relative; overflow: hidden; }
.window-feature::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background:var(--yellow); opacity:.05; right:-120px; top:-80px; }
.window-feature-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.feature-art { display: grid; place-items: center; }
.aluminum-window {
  width: min(470px, 100%);
  aspect-ratio: 1.25;
  background: #d8e0e4;
  border: 16px solid #c6d0d5;
  box-shadow: 0 30px 70px rgba(0,0,0,.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  transform: perspective(800px) rotateY(8deg);
}
.aluminum-window .pane { background: linear-gradient(145deg, #7fc8f0, #def4ff 42%, #86bddb); position: relative; overflow: hidden; }
.aluminum-window .pane::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.65) 32%,transparent 35%); transform:translateX(-60%); }
.kicker.light { color: var(--yellow); }
.feature-copy h2 { max-width: 660px; margin-bottom: 30px; }

.advantages { padding: 110px 0; background: #fff; }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.advantage {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: #fff;
  min-height: 190px;
  box-shadow: 0 12px 35px rgba(7,31,54,.06);
}
.adv-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.65rem;
  margin-bottom: 26px;
}
.advantage h3 { margin: 0; font-size: 1.15rem; color: var(--navy); }

.contact { padding: 0 0 110px; background: #fff; }
.contact-card {
  background: linear-gradient(135deg, var(--navy), #0a3457);
  color: #fff;
  border-radius: 34px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  box-shadow: 0 28px 70px rgba(7,31,54,.2);
  position: relative;
  overflow: hidden;
}
.contact-card::after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; border:45px solid rgba(255,210,26,.1); right:-70px; bottom:-100px; }
.contact-card h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); max-width: 720px; }
.contact-card p { font-size: 1.15rem; color: rgba(255,255,255,.78); }
.contact-card strong { color: var(--yellow); }
.contact-card .btn { position: relative; z-index: 2; flex: 0 0 auto; }

.site-footer { background: #05192b; color: #fff; padding: 55px 0; }
.footer-grid { display: grid; grid-template-columns: 150px 1fr auto; gap: 34px; align-items: center; }
.footer-brand { border-radius: 16px; overflow: hidden; }
.footer-copy { display: grid; gap: 5px; }
.footer-copy strong { font-size: 1.2rem; }
.footer-copy span { color: rgba(255,255,255,.68); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer-nav a { color: rgba(255,255,255,.74); font-weight: 700; }
.footer-nav a:hover { color: var(--yellow); }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }

.reveal { opacity: 1; transform: none; }
.reveal.motion-enter { animation: revealUp .62s ease both; }
@keyframes revealUp {
  from { opacity: .01; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .brand { width: 145px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 15px;
    right: 15px;
    display: grid;
    background: rgba(6,27,47,.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 22px 50px rgba(0,0,0,.28);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 14px; }
  .hero { min-height: auto; padding-top: 180px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-visual { min-height: 430px; }
  .house-card { width: 390px; }
  .mold-grid, .window-feature-grid { grid-template-columns: 1fr; gap: 45px; }
  .mold-side { grid-template-columns: 170px 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 130px 1fr; }
  .footer-nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { padding-top: 10px; }
  .nav-shell { width: calc(100% - 20px); }
  .brand { width: 118px; border-radius: 14px; }
  .hero { padding: 145px 0 70px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-actions .btn { width: 100%; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-points span { text-align: center; }
  .hero-visual { min-height: 340px; }
  .house-card { width: 300px; height: 300px; border-radius: 32px; }
  .house-body { width: 160px; height: 135px; left: 70px; top: 120px; }
  .roof { top: 91px; height: 18px; }
  .roof-left { width: 132px; left: 43px; }
  .roof-right { width: 132px; right: 43px; }
  .window-grid { width: 50px; height: 50px; left: 24px; top: 26px; gap: 4px; }
  .door { width: 50px; height: 75px; right: 23px; }
  .tool-handle { right: 55px; top: 35px; height: 88px; width: 18px; }
  .tool-head { width: 66px; height: 22px; right: 24px; top: 25px; }
  .visual-note { right: 0; bottom: 12px; font-size: .98rem; padding: 12px 16px; }
  .mold-banner, .services, .window-feature, .advantages { padding: 78px 0; }
  .mold-banner::before { width: 360px; top: 70px; left: -150px; }
  .mold-side { grid-template-columns: 1fr; }
  .window-frame { width: 180px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .advantages-grid { grid-template-columns: 1fr; }
  .contact { padding-bottom: 78px; }
  .contact-card { padding: 34px 24px; border-radius: 26px; }
  .contact-card .btn { width: 100%; }
  .footer-grid { grid-template-columns: 100px 1fr; gap: 22px; }
  .footer-nav { gap: 10px 16px; }
  .whatsapp-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
