/* ============================================================
   PORQUEROLLES YACHTING — style.css
   Stack : HTML5 + CSS custom properties + GSAP (via main.js)
   ============================================================ */

/* ===== 1. CUSTOM PROPERTIES ================================= */
:root {
  /* Couleurs */
  --navy:       #0d1b2a;
  --navy-mid:   #1a2f45;
  --navy-light: #243b55;
  --gold:       #c9a255;
  --gold-light: #dbb978;
  --gold-dark:  #a67c3c;
  --beige:      #f8f4ee;
  --beige-dark: #ede5d4;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --text-muted: #6b7280;
  --border:     rgba(201,162,85,.25);

  /* Typographie */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Raleway', system-ui, sans-serif;

  /* Layout */
  --container:   1200px;
  --gap:         1.5rem;

  /* Transitions */
  --ease:        cubic-bezier(.4,0,.2,1);
  --dur:         .35s;

  /* Nav */
  --nav-h:       80px;
}

/* ===== 2. RESET & BASE ====================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
ul, ol { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ===== 3. TYPOGRAPHY ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

/* ===== 4. LAYOUT ============================================ */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ===== 5. BUTTONS =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,85,.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn--outline-white:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .6rem 1.4rem;
}
.btn--ghost:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--sm  { padding: .6rem 1.4rem; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== 6. SECTION HEADER ==================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-tag--light { color: var(--gold-light); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}
.section-divider--center { margin-inline: auto; }

.section-desc {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== 7. HEADER / NAV ====================================== */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              padding var(--dur) var(--ease);
  padding-block: .75rem;
}
.header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
  padding-block: .5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav__logo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .06em;
  color: var(--white);
}
.nav__logo-sub {
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__link {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--gold); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* CTA nav link */
.nav__link--cta {
  padding: .5rem 1.25rem;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 2px;
  letter-spacing: .08em;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--gold-dark); }

/* Burger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  z-index: 200;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 8. HERO / KEN BURNS ================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy); /* fallback when slides shift due to parallax */
}

/* Slides container */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Individual slide */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }

/* The animated background layer */
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform-origin: center;
  will-change: transform;
}

/* Dark gradient overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(13,27,42,.45) 0%,
      rgba(13,27,42,.25) 40%,
      rgba(13,27,42,.55) 100%
    );
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-inline: 1.5rem;
  max-width: 820px;
}

.hero__tagline {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  opacity: .9;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 300;
  opacity: .88;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Dots */
.hero__indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .6rem;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.5);
  transition: all var(--dur) var(--ease);
  padding: 0;
}
.hero__dot.is-active,
.hero__dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* Scroll arrow */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero__scroll-arrow {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.7));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== 9. SERVICES ========================================== */
.services {
  position: relative;
  padding-block: 7rem;
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .07;
  z-index: 0;
}

.services .container { position: relative; z-index: 1; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card */
.service-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,27,42,.08);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  /* opacity animée par GSAP via JS — visible par défaut (no-JS fallback) */
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(13,27,42,.15);
}

.service-card--featured {
  border-top: 3px solid var(--gold);
}

.service-card__img-wrap {
  overflow: hidden;
  height: 240px;
}
.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.service-card:hover .service-card__img-wrap img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 2rem;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card__body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: .75rem;
}
.service-card__body p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* ===== 10. STATS ============================================ */
.stats {
  position: relative;
  padding-block: 7rem;
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.stats__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.82);
  z-index: 1;
}

.stats__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .75rem;
}

.stat-label {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ===== 11. ABOUT ============================================ */
.about {
  padding-block: 7rem;
  background: var(--beige);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Photo mosaic */
.about__gallery {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}
.about__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.about__img-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about__img-col img {
  width: 220px;
  height: 170px;
  object-fit: cover;
  border-radius: 2px;
}

/* Text */
.about__content .section-title {
  margin-bottom: 1rem;
}
.about__content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: .98rem;
}

.about__list {
  margin-block: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
}
.about__list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ===== 12. FEATURED CTA ==================================== */
.featured-cta {
  position: relative;
  padding-block: 9rem;
  overflow: hidden;
}

.featured-cta__bg {
  position: absolute;
  top: -20%;       /* extra bleed so parallax travel never exposes section bg */
  left: 0;
  right: 0;
  bottom: -20%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}
.featured-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.68);
  z-index: 1;
}

.featured-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.featured-cta__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.featured-cta__title em {
  font-style: italic;
  color: var(--gold-light);
}

.featured-cta__content .section-divider {
  margin-bottom: 1.5rem;
}

.featured-cta__desc {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: .85;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== 13. GALLERY ========================================= */
.gallery {
  padding-block: 7rem;
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 10px;
}

.gallery__item--wide { grid-column: span 2; }

/* Item */
.gallery__item {
  position: relative;
  overflow: hidden;
  display: block;
  /* opacity animée par GSAP via JS — visible par défaut (no-JS fallback) */
  border-radius: 2px;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }

/* Overlay hover */
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery__overlay span {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__item:hover .gallery__overlay span { transform: scale(1.2); }

/* Thin gold border on hover */
.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 0 solid var(--gold);
  z-index: 2;
  transition: border-width var(--dur) var(--ease);
  pointer-events: none;
}
.gallery__item:hover::before { border-width: 3px; }

/* ===== 14. CONTACT ========================================= */
.contact {
  padding-block: 7rem;
  background: var(--beige);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

/* Info */
.contact__info .section-title { color: var(--navy); }
.contact__info .section-title em {
  font-style: italic;
  color: var(--gold-dark);
}
.contact__info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: .98rem;
}

.contact__address { display: flex; flex-direction: column; gap: 1rem; }
.contact__row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .95rem;
  color: var(--text-muted);
}
.contact__row svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 2px;
}
.contact__row a:hover { color: var(--gold); }

