:root {
  --purple-950: #190020;
  --purple-900: #260038;
  --purple-800: #34084d;
  --gold-700: #ac741a;
  --gold-500: #d5a43a;
  --gold-300: #f1cf72;
  --ivory: #fffaf0;
  --paper: #ffffff;
  --ink: #231827;
  --muted: #6f6373;
  --sage: #687c67;
  --blue-gray: #506273;
  --line: rgba(35, 24, 39, 0.14);
  --shadow: 0 22px 55px rgba(25, 0, 32, 0.14);
  --gold-rule: linear-gradient(90deg, transparent, var(--gold-700), var(--gold-300), var(--gold-700), transparent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(172, 116, 26, 0.14) 0 1px, transparent 1px calc(100% - 1px), rgba(172, 116, 26, 0.14) calc(100% - 1px) 100%),
    radial-gradient(circle at 9% 0%, rgba(241, 207, 114, 0.13), transparent 28rem),
    radial-gradient(circle at 91% 0%, rgba(38, 0, 56, 0.08), transparent 26rem),
    var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(90deg,
      var(--purple-950) 0 3px,
      var(--gold-500) 3px 6px,
      transparent 6px calc(100% - 6px),
      var(--gold-500) calc(100% - 6px) calc(100% - 3px),
      var(--purple-950) calc(100% - 3px) 100%);
}

body::after {
  background:
    linear-gradient(var(--gold-500), var(--gold-500)) left 16px top 16px / 92px 3px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) left 16px top 16px / 3px 92px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) right 16px top 16px / 92px 3px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) right 16px top 16px / 3px 92px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) left 16px bottom 16px / 92px 3px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) left 16px bottom 16px / 3px 92px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) right 16px bottom 16px / 92px 3px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) right 16px bottom 16px / 3px 92px no-repeat;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.96);
  border-bottom: 3px solid var(--gold-500);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background:
    linear-gradient(90deg, var(--purple-950), var(--purple-900), var(--purple-950)) top / 100% 4px no-repeat,
    var(--gold-rule) bottom / 100% 4px no-repeat;
}

.header-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 2px solid rgba(172, 116, 26, 0.55);
  background: var(--purple-950);
  box-shadow: 0 10px 26px rgba(25, 0, 32, 0.16);
  text-decoration: none;
  flex: 0 0 clamp(230px, 24vw, 300px);
}

.brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 1774 / 887;
  object-fit: contain;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid rgba(172, 116, 26, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.88), rgba(255, 255, 255, 0.66)),
    linear-gradient(90deg, transparent, rgba(241, 207, 114, 0.16), transparent);
}

.nav::before,
.nav::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-700), var(--gold-300), var(--gold-700), transparent);
  pointer-events: none;
}

.nav::before {
  top: 6px;
}

.nav::after {
  bottom: 6px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--purple-900);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--paper);
  background:
    linear-gradient(180deg, var(--purple-800), var(--purple-950));
  box-shadow: inset 0 0 0 1px rgba(241, 207, 114, 0.28);
  outline: none;
}

.hero {
  min-height: clamp(500px, 72svh, 680px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(25, 0, 32, 0.92) 0%, rgba(25, 0, 32, 0.78) 37%, rgba(25, 0, 32, 0.14) 78%),
    url("assets/images/estiu.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(241, 207, 114, 0.38);
  border-top-width: 3px;
  border-bottom-width: 3px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16px;
  background:
    var(--gold-rule) top / 100% 6px no-repeat,
    linear-gradient(90deg, var(--purple-950), var(--purple-800), var(--purple-950)) bottom / 100% 10px no-repeat;
}

.hero-content,
.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  padding-left: clamp(18px, 3vw, 30px);
  border-left: 5px solid var(--gold-500);
}

.hero-content::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 6px;
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
  background: var(--gold-300);
  border: 2px solid var(--gold-700);
}

.hero-content::after {
  content: "";
  display: block;
  width: min(360px, 70%);
  height: 3px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-700), transparent);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-300);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  color: var(--purple-900);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  color: var(--paper);
  font-size: clamp(2.35rem, 6vw, 5rem);
  text-shadow: 0 4px 20px rgba(25, 0, 32, 0.36);
}

