:root {
  --navy-950: #031229;
  --navy-900: #061b3a;
  --navy-800: #0a2856;
  --blue-700: #075fce;
  --blue-600: #0b78ff;
  --blue-500: #2b8cff;
  --blue-200: #bcdcff;
  --ice: #f4f8fd;
  --white: #ffffff;
  --ink: #13213a;
  --muted: #64748b;
  --line: #dbe7f5;
  --gold: #ffbf47;
  --green: #25d366;
  --danger: #c73535;
  --shadow-sm: 0 8px 24px rgba(3, 18, 41, .08);
  --shadow-md: 0 20px 60px rgba(3, 18, 41, .14);
  --shadow-lg: 0 32px 80px rgba(3, 18, 41, .24);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --max: 1200px;
  --header-h: 82px;
}

* { 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;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue-200); color: var(--navy-950); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 99px; background: var(--blue-600); }
.section-title {
  margin: 0;
  max-width: 820px;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-copy { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head .section-copy { margin: 0; max-width: 440px; }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 12px 18px; background: white; border-radius: 8px; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 16px; }

.announcement {
  background: var(--navy-950);
  color: #dce9f8;
  font-size: .82rem;
  font-weight: 700;
}
.announcement .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement a { color: white; }
.announcement strong { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(219, 231, 245, .8);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  position: relative;
  width: 47px;
  height: 47px;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-900));
  box-shadow: 0 12px 24px rgba(11, 120, 255, .24);
}
.brand-mark::before,
.brand-mark::after { content: ""; position: absolute; background: white; border-radius: 4px; }
.brand-mark::before { width: 8px; height: 26px; left: 12px; top: 11px; transform: skewY(-20deg); }
.brand-mark::after { width: 8px; height: 20px; right: 11px; top: 8px; transform: skewY(20deg); box-shadow: -10px 8px 0 #fff; }
.brand-copy { line-height: .95; }
.brand-copy strong { display: block; color: var(--navy-950); font-size: 1.1rem; letter-spacing: .08em; }
.brand-copy span { color: var(--blue-700); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 11px 13px;
  border-radius: 10px;
  color: #33445f;
  font-size: .91rem;
  font-weight: 780;
  transition: .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--ice); color: var(--blue-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 13px; background: var(--ice); color: var(--navy-950); }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 99px; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); color: white; box-shadow: 0 12px 26px rgba(11,120,255,.24); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(11,120,255,.3); }
.btn-dark { background: var(--navy-950); color: white; }
.btn-light { background: white; color: var(--navy-950); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--line); color: var(--navy-900); background: white; }
.btn-whatsapp { background: var(--green); color: #05270f; }
.btn-sm { min-height: 42px; padding: 10px 16px; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 116px);
  display: grid;
  align-items: center;
  background: var(--navy-950);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 22%, rgba(43, 140, 255, .24), transparent 32%),
    linear-gradient(90deg, rgba(3,18,41,.98) 0%, rgba(3,18,41,.91) 47%, rgba(3,18,41,.25) 74%, rgba(3,18,41,.08) 100%),
    url('../images/hero-house.webp') center right / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #edf6ff;
  font-size: .83rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}
