/* Calibre Education Solutions — theme derived from logo (navy #243544, blue #3f5e9b, gold #f7be20, cream #f7f1e7) */

:root {
  --color-navy: #243544;
  --color-navy-deep: #1a2836;
  --color-blue: #3f5e9b;
  --color-gold: #f7be20;
  --color-gold-hover: #e5ad18;
  --color-cream: #f7f1e7;
  --color-cream-wash: #fdfcfa;
  --color-white: #ffffff;
  --color-text: #1f2d38;
  --color-text-muted: #4a5c6a;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(36, 53, 68, 0.06);
  --shadow-md: 0 8px 30px rgba(36, 53, 68, 0.12);
  --shadow-lg: 0 24px 50px rgba(24, 38, 54, 0.18);
  --header-h: 72px;
  --space-section: clamp(2.25rem, 4.5vw, 3.75rem);
  --container: min(1120px, 100% - 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream-wash);
  -webkit-font-smoothing: antialiased;
}

button {
  position: relative;
  padding: 10px 20px;
  cursor: pointer;
}

.loader {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.error {
  color: red;
  font-size: 12px;
}

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

a {
  color: var(--color-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(36, 53, 68, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 1rem; */
  min-height: var(--header-h);
  padding-block: 0.65rem;
  flex-wrap: wrap;
}

@media (min-width: 901px) {
  .header-inner {
    flex-wrap: nowrap;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: auto;
  max-height: 52px;
  object-fit: contain;
}

.header-call {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--color-cream);
  border-radius: 999px;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(36, 53, 68, 0.1);
}

.header-call:hover {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: transparent;
}

@media (min-width: 901px) {
  .header-call {
    display: inline-flex;
  }
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--radius);
  margin-left: auto;
  order: 2;
}

@media (min-width: 901px) {
  .nav-toggle-label {
    display: none;
  }
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle:checked~.nav-toggle-label .hamburger {
  background: transparent;
}

.nav-toggle:checked~.nav-toggle-label .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked~.nav-toggle-label .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  order: 3;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

@media (min-width: 901px) {
  .site-nav {
    order: 0;
    width: auto;
    max-height: none !important;
    overflow: visible;
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

.nav-toggle:checked~.site-nav {
  max-height: 420px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 901px) {
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
  }
}

.nav-list a {
  display: block;
  padding: 0.65rem 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
}

.nav-list a:hover {
  background: var(--color-cream);
  color: var(--color-navy);
}

.nav-cta {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
}

.nav-cta:hover {
  background: var(--color-blue) !important;
  color: var(--color-white) !important;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) 0 var(--space-section);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(63, 94, 155, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(247, 190, 32, 0.12), transparent 45%),
    linear-gradient(160deg, var(--color-navy-deep) 0%, var(--color-navy) 45%, #2d4a63 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(300px, 420px);
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.hero-copy {
  color: var(--color-cream);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
  color: var(--color-gold);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(247, 241, 231, 0.92);
  max-width: 38rem;
}

.hero-tagline {
  margin: 0 0 1.75rem;
  font-weight: 600;
  color: var(--color-white);
}

.hero-pointer {
  margin-right: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  justify-self: stretch;
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.12);
  transform: rotate(1deg);
  transition: transform 0.35s ease;
}

@media (min-width: 900px) {
  .hero-figure:hover {
    transform: rotate(0deg);
  }
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-float-card {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-gold);
}

@media (min-width: 480px) {
  .hero-float-card {
    bottom: 1.25rem;
    left: auto;
    right: -0.5rem;
    max-width: min(280px, 88vw);
  }

}

.hero-float-stat {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-float-stat strong {
  color: var(--color-blue);
  font-size: 1.05rem;
}

.hero-float-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: var(--color-navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid rgba(36, 53, 68, 0.15);
}

.btn-secondary:hover {
  background: var(--color-cream);
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-about {
  background: var(--color-cream-wash);
}

.about-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.05fr);
    gap: 3.5rem;
  }
}

.about-media {
  order: 1;
}

.about-copy {
  order: 2;
}

@media (min-width: 900px) {
  .about-media {
    order: 0;
  }
}

.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--color-navy);
}

.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.about-photo {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.about-copy .section-title {
  text-align: left;
}

.section-banner {
  line-height: 0;
  max-height: 260px;
  overflow: hidden;
}

.section-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .section-banner img {
    height: 280px;
  }
}

.section-why {
  background: var(--color-cream);
}

.section-offerings {
  background: var(--color-white);
}

.section-process {
  position: relative;
  background: linear-gradient(180deg, var(--color-cream-wash) 0%, var(--color-cream) 100%);
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background-image: url("./img/how-we-work.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.19;
  filter: saturate(0.9);
}

.process-inner {
  position: relative;
  z-index: 1;
}

.section-process .process-tagline {
  color: var(--color-blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.section-head .section-title {
  margin-bottom: 0.35rem;
}

.section-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-blue);
  margin: 0 0 1rem;
}

.section-about .section-title {
  text-align: center;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.lead-emphasis {
  font-weight: 600;
  color: var(--color-navy) !important;
  font-size: 1.1rem !important;
}

.why-intro {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .check-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.5rem;
  }
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--color-text);
  font-weight: 500;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.why-closer {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-navy);
  margin: 0;
  max-width: 36rem;
}

/* Offer cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .section-offerings .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-thumb {
  width: calc(100% + 3rem);
  max-width: none;
  object-fit: cover;
  margin: -1.5rem -1.5rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


.offer-card {
  background: var(--color-cream-wash);
  border: 1px solid rgba(36, 53, 68, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  padding-top: 0;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.offer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 94, 155, 0.25);
  transform: translateY(-3px);
}

.offer-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.offer-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  list-style: none;
  margin: 1.35rem auto 0;
  padding: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(36, 53, 68, 0.1);
}

.steps li:last-child {
  border-bottom: none;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-text {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.05rem;
  padding-top: 0.35rem;
}

.process-tagline {
  margin: 1.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-blue);
}

/* CTA */
.section-cta {
  background: var(--color-navy);
  color: var(--color-cream);
  padding: var(--space-section) 0;
}

.cta-box {
  text-align: center;
  max-width: 640px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cta-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--color-cream);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.cta-link:hover {
  color: var(--color-gold);
}

.cta-link strong {
  font-weight: 700;
  color: var(--color-gold);
}

.cta-link:hover strong {
  color: var(--color-white);
}

.cta-emoji {
  font-size: 1.2rem;
}

.cta-foot {
  margin: 0 0 1.75rem;
  font-weight: 500;
  color: rgba(247, 241, 231, 0.9);
}

.section-cta .btn-primary {
  box-shadow: 0 4px 20px rgba(247, 190, 32, 0.35);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Events */
.section-events {
  background: var(--color-white);
  border-top: 1px solid rgba(36, 53, 68, 0.06);
}

.events-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.events-head .section-title {
  margin-bottom: 0.75rem;
}

.events-intro {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.events-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.event-card {
  margin: 0;
}

.event-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream-wash);
  border: 1px solid rgba(36, 53, 68, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 94, 155, 0.22);
}

.event-card-link:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

.event-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-navy);
}

