:root {
  --navy: #0b1726;
  --navy-2: #10243a;
  --navy-3: #17314d;
  --blue-soft: #a9dcf4;
  --blue-strong: #47a9dd;
  --white: #ffffff;
  --paper: #f5f8fb;
  --stone: #d8d2c7;
  --ink: #162132;
  --muted: #637083;
  --line: rgba(17, 35, 56, 0.14);
  --shadow: 0 24px 60px rgba(6, 19, 34, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 23, 38, 0.88), rgba(11, 23, 38, 0.44), rgba(11, 23, 38, 0));
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background:
    radial-gradient(circle at 16% 22%, rgba(169, 220, 244, 0.11) 0 1px, transparent 2px),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

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

.brand-logo {
  width: 108px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.26));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  max-width: 210px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.88);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--blue-soft);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: min(860px, 96vh);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 126px clamp(18px, 6vw, 86px) 86px;
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 14, 24, 0.94) 0%, rgba(11, 23, 38, 0.82) 38%, rgba(11, 23, 38, 0.36) 72%, rgba(11, 23, 38, 0.62) 100%),
    radial-gradient(circle at 24% 72%, rgba(169, 220, 244, 0.2), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: var(--white);
}

.hero-logo {
  width: min(270px, 66vw);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.32));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  max-width: 820px;
}

.hero-text {
  margin: 24px 0 0;
  width: min(610px, 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--blue-soft);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(71, 169, 221, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c6ecfb;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.section {
  padding: clamp(66px, 9vw, 116px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.section-heading > p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 720px;
  color: #3e4f63;
  font-size: 1.08rem;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .eyebrow {
  color: var(--blue-soft);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.intro-copy {
  max-width: 780px;
  font-size: 1.08rem;
  color: #314155;
}

.intro-copy p {
  margin: 0 0 18px;
}

.stats {
  display: grid;
  gap: 12px;
}

.stats div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--paper), var(--white));
}

.stats strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.section-navy {
  color: var(--white);
  background:
    radial-gradient(circle at 13% 18%, rgba(169, 220, 244, 0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 64%, rgba(216, 210, 199, 0.14), transparent 32%),
    linear-gradient(140deg, var(--navy), var(--navy-2) 62%, #0a111d);
  background-size: 28px 28px, auto, auto;
}

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

.service-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.work-intro {
  background: var(--white);
}

.work-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.work-intro .section-heading {
  margin-bottom: 0;
}

.work-intro-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(16, 36, 58, 0.16);
  background: var(--navy);
}

.work-intro-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.works {
  background: var(--paper);
}

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

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(16, 36, 58, 0.14);
}

.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11, 23, 38, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-card div:last-child {
  padding: 18px;
}

.gallery-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.1rem;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
}

.before-after-section {
  background:
    linear-gradient(180deg, rgba(169, 220, 244, 0.22), rgba(255, 255, 255, 0)),
    var(--paper);
}

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

.before-after-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.1);
}

.comparison-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--navy);
}

.comparison-media figure {
  position: relative;
  margin: 0;
  min-width: 0;
}

.comparison-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.comparison-media figure + figure {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.comparison-media figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-copy {
  padding: 18px;
}

.comparison-copy h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.comparison-copy p {
  margin: 0;
  color: var(--muted);
}

.reviews {
  background: var(--white);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), #f9fbfd);
}

.stars {
  color: #c7952f;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin: 12px 0;
  color: #29394d;
  font-size: 1.03rem;
}

.review-card footer {
  color: var(--muted);
  font-weight: 800;
}

.form-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.08);
}

.form-panel h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.25rem;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--navy-2);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(16, 36, 58, 0.18);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfcfe;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(71, 169, 221, 0.24);
  border-color: var(--blue-strong);
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.moderation-panel {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.pending-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(169, 220, 244, 0.2), rgba(255, 255, 255, 0)),
    var(--paper);
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding-top: 26px;
}

.checkbox-field input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--blue-strong);
}

.legal-estimate {
  padding: 14px;
  border-left: 4px solid var(--blue-strong);
  border-radius: var(--radius);
  color: #27394c;
  background: rgba(169, 220, 244, 0.28);
  font-weight: 800;
}

.estimate-result {
  position: sticky;
  top: 94px;
  padding: 26px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 16% 16%, rgba(169, 220, 244, 0.18), transparent 28%),
    linear-gradient(150deg, var(--navy), var(--navy-3));
  box-shadow: var(--shadow);
}

.estimate-result .result-label {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.estimate-result h3 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.12;
}

.estimate-result p,
.estimate-result li {
  color: rgba(255, 255, 255, 0.78);
}

.estimate-result ul {
  padding-left: 18px;
}

.estimate-result .legal-estimate {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.price-range {
  display: inline-flex;
  margin: 6px 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 1.28rem;
  font-weight: 950;
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  gap: 4px;
  min-height: 112px;
  align-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(71, 169, 221, 0.55);
  background: #eef8fd;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.map-wrap {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 28% 40%, rgba(169, 220, 244, 0.11) 0 1px, transparent 2px),
    var(--navy);
  background-size: 26px 26px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-logo {
  width: 108px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.site-footer strong {
  color: var(--white);
}

.footer-link {
  color: var(--blue-soft);
  font-weight: 850;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue-soft);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  font-weight: 950;
}

@media (max-width: 1060px) {
  .service-grid,
  .gallery,
  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand small {
    max-width: 160px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: linear-gradient(150deg, var(--navy), var(--navy-2));
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 12px;
    border-radius: var(--radius);
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 760px;
    padding-top: 120px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 15, 25, 0.7) 0%, rgba(7, 15, 25, 0.9) 54%, rgba(7, 15, 25, 0.96) 100%),
      radial-gradient(circle at 24% 72%, rgba(169, 220, 244, 0.18), transparent 34%);
  }

  .intro-grid,
  .work-intro-grid,
  .reviews-layout,
  .estimate-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .estimate-result {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 72px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 112px 18px 62px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 58px 18px;
  }

  .service-grid,
  .gallery,
  .before-after-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .checkbox-field {
    padding-top: 0;
  }

  .site-footer {
    display: grid;
  }
}

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