.hero-copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 250, 240, 0.92);
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
}

.button.primary {
  color: var(--purple-950);
  background: var(--gold-300);
  border-color: var(--gold-300);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 250, 240, 0.74);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--purple-950);
  background: var(--paper);
}

.button.dark {
  color: var(--paper);
  background: var(--purple-900);
  border-color: var(--purple-900);
}

.button.dark:hover,
.button.dark:focus-visible {
  color: var(--purple-900);
  background: transparent;
}

.button.light {
  color: var(--purple-900);
  border-color: rgba(38, 0, 56, 0.28);
}

.button.light:hover,
.button.light:focus-visible {
  color: var(--paper);
  background: var(--purple-900);
  border-color: var(--purple-900);
}

.band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  background:
    var(--gold-rule) center top / 100% 5px no-repeat,
    linear-gradient(90deg, transparent, rgba(38, 0, 56, 0.18), transparent) center bottom / 100% 1px no-repeat;
  pointer-events: none;
}

.band::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: min(280px, 54vw);
  height: 24px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, var(--gold-300) 0 4px, transparent 5px),
    radial-gradient(circle at 41% 50%, var(--gold-500) 0 3px, transparent 4px),
    radial-gradient(circle at 59% 50%, var(--gold-500) 0 3px, transparent 4px),
    linear-gradient(90deg, transparent 0 9%, var(--gold-700) 9% 39%, transparent 39% 61%, var(--gold-700) 61% 91%, transparent 91%);
  pointer-events: none;
}

.band.paper {
  background:
    radial-gradient(circle at 100% 0%, rgba(213, 164, 58, 0.1), transparent 22rem),
    linear-gradient(180deg, var(--paper), #fffdf7);
}

.band.purple {
  color: var(--paper);
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 207, 114, 0.13), transparent 22rem),
    radial-gradient(circle at 100% 100%, rgba(241, 207, 114, 0.08), transparent 25rem),
    linear-gradient(135deg, var(--purple-950), var(--purple-900) 48%, var(--purple-800));
}

.band.purple h2,
.band.purple h3 {
  color: var(--paper);
}

.band.purple .section-label,
.band.purple .lead,
.band.purple p {
  color: rgba(255, 250, 240, 0.82);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
}

.band.purple .section-kicker {
  color: var(--gold-300);
}

.section-heading {
  position: relative;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading::after {
  content: "";
  display: block;
  width: min(260px, 55%);
  height: 9px;
  margin-top: 18px;
  background:
    radial-gradient(circle at 50% 50%, var(--gold-500) 0 4px, transparent 5px),
    linear-gradient(90deg, transparent, var(--gold-700), transparent) center / 100% 2px no-repeat;
}

.lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.band.purple .section-copy {
  color: rgba(255, 250, 240, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.feature-panel {
  position: relative;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold-500);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(213, 164, 58, 0.34);
  pointer-events: none;
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-panel-body {
  padding: 24px;
}

.feature-panel-body h3 {
  font-size: 1.55rem;
}

.feature-panel-body p {
  margin: 12px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

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

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

.photo-showcase {
  background:
    radial-gradient(circle at 0% 100%, rgba(213, 164, 58, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--ivory), var(--paper));
}

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

.photo-gallery.compact {
  margin-top: 38px;
}

.program-spotlight {
  margin-top: clamp(38px, 6vw, 64px);
  padding-top: clamp(30px, 5vw, 48px);
  border-top: 1px solid rgba(172, 116, 26, 0.28);
}

.program-spotlight .section-heading {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.photo-card {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(172, 116, 26, 0.42);
  border-radius: 8px;
  background: var(--purple-950);
  box-shadow: var(--shadow);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(241, 207, 114, 0.42);
  pointer-events: none;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(25, 0, 32, 0.78));
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(25, 0, 32, 0.8);
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold-rule);
}

.card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-top: 2px solid rgba(213, 164, 58, 0.55);
  border-right: 2px solid rgba(213, 164, 58, 0.55);
  pointer-events: none;
}

.band.purple .card {
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.18);
}

.card .number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--purple-950);
  background: var(--gold-300);
  font-weight: 900;
}

.card h3 {
  padding-right: 30px;
  font-size: 1.35rem;
}

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

