@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Great+Vibes&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --navy: #0E2A63;
  --navy-light: #163C8C;
  --gold: #D6A33A;
  --gold-light: #E8B953;
  --white: #FAFAF8;
  --light-grey: #F4F2EE;
  --charcoal: #222222;
  --border-color: rgba(14, 42, 99, 0.08);
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 40px rgba(14, 42, 99, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #555555;
  font-weight: 300;
}

/* Buttons & CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 0.5rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--gold);
  color: white;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 163, 58, 0.3);
}

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

.btn-secondary:hover {
  background-color: rgba(14, 42, 99, 0.05);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--navy);
  color: white;
}

.btn-navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 42, 99, 0.25);
}

/* Scroll Indicators / Loader */
#loader {
  position: fixed;
  inset: 0;
  background-color: var(--navy);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.loader-logo {
  height: 80px;
  opacity: 0;
  transform: translateY(20px);
  animation: logoFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-bar {
  width: 280px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  margin-top: 0.5rem;
}

.loader-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: var(--gold);
}

@keyframes logoFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadProgress {
  to {
    width: 100%;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

header.scrolled {
  background-color: rgba(250, 250, 248, 0.98);
  box-shadow: var(--shadow-subtle);
}

header.scrolled .nav-container {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  height: 90px;
}

header.scrolled .nav-container {
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
  transition: var(--transition-smooth);
  display: block;
  transform: scale(1.5);
  transform-origin: left center;
}

header.scrolled .logo img {
  height: 80px;
  transform: scale(1.5);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0 2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  vertical-align: middle;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #E3A23B;
  transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #E3A23B !important;
}

.nav-links a.active {
  color: var(--navy) !important;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.top-social-link {
  font-size: 1.25rem !important;
  color: white;
  transition: var(--transition-fast);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 24px;
  height: 24px;
}

.top-social-link:hover {
  color: #E3A23B !important;
  transform: scale(1.15);
  text-decoration: none !important;
}

/* WhatsApp hover color */
.ph-whatsapp-logo {
  transition: var(--transition-fast);
}
a:hover .ph-whatsapp-logo,
.btn-secondary:hover .ph-whatsapp-logo,
.nav-ctas a:hover .ph-whatsapp-logo {
  color: #25D366 !important;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0.5rem;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-premium);
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
  min-width: 140px;
  z-index: 1100;
}

.lang-dropdown.active {
  display: flex;
}

.lang-dropdown button {
  background: none;
  border: none;
  text-align: left;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  transition: var(--transition-fast);
}

.lang-dropdown button:hover {
  background-color: var(--light-grey);
  color: var(--gold);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.8rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 580px;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px; /* offset for header */
  padding-bottom: 50px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0D1B3D 38%, rgba(13, 27, 61, 0.8) 58%, rgba(13, 27, 61, 0.2) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-footer-note {
    justify-content: center;
  }
}

.hero-content {
  color: white;
  z-index: 2;
  position: relative;
}

.hero-tagline {
  color: #E3A23B;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-content h1 span.highlight {
  color: #E3A23B;
  font-style: normal;
  font-weight: 500;
  border-bottom: 2.5px solid #E3A23B;
  padding-bottom: 4px;
  display: inline-block;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-whatsapp-outline {
  background: transparent;
  border: 1.5px solid #E3A23B;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.btn-whatsapp-outline:hover {
  background-color: #E3A23B;
  color: #0D1B3D;
  transform: translateY(-2px);
}

.hero-footer-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-footer-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.25rem;
}

.hero-tagline-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.85rem;
  color: #E3A23B;
  margin-top: 0.75rem;
  line-height: 1.3;
  opacity: 0.92;
  letter-spacing: 0.01em;
}

.hero-tagline-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 180px;
  margin-top: 1.25rem;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}

.hero-mobile-contacts {
  display: none;
}

/* Hero Right: Image with Card */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: visible; /* to allow card to overlap */
}

@media (max-width: 992px) {
  .hero-image-wrapper {
    height: 380px;
    margin-top: 2rem;
  }
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
}

