:root {
  --ink: #142b35;
  --ink-soft: #4b626a;
  --paper: #fffdf7;
  --paper-deep: #f4f0e6;
  --white: #ffffff;
  --aqua: #11a9bd;
  --aqua-dark: #087e90;
  --aqua-soft: #dff6f7;
  --sun: #f7c94b;
  --coral: #f1785b;
  --line: rgba(20, 43, 53, 0.13);
  --shadow-sm: 0 10px 30px rgba(20, 43, 53, 0.08);
  --shadow-lg: 0 24px 70px rgba(20, 43, 53, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --container: 1180px;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Trebuchet MS", "Avenir Next", Avenir, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(17, 169, 189, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding: 104px 0;
}

.section--compact {
  padding: 72px 0;
}

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

.section--ink {
  color: var(--white);
  background: var(--ink);
}

.section--paper-deep {
  background: var(--paper-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--aqua-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section--ink .eyebrow {
  color: #7bdee6;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.section--ink .lead {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading > * {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button-row--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: 0 12px 24px rgba(20, 43, 53, 0.16);
  transform: translateY(-2px);
}

.button--aqua {
  background: var(--aqua-dark);
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--aqua-dark);
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

/* El desenfoque va en un pseudo-elemento y no en .site-header: backdrop-filter
   convertiria al header en bloque contenedor de .mobile-nav, que es fixed, y su
   inset dejaria de medirse contra la ventana. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 43, 53, 0.06);
}

.nav-shell {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand__mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  color: var(--white);
  background: var(--aqua);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  transform: rotate(-4deg);
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand__name span {
  color: var(--aqua-dark);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav > a,
.nav-dropdown > summary {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown > summary:hover,
.nav-dropdown.is-active > summary,
.nav-dropdown[open] > summary {
  color: var(--ink);
  background: var(--aqua-soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.nav-dropdown[open] summary svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 246px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
}

.nav-dropdown__menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 700;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.is-active {
  color: var(--ink);
  background: var(--aqua-soft);
}

.nav-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 100px;
}

.hero::before {
  position: absolute;
  top: 70px;
  right: -160px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(17, 169, 189, 0.18);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  bottom: 50px;
  left: -70px;
  width: 180px;
  height: 180px;
  border-radius: 38% 62% 58% 42%;
  background: var(--sun);
  content: "";
  opacity: 0.18;
  transform: rotate(18deg);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.hero h1 {
  max-width: 770px;
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
}

.hero h1 .word-accent {
  position: relative;
  display: inline-block;
  color: var(--aqua-dark);
}

.hero h1 .word-accent::after {
  position: absolute;
  right: -2%;
  bottom: -2px;
  left: -2%;
  height: 9px;
  border-radius: 70% 30% 50% 50%;
  background: var(--sun);
  content: "";
  opacity: 0.7;
  transform: rotate(-1deg);
  z-index: -1;
}

.hero__copy .lead {
  max-width: 640px;
}

.hero__copy,
.hero__visual {
  min-width: 0;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 38px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta span::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.hero__visual {
  position: relative;
  min-height: 570px;
}

.hero__blob {
  position: absolute;
  inset: 2% 0 3% 6%;
  overflow: hidden;
  border-radius: 48% 52% 42% 58% / 38% 38% 62% 62%;
  background: var(--aqua-soft);
  transform: rotate(2deg);
}

.hero__photo {
  position: absolute;
  inset: 2% 2% 2% 6%;
  width: 92%;
  height: 94%;
  border-radius: 48% 52% 42% 58% / 38% 38% 62% 62%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: saturate(0.9) contrast(0.98);
}

.hero__photo--logo {
  padding: clamp(18px, 3vw, 42px);
  background: var(--white);
  object-fit: contain;
  object-position: center;
  filter: none;
}

.ticker {
  overflow: hidden;
  padding: 18px 0;
  color: var(--white);
  background: var(--aqua-dark);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker__group {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-right: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ticker__group span::after {
  margin-left: 30px;
  color: var(--sun);
  content: "✦";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Cards and content */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card::after {
  position: absolute;
  right: -48px;
  bottom: -62px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--card-color, var(--aqua-soft));
  content: "";
  opacity: 0.8;
}

.service-card__number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 54px;
  border-radius: 15px;
  color: var(--ink);
  background: var(--card-color, var(--aqua-soft));
  font-weight: 900;
}

.service-card p {
  max-width: 31ch;
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.service-card .text-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.photo-frame {
  position: relative;
  padding: 18px 18px 52px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.photo-frame::after {
  position: absolute;
  right: 22px;
  bottom: 15px;
  color: var(--ink-soft);
  font-family: "Comic Sans MS", cursive;
  font-size: 0.85rem;
  content: "Nos vemos en Educa10";
}

.photo-frame img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 5px;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  top: 5px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--aqua-dark);
  font-size: 0.75rem;
  font-weight: 900;
  content: "✓";
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
}

.step {
  min-height: 300px;
  padding: 36px;
  background: var(--ink);
}

.step__number {
  display: inline-block;
  margin-bottom: 72px;
  color: #7bdee6;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr);
  gap: 64px;
  align-items: center;
  padding: clamp(38px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background: var(--sun);
}

.feature-band h2 {
  max-width: 760px;
}

.feature-band__aside {
  padding-left: 34px;
  border-left: 1px solid rgba(20, 43, 53, 0.25);
}

.feature-band__aside p {
  color: rgba(20, 43, 53, 0.75);
}

/* Internal pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 86px;
  background: var(--aqua-soft);
}

.page-hero::after {
  position: absolute;
  top: -140px;
  right: -60px;
  width: 460px;
  height: 460px;
  border: 85px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  content: "";
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.page-hero .lead {
  max-width: 780px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--aqua-dark);
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 13px;
  border: 1px solid rgba(8, 126, 144, 0.2);
  border-radius: 999px;
  color: var(--aqua-dark);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.prose h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.prose h3 {
  margin-top: 42px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 18px;
}

.prose ul:not(.check-list),
.prose ol {
  display: grid;
  gap: 11px;
  padding-left: 22px;
}

.content-media {
  margin: 42px 0;
}

.content-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.content-media figcaption {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  text-align: right;
}

.content-media figcaption a:hover {
  color: var(--aqua-dark);
}

.info-card {
  position: sticky;
  top: 112px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-card__label {
  display: block;
  margin-bottom: 12px;
  color: var(--aqua-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-card p {
  color: var(--ink-soft);
}

.info-card .button {
  width: 100%;
  margin-top: 12px;
}

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

.subpage-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.subpage-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.subpage-card p {
  color: var(--ink-soft);
}

.subpage-card .text-link {
  margin-top: auto;
}

.quote-block {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.quote-block cite {
  display: block;
  margin-top: 24px;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 800;
}

.editorial-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.editorial-card img {
  width: 100%;
  height: auto;
}

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

.value-card {
  padding: 30px;
  border-top: 4px solid var(--aqua);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--white);
}

.value-card:nth-child(2) {
  border-color: var(--sun);
}

.value-card:nth-child(3) {
  border-color: var(--coral);
}

.value-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.team-card {
  overflow: hidden;
  min-height: 210px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--aqua-soft);
  object-fit: cover;
  object-position: center 22%;
}

.team-card__body {
  padding: 25px;
}

.team-card span,
.team-feature span {
  display: block;
  margin-bottom: 9px;
  color: var(--aqua-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.team-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-feature {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(190px, 1fr);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.team-feature img {
  width: 100%;
  height: 100%;
  background: var(--aqua-soft);
  object-fit: cover;
  object-position: center 20%;
}

.team-feature > div {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 32px;
}

.team-feature h3 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.summer-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.summer-feature__image {
  position: relative;
}

.summer-feature__image::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--sun);
  content: "";
  z-index: -1;
}

.summer-feature__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.summer-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.summer-facts span {
  padding: 15px;
  border-top: 2px solid var(--aqua);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.summer-facts strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-detail {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-detail span {
  display: block;
  margin-bottom: 4px;
  color: var(--aqua-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail a {
  font-weight: 800;
}

.contact-detail a:hover {
  color: var(--aqua-dark);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.social-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.social-link:hover {
  color: var(--white);
  border-color: var(--aqua-dark);
  background: var(--aqua-dark);
  transform: translateY(-2px);
}

.social-links--contact {
  margin-top: 10px;
}

.contact-form {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

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

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid rgba(20, 43, 53, 0.2);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(17, 169, 189, 0.1);
  outline: none;
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--aqua-dark);
}

.checkbox-field a {
  color: var(--aqua-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--aqua-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-note.is-success {
  padding: 13px 15px;
  border: 1px solid rgba(17, 169, 189, 0.28);
  border-radius: var(--radius-sm);
  background: var(--aqua-soft);
}

.form-note.is-error {
  padding: 13px 15px;
  border: 1px solid rgba(241, 120, 91, 0.32);
  border-radius: var(--radius-sm);
  color: #8b3926;
  background: #fff0eb;
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button--whatsapp {
  color: var(--white);
  background: #178f56;
}

.button--whatsapp:hover {
  background: #117243;
}

.map-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--aqua-soft);
  box-shadow: var(--shadow-sm);
}

.map-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card__pin {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  width: min(320px, calc(100% - 48px));
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-card__pin span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 0 16px;
  border-radius: 50% 50% 50% 8px;
  color: var(--white);
  background: var(--coral);
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-card__pin span b {
  transform: rotate(45deg);
}

.map-card__pin p {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

/* Legal */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 70px;
  justify-content: center;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 6px;
}

.legal-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  color: var(--ink);
  background: var(--aqua-soft);
}

