/*
Theme Name: SOAE 2027
Theme URI: https://soae2027.it
Description: Website theme for the 6th Symposium on Ammonia Energy, Naples, 8–10 September 2027. Home, Venue and work-in-progress pages with a top menu. Self-hosted open fonts (Jost, a Futura-style geometric sans, and Source Sans 3), no external requests.
Version: 6.4
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: soae2027
*/

/* ---------- Fonts (SIL Open Font License, self-hosted) ---------- */
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --cyan: #479ff8;        /* logo blue (logo ammoniaenergyconference27) */
  --cyan-deep: #1565c0;   /* links, accessible on white */
  --violet: #479ff8;      /* accent = logo blue (token kept for compatibility) */
  --violet-deep: #1259a8; /* menu and accent text, accessible on white */
  --pink: #8fc5fb;        /* light accent: underlines, focus rings */
  --navy: #0b2a45;
  --ink: #1b3247;
  --muted: #56697c;
  --paper: #ffffff;
  --mist: #eff6fe;
  --lilac: #eaf3fe;
  --line: #d4e6fb;
  --head: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar: small logo left, menu right ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #d3e5fb;
}
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
.topbar .wrap {
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand span {
  font-family: var(--head);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.15;
  color: var(--navy);
}
.brand span b { display: block; font-weight: 600; color: var(--violet-deep); letter-spacing: .04em; }

.menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--violet-deep);
  transition: background .2s, color .2s;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform .25s;
}
.menu a:hover::after, .menu a:focus-visible::after { transform: scaleX(1); }
.menu a:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.menu a[aria-current="page"] { background: var(--cyan); color: var(--navy); }
.menu a[aria-current="page"]::after { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--violet);
  background: #fff;
  color: var(--violet-deep);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; content: "";
}
.menu-toggle i::before { position: absolute; top: -6px; }
.menu-toggle i::after { position: absolute; top: 6px; }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #d3e5fb; box-shadow: 0 16px 30px -18px rgba(13,43,62,.4); display: none; }
  .site-nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 4px; }
  .menu a { padding: 12px 16px; font-size: 16px; }
  .menu a::after { left: 16px; right: auto; width: 40px; }
}

/* ---------- Shared type ---------- */
.edition {
  font-family: var(--head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin: 0 0 8px;
}
h1 {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 0 0 22px;
}
.section-title {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 3px; border-radius: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
}
.center { text-align: center; }
.center .section-title::after { margin-left: auto; margin-right: auto; }

.facts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--head);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}
.facts li { border: 1.5px solid var(--cyan); border-radius: 999px; padding: 6px 18px; background: var(--paper); }

/* ---------- Hero (home and inner pages) ---------- */
.hero { text-align: center; padding: 48px 0 32px; }
.hero.inner { padding: 44px 0 34px; background: linear-gradient(180deg, var(--lilac) 0%, var(--paper) 100%); }
.hero.inner h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 16px; }
.hero.inner .sub { max-width: 720px; margin: 0 auto 20px; color: var(--muted); font-size: 19px; }

