:root {
  --bg: #07172f;
  --surface: #0d2446;
  --surface-soft: #f6fbff;
  --surface-card: #ffffff;
  --line: #c7dded;
  --text: #0b2540;
  --text-light: #eaf6ff;
  --muted: #537090;
  --primary: #0f5fb0;
  --primary-strong: #0a3d84;
  --secondary: #119cd8;
  --accent: #e3202b;
  --accent-dark: #b5121c;
  --shadow: 0 18px 45px rgba(7, 23, 47, 0.22);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1140px;
  --space: clamp(1.25rem, 0.9rem + 1.5vw, 2.3rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #edf6fd 0%, #f4faff 44%, #edf6fd 100%);
  line-height: 1.55;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.04;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4.3rem);
}

h2 {
  font-size: clamp(1.85rem, 1.5rem + 1.2vw, 2.8rem);
}

h3 {
  font-size: clamp(1.35rem, 1.2rem + 0.8vw, 2rem);
}

ul,
ol {
  margin: 0;
  padding-left: 1.15rem;
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.6rem, 3rem + 2.7vw, 6rem) 0;
}

.eyebrow {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.13em;
  margin-bottom: 0.65rem;
}

.lead {
  color: #d5ebff;
  max-width: 56ch;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(1.8rem, 1.4rem + 1vw, 2.6rem);
}

.section-heading h2 {
  color: var(--primary-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.4rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff3543 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 18px rgba(227, 32, 43, 0.28);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(227, 32, 43, 0.34);
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.btn-small {
  padding: 0.58rem 1.05rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #b7d4ec;
  color: #e7f4ff;
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 800;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0.38);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: 70;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(8, 27, 56, 0.96), rgba(8, 27, 56, 0.91));
  border-bottom: 1px solid rgba(140, 182, 213, 0.25);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(4, 16, 35, 0.25);
}

.top-strip {
  border-bottom: 1px solid rgba(159, 198, 226, 0.22);
}

.top-strip-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #d7ecff;
  font-size: 0.88rem;
}

.top-strip-inner p {
  margin: 0;
}

.top-strip-inner a {
  font-weight: 700;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #e9f7ff;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 50%;
  border: 0;
  transform: scale(1.22);
  transform-origin: center;
}

.brand span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  color: #ddf1ff;
  padding: 0.58rem 0.82rem;
  border-radius: 10px;
  font-weight: 700;
  transition: background 0.22s ease, color 0.22s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.primary-nav a.is-active {
  color: #fff;
  background: rgba(12, 117, 187, 0.35);
}

.primary-nav .lang-link {
  border: 1px solid rgba(183, 214, 235, 0.42);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav .btn {
  margin-left: 0.55rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: #fff;
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: clamp(3.9rem, 3.2rem + 3vw, 6.4rem) 0 clamp(2.6rem, 2.2rem + 2vw, 4.3rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(43, 154, 229, 0.34), rgba(43, 154, 229, 0) 44%),
    linear-gradient(126deg, #081d3c 0%, #0a366f 52%, #0d5b9f 100%);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 100%;
  pointer-events: none;
}

.hero-bg-shape-one {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle at center, rgba(231, 250, 255, 0.22), transparent 70%);
  top: -170px;
  right: -180px;
  animation: drift 8.2s ease-in-out infinite;
}

.hero-bg-shape-two {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle at center, rgba(170, 225, 255, 0.2), transparent 74%);
  bottom: -200px;
  left: -140px;
  animation: drift 10.2s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem);
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}

.hero-copy h1 {
  color: #f2fbff;
  max-width: 12ch;
}

.hero-copy .eyebrow {
  color: #9fd7ff;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.4rem 0 1.1rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #e3f4ff;
  border: 1px solid rgba(196, 223, 243, 0.35);
  border-radius: 999px;
  padding: 0.34rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(188, 218, 240, 0.65);
}

.floating-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(280px, 80%);
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(7, 23, 47, 0.2);
  border: 1px solid #c0ddef;
}