.floating-reviews-card {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background-color: #1a2340;
  border-radius: 50px;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
  width: auto;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 576px) {
  .floating-reviews-card {
    right: 0.5rem;
    bottom: 1rem;
  }
}

/* Avatars overlapping stack */
.satisfaction-avatars {
  display: flex;
  align-items: center;
}

.satisfaction-avatars img,
.satisfaction-avatars div {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  border: 2px solid #1a2340 !important;
  object-fit: cover !important;
  flex-shrink: 0;
}

.satisfaction-avatars img:not(:first-child),
.satisfaction-avatars div {
  margin-left: -8px !important;
}

/* Stars + rating text */
.reviews-card-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.reviews-card-title {
  display: none; /* hidden in new compact layout */
}

.reviews-card-stars {
  color: #FFB800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.reviews-card-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  line-height: 1.2;
}

/* Trust Badges Bar */
.trust-badges-bar {
  background-color: #FAF7F2; /* Very light warm grey/cream background */
  padding: 2.5rem 0;
  border-top: 1px solid rgba(14, 42, 99, 0.05);
  border-bottom: 1px solid rgba(14, 42, 99, 0.05);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 992px) {
  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .badges-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1.5rem;
  border-right: 1.5px solid rgba(14, 42, 99, 0.08);
  transition: var(--transition-smooth);
}

.badge-card:last-child {
  border-right: none;
}

@media (max-width: 992px) {
  .badge-card {
    border-right: none;
    padding-right: 0;
  }
}

.badge-card-icon {
  width: 54px;
  height: 54px;
  background-color: #F8F4EE; /* Peach light gold cream circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.badge-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.badge-card p {
  font-size: 0.78rem;
  color: rgba(14, 42, 99, 0.7);
  line-height: 1.4;
  margin: 0;
}

/* Sections General */
section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--light-grey);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  height: 1px;
  width: 52px;
  background: linear-gradient(to right, transparent, var(--gold));
  opacity: 0.65;
  flex-shrink: 0;
}

.section-tag::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}

/* Gold highlight span inside h2 titles — neutral in light mode, gold in dark mode */
.gold-highlight {
  color: inherit; /* no change in light mode */
  font-style: normal;
  transition: color 0.25s ease;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Counters Section */
.counters-section {
  padding: 4rem 0;
  background-color: var(--navy);
  color: white;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-card h3 {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.counter-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* Left-aligned section tags: only show the trailing line (no leading line) */
.about-content .section-tag {
  justify-content: flex-start;
}
.about-content .section-tag::before {
  display: none;
}
.about-content .section-tag::after {
  width: 40px;
}

.about-content p {
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.about-bullet-item i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.about-bullet-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.about-bullet-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 3rem 2rem 2.5rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 400px;
  overflow: hidden;
  justify-content: flex-end; /* Push text to the bottom */
}

/* Background image using inline styles in HTML */
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 61, 0.7) 0%, rgba(13, 27, 61, 0.25) 50%, rgba(13, 27, 61, 0) 100%);
  z-index: 2;
}

.service-card-content {
  position: relative;
  z-index: 3;
  color: white;
  width: 100%;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: white;
}

.service-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 0;
}

/* Floating circular icon overlay at the top left of the card */
.service-icon-circle {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.service-icon-circle i {
  font-size: 1.4rem;
  color: white;
}

.service-custom-icon {
  width: 22px;
  height: 22px;
  color: white;
  transition: color var(--transition-smooth);
}

.service-link {
  color: var(--gold);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--navy);
}

.service-link i {
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.why-card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.why-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
}

.why-card p {
  font-size: 0.88rem;
  color: #666;
}

/* Before / After Slider */
.slider-container-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 16 / 9;
}

.testimonials-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  z-index: 10;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev-btn {
  left: -4rem;
}

.carousel-btn.next-btn {
  right: -4rem;
}

@media (max-width: 992px) {
  .carousel-btn.prev-btn {
    left: -1.2rem;
  }
  .carousel-btn.next-btn {
    right: -1.2rem;
  }
}

@media (max-width: 576px) {
  .carousel-btn {
    display: none;
  }
}

