:root {
  --color-bg: #f1f5f9;
  --color-surface: #ffffff;
  --color-card: #075985;
  --color-card-hover: #1d4ed8;
  --color-electric: #2563eb;
  --color-electric-soft: #dbeafe;
  --color-ink: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.12);
  --radius-lg: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.js-enabled body {
  opacity: 0;
  transition: opacity 260ms ease;
}

.js-enabled body.page-ready {
  opacity: 1;
}

.js-enabled body.page-leaving {
  opacity: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.site-header .container {
  position: relative;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-lg);
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(21, 169, 202, 0.2);
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  border-radius: 8px;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--color-electric);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: translateY(-6px) rotate(-90deg);
}

.mobile-nav {
  display: none;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.96)),
    #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  padding: 10px;
}

.mobile-nav a {
  display: block;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 14px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.mobile-nav a:hover {
  background: #fff;
  color: var(--color-electric);
}

.mobile-nav .active {
  background: var(--color-electric-soft);
  color: var(--color-electric);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-lg);
  padding: 11px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--color-electric);
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

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

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #020617;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel .hero-image {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 5200ms ease;
}

.hero-carousel .hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 560px;
  align-content: center;
  max-width: 780px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0;
  color: #bae6fd;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.16rem);
}

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

.section {
  padding: 80px 0;
}

.section-white {
  background: #fff;
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-header-left {
  margin: 0;
  text-align: left;
}

.section-header h2 {
  margin: 12px 0 0;
  color: var(--color-ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.13;
}

.section-header p:last-child {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.mt-lg {
  margin-top: 44px;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.soft-card {
  background: #f8fafc;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  color: #fff;
  cursor: pointer;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--color-card-hover);
  box-shadow: var(--shadow-md);
}

.service-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius-lg);
  background: rgba(37, 99, 235, 0.16);
  color: var(--color-electric);
}

.service-card .icon-box {
  background: rgba(255, 255, 255, 0.13);
  color: #bae6fd;
}

.service-card h3,
.card h3 {
  margin: 20px 0 0;
  font-size: 1.2rem;
}

.service-card p {
  margin: 12px 0 0;
  color: #e0f2fe;
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: #bae6fd;
  font-weight: 800;
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 52px;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
}

.image-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.contact-card {
  display: block;
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-card .label {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-card .value {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 800;
}

.highlight {
  border-radius: var(--radius-lg);
  background: var(--color-electric);
  color: #fff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.highlight p {
  color: #dbeafe;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

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

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-ink);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  transition:
    border 180ms ease,
    box-shadow 180ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-electric);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.form-help {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map-panel {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.cookie-map-notice {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}

.cookie-map-notice p {
  max-width: 460px;
  margin: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.status {
  display: none;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-weight: 800;
}

.status-ok {
  background: #dcfce7;
  color: #166534;
}

.status-error {
  background: #fee2e2;
  color: #991b1b;
}

.whatsapp-plugin {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  padding: 14px 18px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.whatsapp-plugin:hover {
  transform: translateY(-2px);
  background: #16a34a;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.26);
}

.whatsapp-plugin__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.whatsapp-plugin__icon svg {
  width: 28px;
  height: 28px;
}

.whatsapp-plugin__text {
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 10001;
  display: grid;
  width: min(520px, calc(100vw - 44px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-ink);
  padding: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
}

.cookie-banner h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.cookie-banner a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--color-electric);
  font-size: 0.9rem;
  font-weight: 800;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.modal-open {
  overflow: hidden;
}

.service-modal[hidden] {
  display: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(6px);
}

.service-modal__dialog {
  position: relative;
  display: grid;
  width: min(100%, 920px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.service-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.service-modal__media {
  min-height: 100%;
  background: var(--color-card);
}

.service-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.service-modal__content {
  display: grid;
  align-content: center;
  padding: 46px;
}

.service-modal__content h2 {
  margin: 12px 0 0;
  color: var(--color-ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.service-modal__content p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.service-modal__points {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.service-modal__points li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  font-weight: 700;
}

.service-modal__points li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-electric);
}

.footer {
  background: #020617;
  color: #fff;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer .muted {
  color: #cbd5e1;
}

.footer a {
  color: #e0f2fe;
  font-weight: 800;
}

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

  .menu-toggle {
    display: grid;
  }

  .mobile-nav.is-open {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: min(260px, calc(100vw - 24px));
    gap: 8px;
  }

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

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

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

  .image-panel img {
    height: 360px;
  }

  .service-modal__dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .service-modal__media img {
    min-height: 260px;
    max-height: 320px;
  }

  .service-modal__content {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .navbar {
    gap: 12px;
  }

  .brand-subtitle,
  .header-actions {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

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

  .whatsapp-plugin {
    right: 14px;
    bottom: 14px;
    width: 56px;
    padding: 0;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row {
    grid-template-columns: 1fr;
  }

  .map-panel iframe {
    min-height: 360px;
  }

  .cookie-map-notice {
    min-height: 360px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 84px;
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .service-modal {
    padding: 14px;
  }

  .service-modal__content {
    padding: 24px;
  }

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

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