:root {
  --bg: #ffffff;
  --bg-soft: #eef2f7;
  --paper: #ffffff;
  --ink: #0f2238;
  --text: #3a4654;
  --muted: #6b7785;
  --line: #dde4ec;
  --dark: #0e2740;
  --dark-2: #143656;
  --accent: #1763a6;
  --accent-2: #114c80;
  --gold: #ef7d2e;
  --shadow: 0 18px 50px rgba(15, 34, 56, 0.14);
  --display: "Archivo", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  max-width: 880px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0 1.5rem;
  color: #fff;
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.scrolled,
body.menu-open .site-header {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.12);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(5, 15, 28, 0.16);
}

.brand-logo {
  width: 196px;
  height: auto;
  flex: none;
  display: block;
  transition: transform 220ms var(--ease);
}

.brand:hover .brand-logo {
  transform: translateY(-2px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav a {
  color: currentColor;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.88;
  text-transform: uppercase;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover {
  color: var(--accent);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 900;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.82rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(23, 99, 166, 0.28);
}

.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 25, 23, 0.28);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  min-height: 54px;
  padding: 1rem 1.55rem;
}

.full {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.92), rgba(23, 23, 23, 0.58) 50%, rgba(23, 23, 23, 0.22)),
    linear-gradient(180deg, rgba(23, 23, 23, 0.24), rgba(23, 23, 23, 0.82));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 2rem;
}

.hero-copy {
  color: #fff;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  width: fit-content;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(3, 10, 18, 0.24);
}

.hero-brand-badge img {
  width: min(360px, 62vw);
  height: auto;
}

.hero h1 {
  color: #fff;
  margin: 0.7rem 0 1.2rem;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--gold);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.hero-card {
  background: rgba(255, 253, 248, 0.96);
  color: var(--text);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.hero-card p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.hero-card .btn + .btn {
  margin-top: 0.65rem;
}

.quick-services,
.section {
  padding: 5.5rem 0;
}

.quick-services {
  background: var(--paper);
}

.section-head {
  max-width: 800px;
  margin-bottom: 2.4rem;
}

.section-head.compact {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: end;
  max-width: none;
  gap: 2rem;
}

.section-head h2 {
  margin-top: 0.6rem;
}

.section-head p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 220px;
  padding: 1.5rem;
  background: var(--paper);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: #fff;
  transform: translateY(-3px);
}

.service-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  border-radius: 6px;
  background: rgba(23, 99, 166, 0.1);
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--muted);
}

.proof-band {
  background: var(--dark);
  color: #fff;
  padding: 1.4rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.proof-grid div {
  background: var(--dark);
  padding: 1rem 1.25rem;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-family: var(--display);
  font-size: 1rem;
  color: #fff;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

/* Brand band */
.brand-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}

.brand-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand-band-label {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  list-style: none;
}

.brand-logos li {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 160ms ease;
}

.brand-logos li:hover {
  opacity: 1;
}

/* Stats band */
.stats-band {
  background: var(--dark);
  color: #fff;
  padding: 2.6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stats-grid div {
  background: var(--dark);
  padding: 0.6rem 1.25rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

/* Reviews */
.reviews-section {
  background: var(--bg-soft);
}

.muted-inline {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15, 34, 56, 0.06);
}

.stars {
  color: #f5a623;
  font-size: 0.92rem;
  letter-spacing: 0.1rem;
}

.review-card p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 900;
  flex: none;
}

.review-author > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.review-author strong {
  color: var(--ink);
  font-family: var(--display);
}

.review-author > div span {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-author .fa-google {
  margin-left: auto;
  color: #4285f4;
  font-size: 1.1rem;
}

/* SEO content */
.seo-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.seo-copy {
  max-width: 760px;
}

.seo-copy h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.85rem, 3.7vw, 3.4rem);
}

.seo-copy p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--text);
  font-size: 1.02rem;
}

.seo-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 34, 56, 0.08);
}

.seo-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid #e6edf5;
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 800;
  background: #f8fafc;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.seo-services a::after {
  content: "\f061";
  color: var(--accent);
  font-family: "Font Awesome 6 Free";
  font-size: 0.82rem;
  font-weight: 900;
  flex: none;
}