.floating-card .card-title {
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 800;
}

.floating-card a {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-bar {
  margin-top: -1px;
  background: #fff;
  border-bottom: 1px solid #d4e7f5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem 0;
}

.trust-grid article {
  background: linear-gradient(180deg, #ffffff, #f4faff);
  border: 1px solid #d4e7f4;
  border-radius: 14px;
  padding: 1rem;
}

.trust-grid h2 {
  font-size: 1.32rem;
  color: var(--primary-strong);
  margin-bottom: 0.35rem;
}

.trust-grid p {
  margin: 0;
  color: #486480;
}

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

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

.service-card {
  background: var(--surface-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #cbe0ef;
  box-shadow: 0 16px 34px rgba(13, 39, 69, 0.12);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #0b2e60;
}

.card-body {
  padding: 1.15rem 1.15rem 1.35rem;
}

.card-body h3,
.card-body h2 {
  color: var(--primary-strong);
  margin-bottom: 0.45rem;
}

.card-body ul {
  margin-top: 0.8rem;
  color: #3f5d79;
}

.split-showcase {
  background: linear-gradient(180deg, #f8fdff 0%, #edf7ff 100%);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 1rem + 2vw, 2.5rem);
  align-items: center;
}

.showcase-copy h2 {
  color: var(--primary-strong);
}

.showcase-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid #c7dff0;
  box-shadow: 0 14px 30px rgba(9, 32, 57, 0.18);
}

.check-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.47rem;
}

.metrics-section {
  background: linear-gradient(135deg, #0b3d78 0%, #0a5ea8 100%);
  color: var(--text-light);
}

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

.metrics-grid article {
  border: 1px solid rgba(191, 222, 243, 0.32);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
}

.metrics-grid h2 {
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
}

.metrics-grid p {
  margin: 0;
}

.testimonial-section {
  background: #f9fdff;
}

.testimonial-slider {
  position: relative;
  background: #fff;
  border: 1px solid #cde3f2;
  border-radius: var(--radius);
  min-height: 180px;
  padding: 1.4rem;
  box-shadow: 0 13px 26px rgba(10, 36, 64, 0.12);
}

.testimonial {
  display: none;
}

.testimonial.is-active {
  display: block;
  animation: fadeUp 0.45s ease;
}

.testimonial p {
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.3rem);
  font-weight: 700;
  color: var(--primary-strong);
}

.testimonial h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #4c6886;
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  background: linear-gradient(140deg, #0a356c 0%, #0f63b1 62%, #148fcf 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.3rem, 1.1rem + 1.3vw, 2rem);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid rgba(190, 221, 241, 0.25);
  box-shadow: 0 16px 34px rgba(7, 27, 53, 0.24);
}

.cta-box h2 {
  margin-bottom: 0.45rem;
}

.cta-box p {
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}

.page-hero {
  padding: clamp(3.3rem, 3rem + 1.7vw, 5rem) 0;
  color: #eaf8ff;
  background-size: cover;
  background-position: center;
}

.page-hero-services {
  background:
    linear-gradient(120deg, rgba(7, 27, 56, 0.9), rgba(11, 83, 140, 0.86)),
    url("../img/placeholders/service-installation.svg");
}

.page-hero-about {
  background:
    linear-gradient(120deg, rgba(8, 27, 56, 0.9), rgba(11, 80, 150, 0.86)),
    url("../img/placeholders/coverage.svg");
}

.page-hero-contact {
  background:
    linear-gradient(120deg, rgba(8, 29, 60, 0.9), rgba(12, 98, 157, 0.86)),
    url("../img/placeholders/service-repair.svg");
}

.page-hero p {
  max-width: 62ch;
  margin: 0;
}

.coverage-section {
  background: linear-gradient(180deg, #f8fdff 0%, #edf6fd 100%);
}

.coverage-card img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid #ccdfef;
  box-shadow: 0 12px 24px rgba(9, 32, 57, 0.15);
}

.chip-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #b9d8ec;
  background: #fff;
  color: var(--primary-strong);
  padding: 0.36rem 0.78rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.value-section {
  background: linear-gradient(180deg, #f8fdff 0%, #eef8ff 100%);
}

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

.value-card {
  background: #fff;
  border: 1px solid #cde2f1;
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  box-shadow: 0 11px 22px rgba(9, 34, 58, 0.11);
}

.value-card h3 {
  color: var(--primary-strong);
}

.steps-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1rem, 0.85rem + 1.2vw, 2rem);
}

.contact-panel,
.form-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #cde1f1;
  box-shadow: 0 14px 30px rgba(10, 33, 57, 0.12);
  padding: clamp(1.05rem, 0.95rem + 0.9vw, 1.7rem);
}

