:root {
  --ink: #10202b;
  --muted: #64717a;
  --navy: #08293d;
  --deep: #031623;
  --sea: #0b6f9e;
  --teal: #0f8f8f;
  --green: #286b57;
  --sun: #c99732;
  --coral: #c85d4d;
  --mist: #f4f7f6;
  --sand: #f3eadb;
  --paper: #ffffff;
  --line: #d8e3e1;
  --shadow: 0 18px 45px rgba(4, 22, 35, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: var(--sea);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--paper);
  color: var(--deep);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
}

.logo {
  display: grid;
  gap: 0;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.05;
}

.logo small {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.menu a {
  padding: 8px 0;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  background: var(--paper);
}

.language-switch a {
  min-width: 38px;
  padding: 5px 8px;
  border-radius: 6px;
  text-align: center;
}

.language-switch .active {
  background: var(--navy);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.menu-toggle::before {
  top: 12px;
}

.menu-toggle span {
  top: 19px;
}

.menu-toggle::after {
  top: 26px;
}

.menu-toggle.is-open::before {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span {
  opacity: 0;
}

.menu-toggle.is-open::after {
  top: 19px;
  transform: rotate(-45deg);
}

.hero {
  min-height: 680px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(3, 22, 35, .94) 0%, rgba(8, 41, 61, .74) 48%, rgba(8, 41, 61, .28) 100%),
    url("hero_naples_regata.png") center center / cover no-repeat;
  display: flex;
  align-items: stretch;
}

.hero .wrap {
  display: grid;
  align-content: center;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius);
  color: #eef7f6;
  background: rgba(255, 255, 255, .10);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.article-hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 900;
}

.hero-text {
  max-width: 690px;
  color: #e7f1f0;
  font-size: 20px;
  margin: 0 0 28px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--sun);
  color: #15110a;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  color: #15110a;
  filter: brightness(.98);
}

.button--ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--paper);
  border-color: rgba(255, 255, 255, .40);
}

.button--ghost:hover {
  color: var(--paper);
}

.button--dark {
  background: var(--navy);
  color: var(--paper);
}

.button--dark:hover {
  color: var(--paper);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1040px;
  margin: 54px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(3, 22, 35, .70);
}

.hero-facts div {
  padding: 18px;
  background: rgba(255, 255, 255, .05);
}

.hero-facts dt {
  color: #c8d7d8;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 3px;
}

.hero-facts dd {
  margin: 0;
  color: var(--paper);
  font-size: 18px;
  font-weight: 800;
}

section {
  padding: 78px 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.14;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.band {
  background: var(--mist);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 36px;
  align-items: start;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel--dark {
  background: var(--navy);
  color: var(--paper);
  border-color: rgba(255, 255, 255, .12);
}

.panel--dark h2,
.panel--dark h3 {
  color: var(--paper);
}

.panel--dark p {
  color: #dbe8e8;
}

.fact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 14px;
  border-left: 4px solid var(--teal);
  background: rgba(15, 143, 143, .08);
  border-radius: var(--radius);
}

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

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card .tag,
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(201, 151, 50, .14);
  color: #7a5716;
  font-size: 12px;
  font-weight: 900;
}

.card--service {
  border-top: 4px solid var(--coral);
}

.answer-box {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(15, 143, 143, .28);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(15, 143, 143, .08);
}

.answer-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.guide-card {
  display: grid;
  gap: 12px;
}

.guide-card a {
  color: var(--sea);
  font-weight: 800;
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.services-strip div {
  padding: 18px;
  min-height: 130px;
  border-right: 1px solid var(--line);
}

.services-strip div:last-child {
  border-right: 0;
}

.services-strip strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.services-strip span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: 28px;
  align-items: start;
}

.request-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

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

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

label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

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

.checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 13px;
}

.checks input {
  width: auto;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}

.source-note {
  color: var(--muted);
  font-size: 14px;
}

.source-note a {
  color: var(--sea);
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  background: var(--deep);
  color: #c6d4d4;
}

.footer-grid {
  display: grid;
  grid-template-columns: .9fr 1.2fr 1.2fr;
  gap: 24px;
}

.site-footer strong {
  color: var(--paper);
}

.site-footer a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer {
  color: #9fb2b5;
  font-size: 13px;
}

.article-hero {
  padding: 86px 0 52px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(3, 22, 35, .95), rgba(8, 41, 61, .70)),
    url("hero_naples_regata.png") center center / cover no-repeat;
}

.article-hero .eyebrow {
  color: var(--paper);
}

.article-hero p {
  max-width: 760px;
  color: #e3eeee;
  font-size: 19px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: #d8e5e5;
  font-size: 14px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 30px;
}

.article-body ul {
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
}

.faq-list p {
  padding: 0 16px 16px;
  color: var(--muted);
}

.article-aside {
  position: sticky;
  top: 96px;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.mini-list a {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--sea);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #082016;
  border: 1px solid rgba(255, 255, 255, .54);
  box-shadow: 0 16px 34px rgba(3, 22, 35, .24);
  font-weight: 900;
}

.whatsapp-float::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url("whatsapp.svg") center / contain no-repeat;
}

.whatsapp-float:hover {
  color: #082016;
  filter: brightness(.98);
}

.service-promos {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%);
}

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

.promo-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(4, 22, 35, .08);
}

.promo-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 132px;
  padding: 10px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.promo-logo {
  width: 100%;
  max-width: 190px;
  max-height: 108px;
  object-fit: contain;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.promo-site {
  display: inline-flex;
  margin: 0 0 10px;
  color: var(--sea);
  font-weight: 900;
}

.promo-card h3 {
  font-size: 20px;
}

.promo-card p {
  color: var(--muted);
  font-size: 15px;
}

.promo-card a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--sea);
  font-weight: 900;
}

.promo-card--dmc {
  background: var(--deep);
  border-color: rgba(255, 255, 255, .14);
  border-top-color: var(--sun);
}

.promo-card--dmc h3,
.promo-card--dmc a {
  color: var(--paper);
}

.promo-card--dmc p {
  color: #d6e4e4;
}

.news-more {
  margin-top: 24px;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(4, 22, 35, .08);
}

.news-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-card h3 a {
  color: var(--navy);
}

.news-card p {
  color: var(--muted);
}

.news-figure {
  margin: 0 0 24px;
}

.news-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.admin-page {
  padding: 60px 0;
  background: var(--mist);
}

.admin-list {
  margin-bottom: 22px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.admin-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.admin-row form {
  margin: 0;
}

.admin-delete {
  min-height: 38px;
  padding: 8px 12px;
  background: var(--coral);
  color: var(--paper);
}

.admin-delete:hover {
  color: var(--paper);
}

code {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  body.menu-open .menu {
    display: flex;
  }

  .language-switch {
    width: fit-content;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1,
  .article-hero h1 {
    font-size: 46px;
  }

  .hero-facts,
  .grid,
  .grid--two,
  .promo-grid,
  .split,
  .request-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .services-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-aside {
    position: static;
  }

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

  .news-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1200px);
  }

  .nav {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 74px 0 42px;
    background-position: 58% center;
  }

  .hero h1,
  .article-hero h1 {
    font-size: 38px;
  }

  .hero-text,
  .article-hero p,
  .lead {
    font-size: 16px;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 34px;
  }

  h2 {
    font-size: 30px;
  }

  section {
    padding: 56px 0;
  }

  .services-strip,
  .form-grid,
  .checks {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 0 12px;
    font-size: 13px;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }
}
