/* Cabo San Lucas Yachts: site stylesheet (shared by every English and Spanish page) */

/* ---------- tokens ---------- */
:root {
  --ink: #0C2231;          /* deep Pacific night: text, dark sections */
  --ink-2: #163246;
  --teal: #0E7C7B;         /* Sea of Cortez: links, accents (4.7:1 on paper) */
  --teal-d: #0A6362;
  --teal-l: #63C7C2;       /* accents on dark */
  --sun: #E0683C;          /* sunset coral: highlights, primary CTA background with ink text */
  --sun-d: #B4471F;        /* coral text on light backgrounds */
  --sand: #F3EBDF;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --line: #E2D8CA;
  --muted: #56616B;
  --ok: #1D6B3A; --err: #B3261E;
  --f-display: "Marcellus", Georgia, "Times New Roman", serif;
  --f-text: "Hanken Grotesk", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 6px; --r-lg: 12px;
  --shadow: 0 1px 2px rgba(12, 34, 49, .06), 0 8px 24px rgba(12, 34, 49, .08);
  --gut: clamp(16px, 4vw, 32px);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: clamp(3rem, 7vw, 5.5rem);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-text); overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-d); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.45rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap--narrow { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 10px; color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: var(--r);
  border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--f-text); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); color: #fff; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #EA7C53; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--lg { min-height: 52px; padding: .85em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-quiet { color: var(--muted); font-size: .92rem; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #DCE6EC; font-size: .86rem; }