.testimonials-track-container {
  overflow: hidden;
  width: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
}

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

.slider-before {
  z-index: 2;
  width: 50%;
}

.slider-after {
  z-index: 1;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: white;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--navy);
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: var(--gold);
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 2rem;
  background-color: rgba(14, 42, 99, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 4;
}

.slider-label.before-label {
  left: 2rem;
}

.slider-label.after-label {
  right: 2rem;
}

/* Testimonials Carousel */
.testimonials-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 2.5rem;
  font-style: italic;
}

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

.testimonial-author h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid rgba(14, 42, 99, 0.3);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.carousel-dot:hover {
  border-color: var(--gold);
  background-color: rgba(227, 162, 59, 0.2);
}

.carousel-dot.active {
  background-color: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

body.dark-mode .carousel-dot {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

body.dark-mode .carousel-dot.active {
  background-color: var(--gold);
  border-color: var(--gold);
}

/* Quote Form Section */
.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

.quote-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.quote-info p {
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.quote-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quote-step-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.quote-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.quote-step-text h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.quote-step-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.quote-form-container {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
}

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

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(14, 42, 99, 0.12);
  border-radius: var(--radius-sm);
  background-color: var(--light-grey);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(214, 163, 58, 0.15);
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem;
  border: 1px dashed rgba(14, 42, 99, 0.25);
  border-radius: var(--radius-sm);
  background-color: rgba(244, 242, 238, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--navy);
  font-weight: 500;
}

.file-upload-label:hover {
  background-color: var(--light-grey);
  border-color: var(--gold);
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.form-submit-btn {
  width: 100%;
  border: none;
  font-size: 1rem;
}

/* Success Modal & Message */
.form-success-wrapper {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success-wrapper.active {
  display: block;
}

.form-success-wrapper i {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.form-success-wrapper h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.form-success-wrapper p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.form-success-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 320px;
  margin: 0 auto;
}

/* FAQ Section */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.8rem 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.faq-question h3 {
  font-size: 1.35rem;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: var(--transition-fast);
}

.faq-question:hover h3 {
  color: var(--gold);
}

.faq-icon-toggle {
  font-size: 1rem;
  color: var(--navy);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding-top: 1.2rem;
  font-size: 0.95rem;
  color: #666;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Safe upper limit */
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-bottom: 3rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(14, 42, 99, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 400;
}

.contact-detail-text a:hover {
  text-decoration: underline;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: white;
  padding: 6rem 0 3rem 0;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-logo img {
  width: 280px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  color: var(--gold);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.8rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links-col a:hover {
  color: white;
  padding-left: 4px;
}

.footer-hours-col h4 {
  color: var(--gold);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.8rem;
}

.footer-hours-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-hours-col span {
  float: right;
  color: white;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: white;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn-floating {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.btn-floating:hover {
  transform: translateY(-4px) scale(1.05);
}

.btn-float-whatsapp {
  background-color: #25D366;
}

.btn-float-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-float-totop {
  background-color: var(--navy);
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
}

.btn-float-totop.visible {
  opacity: 1;
  visibility: visible;
}



/* Scroll reveal items */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .services-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .about-grid, .quote-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(13, 27, 61, 0.95) 45%, rgba(13, 27, 61, 0.75) 100%) !important;
  }
}

@media (max-width: 768px) {
  
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-badges {
    gap: 1.2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .floating-actions {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .testimonial-card {
    padding: 3rem 1.8rem;
  }
  
  .testimonial-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   ACCESSIBILITY — WCAG 2.2 AA
   ============================================= */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: #E3A23B;
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible — keyboard navigation ring */
:focus-visible {
  outline: 3px solid #E3A23B;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ensure all buttons / links meet min 44×44px touch target */
button,
a,
input[type="submit"],
input[type="button"],
select,
.btn,
.faq-question,
.carousel-btn,
.nav-links a,
.footer-socials a,
.top-social-link {
  min-height: 44px;
  min-width: 44px;
}

/* Remove outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* =============================================
   FORM — Validation States & Loading
   ============================================= */

/* Required field mark */
.required-mark {
  color: #D32F2F;
  margin-left: 2px;
}

/* Field error messages */
.field-error {
  display: block;
  color: #D32F2F;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  min-height: 1em;
  font-family: 'Inter', sans-serif;
}

/* Invalid input styling */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #D32F2F !important;
  background-color: #fff5f5;
}

/* Valid input styling */
.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
  border-color: #2E7D32 !important;
  background-color: #f5fff5;
}

/* Form error summary */
.form-error-summary {
  background: #fff5f5;
  border: 1px solid #D32F2F;
  border-left: 4px solid #D32F2F;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  color: #D32F2F;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

/* Loading spinner for submit button */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}

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

/* Disabled button during loading */
.form-submit-btn[aria-busy="true"] {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

/* =============================================
   REDUCED MOTION — Respect user preference
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn-spinner {
    animation: none;
    border: 2px solid #fff;
  }
}

/* =============================================
   DARK MODE — Manual toggle (class-based)
   Activated by user toggle, not OS preference
   ============================================= */
body.dark-mode {
  --white: #111827;
  --light-grey: #161f2e;
  --charcoal: #e8eaf0;
  --border-color: rgba(255,255,255,0.07);
  --shadow-subtle: 0 4px 30px rgba(0,0,0,0.25);
  --shadow-premium: 0 20px 50px rgba(0,0,0,0.4);
  background-color: #111827;
  color: #e8eaf0;
}

/* ── Typography ── */
body.dark-mode p { color: #9aa3b8; }

/* Headings: warm off-white, never harsh pure white */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 { color: #f0ece4; }

/* Gold highlight spans inside section titles */
body.dark-mode .gold-highlight {
  color: #E3A23B;
  font-style: italic;
}

/* ── Header & Top Bar ── */
body.dark-mode header { background-color: #0d1520 !important; border-bottom-color: rgba(255,255,255,0.06) !important; }
body.dark-mode .top-bar { background-color: #080e18 !important; }

/* ── Navigation Links ── */
body.dark-mode .nav-links a { color: #ffffff !important; }
body.dark-mode .nav-links a.active { color: #E3A23B !important; }
body.dark-mode .nav-links a:hover { color: #E3A23B !important; }

/* Header phone link */
body.dark-mode .header-phone-link { color: #ffffff !important; }
body.dark-mode .header-phone-link span { color: #ffffff !important; }

/* ── Sections — richer alternating dark tones ── */
body.dark-mode section { background-color: #111827; }
body.dark-mode .section-alt { background-color: #0d1520 !important; }

/* Section-tags: gold with brighter lines in dark mode */
body.dark-mode .section-tag {
  color: #E3A23B !important;
}
body.dark-mode .section-tag::before,
body.dark-mode .section-tag::after {
  opacity: 0.85;
}

/* Section header subtitles */
body.dark-mode .section-header p { color: #8a94ab !important; }

/* ── Contact Section ── */
body.dark-mode .contact-detail-text h4 { color: #f0ece4 !important; }
body.dark-mode .contact-detail-text a { color: #E3A23B !important; }
body.dark-mode .contact-detail-text a:hover { color: #ffffff !important; }
body.dark-mode .contact-detail-text p { color: #E3A23B !important; } /* Match phone/email link color */
body.dark-mode .contact-detail-icon { color: #E3A23B !important; }
body.dark-mode .contact-detail-icon i { color: #E3A23B !important; }

/* Override ALL links — no stray blue */
body.dark-mode a { color: inherit; }
body.dark-mode a:visited { color: inherit; }

/* Contact quick form */
body.dark-mode #quick-contact-form { background-color: #161f2e !important; border-color: rgba(255,255,255,0.08) !important; }

/* ── Services ── */
body.dark-mode .service-card-content h3 { color: #fff; }
body.dark-mode .service-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05) 100%) !important;
}
body.dark-mode .service-icon-circle i {
  color: #E3A23B !important; /* Icons become yellow/gold in dark mode */
}
body.dark-mode .service-custom-icon {
  color: #E3A23B !important;
}

/* ── Why-Choose-Us Cards — dark premium cards ── */
body.dark-mode .why-card {
  background-color: #161f2e !important;
  border-color: rgba(255,255,255,0.07) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
body.dark-mode .why-card:hover {
  background-color: #1b2640 !important;
  border-color: rgba(227, 162, 59, 0.25) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
body.dark-mode .why-card i { color: #E3A23B; }
body.dark-mode .why-card h3 { color: #f0ece4 !important; }
body.dark-mode .why-card p { color: #8a94ab !important; }

/* ── Testimonial Card — dark glass ── */
body.dark-mode .testimonial-card {
  background-color: #161f2e !important;
  border-color: rgba(255,255,255,0.07) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3) !important;
}
body.dark-mode .testimonial-text { color: #d8d4cc !important; }
body.dark-mode .testimonial-author h4 { color: #f0ece4 !important; }
body.dark-mode .testimonial-author span { color: #8a94ab !important; }

/* Carousel nav buttons */
body.dark-mode .carousel-btn {
  background: #161f2e !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #e8eaf0 !important;
}
body.dark-mode .carousel-btn:hover {
  background: #1b2640 !important;
  border-color: #E3A23B !important;
  color: #E3A23B !important;
}

/* ── FAQ ── */
body.dark-mode .faq-question { color: #f0ece4; background: #161f2e; border-color: rgba(255,255,255,0.07); }
body.dark-mode .faq-question:hover { background: #1b2640 !important; }
body.dark-mode .faq-answer { background: #111827; border-color: rgba(255,255,255,0.05); }
body.dark-mode .faq-answer p { color: #9aa3b8; }

/* ── Forms ── */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #161f2e;
  color: #e8eaf0;
  border-color: rgba(255,255,255,0.12);
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder { color: #5a6480; }
body.dark-mode .form-group label { color: #c0c8d8; }
body.dark-mode .quote-form-container { background-color: #161f2e !important; border-color: rgba(255,255,255,0.07) !important; }

/* ── Trust Badge cards ── */
body.dark-mode .trust-badges-bar {
  background-color: #0d1520 !important;
  border-color: rgba(255,255,255,0.05) !important;
}
body.dark-mode .badge-card {
  background-color: #162235 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.25rem !important;
  border-right: none !important;
}
body.dark-mode .badge-card-icon {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #E3A23B !important;
}
body.dark-mode .badge-card h4 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}
body.dark-mode .badge-card p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.8rem !important;
}
body.dark-mode .badge-card-icon i {
  color: #E3A23B !important;
}

/* ── About bullets ── */
body.dark-mode .about-bullet-item { color: #9aa3b8; }

/* ── Footer ── */
body.dark-mode footer { background-color: #080e18 !important; }
body.dark-mode .footer-links-col a { color: #8a94ab; }
body.dark-mode .footer-links-col a:hover { color: #E3A23B !important; }
body.dark-mode .footer-bottom p { color: #5a6480; }
body.dark-mode .footer-bottom-links a { color: #5a6480; }
body.dark-mode .footer-bottom-links a:hover { color: #E3A23B !important; }

/* ── Floating reviews card in dark mode ── */
body.dark-mode .floating-reviews-card {
  background-color: #0d1520 !important;
  border-color: rgba(255,255,255,0.12) !important;
}

/* ── Counters section stays navy (intentional) ── */
body.dark-mode .counters-section { background-color: #0d1520 !important; }

/* ── Trust bar background ── */



/* Dark mode toggle button */
.dark-mode-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.dark-mode-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: #E3A23B;
  transform: rotate(20deg);
}
.dark-mode-toggle:focus-visible {
  outline: 2px solid #E3A23B;
  outline-offset: 2px;
}

/* =============================================
   MOBILE-FIRST — Native-Feel UX Redesign
   ============================================= */

/* Fluid Responsive Typography Scale (prevent iOS auto zoom with 16px min size) */
h1 {
  font-size: clamp(2.1rem, 7.5vw, 4.2rem) !important;
}
h2 {
  font-size: clamp(1.7rem, 5.5vw, 2.8rem) !important;
}
body, p, input, select, textarea, button {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Mobile Sticky Navbar — Solid white/light header */
@media (max-width: 1024px) {
  header {
    height: 64px !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(14, 42, 99, 0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background-color 0.25s, box-shadow 0.25s, border-bottom-color 0.25s;
    box-shadow: 0 1px 6px rgba(14, 42, 99, 0.06) !important;
  }

  header.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(14, 42, 99, 0.1) !important;
    border-bottom-color: rgba(14, 42, 99, 0.12) !important;
  }

  /* Dark mode: header becomes dark navy */
  body.dark-mode header {
    background-color: #0d1520 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
  }

  body.dark-mode header.scrolled {
    background-color: #0d1520 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.4) !important;
  }

  .nav-container {
    height: 64px !important;
    padding: 0 1.25rem !important;
  }

  .logo img {
    height: 44px !important;
    transform: none !important;
  }

  header.scrolled .logo img {
    height: 44px !important;
    transform: none !important;
  }

  /* Hamburger button: dark navy in light mode, white in dark mode */
  .mobile-nav-toggle {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--navy) !important;
    background: none;
    border: none;
    font-size: 1.5rem;
  }

  body.dark-mode .mobile-nav-toggle {
    color: #ffffff !important;
  }

  /* Hide the top blue utility bar on mobile */
  .top-bar {
    display: none !important;
  }

  /* Desktop CTAs hidden on mobile */
  .nav-ctas {
    display: none !important;
  }

  /* =============================================================
     Mobile Header Actions Row:
     WhatsApp | Quote | Language Flag | Dark Mode Toggle | Hamburger
     ============================================================= */
  .mobile-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
    margin-right: 0.25rem !important;
    z-index: 1002 !important;
  }

  /* Circular icon buttons: WA + Quote */
  .mobile-action-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
    flex-shrink: 0;
  }

  .mobile-action-btn:active {
    transform: scale(0.88) !important;
  }

  .mobile-action-btn.wa-btn {
    background-color: #25D366 !important;
  }

  .mobile-action-btn.quote-btn {
    background-color: #E3A23B !important;
  }

  /* Language switcher in mobile header: show flag only, compact */
  .mobile-header-lang .lang-btn {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
  }

  .mobile-header-lang .lang-btn .current-lang-label-mobile {
    display: flex;
    align-items: center;
  }

  .mobile-header-lang .lang-dropdown {
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
  }

  /* Dark mode toggle in mobile header: navy in light mode */
  .mobile-header-dark-toggle {
    background: none !important;
    border: 1.5px solid rgba(14, 42, 99, 0.25) !important;
    color: var(--navy) !important;
    cursor: pointer !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
    flex-shrink: 0;
  }

  .mobile-header-dark-toggle:hover {
    background: rgba(14, 42, 99, 0.06) !important;
    border-color: var(--gold) !important;
    transform: rotate(20deg) !important;
  }

  /* In dark mode: white border + white icon */
  body.dark-mode .mobile-header-dark-toggle {
    border-color: rgba(255,255,255,0.3) !important;
    color: #ffffff !important;
  }

  body.dark-mode .mobile-header-dark-toggle:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: var(--gold) !important;
  }

  /* ====================================================
     Slide-out Nav Menu
     ==================================================== */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 64px) !important;
    background-color: rgba(250, 250, 248, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: none !important;
    padding: 2rem 1.5rem !important;
    gap: 1.5rem !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-shadow: none !important;
    z-index: 1001 !important;
    overflow-y: auto !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
  }

  body.dark-mode .nav-links {
    background-color: rgba(13, 21, 32, 0.97) !important;
  }

  .nav-links.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-links li {
    width: 100% !important;
    text-align: center !important;
  }

  .nav-links a {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    padding: 0.8rem 0 !important;
    display: block !important;
    color: var(--navy) !important;
    border-bottom: 1px solid rgba(14, 42, 99, 0.08) !important;
  }

  body.dark-mode .nav-links a {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  /* Hide the language + dark mode items from the nav drawer
     (they now live in the top header bar) */
  .mobile-only-lang {
    display: none !important;
  }

  .mobile-only-dark {
    display: none !important;
  }
}

/* Redesigned Mobile Hero Section & Badges */
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 90px !important;
    padding-bottom: 0 !important;
    background-image: linear-gradient(to bottom, #0D1B3D 65%, rgba(13, 27, 61, 0.2) 100%), url('../images/hero.png') !important;
    background-position: bottom center !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
  }

  .hero-content {
    text-align: center !important;
    padding-bottom: 40px !important;
  }

  .hero-content h1 {
    font-size: 2.4rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-content p {
    max-width: 100% !important;
    font-size: 0.95rem !important;
    padding: 0 0.5rem !important;
  }

  .hero-tagline-script {
    font-size: 1.5rem !important;
    margin-top: 0.5rem !important;
  }

  .hero-tagline-image {
    max-height: none !important;
    width: calc(100% + 4rem) !important;
    max-width: calc(100% + 4rem) !important;
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    margin-top: 1rem !important;
    display: block !important;
    object-position: center center !important;
    object-fit: contain !important;
  }

  .hero-mobile-contacts {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    color: #f0ece4 !important;
    font-size: 0.82rem !important;
    opacity: 0.95 !important;
    width: 100% !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .hero-actions .btn-whatsapp-outline {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.5rem !important;
  }

  .hero-right-col {
    display: none !important; /* Hide reviews card here since we center it on page */
  }

  .badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .badge-card {
    padding: 1rem 0.5rem !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    border-radius: var(--radius-md) !important;
  }

  .badge-card-icon {
    margin-bottom: 0.5rem !important;
  }
}

/* Horizontal Swiper for Services */
@media (max-width: 768px) {
  .services-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem !important;
    margin: 0 -1.5rem !important;
    scrollbar-width: none !important;
  }

  .services-grid::-webkit-scrollbar {
    display: none !important;
  }

  .service-card {
    flex: 0 0 280px !important;
    scroll-snap-align: center !important;
    min-height: 360px !important;
    margin: 0 !important;
    border-radius: var(--radius-md) !important;
  }

  /* Compress overall vertical padding of sections */
  section {
    padding: 3rem 0 !important;
  }
  
  .section-header {
    margin-bottom: 2.5rem !important;
  }
}

/* Horizontal Swiper for Gallery (Before/After) */
@media (max-width: 768px) {
  .slider-container-wrapper {
    overflow: visible !important;
    padding: 0 !important;
  }

  .slider-container {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    width: 100% !important;
    height: auto !important;
    cursor: grab !important;
    gap: 1.25rem !important;
    padding: 0.5rem 1.5rem !important;
    margin: 0 -1.5rem !important;
    scrollbar-width: none !important;
    position: relative !important;
  }

  .slider-container::-webkit-scrollbar {
    display: none !important;
  }

  .slider-handle, .slider-label {
    display: none !important;
  }

  .slider-before, .slider-after {
    position: relative !important;
    width: 290px !important;
    flex: 0 0 290px !important;
    height: 320px !important;
    scroll-snap-align: center !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }

  .slider-img {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
  }

  .slider-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .slider-before::after {
    content: "Antes";
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(13, 27, 61, 0.85);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .slider-after::after {
    content: "Depois";
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(227, 162, 59, 0.9);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
  }
}

/* Testimonials Carousel Adjustments for Mobile */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 2.5rem 1.5rem !important;
    border-radius: var(--radius-md) !important;
  }
  
  .testimonial-text {
    font-size: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .testimonials-wrapper {
    padding: 0 !important;
  }

  .testimonial-stars {
    margin-bottom: 1.5rem !important;
  }
}

/* Why Us Grid adjustments */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  .why-card {
    padding: 1.25rem 0.75rem !important;
    text-align: center !important;
  }
  
  .why-card i {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .why-card h3 {
    font-size: 0.95rem !important;
  }
  
  .why-card p {
    font-size: 0.78rem !important;
  }
}



/* Safe inputs tap sizing on mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    min-height: 48px !important;
  }
  
  .form-row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  
  #cookie-banner {
    flex-direction: column !important;
    text-align: center;
  }
}

/* Global image cover fallback */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}