/* Form */
.contact__form {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(13,27,42,.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.req { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b5b5b5; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,85,.15);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a255' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group { margin-bottom: 1.25rem; }
.form-group:last-of-type { margin-bottom: 1.5rem; }

.contact__form .btn {
  font-size: .9rem;
  padding: 1rem;
}

/* ===== 14b. CONTACT SLIDESHOW ============================== */
.contact__slideshow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Slide container — clips overflow so slides don't bleed */
.slideshow__container {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 48px rgba(13,27,42,.18);
  /* Padding-bottom trick = reliable 4:3 aspect ratio across all browsers */
  height: 0;
  padding-bottom: 75%;   /* 75% of width = 4:3 ratio */
}

/* Slide track — must fill the padded container */
.slideshow__slides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* Individual slide — absolutely stacked inside .slideshow__slides */
.slideshow__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: opacity;
}
.slideshow__slide.is-active {
  opacity: 1;
}

.slideshow__slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption bar */
.slideshow__caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: .75rem 1.25rem;
  background: linear-gradient(to top, rgba(13,27,42,.85) 0%, transparent 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.slideshow__slide.is-active .slideshow__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Controls bar — prev | dots | next */
.slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Prev / Next buttons */
.slideshow__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.slideshow__btn svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.slideshow__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(201,162,85,.35);
}
.slideshow__btn:active {
  transform: scale(.96);
}

/* Dot indicators */
.slideshow__dots {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.slideshow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(13,27,42,.2);
  border: 1.5px solid rgba(13,27,42,.25);
  padding: 0;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              width var(--dur) var(--ease);
}
.slideshow__dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  width: 22px;
  border-radius: 4px;
  transform: none;
}
.slideshow__dot:hover:not(.is-active) {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: scale(1.25);
}

/* CTA row below slideshow */
.slideshow__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(13,27,42,.07);
  border-left: 3px solid var(--gold);
}

.slideshow__cta p {
  flex: 1;
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
  min-width: 180px;
}

.slideshow__cta .btn {
  padding: .65rem 1.35rem;
  font-size: .8rem;
  white-space: nowrap;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .slideshow__container { padding-bottom: 62.5%; } /* 16:10 ratio */
}
@media (max-width: 480px) {
  .slideshow__container { padding-bottom: 75%; }   /* 4:3 ratio */
  .slideshow__cta { flex-direction: column; align-items: flex-start; }
  .slideshow__cta .btn { width: 100%; justify-content: center; }
}

/* ===== 15. FOOTER ========================================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

.footer__top { padding-block: 5rem; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

/* Brand */
.footer__brand img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}
.footer__brand p { line-height: 1.7; max-width: 260px; }

/* Nav / lists */
.footer__nav h3,
.footer__services h3,
.footer__contact h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer__nav h3::after,
.footer__services h3::after,
.footer__contact h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 1px;
  background: var(--gold);
}

.footer__nav ul li,
.footer__services ul li {
  margin-bottom: .5rem;
}
.footer__nav a:hover { color: var(--gold); }

/* Contact footer */
.footer__contact p { margin-bottom: .6rem; line-height: 1.6; }
.footer__contact a {
  display: block;
  margin-bottom: .4rem;
  transition: color var(--dur) var(--ease);
}
.footer__contact a:hover { color: var(--gold); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.5rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ===== 16. SCROLL REVEAL (initial states) ================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}

/* ===== 17. RESPONSIVE ====================================== */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .services__grid .service-card:last-child { grid-column: span 2; }

  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--wide { grid-column: span 2; }

  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__gallery { display: grid; grid-template-columns: 2fr 1fr; }

  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  /* Mobile nav */
  .nav__burger { display: flex; }

  .nav__menu {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    background: var(--navy);
    padding: 5rem 2.5rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 150;
  }
  .nav__menu.is-open { transform: translateX(0); }

  .nav__link { font-size: 1rem; }
  .nav__link--cta { margin-top: 1rem; }

  .services__grid {
    grid-template-columns: 1fr;
  }
  .services__grid .service-card:last-child { grid-column: span 1; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery__item--wide { grid-column: span 2; }

  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .about__gallery { grid-template-columns: 1fr; }
  .about__img-col { flex-direction: row; }
  .about__img-col img { width: 100%; height: 160px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery__item--wide { grid-column: span 1; }

  .stats__grid { grid-template-columns: 1fr 1fr; }

  .hero__scroll { display: none; }
}

/* ===== 18. LANGUAGE SWITCHER ============================== */
.nav__lang {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,.2);
}

.nav__lang-btn {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  padding: .25rem .45rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
  text-transform: uppercase;
  line-height: 1;
}

.nav__lang-btn:hover {
  color: var(--gold);
  border-color: rgba(201,162,85,.4);
}

.nav__lang-btn.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,162,85,.12);
}

/* Mobile: show lang switcher inside menu */
@media (max-width: 768px) {
  .nav__lang {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1.25rem;
    margin-top: .5rem;
    gap: .6rem;
  }
  .nav__lang-btn {
    font-size: .85rem;
    padding: .35rem .65rem;
  }
}

/* ===== 19. ACCESSIBILITY ================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