.seo-services a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.faq-layout .section-head {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq-list details[open] {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(15, 34, 56, 0.07);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "\002B";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.work-section {
  background: var(--bg);
}

.project-feature {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.project-copy {
  padding: 2rem;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
}

.project-copy h3 {
  margin: 0.7rem 0 1rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.project-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.55rem;
  background: rgba(23, 99, 166, 0.12);
  color: var(--accent);
  border-radius: 4px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-copy .project-label {
  background: rgba(217, 164, 65, 0.18);
  color: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.3rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

figure {
  position: relative;
  min-height: 420px;
}

figure img {
  height: 100%;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.42rem 0.75rem;
  background: rgba(23, 23, 23, 0.84);
  color: #fff;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(28, 25, 23, 0.06);
}

.project-card > img {
  height: 360px;
  object-fit: cover;
}

.project-card-head {
  padding: 1.35rem;
}

.project-card-head h3 {
  margin: 0.55rem 0 0.45rem;
}

.project-card-head p {
  color: var(--muted);
}

.project-card.wide {
  grid-column: 1 / -1;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.masonry img {
  height: 330px;
  object-fit: cover;
  background: var(--line);
}

.section-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-card {
  min-height: 250px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--dark-2);
}

.process-card span {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 0.8;
}

.process-card h3 {
  margin-bottom: 0.6rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.why-lead {
  margin: 1rem 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list,
.form-perks {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.check-list li,
.form-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-list i,
.form-perks i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  flex: none;
}

.detail-stack {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 1rem;
  align-items: end;
}

.detail-stack img {
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-stack img:nth-child(2) {
  height: 380px;
}

.section-form {
  background: var(--bg-soft);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.form-left h2 {
  margin: 0.6rem 0 1rem;
}

.form-left p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.survey {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.survey-progress {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.bar {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: var(--line);
}

.bar.active {
  background: var(--accent);
}

.survey-step {
  display: none;
}

.survey-step.active {
  display: block;
  animation: fadeIn 260ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.survey-step h3 {
  margin-bottom: 1rem;
}

.survey-options {
  display: grid;
  gap: 0.65rem;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.survey-option:hover {
  border-color: var(--accent);
}

.survey-option.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.survey-option i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.survey-option.selected i {
  color: #fff;
}

.survey-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 900;
}

.survey-back:hover {
  color: var(--accent);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--accent);
}

.survey-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.survey-success {
  display: none;
  text-align: center;
  padding: 2.2rem 0;
}

.survey-success.active {
  display: block;
}

.success-icon {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 3rem;
}

.survey-success p {
  max-width: 420px;
  margin: 0.5rem auto 1.25rem;
  color: var(--muted);
}

.cta-section {
  padding: 3rem 0;
  background: var(--paper);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-grid h2 {
  max-width: 760px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer {
  padding: 2.5rem 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: block;
  margin-bottom: 0.4rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(5, 15, 28, 0.22);
}

.footer-logo {
  width: 260px;
  height: auto;
}

.footer-title {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  padding: 0.25rem 0;
  transition: color 160ms ease;
}

.footer a:hover {
  color: #fff;
}

.footer-hours {
  display: block;
  padding: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-hours i {
  margin-right: 0.4rem;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.32);
  transition: transform 180ms ease;
}

.wa-float:hover {
  transform: translateY(-3px);
}

/* Legacy custom reveal system fully removed — AOS is the single animation source. */

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  body.menu-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.5rem;
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.12);
  }

  body.menu-open .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .service-grid,
  .proof-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .project-feature,
  .why-grid,
  .form-layout,
  .seo-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    padding: 1rem 1.25rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 182px;
  }

  .hero-brand-badge img {
    width: min(320px, 70vw);
  }

  .footer-logo {
    width: 230px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand-logo {
    width: 150px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 2rem;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.72), rgba(23, 23, 23, 0.92));
  }

  .hero-brand-badge {
    margin-bottom: 1rem;
    padding: 0.8rem 0.9rem;
  }

  .hero-brand-badge img {
    width: min(260px, 72vw);
  }

  .hero-cta,
  .cta-actions,
  .survey-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-row {
    display: grid;
  }

  .quick-services,
  .section {
    padding: 3.7rem 0;
  }

  .section-head.compact,
  .service-grid,
  .proof-grid,
  .stats-grid,
  .project-gallery,
  .before-after-grid,
  .process-grid,
  .seo-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logos {
    gap: 1rem 1.6rem;
  }

  .brand-logos li {
    font-size: 1.15rem;
  }

  .footer-logo {
    width: min(220px, 70vw);
  }

  .service-card {
    min-height: auto;
  }

  .project-copy {
    padding: 1.4rem;
  }

  figure {
    min-height: 320px;
  }

  .masonry {
    grid-template-columns: 1fr 1fr;
  }

  .masonry img,
  .project-card > img {
    height: 260px;
  }

  .detail-stack {
    grid-template-columns: 1fr;
  }

  .detail-stack img,
  .detail-stack img:nth-child(2) {
    height: 320px;
  }

  .wa-float {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.45rem;
  }

  .masonry {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* === v7 additions: hero slide-in, marquee, service-img, configurator, materials, reviews avatar === */

/* Hero slide-in animation */
@keyframes slideInLeft {
  0%   { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}
.slide-in {
  opacity: 0;
  animation: slideInLeft 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.hero h1 strong, .hero-lead strong { color: var(--gold); }

/* Brand marquee */
.brand-band { padding: 1.75rem 0 1.5rem; background: var(--bg-soft); overflow: hidden; }
.brand-band-label { display: block; text-align: center; font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.brand-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-track { display: inline-flex; gap: 3.5rem; padding: 0 2rem; animation: marquee 28s linear infinite; white-space: nowrap; }
.brand-track span { font-family: var(--display); font-weight: 900; font-size: clamp(1.3rem, 2.5vw, 1.85rem); color: #6b7785; opacity: .55; letter-spacing: .02em; transition: opacity .2s, color .2s; }
.brand-track span:hover { opacity: 1; color: var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* Service cards with images */
.service-card.has-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card.has-img .service-img { aspect-ratio: 16/10; overflow: hidden; background: #f4f6f9; }
.service-card.has-img .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card.has-img:hover .service-img img { transform: scale(1.05); }
.service-card.has-img .service-body { padding: 1.4rem 1.5rem 1.6rem; }
.service-card.has-img i { display: none; }

/* Before/After captions */
.before-after-grid figcaption { font-size: .85rem; line-height: 1.45; color: var(--text); padding: .75rem 0 0; }
.before-after-grid figcaption .tag { display: inline-block; padding: .15rem .55rem; border-radius: 4px; background: #1c1c1c; color: #fff; font-family: var(--display); font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-right: .5rem; vertical-align: middle; }
.before-after-grid figcaption .tag-after { background: var(--accent); }

/* === Configurator === */
.configurator-section { background: linear-gradient(180deg, #f4f7fb, #ffffff); padding: 5rem 0; }
.configurator { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: stretch; margin-top: 2.5rem; background: #fff; border-radius: 20px; padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.config-preview { position: relative; background: linear-gradient(135deg, #f8fafc 0%, #e9eef5 100%); border-radius: 14px; overflow: hidden; min-height: 380px; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.config-preview img { max-width: 100%; max-height: 460px; width: auto; height: auto; object-fit: contain; transition: opacity .25s ease; }
.config-preview img.swapping { opacity: 0; }
.config-badge { position: absolute; left: 1rem; bottom: 1rem; background: rgba(15, 34, 56, 0.92); color: #fff; padding: .55rem .9rem; border-radius: 8px; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .02em; backdrop-filter: blur(4px); }
.config-controls { display: flex; flex-direction: column; gap: 1.25rem; padding: .5rem; }
.config-group .config-label { display: block; font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: .72rem; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.config-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.config-opt { padding: .55rem .95rem; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .82rem; cursor: pointer; transition: all .18s ease; }
.config-opt:hover { border-color: var(--accent); }
.config-opt.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(23, 99, 166, 0.28); }
.color-swatch { display: inline-flex; align-items: center; gap: .55rem; padding-left: .5rem; }
.color-swatch .swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.color-swatch.active .swatch { box-shadow: 0 0 0 2px var(--accent); }
.config-note { margin-top: .5rem; font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.config-note i { color: var(--accent); margin-top: .15rem; }

/* === Materials section === */
.materials-section { background: var(--bg-soft); padding: 5rem 0; }
.materials-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; margin-top: 2.5rem; }
.material-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); align-self: start; }
.material-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.material-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.spec-card { background: #fff; border-radius: 14px; padding: 1.4rem 1.3rem; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,34,56,.05); }
.spec-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(23, 99, 166, 0.1); color: var(--accent); font-size: 1.15rem; margin-bottom: .85rem; }
.spec-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.spec-dim { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: 1.05rem; margin-bottom: .55rem; letter-spacing: .02em; }
.spec-card p { font-size: .9rem; line-height: 1.5; color: var(--text); }
.spec-warranty { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; border: 0; }
.spec-warranty h3 { color: #fff; }
.spec-warranty p { color: rgba(255,255,255,.82); }
.spec-warranty .spec-icon { background: rgba(255,255,255,.12); color: var(--gold); }

/* === Reviews: avatar with photo === */
.review-avatar { width: 44px; height: 44px; padding: 0; border-radius: 50%; overflow: hidden; display: inline-block; background: var(--bg-soft); }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* === Select field === */
.form-field select { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 8px; font-size: 1rem; color: var(--ink); background: #fff; font-family: inherit; cursor: pointer; transition: border-color .2s; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7785' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-field select:focus { border-color: var(--accent); outline: none; }

/* === Responsive === */
@media (max-width: 900px) {
  .configurator { grid-template-columns: 1fr; padding: 1.25rem; }
  .config-preview { min-height: 300px; }
  .materials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .material-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .material-specs { grid-template-columns: 1fr; }
  .brand-track { gap: 2.5rem; }
  .brand-track span { font-size: 1.15rem; }
}

/* === v7.2 — logo marquee, material cards, universal reveal === */

/* Marquee with real logos, tight spacing */
.brand-track { gap: 3rem; }
.brand-track img { height: 40px; width: auto; display: block; opacity: .65; filter: grayscale(1); transition: opacity .2s, filter .2s; flex: none; }
.brand-track img:hover { opacity: 1; filter: grayscale(0); }
@media (min-width: 900px) {
  .brand-track img { height: 52px; }
  .brand-track { gap: 4rem; }
}

/* Material cards (replaces grid) */
.material-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.material-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(15,34,56,.06); display: flex; flex-direction: column; }
.material-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.material-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.material-card:hover .material-card-img img { transform: scale(1.05); }
.material-card-body { padding: 1.25rem 1.3rem 1.5rem; flex: 1; }
.material-card-body h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.material-card-body .spec-dim { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: 1.05rem; margin-bottom: .55rem; letter-spacing: .02em; }
.material-card-body p { font-size: .88rem; line-height: 1.5; }
.material-card-warranty { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; border: 0; }
.material-card-warranty h3 { color: #fff; }
.material-card-warranty p { color: rgba(255,255,255,.85); }
.material-card-warranty .spec-dim { color: var(--gold); }
@media (max-width: 900px) { .material-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .material-cards { grid-template-columns: 1fr; } }

.material-offer { margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem 1.75rem 1.5rem; box-shadow: 0 8px 24px rgba(15,34,56,.06); }
.material-offer h3 { font-size: 1.15rem; margin: 0 0 1rem; }
.material-offer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.material-offer ul li { font-size: .95rem; line-height: 1.5; padding-left: 1.25rem; position: relative; }
.material-offer ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }
.material-offer p { font-size: .92rem; line-height: 1.6; color: var(--text); margin: 0; }

/* === v7.3 — uniform material cards === */

/* Material card — uniform style, no special dark "warranty" card */
.material-card-warranty { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.material-card-warranty h3 { color: var(--ink); }
.material-card-warranty p { color: var(--text); }
.material-card-warranty .spec-dim { color: var(--gold); }

/* Make sure no card has accidental focus outline persisting */
.material-card { outline: none !important; }
.material-card:focus, .material-card:focus-within { outline: none; box-shadow: 0 8px 24px rgba(15,34,56,.06); }

/* === v7.4 — logos color, refined caption, color tweaks === */

/* Brand logos in their original colors, not grayscale */
.brand-track img { opacity: 1; filter: none; }
.brand-track img:hover { opacity: 1; filter: none; }

/* Before/After captions: clean, no heavy overlay */
.before-after-grid figcaption {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--text);
  padding: .85rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.before-after-grid figcaption .tag {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex: none;
  margin-top: .05rem;
}
.before-after-grid figcaption .tag-after { background: var(--gold); color: #fff; }

/* Lighter warmer color tweak — less corporate blue, more confidence */
:root {
  --accent: #d24f1f;    /* warm terracotta — aligns with roof/red brick */
  --accent-2: #b03e14;
  --ink: #1d2a3a;       /* keep dark navy ink */
  --gold: #f59e0b;      /* warmer amber */
}
.btn-primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 22px rgba(210,79,31,.28); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.hero h1 strong, .hero-lead strong { color: var(--gold); }
.spec-dim { color: var(--accent); }
.material-card-body .spec-dim { color: var(--accent); }
.brand-track img:hover { color: var(--accent); }

/* === v7.5 — hero promise === */

/* Hero promise list — 3 bullets below sub-headline */
.hero-promise {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: 1.5rem 0 1.25rem;
  padding: 0;
}
.hero-promise li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .01em;
}
.hero-promise li i {
  color: var(--accent);
  background: rgba(255,255,255,.12);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.hero-promise li strong { color: var(--gold); }

/* === v7.7 — AOS safety net ===
   If JS/AOS fails to load entirely, never leave content hidden.
   When AOS loads it adds `aos-init` to <body> region elements; we only hide
   [data-aos] AFTER AOS confirms it's active via the `aos-init` class on <html>. */
html:not(.aos-ready) [data-aos] { opacity: 1 !important; transform: none !important; }