.band.purple .card p,
.band.purple .card li {
  color: rgba(255, 250, 240, 0.8);
}

.card p {
  margin: 12px 0 0;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.quote-band {
  position: relative;
  overflow: hidden;
  padding: 46px 0;
  color: var(--paper);
  background:
    var(--gold-rule) top / 100% 5px no-repeat,
    var(--gold-rule) bottom / 100% 5px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(241, 207, 114, 0.1), transparent 22rem),
    var(--purple-950);
  border-top: 1px solid rgba(241, 207, 114, 0.38);
  border-bottom: 1px solid rgba(241, 207, 114, 0.38);
}

.quote-band::before,
.quote-band::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(190px, 23vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.quote-band::before {
  left: 24px;
}

.quote-band::after {
  right: 24px;
}

.quote-band p {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2.9rem);
  line-height: 1.15;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0 clamp(54px, 7vw, 84px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(25, 0, 32, 0.95), rgba(52, 8, 77, 0.88)),
    url("assets/images/hero-youth-etiquette.png") center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(241, 207, 114, 0.34);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background:
    var(--gold-rule) top / 100% 5px no-repeat,
    linear-gradient(90deg, var(--purple-950), var(--purple-800), var(--purple-950)) bottom / 100% 7px no-repeat;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--paper);
  font-size: clamp(2.45rem, 5vw, 4.65rem);
}

.page-hero .lead {
  color: rgba(255, 250, 240, 0.88);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.value-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border-left: 5px solid var(--gold-500);
  background: rgba(255, 250, 240, 0.11);
}

.value-item::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  transform: rotate(45deg);
  background: var(--gold-300);
  border: 1px solid var(--gold-700);
}

.band.paper .value-item {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.value-item span {
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.timeline-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-700));
}

.timeline-item strong {
  padding-left: 8px;
  color: var(--purple-900);
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.session-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: session;
}

.session-list li {
  position: relative;
  overflow: hidden;
  counter-increment: session;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
  color: rgba(255, 250, 240, 0.86);
  font-weight: 800;
}

.session-list li::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px auto;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-300));
}

.session-list li::before {
  content: counter(session);
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-950);
  background: var(--gold-300);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-box {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 8px;
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 207, 114, 0.2), transparent 12rem),
    linear-gradient(135deg, var(--purple-950), var(--purple-900));
  box-shadow: var(--shadow);
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(241, 207, 114, 0.35);
  pointer-events: none;
}

.contact-box h2 {
  color: var(--paper);
  font-size: 2rem;
}

.contact-box p {
  color: rgba(255, 250, 240, 0.82);
}

.phone-link {
  display: block;
  margin: 20px 0 0;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1;
  text-decoration: none;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.info-row {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.info-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-700));
}

.info-row::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--gold-300);
  border: 1px solid var(--gold-700);
}

.info-row strong {
  display: block;
  color: var(--purple-900);
}

.info-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.site-footer {
  position: relative;
  padding: 42px 0 34px;
  color: rgba(255, 250, 240, 0.78);
  background:
    var(--gold-rule) top / 100% 5px no-repeat,
    linear-gradient(180deg, var(--purple-900), var(--purple-950));
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: var(--gold-300);
}

.footer-inner a {
  color: var(--paper);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--gold-300);
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

  .brand img {
    width: min(100%, 280px);
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav a {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 640px;
    background-position: 58% center;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid.four,
  .grid.three,
  .photo-gallery,
  .values-list,
  .session-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-content,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: min(100%, 250px);
  }

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

  .nav a {
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(38, 0, 56, 0.14);
  }

  .hero {
    min-height: 610px;
    background:
      linear-gradient(180deg, rgba(25, 0, 32, 0.94) 0%, rgba(25, 0, 32, 0.86) 54%, rgba(25, 0, 32, 0.6) 100%),
      url("assets/images/estiu.webp") center / cover no-repeat;
  }

  .hero-copy,
  .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .grid.four,
  .grid.three,
  .photo-gallery,
  .values-list,
  .session-list {
    grid-template-columns: 1fr;
  }

  .card,
  .feature-panel-body,
  .contact-box,
  .info-row {
    padding: 20px;
  }
}
