/* Smart Beach by Tokitek — prototipo v3 de la página de playas.
   Reutiliza ../css/styles.css y redefine paleta, tipografía y formas. */

:root {
  --ocean: #0B3954;
  --ocean-d: #072B40;
  --teal: #1FB5C4;
  --sand: #F4E9D8;
  --foam: #F6FBFA;
  --coral: #FF6B57;
  --coral-text: #B53D2B;

  --navy-900: #072B40;
  --navy-800: #0B3954;
  --navy-700: #0F4A6B;
  --blue: #0B6B78;
  --blue-600: #0A5C67;
  --blue-300: #8FE3EA;
  --cyan: #1FB5C4;
  --cyan-soft: #8FE3EA;
  --accent: #FF6B57;
  --ink: #0B3954;
  --slate: #3F5B6B;
  --slate-2: #46626F;
  --cloud: #F4E9D8;
  --cloud-2: #F6FBFA;
  --line: #E2D4BC;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 18px -8px rgba(11,57,84,.18);
  --shadow: 0 22px 44px -22px rgba(11,57,84,.32);
  --shadow-lg: 0 40px 80px -30px rgba(7,43,64,.5);
  --wave-h: 56px;
}

html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { background: var(--foam); color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.012em; line-height: 1.12; font-variation-settings: "SOFT" 60; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em[lang="en"] { font-style: italic; }

/* ---------- kicker con línea de marea ---------- */
.kicker { color: var(--blue); gap: 10px; }
.kicker::before {
  width: 34px; height: 8px; border-radius: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 8'%3E%3Cpath d='M1 5q4-5 8 0t8 0t8 0t8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 8'%3E%3Cpath d='M1 5q4-5 8 0t8 0t8 0t8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.kicker--light { color: var(--cyan-soft); }
.kicker--light::before { background: currentColor; }
.section__title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section__lead { color: var(--slate); }
.btn { white-space: normal; text-align: center; }
.btn--accent { background: var(--coral); color: var(--ocean-d); }
.btn--accent:hover { background: #FF8372; box-shadow: 0 18px 34px -14px rgba(255,107,87,.7); }
.btn--primary { background: var(--blue); box-shadow: 0 12px 26px -12px rgba(11,107,120,.8); }
.btn--primary:hover { background: var(--blue-600); }
.btn--accent:focus-visible, .btn--ghost:focus-visible, .btn--primary:focus-visible { outline-color: #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--ocean); }
.tag { color: var(--blue); background: rgba(11,107,120,.1); }

/* ---------- olas entre secciones ---------- */
.wave {
  position: absolute; z-index: 0; top: -1px; left: 0; width: 100%; height: var(--wave-h);
  transform: scaleY(-1); fill: var(--prev, var(--foam)); pointer-events: none; display: block;
}
.sb-scheme, .beaches, .pl-azti, .section, .pl-contact { position: relative; }
.container { position: relative; z-index: 1; }

/* ---------- cabecera ---------- */
.site-header.is-scrolled {
  background: rgba(244,233,216,.94); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(11,57,84,.5);
}
.nav a::after { background: var(--coral); }
.nav a, .nav-cta { white-space: nowrap; }
.nav { gap: 26px; }
.brand__sb-a { white-space: nowrap; }
.nav a { color: rgba(255,255,255,.92); }
.is-scrolled .nav a { color: var(--slate); }
.is-scrolled .nav a:hover { color: var(--ocean); }
.brand { gap: 0; }
.brand__sb {
  display: inline-flex; flex-direction: column; line-height: 1.05; margin-left: 14px; padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.45); color: #fff; font-family: var(--font-display);
}
.brand__sb-a { font-weight: 700; font-size: 1.05rem; letter-spacing: .005em; }
.brand__sb-b { font-weight: 500; font-size: .74rem; font-style: italic; color: #D9F3F6; margin-top: 2px; }
.is-scrolled .brand__sb, .menu-open .brand__sb { color: var(--ocean); border-color: rgba(11,57,84,.3); }
.is-scrolled .brand__sb-b, .menu-open .brand__sb-b { color: var(--slate); }
.site-header.menu-open { background: rgba(244,233,216,.98); }
.nav.is-open { background: var(--sand); }
.is-scrolled .hamburger span, .menu-open .hamburger span { background: var(--ocean); }

/* ---------- hero ---------- */
.pl-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #072B40 0%, #0B3954 52%, #0E5072 100%);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: calc(clamp(72px, 9vw, 120px) + var(--wave-h) * .6);
}
.pl-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(31,181,196,.34), transparent 70%),
    url("tide.svg") center bottom/cover no-repeat;
}
.pl-hero__title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 600; margin-top: 20px; max-width: 21ch; color: #fff; }
.pl-hero__sub { margin-top: 22px; max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #DCEBF1; }
.pl-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pl-hero .btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); }
.pl-hero :focus-visible, .pl-casos :focus-visible, .pl-contact :focus-visible, .footer :focus-visible { outline-color: var(--cyan-soft); }

