/* =====================================================
   VIRIDA ATLAS — Feuille de style principale
   Design : Luxe, Naturalité, Élégance Marocaine
   v2.0 — Fixed & Optimized
   ===================================================== */

/* ── Variables CSS ── */
:root {
  --green-deep:    #1a3a2a;
  --green-mid:     #2d5a40;
  --green-light:   #4a8c64;
  --green-pale:    #e8f0eb;
  --gold:          #c9a84c;
  --gold-light:    #e8c97a;
  --gold-pale:     #faf4e6;
  --ivory:         #faf8f3;
  --charcoal:      #1c1c1e;
  --text-body:     #3d3d3d;
  --text-muted:    #7a7a7a;
  --white:         #ffffff;

  --font-display:  'Cormorant Garamond', serif;
  --font-body:     'Jost', sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     24px;

  --shadow-card:   0 4px 20px rgba(26,58,42,0.09);
  --shadow-hover:  0 10px 32px rgba(26,58,42,0.15);
  --transition:    all 0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Prevent horizontal overflow at root level */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--ivory);
  /* FIX: was `overflow-x: auto` which caused horizontal scrollbar */
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

.section-pad { padding: 100px 0; }

/* ── Typographie commune ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--green-deep);
  margin-bottom: 20px;
}
.section-title em {
  color: var(--gold);
  font-style: italic;
}
.section-title.light { color: var(--white); }

.section-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.section-lead.light { color: rgba(255,255,255,0.75); }

/* ── Boutons ── */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  /* FIX: was `overflow: auto` which could show scrollbars on hover animation */
  overflow: hidden;
}
.btn-luxury::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  z-index: 0;
}
.btn-luxury span,
.btn-luxury i {
  position: relative;
  z-index: 1;
}
.btn-luxury:hover { color: var(--gold); }
.btn-luxury:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
}

/* ── Navbar ── */
#navbar {
  background: transparent;
  padding: 20px 0;
  transition: var(--transition);
  z-index: 1000;
}
#navbar.scrolled {
  background: rgba(26,58,42,0.97);
  padding: 12px 0;
  /* FIX: simplified backdrop-filter — expensive on low-end devices */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand { text-decoration: none; }

.brand-va {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-atlas {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-left: 6px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 6px 14px !important;
  transition: color 0.25s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--gold) !important; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-deep) !important;
  padding: 8px 20px !important;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--green-deep) !important;
}

/* Hamburger custom */
.navbar-toggler {
  border: none;
  background: none;
  padding: 4px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  position: relative;
}
.toggler-icon::before,
.toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.toggler-icon::before { top: -8px; }
.toggler-icon::after  { top: 8px; }

/* ── Hero Section ── */
.hero-section {
  position: relative;
  /* FIX: 100vh can be unreliable on mobile browsers (address bar issues).
     Using min-height with a fallback ensures content is always visible. */
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(10,28,18,0.72) 0%, rgba(26,58,42,0.55) 60%, rgba(0,0,0,0.40) 100%),
    url('fmarrakech.jpg') center / cover no-repeat;
  /* FIX: was `overflow: auto` — caused scrollbars inside the hero */
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* FIX: simplified particle pattern — reduces paint cost */
.hero-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 18px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.80);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(201,168,76,0), var(--gold));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ── Stats Band ── */
.stats-band {
  background: var(--green-deep);
  padding: 40px 0;
}
.stats-row {
  border: 1px solid rgba(201,168,76,0.15);
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(201,168,76,0.15);
}
.stat-item:last-child { border-right: none; }

@media (max-width: 767px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(201,168,76,0.15); }
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--gold); }

.stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── À Propos ── */
.section-apropos { background: var(--ivory); }

.img-stacked {
  position: relative;
  padding-bottom: 60px;
  padding-right: 60px;
}
.img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 5px solid var(--ivory);
  box-shadow: var(--shadow-card);
}
.img-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--gold);
  color: var(--green-deep);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
}
.img-badge i { font-size: 1.1rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-pale);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.value-card i {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.value-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--green-deep);
  font-weight: 600;
  margin-bottom: 2px;
}
.value-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Services ── */
.section-services {
  background: var(--green-pale);
  position: relative;
}
.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74,140,100,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.service-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.service-block-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}
.service-icon-wrap.gold {
  background: var(--gold);
  color: var(--green-deep);
}

.service-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.service-block-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--green-deep);
}

.service-card {
  background: var(--ivory);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  background: var(--white);
}
.service-card.gold:hover { border-color: var(--gold); }

