:root {
  --white: #ffffff;
  --black: #0a0a0b;
  --ink: #171717;
  --muted: #66666d;
  --line: #e8e8eb;
  --accent: #98f800;
  --accent-hover: #80d000;
  --soft: #f6f6f7;
  --shadow: 0 22px 60px rgba(10, 10, 11, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.86);
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 800;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a:hover {
  color: var(--white);
}

.nav-action {
  padding: 11px 16px;
  color: var(--white) !important;
  background: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  align-items: end;
  padding: 140px clamp(18px, 5vw, 64px) 52px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.schedule-band h2,
.contact-section h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.hero-actions,
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-outline {
  color: var(--black);
  border-color: var(--black);
}

.button-outline:hover {
  color: var(--white);
  background: var(--black);
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(920px, 100%);
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  background: rgba(8, 8, 9, 0.82);
}

.hero-panel span,
.location-card span {
  display: block;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.section {
  padding: 92px clamp(18px, 5vw, 64px);
}

.intro-grid,
.section-heading,
.location-section,
.contact-section {
  display: grid;
  max-width: 1160px;
  margin: 0 auto;
  gap: 36px;
}

.intro-grid,
.section-heading,
.location-section {
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.location-copy h2,
.contact-section h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.intro-grid p,
.section-heading p,
.location-copy p,
.contact-section p,
.course-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-section {
  border-bottom: 1px solid var(--line);
}

.courses-section {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 34px;
}

.course-grid {
  display: grid;
  max-width: 1160px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  min-height: 300px;
  padding: 34px;
  background: var(--white);
  border-top: 7px solid var(--accent);
  box-shadow: 0 14px 38px rgba(10, 10, 11, 0.08);
}

.course-card-dark {
  color: var(--white);
  background: var(--black);
}

.course-card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--accent);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.course-card h3 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.schedule-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 34px;
  align-items: center;
  padding: 72px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: var(--black);
}

.schedule-band > * {
  max-width: 1160px;
}

.schedule-band h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--black);
  border-left: 6px solid var(--accent);
}

.schedule-list strong {
  font-size: 1.16rem;
}

.schedule-list span {
  color: var(--accent-text);
  font-weight: 900;
}

.location-section {
  align-items: center;
}

.location-copy p {
  margin: 18px 0 26px;
}

.location-card {
  min-height: 290px;
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(152, 248, 0, 0.9), rgba(10, 10, 11, 0.92)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px);
  box-shadow: var(--shadow);
}

.location-card span {
  color: rgba(255, 255, 255, 0.76);
}

.location-card strong {
  display: block;
  margin-top: 18px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.location-card p {
  margin: 18px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.local-seo-section,
.local-links-section {
  background: var(--white);
}

.local-page-body .site-header,
.local-header {
  color: var(--white);
  background: var(--black);
}

.local-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: 72vh;
  padding: 150px clamp(18px, 5vw, 64px) 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0.74)),
    url("assets/difesa-personale-hero-verde.png") center / cover;
}

.local-area-page .local-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0.74)),
    url("../assets/difesa-personale-hero-verde.png") center / cover;
}

.local-hub-body .local-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0.74)),
    url("assets/difesa-personale-hero-verde.png") center / cover;
}

.local-hub-hero {
  grid-template-columns: 1fr;
}

.local-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3.1rem, 6vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.local-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.local-actions .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.local-actions .button-outline:hover {
  color: var(--black);
  background: var(--white);
}

.local-quick-card {
  padding: 28px;
  border-top: 7px solid var(--accent);
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  box-shadow: var(--shadow);
}

.local-quick-card span,
.local-info-grid span {
  display: block;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.local-quick-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.local-quick-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.local-hero .local-quick-card p {
  color: var(--muted);
}

.local-content-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 86px clamp(18px, 5vw, 64px);
}

.local-copy {
  max-width: 780px;
}

.local-copy h2,
.local-dark-section h2 {
  margin: 0 0 22px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.local-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.local-info-grid,
.local-benefits {
  display: grid;
  gap: 14px;
}

.local-info-grid div,
.local-benefits article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 10, 11, 0.055);
}

.local-info-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
}

.local-dark-section {
  color: var(--white);
  background: var(--black);
}

.local-dark-section h2 {
  color: var(--white);
}

.local-benefits article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.local-benefits h3 {
  margin: 0 0 10px;
}

.local-benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.local-links-section {
  grid-template-columns: 1fr;
}

.local-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
}

.local-city-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(10, 10, 11, 0.04);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.local-city-grid a:hover {
  border-color: rgba(152, 248, 0, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 10, 11, 0.08);
}

.local-city-grid-large {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.specialty-marquee {
  overflow: hidden;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--black);
}

.specialty-marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  padding: 18px 0;
  animation: marquee-left 42s linear infinite;
  will-change: transform;
}

.specialty-marquee a {
  position: relative;
  flex: 0 0 auto;
  color: var(--white);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialty-marquee a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.specialty-marquee:hover .specialty-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-section {
  justify-content: space-between;
  padding: 74px clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.88), rgba(71, 116, 0, 0.9)),
    url("assets/difesa-personale-hero-verde.png") center / cover;
}