.topbar__in { display: flex; align-items: center; gap: 12px 20px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--teal-l); }
.topbar p { margin: 0; }
.topbar__mail { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar__mail .ic { color: var(--teal-l); }
.topbar__note { color: #AFC0CB; }
.topbar__short { display: none; }
.topbar__tel { margin-left: auto !important; }
.lang { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.lang .ic { width: 1em; height: 1em; opacity: .8; }
.lang a { padding: 4px 2px; }
.lang a[aria-current] { font-weight: 600; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.lang__sep { opacity: .5; }
@media (max-width: 1060px) { .topbar__note { display: none; } }
@media (max-width: 640px) {
  .topbar__tel { display: none; }
  .topbar .lang { margin-left: auto; }
}
@media (max-width: 420px) { .topbar__long { display: none; } .topbar__short { display: inline; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.hdr__in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 216px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: var(--r); }
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list li.is-active > a { color: var(--teal); }
.nav__list > li > a[aria-current="page"], .nav__list > li.is-active > a { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; margin-left: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--r); }
.sub-toggle .ic { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow); display: none; z-index: 60; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { padding: 9px 12px; font-size: .95rem; }
.sub a:hover { background: var(--sand); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
.js .has-sub.is-closed > .sub { display: none; }
.hdr__contact { flex: none; }
.hdr__contact .ic { width: 1.05em; height: 1.05em; }
.menu-btn, .menu-link { display: none; align-items: center; gap: .45em; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff;
  color: var(--ink); font: 600 .95rem var(--f-text); cursor: pointer; text-decoration: none; }
.mnav { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 116px); overflow-y: auto; padding: 8px 0 24px; }
.mnav[hidden] { display: none; }
.mnav__list { list-style: none; margin: 0 0 16px; padding: 0; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__list a { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.mnav__list a[aria-current="page"] { color: var(--teal); }
.mnav__sub { list-style: none; margin: -6px 0 10px; padding: 0 0 0 14px; border-left: 2px solid var(--sand); }
.mnav__sub a { padding: 8px 4px; font-size: .98rem; color: var(--muted); }
.mnav__mail { margin: 14px 0 6px; text-align: center; }
.mnav__mail a { font-weight: 600; overflow-wrap: anywhere; }
.lang--menu { display: flex; justify-content: center; padding: 8px; font-size: 1rem; }
.lang--menu a { color: var(--ink); }

@media (max-width: 1140px) {
  .nav { display: none; }
  .hdr__contact { margin-left: auto; }
  .js .menu-btn { display: inline-flex; }
  .no-js .menu-link { display: inline-flex; }
}
@media (min-width: 1141px) { .mnav { display: none !important; } }
@media (max-width: 640px) {
  .hdr__in { min-height: 64px; gap: 10px; }
  .brand img { width: 168px; }
  .hdr__contact { min-height: 42px; padding: .5em .8em; font-size: .9rem; }
  .menu-btn, .menu-link { padding: 0 10px; }
}
@media (max-width: 440px) {
  .brand img { width: 150px; }
  .menu-btn__label { display: none; }
  .menu-btn .ic, .menu-link .ic { width: 1.4em; height: 1.4em; }
  .hdr__contact { padding: .5em .7em; }
}
@media (max-width: 360px) {
  .hdr__in { gap: 8px; }
  .brand img { width: 132px; }
  .hdr__contact .ic { display: none; }
  .hdr__contact { padding: .5em .6em; }
  .menu-btn, .menu-link { padding: 0 8px; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.hero--home { min-height: clamp(520px, 78vh, 760px); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 34, 49, .15) 0%, rgba(12, 34, 49, .25) 40%, rgba(12, 34, 49, .82) 100%); }
.hero--home .hero__shade { background: linear-gradient(90deg, rgba(12, 34, 49, .78) 0%, rgba(12, 34, 49, .45) 45%, rgba(12, 34, 49, .05) 75%), linear-gradient(0deg, rgba(12, 34, 49, .55), rgba(12, 34, 49, 0) 45%); }
.hero__in { position: relative; padding-top: 56px; padding-bottom: clamp(36px, 6vw, 64px); }
.hero h1 { color: #fff; max-width: 17em; margin-bottom: .35em; text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.hero__kicker { font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: .9em; display: flex; align-items: center; gap: .7em; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--sun); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 36em; color: #F1F4F6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.hero .crumbs { margin-bottom: 1.2em; }
.hero .crumbs a, .hero .crumbs span { color: #fff; }
@media (max-width: 640px) {
  .hero { min-height: 440px; }
  .hero--home { min-height: 600px; }
  .hero--home .hero__shade { background: linear-gradient(180deg, rgba(12, 34, 49, .1) 0%, rgba(12, 34, 49, .35) 35%, rgba(12, 34, 49, .88) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; }
.facts li { display: flex; align-items: center; gap: .7em; font-weight: 500; font-size: .98rem; }
.facts .ic { color: var(--teal); width: 1.5em; height: 1.5em; }
@media (max-width: 900px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts ul { grid-template-columns: 1fr; } }

.phero { background: var(--sand); padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.phero h1 { margin-bottom: .3em; }
.phero__sub { font-size: 1.15rem; max-width: 40em; color: var(--ink-2); margin: 0; }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 .55em; opacity: .55; }
.crumbs a { color: inherit; }
.crumbs span[aria-current] { opacity: .85; }

/* ---------- sections ---------- */
.section { padding: var(--s6) 0; }
.section--sand { background: var(--sand); }
.section--white { background: #fff; }
.section--ink { background: var(--ink); color: #E7EEF2; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding: var(--s5) 0; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: .8em; display: flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sun); flex: none; }
.section--ink .eyebrow { color: var(--teal-l); }
.shead { max-width: 760px; margin-bottom: var(--s4); }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.lead { font-size: 1.13rem; color: var(--ink-2); }
.section--ink .lead { color: #D5E0E6; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; }
.prose > :first-child, .prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media img { border-radius: var(--r-lg); width: 100%; }
.split__media--pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end; }
.split__media--pair picture:last-child { margin-bottom: 36px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.3em; }
.ticks li { display: flex; gap: .65em; margin-bottom: .55em; }
.ticks .ic { color: var(--teal); margin-top: .25em; }
.section--ink .ticks .ic { color: var(--teal-l); }
.more { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; justify-content: center; }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow); }
.vcard__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vcard:hover .vcard__media img { transform: scale(1.03); }
.vcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.vcard__kicker { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: .45em; }
.vcard__title { font-size: 1.35rem; margin-bottom: .45em; }
.vcard__title a { color: var(--ink); text-decoration: none; }
.vcard__title a:hover { color: var(--teal); }
.vcard__meta { list-style: none; padding: 0; margin: 0 0 .8em; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.vcard__meta li { display: inline-flex; align-items: center; gap: .4em; }
.vcard__meta .ic { color: var(--teal); }
.vcard__lead { font-size: .97rem; color: var(--muted); margin-bottom: 1em; }
.vcard__links { margin: auto 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-top: 12px; border-top: 1px solid var(--line); }

.xcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.xcard picture { aspect-ratio: 4 / 3; overflow: hidden; }
.xcard img { width: 100%; height: 100%; object-fit: cover; }
.xcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.xcard h3 { margin-bottom: .4em; }
.xcard h3 a { color: var(--ink); text-decoration: none; }
.xcard h3 a:hover { color: var(--teal); }
.xcard p { color: var(--muted); font-size: .98rem; }
.xcard .link-arrow { margin-top: auto; }

.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.section--sand .tile { background: var(--paper); }
.tile__ic { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--teal); display: grid; place-items: center; margin-bottom: 12px; }
.section--sand .tile__ic { background: #fff; }
.tile__ic .ic { width: 22px; height: 22px; }
.tile h3 { font-size: 1.2rem; margin-bottom: .35em; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }
.tile p + p { margin-top: .6em; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 400 2rem/1 var(--f-display); color: var(--sun-d); }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--ink .steps p { color: #C9D6DD; }
.section--ink .steps li::before { color: var(--sun); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photos img { border-radius: var(--r); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: 100%; }
@media (max-width: 760px) { .photos { grid-template-columns: repeat(2, 1fr); } }

.note { background: var(--sand); border-left: 3px solid var(--sun); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: .95rem; color: var(--ink-2); }
.note p:last-child { margin: 0; }

/* ---------- fleet tools ---------- */
.ftools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 500 .93rem var(--f-text); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ftools__count { margin: 0 0 0 auto; color: var(--muted); font-size: .93rem; }
.ftools select { min-height: 40px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 10px; font: inherit; font-size: .93rem; background: #fff; color: var(--ink); }
.ftools label { font-size: .93rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.ftools select { max-width: 100%; min-width: 0; }
@media (max-width: 480px) { .ftools label { width: 100%; } .ftools label select { flex: 1; } .ftools__count { margin-left: 0; } }
.no-js .ftools { display: none; }
.vcard[hidden] { display: none; }

/* ---------- vessel page ---------- */
.vhero { background: var(--sand); padding: clamp(20px, 4vw, 40px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.vhero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.vhero h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.1rem); }
.vhero__lead { font-size: 1.12rem; color: var(--ink-2); }
.vhero__facts { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 10px; }
.vhero__facts li { display: inline-flex; align-items: center; gap: .45em; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: .95rem; }
.vhero__facts .ic { color: var(--teal); }
.vhero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vhero__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.vhero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) { .vhero__grid { grid-template-columns: 1fr; } .vhero__media { order: -1; } }
.vbody { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .vbody { grid-template-columns: 1fr; } }
.specs { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.specs h2 { font-size: 1.4rem; }
.specs dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.specs dt, .specs dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.specs dt { color: var(--muted); padding-right: 18px; font-size: .95rem; }
.specs dd { font-weight: 600; text-align: right; }
.specs .note { margin-top: 16px; }
.tags { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.tags a:hover { background: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 18, 27, .96); display: grid; grid-template-rows: auto 1fr; }
.lb[hidden] { display: none; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; color: #fff; }
.lb__count { margin: 0; font-size: .95rem; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 64px 24px; min-height: 0; }
.lb__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb__cap { color: #D5E0E6; font-size: .92rem; margin-top: 10px; text-align: center; max-width: 60ch; }
.lb__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb__btn:hover { background: rgba(255, 255, 255, .25); }
.lb__btn .ic { width: 24px; height: 24px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 10px; } .lb__next { right: 10px; }
@media (max-width: 640px) {
  .lb__fig { padding: 0 8px 80px; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; transform: none; }
  .lb__prev { left: calc(50% - 60px); } .lb__next { right: calc(50% - 60px); }
}
.lb-open { overflow: hidden; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 18px 2px; font-weight: 600; font-size: 1.06rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--teal); }
.faq__ic { margin-top: .2em; transition: transform .2s; color: var(--teal); }
.faq__item[open] .faq__ic { transform: rotate(180deg); }
.faq__a { padding: 0 2px 18px; color: var(--ink-2); max-width: 70ch; }
.faq__a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: var(--s5); }
.faq-group h2 { font-size: 1.55rem; }
.toc { list-style: none; padding: 0; margin: 0 0 var(--s4); display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; background: #fff; }
.toc a:hover { border-color: var(--ink); }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #E7EEF2; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--sun); opacity: .16; }
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 48px; align-items: center; padding-top: var(--s5); padding-bottom: var(--s5); }
.cta h2 { color: #fff; }
.cta p { margin: 0; color: #D0DCE3; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__mail { flex-basis: 100%; }
.cta__mail a { color: var(--teal-l); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.ways { display: grid; gap: 12px; }
.way { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.way:hover { border-color: var(--ink); color: var(--ink); }
.way .ic { width: 26px; height: 26px; color: var(--teal); }
.way strong { display: block; font-size: .95rem; }
.way__val { display: block; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.way--primary { background: var(--ink); border-color: var(--ink); color: #fff; padding: 18px; }
.way--primary:hover { color: #fff; background: var(--ink-2); }
.way--primary .ic { color: var(--sun); }
.way--primary .way__val { color: #fff; font-size: 1.08rem; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.aside h2 { font-size: 1.5rem; }
.aside .note { margin-top: 18px; }

/* ---------- forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3.5vw, 36px); }
.form__note { font-size: .9rem; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__grid .field[data-field$="msg"] { grid-column: 1 / -1; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: var(--sun-d); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #CFC3B2; border-radius: var(--r); background: #fff; color: var(--ink); font: 400 1rem var(--f-text); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(14, 124, 123, .25); border-color: var(--teal); }
.field__hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field__err { color: var(--err); font-size: .9rem; font-weight: 600; margin: 6px 0 0; display: flex; gap: .4em; }
.field__err::before { content: "!"; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--err); color: #fff; font-size: .8em; flex: none; margin-top: .15em; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); border-width: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.form__privacy { margin: 0; font-size: .88rem; color: var(--muted); }
.form__status { padding: 14px 16px; border-radius: var(--r); margin-bottom: 18px; font-weight: 500; }
.form__status.is-ok { background: #E6F3EA; color: var(--ok); border: 1px solid #A9D3B6; }
.form__status.is-err { background: #FBEAE8; color: var(--err); border: 1px solid #EDB3AD; }
.form__status:focus { outline: 3px solid var(--sun); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #C9D6DD; margin-top: 0; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: var(--teal-l); text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 40px 64px; padding-top: var(--s5); padding-bottom: var(--s5); }
.ftr__logo img { width: 240px; margin-bottom: 18px; }
.ftr__brand p { margin-bottom: .8em; }
.ftr__mail { font-size: 1.1rem; font-weight: 600; }
.ftr__mail a { display: inline-flex; align-items: center; gap: .5em; overflow-wrap: anywhere; color: #fff; }
.ftr__mail .ic { color: var(--sun); }
.ftr__note { font-size: .93rem; color: #AFC0CB; }
.ftr__ways { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.ftr__ways li { margin-bottom: .45em; }
.ftr__ways a { display: inline-flex; align-items: center; gap: .5em; color: #E3EBEF; }
.ftr__ways .ic { color: var(--teal-l); }
.ftr__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ftr__nav h2 { font: 600 .8rem var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-l); margin-bottom: 1em; }
.ftr__nav ul { list-style: none; padding: 0; margin: 0 0 1em; }
.ftr__nav li { margin-bottom: .55em; }
.lang--footer { margin-top: 10px; color: #fff; }
.ftr__base { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #9FB2BE; }
.ftr__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 16px; padding-bottom: 16px; }
.ftr__base p { margin: 0; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ftr__nav { grid-template-columns: 1fr 1fr; } .ftr__nav > div:last-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 13px; border-radius: 999px;
  background: #1F7A4D; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; box-shadow: 0 6px 18px rgba(12, 34, 49, .25); }
.wa-float:hover { background: #17633E; color: #fff; }
.wa-float .ic { width: 24px; height: 24px; }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; } .wa-float__label { display: none; } }
.lb-open .wa-float { display: none; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: var(--s6) 0; }
.nf__code { font: 400 clamp(4rem, 12vw, 8rem)/1 var(--f-display); color: var(--sun-d); margin: 0 0 .1em; }
.nf .more { justify-content: center; }
.nf__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: var(--s4) 0 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .topbar, .hdr, .wa-float, .cta, .ftr__nav, .lb { display: none !important; } }
