/* =========================================================
   Above Board Pet Travel — Stylesheet
   ========================================================= */

:root {
  /* Brand colours */
  --color-blue: #00247D;
  --color-blue-dark: #001A5B;
  --color-red: #CF142B;
  --color-red-dark: #b01224;
  --color-ink: #1A1A2E;
  --color-tint: #F4F7FC;
  --color-muted: #6B7280;
  --color-gold: #FFD700;
  --color-white: #FFFFFF;

  /* Supporting greys */
  --color-border: #E8ECF4;
  --color-border-light: #F1F5F9;
  --color-input-border: #E2E8F0;
  --color-grey-light: #9CA3AF;
  --color-grey-mid: #4B5563;
  --color-quote: #4A5568;

  /* Typography */
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 36, 125, 0.07);
  --shadow-card-hover: 0 8px 40px rgba(0, 36, 125, 0.13);
  --shadow-soft: 0 2px 16px rgba(0, 36, 125, 0.07);
  --shadow-nav: 0 2px 16px rgba(0, 36, 125, 0.07);
  --shadow-nav-scrolled: 0 4px 24px rgba(0, 36, 125, 0.12);

  /* Layout */
  --container-max: 1280px;
}

/* =========================================================
   Reset / Base
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--color-border);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

section[id] {
  scroll-margin-top: 80px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}

/* Section label / heading primitives */
.section-label {
  color: var(--color-red);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-label.is-center { text-align: center; }
.section-label.is-gold { color: var(--color-gold); }
.section-label.is-light { color: var(--color-white); }

.section-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin-top: 12px;
}
.section-heading.is-center { text-align: center; }
.section-heading.is-light { color: var(--color-white); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  padding: 14px 28px;
  border: none;
  transition: background-color 200ms, color 200ms;
}
.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-red-dark);
}
.btn-secondary {
  background: var(--color-white);
  color: var(--color-ink);
}
.btn-secondary:hover {
  background: #f3f4f6;
}
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  padding: 12px 24px;
  border-radius: 6px;
}
.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}
.btn-pill {
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 26px;
  display: inline-block;
}
.btn-pill:hover {
  background: var(--color-red-dark);
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-nav);
  transition: box-shadow 200ms;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-nav-scrolled);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 165px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .site-header__inner { padding: 0 1.5rem; }
}

.site-header__logo {
  display: flex;
  align-items: center;
  min-width: 180px;
  height: 160px;
  padding-left: 0.25rem;
}
@media (min-width: 768px) {
  .site-header__logo { min-width: 220px; padding-left: 1.5rem; }
}
.site-header__logo img {
  height: 135px;
  width: auto;
  max-width: 585px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .site-header__logo img { height: 162px; }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  transition: color 200ms;
}
.site-nav a:hover {
  color: var(--color-blue);
}
.site-nav .btn-cta {
  background: var(--color-red);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 22px;
  transition: background-color 200ms;
}
.site-nav .btn-cta:hover {
  background: var(--color-red-dark);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--color-ink);
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-nav-scrolled);
}
.mobile-nav.is-open {
  display: block;
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 0.5rem;
}
.mobile-nav a {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  transition: color 200ms;
}
.mobile-nav a:hover {
  color: var(--color-blue);
}
.mobile-nav .btn-cta {
  margin: 1rem 0;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  text-align: center;
}
.mobile-nav .btn-cta:hover {
  background: var(--color-red-dark);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
}
.hero__bg {
  background-image: url("../images/hero-sm.webp");
  background-size: cover;
  background-position: center;
}
@media (min-width: 769px) {
  .hero__bg {
    background-image: url("../images/hero.webp");
  }
}
.hero__overlay {
  background: rgba(0, 0, 0, 0.54);
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 4px;
  border: 1px solid var(--color-red);
  border-radius: 20px;
  padding: 5px 16px;
  background: rgba(207, 20, 43, 0.1);
}
.hero h1 {
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 20px;
  font-size: clamp(38px, 6vw, 64px);
}
.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
  max-width: 580px;
  margin: 16px auto 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hero__chip {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 8px 18px;
  color: var(--color-white);
  font-weight: 500;
  font-size: 14px;
}

