:root {
  --bg: #f2f7fc;
  --surface: #ffffff;
  --surface-2: #e8f2fb;
  --text: #0d1b2a;
  --text-soft: #31475f;
  --primary: #1e73be;
  --primary-strong: #0d4f8c;
  --primary-light: #3fa9f5;
  --dark: #0d1b2a;
  --accent: #3fa9f5;
  --success: #198754;
  --danger: #b42318;
  --shadow: 0 14px 40px rgba(12, 35, 64, 0.14);
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(63, 169, 245, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logo {
  width: clamp(150px, 28vw, 210px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-left: auto;
  min-width: 0;
}

.header-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: #d9ecff;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: #fff;
  background: rgba(63, 169, 245, 0.25);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero {
  background: var(--surface);
  padding: 4.6rem 0 3.4rem;
}

.hero-home {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, rgba(13, 27, 42, 0.95), rgba(13, 27, 42, 0.75)),
    url("img/Gemini_Generated_Image_dm6wnpdm6wnpdm6w.png") center/cover no-repeat;
}

.hero-home .lead,
.hero-home .eyebrow {
  color: #e3f1ff;
}

.hero-grid {
  display: grid;
  gap: 1.6rem;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.55rem;
}

h1,
h2,
h3 {
  font-family: "Exo 2", sans-serif;
  letter-spacing: 0.2px;
  margin: 0 0 0.8rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.lead {
  color: var(--text-soft);
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
  padding: 1rem;
}

.hero-card .list-check li {
  color: #ffffff;
}

section {
  padding: 3.2rem 0;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 115, 190, 0.12);
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.list-check {
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-check li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  color: var(--text-soft);
}

.list-check li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.testimonial small {
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.questionario-title {
  margin-bottom: 0.3rem;
}

.questionario-subtitle {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
}

label {
  font-weight: 700;
  display: block;
  margin: 0.6rem 0 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15, 28, 46, 0.2);
  padding: 0.7rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 91, 187, 0.25);
  border-color: var(--primary);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  margin-top: 0.7rem;
  font-weight: 700;
}

.form-msg.error {
  color: var(--danger);
}

.maps iframe {
  border: 0;
  border-radius: var(--radius-lg);
  width: 100%;
  min-height: 280px;
}

.legal-page .card + .card {
  margin-top: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

th,
td {
  border: 1px solid rgba(66, 83, 106, 0.23);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
}

.site-footer {
  background: var(--dark);
  color: #d8e2f0;
  padding: 2.3rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.1rem;
}

.footer-title {
  color: #fff;
  margin-bottom: 0.45rem;
}

.footer-links a {
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: var(--dark);
  color: #fff;
  border-top: 2px solid rgba(255, 159, 28, 0.7);
  padding: 1rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.cookie-inner {
  width: min(100% - 1.5rem, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.cookie-actions .btn {
  width: 100%;
}

.btn-cookie {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-cookie-accept {
  background: var(--primary-light);
  color: #07213a;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 6.7rem;
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  z-index: 40;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.7s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.12s;
}

.fade-delay-2 {
  animation-delay: 0.24s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .brand-logo {
    width: clamp(120px, 38vw, 180px);
  }

  .header-actions {
    gap: 0.25rem 0.4rem;
  }

  .header-link {
    font-size: 0.8rem;
    padding: 0.42rem 0.65rem;
  }

  .header-cta {
    padding: 0.62rem 1rem;
    font-size: 0.82rem;
  }

  .site-header {
    background: rgba(13, 27, 42, 0.97);
    border-bottom: 1px solid rgba(63, 169, 245, 0.35);
  }
}