/* ---------- Home: symposium logo ---------- */
.hero-logos {
  /* Both logos share the same height; widths follow their own proportions. */
  --logo-h: clamp(64px, calc((100vw - 140px) / 5.9), 190px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  margin: 0 auto;
}
.hero-logo { margin: 0; font-size: 0; line-height: 0; flex: none; }
.hero-logo img, .local-logo { display: block; height: var(--logo-h); width: auto; max-width: none; }
.local-logo {
  flex: none;
  box-sizing: content-box;
  padding-left: clamp(16px, 3vw, 40px);
  border-left: 2px solid var(--line);
}
@media (max-width: 600px) {
  .hero-logos { --logo-h: 84px; flex-direction: column; gap: 14px; }
  .local-logo { padding-left: 0; border-left: 0; }
}

/* ---------- Poster ---------- */
.poster { padding: 16px 0 8px; }
.poster figure {
  margin: 0 auto;
  max-width: 1040px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 22px 50px -24px rgba(11, 44, 61, .55);
}
.poster figure img { width: 100%; }
.poster-fallback {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-family: var(--head);
  background: linear-gradient(160deg, #0b2a45 0%, #123c66 60%, #479ff8 100%);
}
.poster-fallback span { display: block; font-size: clamp(28px, 5vw, 52px); font-weight: 500; letter-spacing: .06em; }
.poster-fallback small { display: block; font-size: 16px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-top: 8px; }

/* ---------- Intro ---------- */
.intro { padding: 48px 0 16px; }
.intro .lead { max-width: 760px; margin: 0 auto; text-align: center; font-size: 21px; line-height: 1.55; }
.intro .lead strong { color: var(--navy); font-weight: 600; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; }
.themes li { background: var(--mist); border-top: 3px solid var(--cyan); border-radius: 10px; padding: 20px 22px; }
.themes h2 { font-family: var(--head); font-weight: 500; font-size: 20px; color: var(--navy); margin: 0 0 6px; }
.themes p { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Video ---------- */
.film { padding: 56px 0 8px; }
.film .frame {
  max-width: 680px;
  margin: 22px auto 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 50px -20px rgba(13, 43, 62, .45);
  outline: 2px solid var(--lilac);
  outline-offset: 6px;
}
.film video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------- Contact ---------- */
.contact { padding: 56px 0 56px; text-align: center; }
.contact .box { max-width: 760px; margin: 0 auto; background: var(--navy); color: #fff; border-radius: 16px; padding: 36px 24px; }
.contact h2 { font-family: var(--head); font-weight: 500; font-size: 26px; margin: 0 0 6px; }
.contact p { margin: 0 0 22px; color: #c6d9ee; }
.mail {
  display: inline-block;
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(20px, 3.4vw, 28px);
  color: var(--navy);
  background: var(--cyan);
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 30px;
  word-break: break-all;
  transition: background .2s, transform .2s;
}
.mail:hover, .mail:focus-visible { background: #fff; transform: translateY(-1px); }
.mail:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Venue page ---------- */
.block { padding: 48px 0 8px; }
.block p { max-width: 800px; }
.two-col { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }

.map {
  position: relative;
  container-type: inline-size;
  margin: 26px 0 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px -20px rgba(13, 43, 62, .45);
}
.map img { width: 100%; }
.map .pin {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(9px, 1.55cqw, 17px);
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 12px rgba(0,0,0,.55);
  white-space: nowrap;
  pointer-events: none;
}
.map .pin small { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .82em; }
.map .pin.dot::before {
  content: "";
  display: block;
  width: .9em; height: .9em;
  margin: 0 auto .35em;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(71,159,248,.55);
}
.map .pin.key { font-size: clamp(10px, 1.7cqw, 19px); }
.map .pin.key .tag { display: inline-block; background: var(--violet-deep); border-radius: .6em; padding: .35em .8em; text-shadow: none; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); }
.map .pin.area { font-size: clamp(12px, 2.6cqw, 30px); transform: translate(-50%, -50%) rotate(-27deg); opacity: .95; }
.map figcaption { position: absolute; right: 10px; bottom: 6px; font-size: 11px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px #000; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
.cards li { background: var(--lilac); border-top: 3px solid var(--violet); border-radius: 10px; padding: 20px 22px; }
.cards h3 { font-family: var(--head); font-weight: 500; font-size: 20px; color: var(--navy); margin: 0 0 6px; }
.cards p { margin: 0; font-size: 16px; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.gallery li { border-radius: 10px; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stat { font-family: var(--head); color: var(--navy); }
.stat b { display: block; font-weight: 500; font-size: clamp(40px, 6vw, 58px); line-height: 1; color: var(--violet-deep); }
.stat span { font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.room { background: #fff; border: 1px solid #d3e5fb; border-radius: 14px; padding: 22px; }
.room .plan { margin: 18px 0 0; border-radius: 8px; overflow: hidden; background: #f7fbff; }
.room .photo { margin-top: 14px; border-radius: 8px; overflow: hidden; }
.room h3 { font-family: var(--head); font-weight: 500; font-size: 21px; color: var(--navy); margin: 14px 0 0; }

.naples { margin-top: 56px; background: var(--lilac); padding: 0 0 48px; }
.naples .banner { position: relative; max-height: 360px; overflow: hidden; }
.naples .banner img { width: 100%; height: 360px; object-fit: cover; }
.naples .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(234,243,254,1) 100%); }
.naples .lead { font-size: 21px; line-height: 1.55; max-width: 820px; }
.nuances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.nuances li { background: #fff; border-radius: 12px; padding: 22px; border-left: 3px solid var(--pink); }
.nuances h3 { font-family: var(--head); font-weight: 500; font-size: 20px; color: var(--violet-deep); margin: 0 0 8px; }
.nuances p { margin: 0; font-size: 16px; }
.nuances cite { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ---------- Work in progress page ---------- */
.wip { min-height: 58vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.wip .logo { width: 150px; margin: 0 auto 26px; }
.wip h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 10px; }
.wip .badge {
  display: inline-block;
  font-family: var(--head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--violet-deep);
  border: 1.5px solid var(--violet);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 18px;
}
.wip p { color: var(--muted); max-width: 560px; margin: 0 auto 8px; }
.wip .links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 24px;
  border: 1.5px solid var(--violet);
  color: var(--violet-deep);
}
.btn.solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:hover { border-color: var(--pink); }

/* ---------- Home: call to action ---------- */
.hero .cta { margin: 26px 0 0; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--head);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--navy);
  background: var(--cyan);
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 30px;
  box-shadow: 0 12px 28px -12px rgba(30,100,190,.7);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta span { transition: transform .2s; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(30,100,190,.8); }
.btn-cta:hover span { transform: translateX(4px); }
.btn-cta:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- Register-your-interest form ---------- */
.signup { padding-bottom: 64px; }
.signup-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d3e5fb;
  border-top: 4px solid var(--violet);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 50px -28px rgba(13, 43, 62, .45);
}
.signup-note { max-width: 720px; margin: 16px auto 0; text-align: center; font-size: 15px; color: var(--muted); }
.soae-form { display: grid; gap: 18px; }
.soae-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.soae-form label { display: grid; gap: 6px; font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--navy); }
.soae-form input[type=text], .soae-form input[type=email] {
  width: 100%;
  font: 400 17px/1.4 var(--body);
  color: var(--ink);
  background: #f7fbff;
  border: 1.5px solid #bcd8f9;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.soae-form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(71,159,248,.2); background: #fff; }
.soae-form label.soae-consent { display: flex; gap: 12px; align-items: flex-start; font: 400 15px/1.5 var(--body); color: var(--muted); }
.soae-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--violet-deep); }
.soae-privacy { font-size: 14px; color: var(--muted); background: #f7fbff; border: 1px solid #d3e5fb; border-radius: 10px; padding: 10px 14px; }
.soae-privacy summary { cursor: pointer; font-family: var(--head); font-weight: 500; color: var(--violet-deep); }
.soae-privacy p { margin: 8px 0 0; }
.soae-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.soae-submit {
  justify-self: start;
  font-family: var(--head);
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  padding: 13px 32px;
  cursor: pointer;
  transition: background .2s;
}
.soae-submit:hover { background: var(--violet-deep); }
.soae-submit:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.soae-notice { border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; }
.soae-notice p { margin: 0; }
.soae-notice.err { background: #fdecef; color: #8a1c2c; border: 1px solid #f5c2cb; }
.soae-notice.ok { background: var(--lilac); border: 1px solid #bcd8f9; text-align: center; padding: 28px; margin: 0; }
.soae-notice.ok h2 { font-family: var(--head); font-weight: 500; color: var(--violet-deep); margin: 0 0 8px; }
@media (max-width: 600px) {
  .soae-row { grid-template-columns: 1fr; }
  .signup-card { padding: 22px 18px; }
  .soae-submit { justify-self: stretch; }
}

/* ---------- Menu bar: right side, social buttons ---------- */
.bar-right { display: flex; align-items: center; gap: 14px; }
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.soc {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--navy); background: var(--lilac); border: 1.5px solid var(--cyan);
  text-decoration: none; transition: background .2s, color .2s, transform .2s;
}
.soc:hover, .soc:focus-visible { background: var(--cyan); color: var(--navy); transform: translateY(-1px); }
.soc:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.social-big { justify-content: center; gap: 14px; margin-top: 18px; }
.social-big .soc { width: auto; height: auto; border-radius: 999px; padding: 12px 24px; font-family: var(--head); font-weight: 500; font-size: 18px; }
.social-big .soc svg { width: 22px; height: 22px; }
.follow p { color: var(--muted); margin: 0; }
.follow { padding-top: 8px; }

/* ---------- Home: second call to action ---------- */
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn-cta.alt { background: #fff; color: var(--navy); border: 2px solid var(--cyan); box-shadow: none; }
.btn-cta.alt:hover { background: var(--lilac); }

/* ---------- Abstract submission ---------- */
.steps { max-width: 720px; margin: 0 auto 26px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: var(--navy); font-family: var(--head); font-weight: 600; }
.soae-group { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.soae-group + .soae-group { border-top: 1px solid var(--line); padding-top: 22px; }
.soae-group legend { font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-deep); margin-bottom: 14px; padding: 0; }
.soae-label { display: block; font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.soae-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.soae-choice .soae-label, .soae-choice .soae-hint { grid-column: 1 / -1; }
.soae-form label.soae-radio { display: block; cursor: pointer; }
.soae-radio input { position: absolute; opacity: 0; }
.soae-radio span {
  display: block; text-align: center; padding: 12px 10px; border-radius: 10px;
  border: 1.5px solid #bcd8f9; background: #f7fbff; font: 500 15px/1.3 var(--head); color: var(--navy);
  transition: background .2s, border-color .2s;
}
.soae-radio input:checked + span { background: var(--cyan); border-color: var(--cyan); }
.soae-radio input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.soae-hint { display: block; font: 400 14px/1.5 var(--body); color: var(--muted); margin: 2px 0 0; }
.soae-choice .soae-hint { background: var(--lilac); border-left: 3px solid var(--cyan); padding: 8px 12px; border-radius: 6px; }
.soae-form input[type=file] {
  width: 100%; font: 400 16px var(--body); color: var(--ink);
  border: 1.5px dashed var(--cyan); background: #f7fbff; border-radius: 10px; padding: 14px;
}
.soae-form input[type=file]::file-selector-button {
  font: 500 15px var(--head); color: var(--navy); background: var(--cyan); border: 0; border-radius: 999px; padding: 8px 18px; margin-right: 14px; cursor: pointer;
}
.soae-notice.ok .btn { margin-top: 6px; }
@media (max-width: 600px) {
  .steps, .soae-choice { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 30px; text-align: center; font-size: 15px; color: var(--muted); }
.site-footer p { margin: 2px 0; }
.site-footer a { color: var(--violet-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards.two { grid-template-columns: 1fr; }
  .two-col, .rooms { grid-template-columns: 1fr; }
  .cards, .nuances, .themes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding: 32px 0 24px; }
  .intro .lead, .naples .lead { font-size: 19px; }
  .intro .lead { text-align: left; }
  .poster figure { border-radius: 24px; }
  .brand span { display: none; }
  .naples .banner img { height: 220px; }
  .map .pin small { display: none; }
}