/* =========================================================
   About
   ========================================================= */

.about {
  background: var(--color-white);
  padding: 6rem 0;
}
.about__grid {
  display: grid;
  gap: 5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}
.about p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 1rem;
}
.about p:first-of-type {
  margin-top: 1.25rem;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about__stat {
  min-width: 0;
  text-align: center;
  background: var(--color-tint);
  border-radius: 12px;
  padding: 1.25rem;
}
.about__stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--color-blue);
}
.about__stat-label {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 13px;
  margin-top: 4px;
  overflow-wrap: break-word;
}
.about .btn-primary {
  margin-top: 2rem;
}
@media (max-width: 1023px) {
  .about .btn-primary {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
.about__image {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 0.7fr;
  gap: 12px;
  height: 560px;
}
.about__image img {
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 20px 60px rgba(0, 36, 125, 0.12);
}
.about__image img.about__image--main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
@media (max-width: 767px) {
  .about__image {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 130px 130px 130px;
    height: auto;
  }
  .about__image img.about__image--main {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .about__image picture:last-child img {
    grid-column: 1 / 3;
  }
}

/* =========================================================
   How It Works
   ========================================================= */

.how-it-works {
  background: var(--color-tint);
  padding: 6rem 0;
}
.how-it-works__intro {
  text-align: center;
}
.how-it-works__intro p {
  color: var(--color-muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0.75rem auto 0;
}

.timeline-desktop {
  display: none;
  position: relative;
  margin-top: 80px;
}
@media (min-width: 1024px) {
  .timeline-desktop { display: block; }
}
.timeline-desktop__track {
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(to right, rgba(0, 36, 125, 0.15), rgba(0, 36, 125, 0.35), rgba(0, 36, 125, 0.15));
  border-radius: 2px;
  z-index: 0;
}
.timeline-desktop__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step__num {
  font-family: var(--font-heading);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-blue);
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 0 6px var(--color-tint), 0 8px 20px rgba(0, 36, 125, 0.25);
  position: relative;
  z-index: 1;
}
.step__icon-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-white);
  border-radius: 50%;
  margin-top: 28px;
  box-shadow: var(--shadow-soft);
}
.step__icon-chip svg {
  width: 26px;
  height: 26px;
  color: var(--color-red);
}
.step h3 {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 20px;
  margin-top: 20px;
}
.step p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 240px;
}

.timeline-mobile {
  display: block;
  position: relative;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .timeline-mobile { display: none; }
}
.timeline-mobile__track {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 31px;
  width: 3px;
  background: rgba(0, 36, 125, 0.15);
  border-radius: 2px;
}
.timeline-mobile__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.step-row {
  position: relative;
  display: flex;
  gap: 20px;
}
.step-row__num {
  font-family: var(--font-heading);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-blue);
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 0 6px var(--color-tint), 0 8px 20px rgba(0, 36, 125, 0.25);
  position: relative;
  z-index: 1;
}
.step-row__content {
  padding-top: 4px;
}
.step-row__title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-row__title svg {
  width: 22px;
  height: 22px;
  color: var(--color-red);
}
.step-row__title h3 {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 19px;
}
.step-row p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 8px;
}

.how-it-works__cta {
  text-align: center;
  margin-top: 64px;
}

/* =========================================================
   Services
   ========================================================= */

.services {
  background: var(--color-white);
  padding: 6rem 0;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}