.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-card-link:hover .event-photo img {
  transform: scale(1.04);
}

.event-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.event-meta {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.event-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-navy);
}

.events-foot {
  margin: 1.5rem 0 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.events-foot a {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .event-card-link:hover {
    transform: none;
  }

  .event-card-link:hover .event-photo img {
    transform: none;
  }
}

/* Contact form */
.section-contact-form {
  background: var(--color-white);
  padding: var(--space-section) 0;
  border-top: 1px solid rgba(36, 53, 68, 0.06);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin: 0 0 0.5rem;
}

.contact-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .contact-split {
    grid-template-columns: 1fr minmax(300px, 380px);
    gap: 3rem;
  }
}

.contact-form-column .section-title {
  margin-bottom: 0.75rem;
}

.contact-lead {
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.contact-lead a {
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row-2 {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
}

.req {
  color: #c45c4a;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(36, 53, 68, 0.15);
  border-radius: var(--radius);
  background: var(--color-cream-wash);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(74, 92, 106, 0.55);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(63, 94, 155, 0.35);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(63, 94, 155, 0.2);
}

.form-error {
  /* min-height: 1.25rem; */
  font-size: 0.85rem;
  color: #b8473a;
  font-weight: 500;
}

.form-submit-row {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  max-width: 28rem;
}

.form-success {
  background: var(--color-cream);
  border: 1px solid rgba(63, 94, 155, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.5rem;
}

.form-success p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.form-success .btn {
  margin-top: 0.25rem;
}

.contact-aside {
  position: relative;
}

.contact-aside-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-height: 480px;
}

.contact-aside-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.contact-quick {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-navy);
  color: var(--color-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-quick-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-white);
}

.contact-quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-cream);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  word-break: break-word;
}

.contact-quick-link:hover {
  color: var(--color-gold);
}

@media (max-width: 959px) {
  .contact-aside-photo {
    max-height: 260px;
  }

  .contact-aside-photo img {
    min-height: 200px;
  }
}

/* Footer */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(247, 241, 231, 0.75);
  padding: 2rem 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  opacity: 0.95;
  filter: brightness(1.05);
}

.footer-name {
  margin: 0;
  font-weight: 600;
  color: var(--color-cream);
  font-size: 0.95rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .brand {
    order: 0;
  }

  .header-inner .brand {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media only screen and (min-width:320px) and (max-width:769px) {
  .section-banner img {
    height: auto;
  }
}