/* ---------- esquema ---------- */
.sb-scheme {
  --prev: #0E5072; background: var(--sand);
  padding-top: calc(clamp(56px, 8vw, 100px) + var(--wave-h) * .4); padding-bottom: clamp(64px, 9vw, 120px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 30q30-22 60 0t60 0t60 0t60 0' fill='none' stroke='%230B3954' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E");
}
.sb-scheme .section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.sb-wrap { position: relative; container-type: inline-size; }
.sb-stage {
  position: relative; aspect-ratio: 1000 / 620; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #DDF1F3 0%, #F2FAF9 100%);
  box-shadow: 0 0 0 6px #fff, 0 34px 60px -28px rgba(11,57,84,.45);
}
.sb-stage img, .sb-stage svg { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.sb-stage svg text { font-family: var(--font-body); }
.sb-hots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.sb-hot {
  position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0;
  display: block; border: 0; border-radius: 50%; background: none; pointer-events: auto; color: #fff;
  font-family: var(--font-body); line-height: 1;
}
.sb-n {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--ocean); color: #fff; border: 3px solid #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 16px -6px rgba(7,43,64,.55);
  transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.sb-hot::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--coral);
  animation: sbPulse 2.6s ease-out infinite; pointer-events: none;
}
.sb-hot:nth-child(2n)::before { animation-delay: .6s; }
.sb-hot:nth-child(3n)::before { animation-delay: 1.2s; }
@keyframes sbPulse { 0% { transform: scale(.85); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.sb-hot:hover .sb-n { transform: scale(1.12); background: var(--coral); color: var(--ocean-d); }
.sb-hot:focus-visible { outline: none; }
.sb-hot:focus-visible .sb-n { outline: 3px solid var(--ocean-d); outline-offset: 3px; }
.sb-hot.is-active .sb-n { background: #fff; color: var(--ocean); border-color: var(--coral); transform: scale(1.18); box-shadow: 0 0 0 6px rgba(255,107,87,.28), 0 10px 20px -6px rgba(7,43,64,.6); }
.sb-hot.is-active { z-index: 3; }
.sb-hot.is-active::before { animation: none; opacity: 0; }
.sb-lab {
  position: absolute; left: calc(50% + var(--dx) * .1cqw); top: calc(50% + var(--dy) * .1cqw); transform: translate(0, -50%);
  white-space: nowrap; font-size: clamp(9px, 1.22cqw, 15px); font-weight: 600; letter-spacing: .005em;
  padding: .32em .8em .34em; border-radius: 100px; background: #fff; color: var(--ocean);
  border: 1px solid rgba(11,57,84,.18); box-shadow: 0 6px 14px -8px rgba(7,43,64,.5);
  transition: background .2s, color .2s, border-color .2s;
}
.sb-hot[data-s="l"] .sb-lab { transform: translate(-100%, -50%); }
.sb-hot--azti .sb-lab { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.sb-hot:hover .sb-lab, .sb-hot.is-active .sb-lab { background: var(--coral); border-color: var(--coral); color: var(--ocean-d); }
.sb-cap {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-100%, -50%); white-space: nowrap;
  font-size: clamp(9px, 1.22cqw, 15px); font-weight: 700; padding: .32em .9em .34em; border-radius: 100px;
  background: #fff; color: var(--ocean); border: 1.5px solid var(--teal); box-shadow: 0 6px 14px -8px rgba(7,43,64,.5);
}
.sb-hot:focus-visible .sb-lab { outline: 3px solid var(--ocean-d); outline-offset: 2px; }

/* animación del esquema: pausa fuera de pantalla y resalte del elemento activo */
.sb-wrap.is-paused .sb-stage svg * { animation-play-state: paused !important; }
.sb-stage svg .halo.is-on { opacity: 1; animation: sbHalo 1.5s ease-in-out infinite; }
.sb-stage svg .dl.is-on { stroke: #FF6B57; stroke-width: 3.6; opacity: 1; }
.sb-stage svg .ld.is-on { stroke: #FF6B57; stroke-opacity: 1; stroke-width: 2; }
.sb-wrap.has-act .sb-stage svg .dl:not(.is-on) { opacity: .3; }
@keyframes sbHalo { 0%, 100% { stroke-opacity: 1; stroke-width: 3; } 50% { stroke-opacity: .35; stroke-width: 5; } }

.sb-card {
  position: absolute; z-index: 6; width: min(340px, calc(100% - 16px)); background: #fff; color: var(--ink);
  border-radius: 24px; padding: 20px 22px 22px; box-shadow: 0 30px 56px -20px rgba(7,43,64,.6), 0 0 0 1px rgba(11,57,84,.08);
  animation: sbIn .22s cubic-bezier(.2,.7,.2,1);
}
.sb-card[hidden] { display: none; }
.sb-card:focus { outline: none; }
.sb-card:focus-visible { outline: 3px solid var(--ocean); }
@keyframes sbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sb-card__caret { position: absolute; left: var(--ax, 50%); width: 16px; height: 16px; margin-left: -8px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.sb-card[data-side="below"] .sb-card__caret { top: -7px; box-shadow: -2px -2px 0 rgba(11,57,84,.06); }
.sb-card[data-side="above"] .sb-card__caret { bottom: -7px; box-shadow: 2px 2px 0 rgba(11,57,84,.06); }
.sb-card__close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
  background: var(--sand); color: var(--ocean); display: grid; place-items: center; transition: background .2s;
}
.sb-card__close:hover { background: var(--line); }
.sb-card__head { display: flex; gap: 14px; align-items: flex-start; padding-right: 36px; }
.sb-card__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #D3F1F4; color: var(--ocean); }
.sb-card__ico svg { width: 26px; height: 26px; }
.sb-card__title { font-size: 1.28rem; margin-top: 8px; }
.sb-card__text { margin-top: 14px; color: var(--slate); font-size: .98rem; line-height: 1.55; }
.sb-tag { display: inline-block; font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.sb-tag--app { background: #D3F1F4; color: #0A5560; }
.sb-tag--azti { background: var(--ocean); color: #fff; }
.sb-backdrop { display: none; }

/* lista alternativa */
.sb-list { margin-top: clamp(28px, 4vw, 40px); }
.sb-list__lead { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ocean); }
.sb-chips { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.sb-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; min-height: 44px; border-radius: 100px;
  background: #fff; color: var(--ocean); border: 1.5px solid rgba(11,57,84,.2); font-weight: 600; font-size: .95rem; text-align: left;
  box-shadow: var(--shadow-sm); transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.sb-chip:hover { border-color: var(--ocean); transform: translateY(-1px); }
.sb-chip__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--ocean-d); font-weight: 700; font-size: .85rem; }
.sb-chip--azti .sb-chip__n { background: var(--ocean); color: #fff; }
.sb-chip.is-active { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.sb-chip.is-active .sb-chip__n { background: var(--coral); color: var(--ocean-d); }
.sb-legend { margin-top: 16px; font-size: .86rem; color: var(--slate); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sb-legend__dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.sb-legend__dot--azti { background: var(--ocean); }
.sb-legend__dot--app { background: var(--teal); margin-left: 12px; }
.pl-langs { margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--coral); color: var(--ink); font-weight: 600; font-size: 1.05rem; }

/* ---------- casos ---------- */
.pl-casos { --prev: var(--sand); background: var(--ocean); padding-top: calc(clamp(72px, 10vw, 140px) + var(--wave-h) * .4); }
.pl-casos::before { background: radial-gradient(60% 80% at 100% 0%, rgba(31,181,196,.22), transparent 70%); }
.pl-casos .section__head--light .section__title { color: #fff; }
.pl-bcard { display: flex; flex-direction: column; cursor: pointer; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border-color: rgba(143,227,234,.28); box-shadow: 0 24px 44px -26px rgba(0,0,0,.5); }
.pl-bcard:hover { transform: translateY(-4px); border-color: var(--cyan-soft); background: rgba(255,255,255,.1); }
.pl-bcard:focus-visible { outline: 3px solid var(--cyan-soft); outline-offset: 4px; }
.pl-bcard .bcard__ico { border-radius: 18px; }
.pl-bcard .bcard__top h3 { font-weight: 600; }
.pl-bcard .bcard__loc { color: var(--cyan-soft); }
.pl-bcard .bcard__desc { color: #D3E4EC; }
.pl-bcard .bcard__photo { position: relative; aspect-ratio: 16/9; border-radius: 20px; }
.pl-bcard .bcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-more { margin-top: auto; padding-top: 20px; font-weight: 700; color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 4px; }
.pl-more::after { content: " \2192"; text-decoration: none; display: inline-block; }
.pl-bcard:hover .pl-more { color: #fff; }
.pl-credit { margin-top: 16px; font-size: .8rem; color: #B5CBD6; }
.pl-credit a { color: #D3E4EC; text-decoration: underline; text-underline-offset: 3px; }
.pl-credit a:hover { color: #fff; }

/* ---------- modal ---------- */
.modal__backdrop { background: rgba(7,43,64,.66); }
.modal__dialog { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal__title { font-weight: 600; }
.modal__close { background: var(--sand); color: var(--ocean); }
.modal__close:hover { background: var(--line); color: var(--ocean); }
.modal__close:focus-visible, .modal__press a:focus-visible, .modal__stores a:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.modal__press a { color: var(--ocean); }
.modal__press a:hover { color: var(--blue); }
.pl-modal__photo { position: relative; aspect-ratio: 16/9; margin-top: 22px; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.pl-modal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-modal__credit { margin-top: 6px; font-size: .74rem; color: var(--slate-2); }
.pl-modal__credit a { text-decoration: underline; text-underline-offset: 2px; }
.pl-modal__credit[hidden] { display: none; }
.modal__desc { margin-top: 16px; color: var(--slate); }

/* ---------- AZTI ---------- */
.pl-azti { --prev: var(--ocean); background: var(--foam); padding-top: calc(clamp(56px, 7vw, 88px) + var(--wave-h) * .4); padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 0; }
.pl-azti__main { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.pl-azti__logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.pl-azti__logo img { width: 150px; max-width: 100%; height: auto; aspect-ratio: 1240 / 742; object-fit: contain; }
.pl-azti__title { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-top: 8px; max-width: 34ch; }
.pl-azti__text { margin-top: 12px; color: var(--slate); max-width: 70ch; font-size: .98rem; }
.pl-azti__facts { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pl-azti__facts li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 16px; padding: 14px 18px; font-weight: 600; font-size: .94rem; box-shadow: var(--shadow-sm); }
.pl-azti__link { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.pl-azti__link:hover { color: var(--ocean); }

/* ---------- secciones alternas ---------- */
.section { padding-top: calc(clamp(64px, 9vw, 120px) + var(--wave-h) * .4); padding-bottom: clamp(64px, 9vw, 120px); }
.pl-alt { background: var(--sand); }
.pl-alt .kicker { color: var(--blue); }
#empezar { --prev: var(--foam); }
#contratacion { --prev: var(--sand); background: var(--foam); }
#incluye { --prev: var(--foam); }
#preguntas { --prev: var(--sand); background: var(--foam); }

.pl-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pl-level { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pl-level::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--teal) 0 24px, transparent 24px 36px); opacity: .55; }
.pl-level h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 16px; }
.pl-level p { margin-top: 14px; color: var(--slate); }
.pl-level .tag { color: var(--blue); }

.pl-steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pl-steps li { counter-increment: step; position: relative; padding: 74px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 600; font-size: 1.04rem; box-shadow: var(--shadow-sm); }
.pl-steps li::before { content: counter(step); position: absolute; top: 20px; left: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--ocean-d); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.pl-steps li::after { content: ""; position: absolute; top: 40px; left: 72px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); opacity: .7; }
.pl-note { margin-top: 24px; color: var(--slate); font-size: .95rem; max-width: 64ch; }

.pl-check { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; max-width: 980px; }
.pl-check li { position: relative; padding-left: 40px; font-size: 1.05rem; }
.pl-check li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); }
.pl-check li::after { content: ""; position: absolute; left: 9px; top: 7px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(.9); }

.pl-faq { max-width: 820px; border-top: 1px solid var(--line); }
.pl-faq details { border-bottom: 1px solid var(--line); }
.pl-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 4px; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s; }
.pl-faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.pl-faq summary:focus-visible { outline-offset: -3px; }
.pl-faq details p { padding: 0 44px 22px 4px; color: var(--slate); max-width: 64ch; }
.pl-faq a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contacto ---------- */
.pl-contact { --prev: var(--foam); background: var(--ocean); color: #fff; padding-top: calc(clamp(64px, 9vw, 120px) + var(--wave-h) * .4); padding-bottom: clamp(64px, 9vw, 110px); overflow: hidden; }
.pl-contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 100% 100%, rgba(31,181,196,.2), transparent 70%); pointer-events: none; }
.pl-contact__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pl-contact .section__title { color: #fff; }
.pl-contact__who { margin-top: 22px; color: #D3E4EC; font-size: 1.05rem; }
.pl-contact__who strong { color: #fff; font-size: 1.2rem; }
.pl-contact__list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.pl-contact__list li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.pl-contact__lbl { min-width: 84px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #B5CBD6; font-weight: 700; }
.pl-contact__list a { font-size: 1.15rem; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pl-contact__list a:hover { color: var(--cyan-soft); }
.pl-contact__legal { font-style: normal; color: #D3E4EC; line-height: 1.8; padding: 24px 26px; border: 1px solid rgba(143,227,234,.28); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.pl-contact__legal strong { color: #fff; }
.pl-partners { margin-top: clamp(44px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(143,227,234,.25); }
.pl-partners__title { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #B5CBD6; font-weight: 700; }
.pl-partners ul { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; }
.pl-partners li { background: #fff; border-radius: 16px; padding: 12px 22px; display: flex; align-items: center; justify-content: center; }
.pl-partners img { height: 52px; width: auto; max-width: none; object-fit: contain; flex: none; }

/* ---------- pie ---------- */
.footer { background: var(--ocean-d); color: #B5CBD6; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__navtitle { color: #9FB9C6; }
.cookie-banner { background: var(--ocean); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) and (min-width: 861px) {
  .nav { gap: 20px; margin-left: 8px; }
  .nav a { font-size: .92rem; }
  .brand__sb-b { display: none; }
}
@media (max-width: 1000px) { .pl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .sb-card {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto !important; width: auto; max-height: 58vh; overflow: auto; z-index: 150;
    border-radius: 28px 28px 0 0; padding: 30px 24px calc(28px + env(safe-area-inset-bottom));
    animation: sbSheet .28s cubic-bezier(.2,.7,.2,1);
  }
  .sb-card::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(11,57,84,.25); }
  .sb-card__caret { display: none; }
  .sb-card__close { top: 18px; }
  .sb-card__head { padding-top: 8px; }
  .sb-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 140; background: rgba(7,43,64,.38); }
  .sb-hot { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
  .sb-n { font-size: .82rem; border-width: 2.5px; }
  .sb-stage { border-radius: 24px; box-shadow: 0 0 0 4px #fff, 0 24px 44px -24px rgba(11,57,84,.6); }
  .brand__sb-b { display: block; }
}
@keyframes sbSheet { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 860px) {
  :root { --wave-h: 40px; }
  .pl-levels, .pl-contact__grid, .pl-azti__main, .pl-azti__facts { grid-template-columns: 1fr; }
  .pl-azti__logo { max-width: 200px; }
}
@media (max-width: 560px) {
  .pl-steps, .pl-check { grid-template-columns: 1fr; }
  .pl-hero__cta .btn { width: 100%; }
  .pl-bcard { padding: 20px; }
  .pl-bcard .bcard__photo { aspect-ratio: 16/10; }
  .pl-steps li { padding-top: 70px; }
  .brand__logo { height: 24px; }
  .brand__sb { margin-left: 10px; padding-left: 10px; }
  .brand__sb-a { font-size: .95rem; }
  .brand__sb-b { font-size: .68rem; }
  .sb-chip { font-size: .9rem; padding-right: 14px; }
}
@media (max-width: 640px) {
  .sb-lab { display: none; }
  .sb-cap { display: none; }
  .sb-hot { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
  .sb-n { font-size: .68rem; border-width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-stage svg *, .sb-stage svg .halo.is-on { animation: none !important; }
  .sb-stage svg .pk, .sb-stage svg .ring { display: none; }
  .sb-hot::before { animation: none; opacity: 0; }
  .sb-n, .sb-lab { transition: none; }
  .sb-hot, .sb-chip, .sb-card { transition: none; animation: none; }
  html { scroll-behavior: auto; }
}
