:root {
  --blue-950: #071d36;
  --blue-900: #0b2e54;
  --blue-700: #1264a3;
  --blue-500: #1685d9;
  --green-500: #20b26b;
  --green-700: #13834d;
  --gray-900: #17202a;
  --gray-700: #4b5d70;
  --gray-300: #d8e2ec;
  --gray-200: #e7eef5;
  --gray-100: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(7, 29, 54, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 22px;
  color: var(--blue-950);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  color: var(--blue-950);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 1.14rem;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 236, 0.85);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(7, 29, 54, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand picture,
.site-footer picture {
  display: block;
}

.brand-logo {
  width: clamp(142px, 18vw, 188px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--gray-700);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-700);
  border-color: var(--green-500);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-950);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) 20px clamp(44px, 6vw, 78px);
}

.hero-content {
  max-width: 680px;
  min-width: 0;
}

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

.hero-text,
.section-heading p,
.company-text p,
.card p,
.featured-card p {
  color: var(--gray-700);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 1.12rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  color: var(--blue-900);
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: #137a4a;
  box-shadow: 0 12px 30px rgba(19, 122, 74, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--white);
  background: #0f633c;
}

.btn-secondary {
  background: var(--white);
  border-color: var(--gray-300);
}

.btn-light {
  color: var(--blue-950);
  background: var(--white);
}

.trust-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.trust-list li {
  max-width: 100%;
  padding: 8px 12px;
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 800;
  background: #eaf6ff;
  border: 1px solid #d3ebff;
  border-radius: var(--radius);
}

.hero-media {
  margin: 0;
}

.hero-media picture,
.featured-card picture,
.card-with-image picture {
  display: block;
}

.hero-media picture {
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(58px, 8vw, 96px) 20px;
}

.section-soft {
  background: var(--gray-100);
}

.section-heading,
.company,
.featured-grid,
.service-grid,
.cta,
.contact-layout,
.site-footer {
  max-width: var(--max);
  margin-inline: auto;
  min-width: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading.align-left {
  max-width: var(--max);
  text-align: left;
}

.company {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 5vw, 64px);
}

.company-text {
  display: grid;
  gap: 18px;
  font-size: 1.04rem;
}

.company-text p {
  margin: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(2, minmax(0, 0.91fr));
  gap: 20px;
}

.featured-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured-card-primary {
  border-color: rgba(32, 178, 107, 0.32);
  box-shadow: 0 24px 60px rgba(7, 29, 54, 0.16);
}

.featured-card img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  object-position: center;
  background: var(--gray-100);
}

.featured-card div {
  padding: 26px;
}

.featured-card-primary div {
  padding: 30px;
}

.featured-card h3 {
  font-size: 1.28rem;
}

.featured-card-primary h3 {
  font-size: 1.48rem;
}

.featured-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-700);
  font-weight: 800;
  border-bottom: 2px solid var(--green-500);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-weight: 800;
  background: #e8f4ff;
  border-radius: var(--radius);
}

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

.card {
  min-width: 0;
  min-height: 198px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 29, 54, 0.06);
}

.card-with-image {
  overflow: hidden;
  padding: 0;
}

.card-with-image img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  background: var(--gray-100);
}

.card-with-image img.image-portrait {
  object-fit: contain;
  background: #eef3f7;
  padding: 8px;
}

.card-with-image h3,
.card-with-image p {
  margin-inline: 24px;
}

.card-with-image h3 {
  margin-top: 22px;
}

.card-with-image p {
  margin-bottom: 24px;
}

.cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(36px, 5vw, 52px);
  color: var(--white);
  background: var(--blue-950);
  border-radius: var(--radius);
}

.cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.cta .eyebrow {
  color: #8ee8bd;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 24px;
}

.contact-info,
.contact-form {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 29, 54, 0.06);
}

.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-info a,
.contact-info p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.contact-info p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-info .contact-text > span {
  display: block;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.contact-info strong {
  display: block;
  color: var(--blue-950);
  overflow-wrap: anywhere;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 4px;
  color: var(--blue-700);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-text {
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-950);
  font-weight: 800;
}

.map-container {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 29, 54, 0.06);
}

.map-container iframe {
  display: block;
  height: 400px;
  width: 100%;
}

@media (max-width: 620px) {
  .map-container iframe {
    height: 260px;
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tech-category {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(7, 29, 54, 0.04);
}

.tech-category h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-500);
}

.tech-list, .symptom-list {
  padding: 0;
  margin: 12px 0;
  list-style: none;
  font-size: 0.9rem;
}

.tech-list li, .symptom-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.tech-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-500);
}

.symptom-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: #b42318;
  font-weight: bold;
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.95rem;
  margin: 0;
}

.local-seo-box {
  margin-top: 40px;
  padding: 32px;
  background: #eaf6ff;
  border-radius: var(--radius);
  border: 1px solid #d3ebff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--gray-900);
  font: inherit;
  background: var(--white);
  border: 1px solid #cdd9e5;
  border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(22, 133, 217, 0.16);
  border-color: var(--blue-500);
}

.contact-form textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--gray-700);
  font-weight: 700;
}

.form-status.is-success {
  color: #0f7a45;
}

.form-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 20px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.form-wa-btn::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.form-wa-btn:hover {
  background: #128c7e;
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 34px 20px;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-200);
}

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

.footer-logo {
  width: 168px;
  height: 58px;
  margin-bottom: 12px;
  object-fit: contain;
  object-position: left center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav,
.site-footer address {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
}

.site-footer address {
  justify-content: flex-end;
  text-align: right;
}

.site-footer address a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--blue-700);
}

.footer-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.site-footer > p:last-child {
  grid-column: 1 / -1;
  padding-top: 12px;
  text-align: center;
  border-top: 1px solid var(--gray-200);
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(18px, 4vh, 34px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 18px 10px 12px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  background: #20b26b;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(19, 131, 77, 0.34);
  opacity: 0.92;
  transform: translateY(8px);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float.is-scrolled {
  opacity: 1;
  transform: translateY(0);
  animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 22px 52px rgba(19, 131, 77, 0.42);
  transform: translateY(-2px);
}

.whatsapp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #13834d;
  font-size: 0.78rem;
  letter-spacing: 0;
  background: var(--white);
  border-radius: 50%;
}

.whatsapp-float-text {
  white-space: nowrap;
}

body.nav-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

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

  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px;
  }

  .hero,
  .company,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-media img {
    min-height: 340px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer address {
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
    object-position: center;
  }

}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: 132px;
    height: 46px;
  }

  .main-nav {
    top: 68px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 1.92rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 1.48rem;
    overflow-wrap: anywhere;
  }

  h3,
  p,
  a,
  .btn,
  .trust-list li {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .trust-list li {
    flex: 1 1 100%;
  }

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

  .btn {
    width: 100%;
  }

  .featured-grid,
  .service-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    height: 214px;
  }

  .featured-card-primary div,
  .featured-card div {
    padding: 22px;
  }

  .featured-card-primary h3 {
    font-size: 1.28rem;
  }

  .card {
    min-height: auto;
  }

  .card-with-image img {
    height: 230px;
  }

  .card-with-image img.image-portrait {
    height: 230px;
  }

  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}