.services__solo {
  max-width: 380px;
  margin: 1.5rem auto 0;
}
.service-card {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 300ms, transform 300ms;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #EEF2FF;
  border-radius: 50%;
}
.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-blue);
}
.service-card h3 {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 20px;
  margin-top: 20px;
}
.service-card__body {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 12px;
}
.service-card__body p + p {
  margin-top: 12px;
}
.service-card__toggle {
  margin-top: 12px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 15px;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  display: block;
}
.service-card__features {
  margin-top: 12px;
  padding-left: 1.1rem;
  list-style: disc;
  display: none;
}
.service-card__features.is-open {
  display: block;
}
.service-card__features-note {
  margin-top: 12px;
  display: none;
}
.service-card__features-note.is-open {
  display: block;
}
.services__cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  background: var(--color-tint);
  padding: 6rem 0;
}
.faq__container {
  max-width: 760px;
}
.faq__intro {
  text-align: center;
}
.faq__list {
  margin-top: 3rem;
}
.faq-item {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}
.faq-item__question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
}
.faq-item__question span {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 16px;
}
.faq-item__chevron {
  width: 20px;
  height: 20px;
  color: var(--color-blue);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 250ms ease;
}
.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}
.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}
.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}
.faq-item__answer-inner {
  overflow: hidden;
}
.faq-item__answer p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
  padding-top: 12px;
  white-space: pre-line;
}
.faq-item__answer a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: underline;
}
.faq__cta {
  text-align: center;
  margin-top: 40px;
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  background: var(--color-white);
  padding: 6rem 0;
}
.gallery__intro {
  text-align: center;
}
.gallery__intro p {
  color: var(--color-muted);
  font-size: 18px;
  margin-top: 0.75rem;
}
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery__item {
  overflow: hidden;
  border-radius: 16px;
  transition: transform 300ms, box-shadow 300ms;
}
.gallery__item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   Reviews
   ========================================================= */

.reviews {
  background: var(--color-blue);
  padding: 6rem 0;
}
.reviews__intro {
  text-align: center;
}
.reviews__intro .section-label {
  color: var(--color-white);
}
.reviews__carousel {
  position: relative;
  margin-top: 3.5rem;
}
.reviews__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: none;
  z-index: 2;
  transition: background-color 200ms;
}
@media (min-width: 768px) {
  .reviews__arrow { display: flex; }
}
.reviews__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}
.reviews__arrow--prev { left: -22px; }
.reviews__arrow--next { right: -22px; }
.reviews__arrow svg {
  width: 22px;
  height: 22px;
}
.reviews__viewport {
  overflow: hidden;
}
.reviews__track {
  display: flex;
  transition: transform 500ms ease-out;
}
.review-slide {
  flex: 0 0 100%;
  padding: 0 0.75rem;
}
@media (min-width: 768px) {
  .review-slide { flex: 0 0 50%; }
}
@media (min-width: 1024px) {
  .review-slide { flex: 0 0 33.3333%; }
}
.review-card {
  background: var(--color-white);
  height: 100%;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.review-card__stars {
  color: var(--color-gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.review-card__text {
  color: var(--color-quote);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
}
.review-card__more {
  display: none;
}
.review-card__more.is-visible {
  display: inline;
}
.review-card__toggle {
  display: block;
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  color: var(--color-blue);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.review-card__toggle:hover {
  text-decoration: underline;
}
.review-card__name {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 15px;
  margin-top: 16px;
}
.review-card__pet {
  color: var(--color-grey-light);
  font-size: 13px;
  margin-top: 2px;
}
.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 32px;
}
.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  background-clip: content-box;
  border: none;
  padding: 9px;
  cursor: pointer;
  transition: background-color 200ms;
}
.reviews__dot.is-active {
  background: var(--color-white);
  background-clip: content-box;
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  background: var(--color-white);
  padding: 6rem 0;
}
.contact__container {
  max-width: 1100px;
}
.contact__grid {
  display: grid;
  gap: 5rem;
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 45% 55%; }
}
.contact__intro p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 16px;
}
.contact__details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-tint);
  border-radius: 50%;
}
.contact__detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-blue);
}
.contact__detail span {
  font-weight: 500;
  color: var(--color-ink);
  font-size: 15px;
}
.contact__tagline {
  color: var(--color-grey-light);
  font-size: 14px;
  font-style: italic;
  margin-top: 24px;
}
.contact__stamp {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .contact__stamp { justify-content: flex-start; }
}
.contact__stamp img {
  width: 220px;
  height: auto;
  opacity: 0.85;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px -20px rgba(0, 36, 125, 0.18), 0 4px 16px rgba(0, 36, 125, 0.06);
  border: 1px solid rgba(0, 36, 125, 0.06);
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.25rem;
}
@media (min-width: 640px) {
  .contact-form__grid { grid-template-columns: 1fr 1fr; }
}
.contact-form__field {
  margin-bottom: 20px;
}
.contact-form__field--full {
  grid-column: 1 / -1;
}
.contact-form__field label {
  display: block;
  font-weight: 500;
  color: var(--color-ink);
  font-size: 14px;
  margin-bottom: 6px;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font-family: var(--font-sans);
  color: var(--color-ink);
  font-size: 15px;
  background: var(--color-white);
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.contact-form__field textarea {
  resize: vertical;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 36, 125, 0.1);
}
.contact-form__field.has-error input,
.contact-form__field.has-error select,
.contact-form__field.has-error textarea {
  border-color: var(--color-red);
}
.contact-form__error {
  color: var(--color-red);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}