.legal-copy h2 {
  margin-top: 52px;
  font-size: 2rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  margin-top: 32px;
  font-size: 1.25rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.legal-copy a {
  color: var(--aqua-dark);
  text-decoration: underline;
}

.legal-copy ul {
  display: grid;
  gap: 10px;
}

.cookie-table-wrap {
  overflow-x: auto;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cookie-table th,
.cookie-table td {
  padding: 14px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.cookie-table th {
  background: var(--aqua-soft);
}

/* Footer and cookie banner */
.site-footer {
  padding: 74px 0 24px;
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 48px;
  padding-bottom: 58px;
}

.footer-brand .brand {
  margin-bottom: 22px;
}

.footer-brand .brand__mark {
  color: var(--ink);
  background: var(--sun);
}

.footer-brand .brand__name span {
  color: #7bdee6;
}

.footer-brand p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.64);
}

.footer-brand .footer-social-title {
  margin: 22px 0 10px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-links--footer .social-link {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.social-links--footer .social-link:hover {
  color: var(--white);
  border-color: var(--aqua);
  background: var(--aqua-dark);
}

.footer-col h3 {
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col address {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.91rem;
  font-style: normal;
}

.footer-col a:hover {
  color: #7bdee6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: min(calc(100% - 44px), 460px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.cookie-banner p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

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

.cookie-banner .button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

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

  .mobile-nav {
    position: fixed;
    inset: 82px 0 0;
    display: block;
    overflow-y: auto;
    padding: 22px 20px 40px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-nav > a,
  .mobile-nav summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 11px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary svg {
    width: 18px;
    height: 18px;
    transition: transform 180ms ease;
  }

  .mobile-nav details[open] summary svg {
    transform: rotate(180deg);
  }

  .mobile-nav__children {
    display: grid;
    gap: 2px;
    padding: 8px 0 10px 15px;
  }

  .mobile-nav__children a {
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-weight: 700;
  }

  .mobile-nav a.is-active {
    color: var(--aqua-dark);
  }

  .mobile-nav .button {
    width: 100%;
    margin-top: 24px;
    color: var(--white);
  }

  .hero__grid {
    grid-template-columns: 1fr 390px;
    gap: 30px;
  }

  .hero__visual {
    min-height: 500px;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 0.7fr);
  }

  .footer-col:last-child {
    grid-column: 2 / -1;
  }

  .team-feature {
    grid-template-columns: 1fr;
  }

  .team-feature img {
    height: 280px;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 76px 0;
  }

  .section--compact {
    padding: 56px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .hero {
    padding: 58px 0 72px;
  }

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

  .hero__visual {
    min-height: 520px;
  }

  .hero__blob {
    inset: 0 10% 4%;
  }

  .hero__photo {
    inset: 0 8% 2%;
    width: 84%;
  }

  .about-split,
  .content-grid,
  .contact-layout,
  .summer-feature {
    grid-template-columns: 1fr;
  }

  .info-card {
    position: static;
  }

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

  .step {
    min-height: auto;
  }

  .step__number {
    margin-bottom: 36px;
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-band__aside {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid rgba(20, 43, 53, 0.25);
    border-left: 0;
  }

  .page-hero {
    padding: 64px 0 62px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .team-feature-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-shell {
    min-height: 72px;
  }

  .mobile-nav {
    inset: 72px 0 0;
  }

  .brand__name {
    font-size: 1.45rem;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__meta {
    display: grid;
    gap: 10px;
  }

  .hero__visual {
    min-height: 410px;
  }

  .hero__blob {
    inset: 0 2% 2%;
  }

  .hero__photo {
    inset: 0 2% 2%;
    width: 96%;
  }

  .card-grid,
  .values-grid,
  .team-grid,
  .subpage-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .summer-facts {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 290px;
  }

  .photo-frame {
    padding: 10px 10px 42px;
  }

  .photo-frame img {
    min-height: 270px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

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

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }

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

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-banner__actions .button {
    flex: 1;
  }
}