.contact-panel h2,
.form-card h2 {
  color: var(--primary-strong);
}

.contact-list {
  margin: 1.1rem 0 1.2rem;
}

.contact-list p {
  margin-bottom: 0.5rem;
}

.contact-panel img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #cfe1ef;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  font-weight: 700;
  color: #224565;
  margin-top: 0.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b6d3e8;
  border-radius: 11px;
  padding: 0.7rem 0.74rem;
  font: inherit;
  color: #0a2e54;
  background: #fafdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2b8dd0;
  box-shadow: 0 0 0 3px rgba(43, 141, 208, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.hidden-field {
  display: none;
}

.faq-section {
  padding-top: 0;
}

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

.faq-item {
  background: #fff;
  border: 1px solid #cee3f2;
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.faq-item h3 {
  color: var(--primary-strong);
  margin-bottom: 0.35rem;
}

.success-section {
  min-height: calc(100dvh - 180px);
  display: grid;
  align-items: center;
}

.success-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #cde1f1;
  box-shadow: 0 16px 30px rgba(10, 31, 52, 0.12);
  text-align: center;
  padding: clamp(1.35rem, 1.1rem + 1vw, 2.3rem);
}

.success-card h1 {
  color: var(--primary-strong);
}

.success-card .cta-actions {
  justify-content: center;
  margin-top: 1rem;
}

.site-footer {
  margin-top: 2.2rem;
  background: linear-gradient(135deg, #071a36 0%, #0a305d 100%);
  color: #d9edff;
  border-top: 1px solid rgba(189, 220, 241, 0.2);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.3fr 1fr 1fr;
  padding: 2.2rem 0 1.2rem;
}

.footer-grid h2,
.footer-grid h3 {
  color: #fff;
  margin-bottom: 0.45rem;
}

.footer-grid p {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  color: #eaf7ff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid rgba(166, 203, 228, 0.22);
  padding: 0.8rem 0 1.2rem;
  font-size: 0.92rem;
}

.footer-meta p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(130deg, #0d9f4f 0%, #18bf62 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 12px 24px rgba(7, 61, 31, 0.35);
  border: 1px solid rgba(230, 255, 241, 0.5);
}

.whatsapp-float::before {
  content: "WA";
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(16px) translateX(-8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .contact-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .metrics-grid,
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .top-strip {
    display: none;
  }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1.2rem;
    right: 1.2rem;
    background: rgba(6, 24, 49, 0.98);
    border: 1px solid rgba(170, 207, 231, 0.22);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(8, 22, 45, 0.35);
    padding: 0.85rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
  }

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

  .primary-nav .btn {
    width: 100%;
    margin-left: 0;
    margin-top: 0.3rem;
  }

  .primary-nav .lang-link {
    text-align: center;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .trust-grid,
  .cards-grid,
  .metrics-grid,
  .value-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand span {
    max-width: 56vw;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 0.8rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .btn,
  .btn-ghost {
    width: 100%;
  }

  .whatsapp-float {
    right: 0.7rem;
    left: 0.7rem;
    bottom: 0.7rem;
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .hero-points span {
    font-size: 0.81rem;
  }
}
