:root {
  color-scheme: light;
  --ink: #102e3b;
  --navy: #103c4d;
  --navy-deep: #071f2c;
  --paper: #f6f4eb;
  --muted: #375861;
  --tint: #e1eeeb;
  --line: #bdcfcc;
  --gold: #f2d28d;
  --sea: #20665f;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 .85rem; line-height: 1.1; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.045em; }
h2 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
h3 { font-size: 1.25rem; }
:focus-visible { outline: 3px solid #547b9b; outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 7rem); }
section[id], main[id] { scroll-margin-top: 6rem; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; background: white; padding: .65rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.top { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-actions { display: flex; gap: .5rem; white-space: nowrap; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-weight: 800; line-height: 1.18; text-decoration: none; }
.brand small { display: block; margin-top: .18rem; color: var(--muted); font-size: .78rem; font-weight: 600; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; flex: none; }
nav { display: flex; gap: 1.1rem; }
nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.menu-toggle { display: none; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; padding: .6rem .95rem; border-radius: .45rem; font-weight: 750; text-decoration: none; }
.button:hover { filter: brightness(.92); }
.primary { background: var(--gold); color: var(--navy-deep); }
.outline { color: #fff; border-color: #9bb0bf; }
.dark { background: var(--navy); color: #fff; }
.hero { background: linear-gradient(130deg, var(--navy-deep), #10444b); color: white; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(.65rem, 1.35vw, 1.15rem); }
.hero h1 { font-size: clamp(2.25rem, 4.1vw, 3.7rem); line-height: .92; margin: .45rem 0 .9rem; }
.hero-content p { max-width: 34rem; color: #dfeeea; margin-bottom: .75rem; }
.hero-content .hero-subtitle { font-size: 1rem; color: var(--gold); font-weight: 650; }
.hero-picture { position: relative; overflow: hidden; border: 1px solid #60918b; border-radius: .5rem; }
.hero-picture img { width: 100%; aspect-ratio: 760 / 360; object-fit: contain; }
.hero .actions { margin-top: 1.35rem; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.4rem; }
.facts, .tint { background: var(--tint); }
.facts { background: var(--sea); border-bottom: 3px solid #709b8e; color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid div { padding: 1rem clamp(.55rem, 3vw, 2rem); border-inline-start: 1px solid #73a49c; }
.facts-grid div:last-child { border-inline-end: 1px solid #73a49c; }
.facts strong, .facts span { display: block; }
.facts strong { font-family: Georgia, serif; font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.35rem); }
.facts span { color: #e4f1ed; font-size: .88rem; }
.about, .support { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.25rem, 5vw, 5rem); }
.lede { font-size: clamp(1.13rem, 2.4vw, 1.52rem); }
.link { font-weight: 750; }
.cards, .partners { display: grid; gap: 1rem; margin-top: 1.6rem; }
.cards { grid-template-columns: repeat(2, 1fr); }
.card, .partner { border: 1px solid var(--line); border-radius: .7rem; background: #fff; padding: clamp(1.15rem, 3vw, 2rem); }
.source { display: inline-block; margin-top: 1.25rem; }
.gallery-picture img { width: 100%; border-radius: .6rem; }
figcaption { margin-top: .45rem; font-size: .85rem; color: var(--muted); }
.support { padding: clamp(1.3rem, 5vw, 4rem); align-items: center; background: linear-gradient(125deg, var(--navy-deep), var(--sea)); color: white; border-radius: .85rem; }
.transfer { padding: clamp(1rem, 3vw, 2rem); background: #19384c; border: 1px solid #567084; border-radius: .6rem; }
.account-number { color: var(--gold); font-size: clamp(1rem, 2.3vw, 1.38rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.partners { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.partner a { display: grid; height: 100%; align-content: center; justify-items: center; gap: .7rem; text-align: center; font-weight: 750; overflow-wrap: anywhere; }
.partner img { width: 100%; height: 100px; object-fit: contain; }
.contact { background: var(--navy-deep); color: white; }
.contact-email { margin-top: .9rem; overflow-wrap: anywhere; }
.contact-people { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-people span { display: block; color: #d1e0e9; }
address { font-style: normal; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem .8rem; margin-top: .9rem; }
dt { font-weight: 730; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.2rem; font-size: .9rem; }
.admin { max-width: 820px; padding-block: 2rem 5rem; }
.admin h1 { font-size: clamp(2.15rem, 6vw, 4rem); }
.admin h2 { font-size: 2rem; }
.admin form { display: grid; gap: .8rem; margin: 1rem 0; }
.admin .button { justify-self: start; }
.admin section { margin-top: 1.75rem; }
.admin label { display: grid; gap: .25rem; font-weight: 700; }
.admin input { border: 1px solid #8fa4b0; border-radius: .35rem; padding: .55rem; width: 100%; min-width: 0; background: white; color: var(--ink); }
.admin input[type=checkbox] { width: auto; }
.admin .check { display: flex; align-items: baseline; }
.admin .notice { padding: .75rem; border-radius: .35rem; background: var(--tint); }
.admin .error { background: #fbe4e4; color: #8b1420; }
.admin .sponsor-image { max-height: 90px; object-fit: contain; }
.admin .danger { background: #8b1420; color: white; }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-block; margin-left: auto; background: white; border: 1px solid var(--line); border-radius: .4rem; padding: .4rem .7rem; color: var(--ink); }
  nav { position: absolute; display: none; inset: 100% 0 auto; padding: .85rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav a { padding: .22rem 0; }
  .menu-toggle[aria-expanded=true] + nav { display: grid; gap: .35rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .top-inner { min-height: 64px; }
  .header-cta { display: none; }
  .home-top { flex-wrap: wrap; padding-block: .5rem; gap: .4rem; }
  .header-actions { width: 100%; }
  .header-actions .button { padding-inline: .65rem; font-size: .88rem; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts-grid div:nth-child(2) { border-inline-end: 1px solid #73a49c; }
  section[id], main[id] { scroll-margin-top: 8rem; }
  .hero-layout, .about, .support, .cards { grid-template-columns: 1fr; }
  .hero-layout { gap: 1.25rem; }
  .hero-picture { width: 100%; }
  .brand-logo { width: 38px; height: 38px; }
  .facts strong { line-height: 1.15; margin-bottom: .25rem; }
  .facts span { font-size: .79rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.contact address a, .contact-email a, .contact-people a { text-decoration: none; }
.contact-form-area { margin-top: 2.2rem; }
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .8rem; max-width: 720px; }
.contact-form label { display: grid; gap: .3rem; font-weight: 650; }
.contact-form input, .contact-form textarea { box-sizing: border-box; width: 100%; padding: .6rem .75rem; border: 1px solid #9bb0bf; border-radius: .4rem; background: white; font: inherit; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .form-message { grid-column: 1 / -1; }
.contact-form .button { justify-self: start; }
.form-success, .form-error { max-width: 720px; padding: .65rem .85rem; border-radius: .4rem; }
.form-success { background: #dceee0; color: #123521; }
.form-error { background: #fbe4e4; color: #681019; }

.facebook-button { gap: .75rem; min-height: 3.5rem; background: #0866ff; color: white; margin-bottom: 1.35rem; }
.facebook-button:hover { background: #0755cf; color: white; }
.facebook-button img { flex: none; }
.yacht-page h1 { margin-top: .9rem; font-size: clamp(2.6rem, 7vw, 5.2rem); }
.yacht-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(1.25rem, 6vw, 5rem); margin-top: 1.5rem; }
.yacht-grid h2 { font-size: clamp(1.85rem, 4vw, 3.2rem); }
.yacht-specs { display: block; }
.yacht-specs div { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.yacht-source { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 680px) {
  .yacht-grid { grid-template-columns: 1fr; }
}

.cards { align-items: start; }
.history-details { margin-top: .95rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.history-details summary { width: fit-content; min-height: 44px; padding: .5rem .2rem .5rem 0; cursor: pointer; font-weight: 750; }
.history-details summary .read-less, .history-details[open] summary .read-more { display: none; }
.history-details[open] summary .read-less { display: inline; }
.history-details h4 { margin: .75rem 0 .35rem; line-height: 1.3; }
.history-sources { color: var(--muted); font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.history-photo { margin: 0 0 1rem; }
.history-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .5rem; }
.history-photo figcaption { margin-top: .4rem; font-size: .85rem; line-height: 1.45; }

#historia .card { border-top: 4px solid var(--sea); }
#historia h3 { font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 500; }
.history-details summary, .yacht-page > .link { color: var(--sea); }
.yacht-specs dt { color: var(--sea); }

.admin .admin-links { position: static; display: flex; flex-wrap: wrap; padding: 0; border: 0; }
.admin .admin-details { margin-top: .7rem; }
.admin summary { cursor: pointer; font-weight: 750; }
.admin textarea, .admin select { width: 100%; padding: .55rem; font: inherit; border: 1px solid #8fa4b0; border-radius: .35rem; color: var(--ink); background: white; }
.editor-image { max-width: 100%; max-height: 180px; border-radius: .35rem; }
.photo-gallery + .photo-gallery { margin-top: 2.5rem; }
.photo-gallery h3 { margin-top: 1.25rem; }
.announcement { width: min(34rem, calc(100% - 2rem)); max-height: 85vh; border: 0; border-radius: .75rem; padding: 2rem; color: white; }
.announcement::backdrop { background: #071f2cb8; }
.announcement-red { background: #9d252e; }
.announcement-black { background: #17191b; }
.announcement-green { background: #205d43; }
.announcement h2 { margin-right: 2rem; font-size: clamp(1.65rem, 4vw, 2.4rem); }
.announcement p { white-space: pre-wrap; overflow-wrap: anywhere; }
.announcement img { max-height: 44vh; object-fit: contain; margin: 0 auto 1rem; }
.announcement-close { position: absolute; top: .4rem; right: .4rem; width: 44px; height: 44px; border: 0; border-radius: .35rem; background: transparent; color: white; font-size: 1.8rem; line-height: 1; }
.announcement-close:hover { background: #ffffff24; }

.gallery-covers, .gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.gallery-thumbnails { grid-template-columns: repeat(auto-fill, minmax(min(100%, 145px), 1fr)); }
.gallery-cover, .gallery-thumbnail {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: white;
  color: var(--ink);
  text-decoration: none;
}
.gallery-cover img, .gallery-thumbnail img { width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.gallery-cover h3 { margin: 0; padding: .75rem; }
.gallery-thumbnail { padding: 0; text-align: left; }
.gallery-thumbnail span { display: block; padding: .4rem .6rem; overflow-wrap: anywhere; }
.gallery-cover:hover, .gallery-thumbnail:hover { border-color: var(--sea); }
.gallery-page h1 { font-size: clamp(2.15rem, 6vw, 4rem); margin-top: 1rem; }
.gallery-viewer { max-width: calc(100% - 1rem); width: 72rem; border: 0; border-radius: .5rem; background: var(--navy-deep); color: white; padding: 3rem 1rem 1rem; }
.gallery-viewer::backdrop { background: #071f2cdb; }
.gallery-viewer figure img { margin: auto; max-height: 68vh; object-fit: contain; }
.gallery-viewer figcaption { text-align: center; color: white; overflow-wrap: anywhere; }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: .65rem; }
.gallery-controls button, .gallery-close { min-width: 44px; min-height: 44px; border: 1px solid #9bb0bf; border-radius: .35rem; background: transparent; color: white; }
.gallery-close { position: absolute; top: .3rem; right: .35rem; font-size: 1.5rem; }
.gallery-controls button:disabled { opacity: .4; cursor: default; }