.contact-section > div {
  max-width: 760px;
}

.contact-section .section-kicker,
.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-section .button-primary {
  color: var(--black);
  background: var(--white);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(42px, 6vw, 78px) clamp(18px, 5vw, 64px) 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(152, 248, 0, 0.22), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(135deg, #09090a 0%, #171717 58%, #203407 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 -24px 70px rgba(10, 10, 11, 0.12);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.24;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.footer-column li::marker {
  color: var(--accent-text);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 42px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.inner-page .site-header {
  background: var(--black);
}

.contact-page-main {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0.72)),
    url("assets/difesa-personale-hero-verde.png") center / cover fixed;
}

.contact-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: 100vh;
  padding: 150px clamp(18px, 5vw, 64px) 72px;
}

.contact-page-copy h1,
.info-hero h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.contact-page-copy p:not(.section-kicker),
.info-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
}

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 160px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(10, 10, 11, 0.22);
}

.contact-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.contact-option-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-option-copy span {
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-option-copy strong {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.contact-click-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.contact-option-copy small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.call-option {
  border-top: 7px solid var(--accent);
}

.call-option .contact-icon {
  background: var(--accent);
}

.whatsapp-option {
  border: 0;
  border-top: 7px solid #25d366;
  background: #25d366;
  color: #fff;
}

.whatsapp-option .contact-icon {
  background: #fff;
  color: #25d366;
}

.whatsapp-option .contact-option-copy span,
.whatsapp-option .contact-option-copy small {
  color: rgba(255, 255, 255, 0.88);
}

.whatsapp-option .contact-click-label {
  background: #fff;
  color: #128c4a;
}

.whatsapp-option:hover {
  box-shadow: 0 26px 70px rgba(37, 211, 102, 0.28);
}

.contact-details-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 64px) 72px;
}

.contact-details-band article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
}

.contact-details-band span {
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details-band strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
}

.contact-details-band p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.info-hero {
  min-height: 70vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 64px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.9), rgba(10, 10, 11, 0.58)),
    url("assets/difesa-personale-hero-verde.png") center / cover;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 88px clamp(18px, 5vw, 64px);
}

.info-copy h2,
.principles-section h2 {
  margin: 0 0 22px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.info-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.info-panel {
  align-self: start;
  padding: 30px;
  border-top: 7px solid var(--accent);
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
}

.info-panel span {
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-panel strong {
  display: block;
  margin: 12px 0;
  font-size: 1.7rem;
  line-height: 1.1;
}

.info-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.principles-section {
  padding: 86px clamp(18px, 5vw, 64px);
  background: var(--soft);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}

.principles-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 10, 11, 0.055);
}

.principles-grid h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.principles-grid p {
  margin: 0;
  color: var(--muted);
}

.floating-contact {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 30;
}

.floating-contact-bubble {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  width: min(330px, calc(100vw - 40px));
  min-height: 96px;
  padding: 18px 46px 18px 18px;
  border: 1px solid rgba(232, 232, 235, 0.9);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(10, 10, 11, 0.16);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.floating-contact-bubble-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(152, 248, 0, 0.24);
  border-radius: 50%;
  color: var(--accent-text);
  background: rgba(152, 248, 0, 0.08);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.floating-contact-bubble-close:hover {
  color: var(--white);
  background: var(--accent);
  transform: rotate(90deg);
}

.floating-contact-bubble span::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--accent);
  animation: typing-cursor 0.8s steps(1) infinite;
}

.floating-contact-bubble.is-complete span::after {
  display: none;
}

.floating-contact-bubble::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(232, 232, 235, 0.9);
  border-bottom: 1px solid rgba(232, 232, 235, 0.9);
  background: var(--white);
  transform: rotate(45deg);
}