.service-card i {
  font-size: 1.8rem;
  color: var(--green-light);
  margin-bottom: 14px;
  display: block;
}
.service-card.gold i { color: var(--gold); }

.service-card h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Galerie ── */
.section-galerie { background: var(--white); }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid #ddd;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
/* Spanning items */
.gallery-grid .gallery-item:first-child { grid-column: span 2; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-item {
  position: relative;
  /* FIX: was `overflow: auto` — caused scrollbars on gallery items.
     Must be `hidden` to clip the zoom-on-hover image effect. */
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
  /* FIX: promote to GPU layer for smoother transform */
  will-change: transform;
}
.gallery-item:first-child img { height: 300px; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,42,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

.gallery-item.hidden { display: none; }

/* ── Testimonials ── */
.section-testimonials { background: var(--green-pale); }

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: border-color 0.25s ease;
}
.testimonial-card:hover,
.testimonial-card.featured {
  border-color: var(--gold);
}
.testimonial-card.featured { background: var(--green-deep); }
.testimonial-card.featured p,
.testimonial-card.featured .stars { color: rgba(255,255,255,0.9); }
.testimonial-card.featured .testimonial-author strong { color: var(--white); }
.testimonial-card.featured .testimonial-author span  { color: rgba(255,255,255,0.55); }

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--green-deep);
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Contact ── */
.section-contact {
  position: relative;
  background: var(--green-deep);
  /* FIX: was `overflow: auto` — caused unexpected scrollbars inside the section */
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(74,140,100,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.contact-info-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.4);
}
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
}
.contact-info-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.contact-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.contact-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
}

/* FIX: map container was `overflow: auto` — replaced with `hidden` to clip iframe correctly */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
}
.map-container iframe { display: block; }

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.form-group-custom { position: relative; }

.form-group-custom input,
.form-group-custom textarea,
.form-group-custom select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 20px 16px 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-group-custom select option {
  background: var(--green-deep);
  color: var(--white);
}
.form-group-custom textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group-custom input:focus,
.form-group-custom textarea:focus,
.form-group-custom select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.10);
}

.form-group-custom label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}
.form-group-custom input:not(:placeholder-shown) ~ label,
.form-group-custom input:focus ~ label,
.form-group-custom textarea:not(:placeholder-shown) ~ label,
.form-group-custom textarea:focus ~ label,
.form-group-custom select:focus ~ label {
  top: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.form-success {
  background: rgba(74,140,100,0.2);
  border: 1px solid rgba(74,140,100,0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-success i {
  color: var(--gold-light);
  font-size: 1.1rem;
}

/* ── Footer ── */
.footer {
  background: #111a14;
  padding: 70px 0 0;
  color: rgba(255,255,255,0.65);
}
.footer-main { padding-bottom: 50px; }

.footer-brand { margin-bottom: 16px; }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact-list i {
  color: var(--gold);
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Animations Reveal ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── Brand Logo ── */
.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  /* FIX: add display block to prevent inline-block whitespace gap */
  display: block;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ── Tablet (≤ 991px) ── */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }

  .navbar-collapse {
    background: rgba(26,58,42,0.97);
    padding: 20px;
    margin-top: 12px;
    border-radius: var(--radius-md);
  }

  .img-stacked  { padding-bottom: 40px; padding-right: 40px; }
  .img-main     { height: 360px; }

  .values-grid  { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset spanning on tablet — each item takes 1 column */
  .gallery-grid .gallery-item:first-child { grid-column: 1; }
  .gallery-grid .gallery-item:nth-child(4) { grid-column: 1; }

  .contact-form   { padding: 28px; }
  .service-block  { padding: 28px 20px; }
}

/* ── Mobile (≤ 575px) ── */
@media (max-width: 575px) {
  .hero-title    { font-size: 2.6rem; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }

  /* FIX: buttons full-width on mobile */
  .btn-luxury,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid                { grid-template-columns: 1fr; }
  .gallery-item img            { height: 220px; }
  .gallery-item:first-child img { height: 220px; }

  .img-stacked  { padding-bottom: 30px; padding-right: 0; }
  .img-secondary { display: none; } /* avoids overflow on very small screens */

  .stats-band   { padding: 24px 0; }
  .stat-item    { padding: 20px 10px; }
  .stat-number  { font-size: 2.2rem; }

  .footer-bottom      { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .contact-form { padding: 22px 16px; }
  .service-block { padding: 20px 16px; }
}