.contact-form__field.has-error .contact-form__error {
  display: block;
}
.contact-form__submit {
  width: 100%;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  padding: 16px;
  margin-top: 8px;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(207, 20, 43, 0.45);
  transition: background-color 200ms;
}
.contact-form__submit:hover {
  background: var(--color-red-dark);
}
.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.contact-form__submit-error {
  color: var(--color-red);
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  display: none;
}
.contact-form__submit-error.is-visible {
  display: block;
}
.contact-form__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}
@media (min-width: 640px) {
  .contact-form__social { flex-direction: row; }
}
.contact-form__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--color-gold);
}
.contact-form__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}
.contact-form__social p {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
}
.contact-form__quote {
  text-align: center;
  color: var(--color-quote);
  font-size: 12px;
  margin-top: 8px;
  font-style: italic;
}

.contact-success {
  display: none;
  text-align: center;
  background: var(--color-white);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 20px 50px -20px rgba(0, 36, 125, 0.18), 0 4px 16px rgba(0, 36, 125, 0.06);
}
.contact-success.is-visible {
  display: block;
}
.contact-success__icon {
  display: flex;
  justify-content: center;
}
.contact-success__icon svg {
  width: 48px;
  height: 48px;
  color: #16A34A;
}
.contact-success h3 {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 22px;
  margin-top: 16px;
}
.contact-success p {
  color: var(--color-muted);
  font-size: 15px;
  margin-top: 8px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--color-ink);
  padding: 4rem 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}
.site-footer__brand {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}
.site-footer__tagline {
  color: var(--color-grey-light);
  font-style: italic;
  font-size: 15px;
  margin-top: 12px;
}
.site-footer__fine {
  color: var(--color-grey-light);
  font-size: 13px;
  margin-top: 8px;
}
.site-footer__col-title {
  color: var(--color-grey-light);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__links a {
  color: var(--color-grey-light);
  font-size: 14px;
  transition: color 200ms;
}
.site-footer__links a:hover {
  color: var(--color-white);
}
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid #2D2D44;
  margin-top: 3rem;
  padding-top: 1.5rem;
}
@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.site-footer__bottom p,
.site-footer__bottom div {
  color: var(--color-grey-light);
  font-size: 13px;
}
.site-footer__bottom a {
  color: var(--color-grey-light);
  text-decoration: none;
  transition: color 200ms;
}
.site-footer__bottom a:hover {
  color: var(--color-white);
}

/* =========================================================
   Legal pages (Cookie / Terms / Privacy)
   ========================================================= */

.legal-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
}
.legal-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.legal-hero h1 {
  font-weight: 800;
  color: var(--color-white);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  margin-top: 12px;
}
.legal-hero__subtitle {
  color: #D5DDEE;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 16px;
}
.legal-hero__updated {
  color: var(--color-grey-light);
  font-size: 13px;
  margin-top: 16px;
}

.legal-content {
  background: var(--color-tint);
  padding: 6rem 0;
}
.legal-content__container {
  max-width: 860px;
}
.legal-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 10px 40px -12px rgba(0, 36, 125, 0.12);
}
.legal-section {
  margin-bottom: 32px;
}
.legal-section h2 {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.legal-section p {
  color: var(--color-grey-mid);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 12px;
}
.legal-section p:first-of-type {
  margin-top: 0;
}
.legal-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.legal-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.legal-list strong {
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.legal-list span {
  color: var(--color-grey-mid);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.legal-card__cta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

/* =========================================================
   Utilities
   ========================================================= */

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