.hero-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(37,211,102,.14); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.2rem, 8vw, 7.7rem); line-height: .86; letter-spacing: -.07em; }
.hero h1 span { display: block; color: #7ebaff; }
.hero p { max-width: 650px; margin: 26px 0 0; color: #cddbed; font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 34px 0 0; padding: 0; list-style: none; color: #eef6ff; font-size: .9rem; font-weight: 800; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(37,211,102,.15); color: #65ef96; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 65px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(15px);
}
.metric { min-height: 114px; padding: 22px; background: rgba(3,18,41,.64); }
.metric strong { display: block; font-size: 1.55rem; line-height: 1; }
.metric span { display: block; margin-top: 9px; color: #afc2da; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.trust-strip { position: relative; z-index: 5; margin-top: -28px; }
.trust-card { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-md); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e9f3ff; color: var(--blue-700); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; color: var(--navy-950); font-size: .96rem; }
.trust-item span { display: block; color: var(--muted); font-size: .78rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(11,120,255,.08), rgba(11,120,255,.02));
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: #b9d7f8; box-shadow: var(--shadow-md); }
.service-card:hover::after { transform: scale(1.22); }
.service-icon { position: relative; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; color: white; background: linear-gradient(145deg, var(--blue-600), var(--navy-800)); box-shadow: 0 14px 26px rgba(11,120,255,.2); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { position: relative; z-index: 2; margin: 26px 0 10px; color: var(--navy-950); font-size: 1.35rem; line-height: 1.15; }
.service-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); }
.service-card a { position: absolute; z-index: 3; left: 28px; bottom: 25px; color: var(--blue-700); font-size: .87rem; font-weight: 900; }
.service-card a::after { content: " →"; }
.service-card.featured { grid-column: span 2; color: white; border-color: transparent; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.service-card.featured h3 { color: white; }
.service-card.featured p { max-width: 500px; color: #c8d8ea; }
.service-card.featured a { color: #89c3ff; }
.service-card.featured .service-icon { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }

.dark-section { position: relative; overflow: hidden; background: var(--navy-950); color: white; }
.dark-section::before { content: ""; position: absolute; inset: 0; opacity: .4; background: radial-gradient(circle at 80% 20%, rgba(11,120,255,.35), transparent 34%), url('../images/hero-texture.webp') center/cover; }
.dark-section > .container { position: relative; z-index: 1; }
.dark-section .section-title { color: white; }
.dark-section .section-copy { color: #bacce2; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 45px; }
.process-step { position: relative; padding: 25px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.process-step span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--blue-600); font-weight: 900; }
.process-step h3 { margin: 20px 0 8px; font-size: 1.1rem; }
.process-step p { margin: 0; color: #b9cade; font-size: .9rem; }

.split { display: grid; grid-template-columns: 1.03fr .97fr; gap: 72px; align-items: center; }
.image-stack { position: relative; min-height: 550px; }
.image-card { position: absolute; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card.main { inset: 0 15% 8% 0; }
.image-card.small { right: 0; bottom: 0; width: 48%; height: 46%; border: 8px solid white; }
.image-badge { position: absolute; left: 24px; bottom: 24px; padding: 16px 18px; border-radius: 16px; background: rgba(3,18,41,.88); color: white; backdrop-filter: blur(10px); }
.image-badge strong { display: block; font-size: 1.6rem; }
.image-badge span { font-size: .78rem; color: #bed0e4; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.feature-list { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: #40516a; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: #e7f3ff; color: var(--blue-700); font-weight: 900; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.project-card { position: relative; min-height: 310px; overflow: hidden; border-radius: 22px; background: var(--navy-900); box-shadow: var(--shadow-sm); cursor: pointer; }
.project-card:nth-child(1), .project-card:nth-child(4) { grid-column: span 7; }
.project-card:nth-child(2), .project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(n+5) { grid-column: span 4; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3,18,41,.9)); }
.project-card:hover img { transform: scale(1.055); }
.project-caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; color: white; }
.project-caption span { color: #94c6ff; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.project-caption h3 { margin: 4px 0 0; font-size: 1.15rem; }
.project-zoom { position: absolute; z-index: 3; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.9); color: var(--navy-900); box-shadow: var(--shadow-sm); }

.before-after { position: relative; overflow: hidden; min-height: 520px; border-radius: 28px; background: var(--navy-900); box-shadow: var(--shadow-md); }
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-after .after-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 3px solid white; background: url('../images/bathroom-after.webp') center / cover no-repeat; }
.before-after .after-wrap img { display: none; }
.before-after input { position: absolute; z-index: 5; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; }
.before-after .handle { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border: 3px solid white; border-radius: 50%; background: var(--blue-600); color: white; box-shadow: var(--shadow-md); pointer-events: none; }
.ba-label { position: absolute; z-index: 4; top: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(3,18,41,.78); color: white; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.ba-label.before { right: 18px; }
.ba-label.after { left: 18px; }

.quote-band { padding: 38px 0; background: var(--blue-600); color: white; }
.quote-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.quote-band h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.02; letter-spacing: -.035em; }
.quote-band p { margin: 8px 0 0; color: #eaf4ff; }
.quote-band .btn-light { box-shadow: none; }

.page-hero { position: relative; overflow: hidden; padding: 105px 0 82px; background: var(--navy-950); color: white; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(11,120,255,.35), transparent 32%), linear-gradient(135deg, rgba(255,255,255,.04), transparent); }
.page-hero::after { content: ""; position: absolute; right: 7%; top: 18%; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 0; max-width: 780px; font-size: clamp(3rem, 7vw, 6rem); line-height: .92; letter-spacing: -.055em; }
.page-hero p { max-width: 680px; margin: 24px 0 0; color: #bfd0e5; font-size: 1.1rem; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 22px; color: #9fb4cd; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs a { color: #dcecff; }

.service-detail-list { display: grid; gap: 18px; }
.service-detail { display: grid; grid-template-columns: 82px 1fr auto; gap: 22px; align-items: center; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-sm); }
.service-detail .service-icon { width: 62px; height: 62px; }
.service-detail h2 { margin: 0; color: var(--navy-950); font-size: 1.25rem; }
.service-detail p { margin: 7px 0 0; color: var(--muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.tag { padding: 6px 9px; border-radius: 8px; background: var(--ice); color: var(--blue-700); font-size: .72rem; font-weight: 850; }

.faq-list { display: grid; gap: 13px; max-width: 900px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 8px 22px rgba(3,18,41,.05); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 0; background: white; color: var(--navy-950); text-align: left; font-weight: 850; }
.faq-question span:last-child { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--ice); color: var(--blue-700); font-size: 1.25rem; transition: transform .2s; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 40px; align-items: start; }
.contact-panel { padding: 32px; border-radius: 24px; background: var(--navy-950); color: white; box-shadow: var(--shadow-md); }
.contact-panel h2 { margin: 0; font-size: 2rem; }
.contact-panel > p { color: #b8cade; }
.contact-links { display: grid; gap: 12px; margin-top: 28px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.055); }
.contact-link i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-600); font-style: normal; }
.contact-link span { color: #afc1d8; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.contact-link strong { display: block; margin-top: 2px; color: white; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow-sm); }
.form-card h2 { margin: 0; color: var(--navy-950); font-size: 2rem; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #33445f; font-size: .82rem; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #ccdced; border-radius: 12px; background: white; color: var(--ink); outline: none; padding: 13px 14px; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(43,140,255,.12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }

.legal { max-width: 850px; }
.legal h2 { margin: 38px 0 12px; color: var(--navy-950); font-size: 1.45rem; }
.legal h3 { margin: 26px 0 8px; color: var(--navy-950); font-size: 1.1rem; }
.legal p, .legal li { color: #52637a; }
.legal ul { padding-left: 22px; }
.legal .legal-note { padding: 18px; border-left: 4px solid var(--blue-600); border-radius: 0 12px 12px 0; background: var(--ice); }

.footer { background: #020d1f; color: white; }
.footer-main { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1.05fr; gap: 45px; padding: 68px 0 45px; }
.footer .brand-copy strong { color: white; }
.footer-intro { margin: 20px 0 0; max-width: 340px; color: #9fb1c8; }
.footer h3 { margin: 0 0 16px; font-size: .9rem; text-transform: uppercase; letter-spacing: .11em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #aebfd3; font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-contact { display: grid; gap: 8px; color: #aebfd3; }
.footer-contact strong { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 20px 0 25px; border-top: 1px solid rgba(255,255,255,.09); color: #7f93ad; font-size: .78rem; }

.float-whatsapp { position: fixed; z-index: 900; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; min-height: 55px; padding: 10px 17px 10px 10px; border-radius: 999px; background: var(--green); color: #05270f; font-weight: 900; box-shadow: 0 20px 45px rgba(0,0,0,.25); transition: transform .2s; }
.float-whatsapp:hover { transform: translateY(-4px); }
.float-whatsapp i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.55); font-style: normal; font-size: 1.1rem; }

.dialog { width: min(900px, calc(100% - 30px)); max-height: 90vh; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #020d1f; color: white; box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(2,13,31,.8); backdrop-filter: blur(8px); }
.dialog img { width: 100%; max-height: 72vh; object-fit: contain; background: #020d1f; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; }
.dialog-bar strong { line-height: 1.2; }
.dialog-close { width: 39px; height: 39px; border: 0; border-radius: 11px; background: rgba(255,255,255,.11); color: white; font-size: 1.2rem; }

.toast { position: fixed; z-index: 2000; left: 50%; bottom: 30px; transform: translate(-50%, 130px); padding: 12px 18px; border-radius: 12px; background: var(--navy-950); color: white; box-shadow: var(--shadow-md); opacity: 0; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav { position: fixed; left: 18px; right: 18px; top: 126px; display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .hero::before { background: linear-gradient(90deg, rgba(3,18,41,.98), rgba(3,18,41,.82)), url('../images/hero-house.webp') center / cover; }
  .hero-content { max-width: 820px; }
  .split { gap: 42px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .announcement .container { min-height: 40px; }
  .announcement span:last-child { display: none; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 78px; padding-bottom: 68px; }
  .hero h1 { font-size: clamp(3.5rem, 15vw, 6.2rem); }
  .hero-metrics, .trust-card { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(odd), .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.13); }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .image-stack { order: -1; }
  .project-card, .project-card:nth-child(n) { grid-column: span 6; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-band-inner { align-items: start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child, .footer-main > div:last-child { grid-column: 1 / -1; }
  .service-detail { grid-template-columns: 68px 1fr; }
  .service-detail .btn { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .section-sm { padding: 50px 0; }
  .brand-copy strong { font-size: .95rem; }
  .brand-copy span { font-size: .7rem; }
  .brand-mark { width: 42px; height: 42px; }
  .hero .container { padding-top: 62px; }
  .hero h1 { font-size: clamp(3.3rem, 17vw, 5.1rem); }
  .hero p { font-size: .98rem; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .metric { min-height: 98px; padding: 18px; }
  .metric strong { font-size: 1.25rem; }
  .trust-card { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .trust-item:last-child { border-bottom: 0 !important; }
  .section-head { align-items: start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { grid-column: auto; min-height: 300px; }
  .process-grid { grid-template-columns: 1fr; }
  .image-stack { min-height: 430px; }
  .image-card.main { right: 8%; }
  .image-card.small { width: 54%; height: 42%; }
  .project-card, .project-card:nth-child(n) { grid-column: 1 / -1; min-height: 280px; }
  .before-after { min-height: 390px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card, .contact-panel { padding: 24px; }
  .page-hero { padding: 78px 0 62px; }
  .page-hero h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail .service-icon { width: 54px; height: 54px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main > div { grid-column: auto !important; }
  .footer-bottom { flex-direction: column; }
  .float-whatsapp { right: 14px; bottom: 14px; width: 55px; padding: 10px; overflow: hidden; }
  .float-whatsapp span { display: none; }
}

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