:root {
  --brand: #0a5456;
  --brand-dark: #063b3d;
  --brand-deep: #052f31;
  --brand-soft: #e9f5f4;
  --mint: #cde9e5;
  --ink: #183133;
  --muted: #627376;
  --line: #d9e6e4;
  --white: #ffffff;
  --whatsapp: #25d366;
  --shadow: 0 22px 60px rgba(10, 84, 86, 0.14);
  --radius: 18px;
  --radius-soft: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(10, 84, 86, 0.35);
  outline-offset: 3px;
}

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

.section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 24px);
  min-height: 70px;
  padding: 8px clamp(14px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(10, 84, 86, 0.1);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(92px, 9vw, 142px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 16px);
  min-width: 0;
  color: var(--muted);
  font-size: clamp(0.76rem, 0.82vw, 0.9rem);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--brand);
}

.header-action {
  flex: 0 0 auto;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(10, 84, 86, 0.18);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(10, 84, 86, 0.1);
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 3px;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.4rem, 10vw, 5.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 6vw, 3.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(10, 84, 86, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  color: var(--brand-dark);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgba(10, 84, 86, 0.24);
  box-shadow: 0 14px 30px rgba(10, 84, 86, 0.12);
}

.icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.whatsapp-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: currentColor;
}

.whatsapp-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.btn .whatsapp-mark svg,
.contact-icon .whatsapp-mark svg,
.floating-whatsapp .whatsapp-mark svg {
  width: 100%;
  height: 100%;
}

.contact-icon .whatsapp-mark {
  width: 100%;
  height: 100%;
}

.floating-whatsapp .whatsapp-mark {
  width: 26px;
  height: 26px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.site-footer {
  padding: clamp(34px, 5vw, 54px) 0;
  color: var(--white);
  background: var(--brand-dark);
}

.footer-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.footer-brand img {
  width: 138px;
  height: auto;
}

.footer-content strong {
  display: block;
  max-width: 620px;
  font-size: 1rem;
}

.footer-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 80;
  display: grid;
  gap: 18px;
  max-width: 960px;
  padding: 18px;
  margin-inline: auto;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 72px rgba(5, 47, 49, 0.18);
  backdrop-filter: blur(18px);
}

.cookie-consent strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1rem;
}

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

.cookie-consent a {
  color: var(--brand);
  font-weight: 800;
}

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

.cookie-consent__actions .btn {
  min-width: 128px;
}

.policy-page {
  background: var(--brand-soft);
}

.policy-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.policy-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.policy-content h2 {
  margin-top: 30px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

@media (min-width: 820px) {
  .footer-layout {
    grid-template-columns: auto minmax(260px, 1fr);
  }

  .cookie-consent {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 62px;
    padding: 7px 14px 9px;
  }

  .header-action {
    min-width: 46px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .header-action span {
    display: none;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 16px;
  }

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

  .cookie-consent__actions .btn {
    min-width: 0;
  }
}

@media (max-width: 1119px) {
  .site-header {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: clamp(88px, 24vw, 118px);
  }

  .header-action {
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-toggle {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
    padding: 8px 0 2px;
    overflow: visible;
    color: var(--brand-dark);
    font-size: 0.8rem;
    white-space: normal;
  }

  .site-header.is-menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    background: var(--brand-soft);
    border: 1px solid rgba(10, 84, 86, 0.1);
    border-radius: var(--radius-soft);
  }

  .nav-links a::after {
    display: none;
  }
}

@media (min-width: 1120px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}

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