.floating-contact.is-open .floating-contact-bubble {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.floating-contact-bubble.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.floating-contact-toggle {
  display: inline-flex;
  min-width: 142px;
  height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(152, 248, 0, 0.34);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.floating-contact-toggle strong {
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.floating-contact.is-open .floating-contact-toggle,
.floating-contact-toggle:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(152, 248, 0, 0.42);
}

.floating-contact-toggle:focus-visible {
  outline: 3px solid rgba(152, 248, 0, 0.32);
  outline-offset: 3px;
}

.floating-contact-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: grid;
  gap: 8px;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(232, 232, 235, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(10, 10, 11, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.floating-contact.is-open .floating-contact-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-contact-menu a {
  display: grid;
  min-height: 44px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  text-transform: uppercase;
}

.floating-contact-menu a:hover {
  color: var(--accent-text);
  background: rgba(152, 248, 0, 0.08);
}

.floating-contact-menu span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
}

.floating-contact-menu svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.floating-contact-menu .whatsapp-action span {
  background: var(--black);
}

.floating-contact-menu .whatsapp-action:hover {
  color: var(--black);
  background: rgba(10, 10, 11, 0.08);
}

@keyframes typing-cursor {
  50% {
    opacity: 0;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  bottom: auto;
  z-index: 29;
  display: grid;
  width: min(620px, calc(100vw - 32px));
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(152, 248, 0, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(152, 248, 0, 0.08), rgba(255, 255, 255, 0) 42%),
    var(--white);
  box-shadow: 0 34px 90px rgba(10, 10, 11, 0.28);
  transform: translate(-50%, -50%);
}

.cookie-banner.is-hidden,
.cookie-reopen.is-hidden {
  display: none;
}

.cookie-reopen {
  position: fixed;
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 28;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(232, 232, 235, 0.95);
  border-radius: 50%;
  color: var(--accent-text);
  background: var(--white) url("assets/developo-old/cookies.png") center / 28px 28px no-repeat;
  box-shadow: 0 16px 34px rgba(10, 10, 11, 0.16);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.cookie-reopen:hover {
  border-color: rgba(152, 248, 0, 0.42);
  box-shadow: 0 18px 42px rgba(152, 248, 0, 0.18);
  transform: translateY(-2px);
}

.cookie-reopen svg {
  width: 38px;
  height: 38px;
  opacity: 0;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--accent-text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-actions button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-actions .accept {
  border-color: var(--accent-text);
  color: var(--white);
  background: var(--accent);
}

.legal-page {
  min-height: 100vh;
  padding-top: 84px;
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.legal-body .site-header {
  color: var(--white);
  background: var(--black);
}

.legal-body .site-header .main-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.legal-hero {
  padding: clamp(96px, 12vw, 156px) clamp(20px, 7vw, 96px) clamp(54px, 8vw, 86px);
  background: linear-gradient(180deg, rgba(152, 248, 0, 0.08), #ffffff);
}

.legal-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-hero p:not(.section-kicker) {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.legal-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(152, 248, 0, 0.22);
  border-radius: 999px;
  background: var(--white);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 850;
}

.legal-layout {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 64px) 92px;
}

.legal-toc {
  position: sticky;
  top: 104px;
  display: grid;
  align-self: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(10, 10, 11, 0.055);
}

.legal-toc strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc a {
  color: var(--muted);
  font-weight: 800;
}

.legal-toc a:hover,
.legal-document a {
  color: var(--accent-text);
}

.legal-document {
  display: grid;
  gap: 18px;
}

.legal-block {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(10, 10, 11, 0.045);
}

.legal-block h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 40px);
}

.legal-block p {
  margin: 0 0 14px;
  font-size: 17px;
}

.legal-block ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal-block li {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 120px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.56)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08));
  }

  .hero-panel,
  .intro-grid,
  .section-heading,
  .course-grid,
  .schedule-band,
  .location-section,
  .local-hero,
  .local-content-section,
  .contact-page-hero,
  .contact-details-band,
  .info-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .local-city-grid,
  .local-city-grid-large,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    margin-top: 38px;
  }

  .section,
  .schedule-band {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .course-card {
    min-height: 260px;
  }
}

@media (max-width: 540px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-panel {
    gap: 0;
  }

  .hero-panel div,
  .course-card,
  .location-card {
    padding: 24px;
  }

  .schedule-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .local-city-grid,
  .local-city-grid-large,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-hero,
  .info-hero {
    min-height: 86vh;
    padding-top: 124px;
  }

  .contact-details-band {
    padding-bottom: 52px;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }

  .floating-contact-bubble {
    bottom: calc(100% + 12px);
    width: min(300px, calc(100vw - 32px));
  }

  .floating-contact-toggle {
    min-width: 132px;
    height: 50px;
  }

  .cookie-banner {
    left: 50%;
    top: 50%;
    bottom: auto;
    grid-template-columns: 1fr;
    transform: translate(-50%, -50%);
  }

  .cookie-reopen {
    left: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .button {
    width: 100%;
  }
}

/* Approved USD logo */
.brand { min-width: 0; flex-shrink: 0; }
.usd-logo { display: block; width: 280px; max-width: 100%; height: auto; }
.footer-brand { max-width: 100%; }
.footer-brand .usd-logo { width: 300px; }
@media (min-width: 821px) and (max-width: 1200px) {
  .site-header { gap: 16px; padding-left: 20px; padding-right: 20px; }
  .brand .usd-logo { width: 220px; }
  .main-nav { gap: 12px; font-size: 0.8rem; }
}
@media (max-width: 540px) {
  .brand .usd-logo { width: 250px; max-width: calc(100vw - 36px); }
}

/* Logo lime palette: darker green for text on light surfaces. */
:root { --accent-text: #477400; }
.nav-action, .button-primary, .card-icon, .contact-icon,
.floating-contact-toggle, .floating-contact-menu span,
.cookie-actions .accept, .floating-contact-bubble-close:hover {
  color: var(--black) !important;
}
.hero .eyebrow, .hero .section-kicker, .hero-panel span,
.location-card span, .local-hero .section-kicker,
.contact-page-hero .section-kicker, .info-hero .section-kicker,
.info-panel span, .site-footer li::marker {
  color: var(--accent);
}
