/* ============================================
   ARJAVA EMPLOYMENT SERVICES — Website Styles
   Brand: Navy #132454 | Pink #ED1E79 | Blue #2D6891 | Teal #83C6B1
   Fonts: Jost (body/headings) | Caveat (accent)
   ============================================ */

/* --- Fonts ---
   Loaded via Google Fonts CDN in HTML <head> for CORS compatibility.
   Self-hosted fallback below for production (when served over HTTP). */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Properties --- */
:root {
  --navy: #132454;
  --pink: #ED1E79;
  --pink-hover: #d4166b;
  --blue: #2D6891;
  --teal: #83C6B1;
  --teal-light: #e8f5f0;
  --white: #FFFFFF;
  --light-bg: #F7F8FA;
  --text: #132454;
  --text-light: #5a6178;
  --shadow-sm: 0 1px 3px rgba(19, 36, 84, 0.08);
  --shadow-md: 0 4px 12px rgba(19, 36, 84, 0.1);
  --shadow-lg: 0 8px 24px rgba(19, 36, 84, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --section-py: clamp(48px, 8vw, 80px);
  --section-px: clamp(20px, 5vw, 40px);
}

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

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

body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 500;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

.accent-text {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

.section-label {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--pink);
  display: block;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(237, 30, 121, 0.25);
}

.btn-primary:hover {
  background: var(--pink-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 30, 121, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--section-px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 4px 14px rgba(19, 36, 84, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width var(--transition);
}

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

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

.nav-links a.nav-cta {
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 100px 40px 40px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    align-items: flex-start;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.125rem;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

@media (max-width: 767px) {
  .hero {
    min-height: min(100vh, 700px);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(19, 36, 84, 0.82) 0%,
    rgba(19, 36, 84, 0.65) 50%,
    rgba(19, 36, 84, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 620px;
}

.hero-subtitle {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-ctas .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--navy);
  padding: 16px 0;
}

.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
  .trust-divider {
    display: none;
  }

  .trust-strip-inner {
    gap: 12px 24px;
  }
}

/* ============================================
   WHY ARJAVA SECTION
   ============================================ */
.why-arjava {
  padding: var(--section-py) 0;
  background: var(--white);
  text-align: center;
}

.why-arjava h2 {
  margin-bottom: 8px;
}

.why-arjava .section-subtitle {
  margin-bottom: 48px;
}

/* Feature highlights: 2 large cards */
.features-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.feature-highlight {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all var(--transition);
}

.feature-highlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-highlight-number {
  font-family: 'Jost', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.4;
  flex-shrink: 0;
}

.feature-highlight-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.feature-highlight-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 300;
}

/* Feature compact row: 4 smaller items */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-compact {
  text-align: left;
  padding: 24px 20px;
  border-left: 3px solid var(--teal);
  transition: all var(--transition);
}

.feature-compact:hover {
  border-left-color: var(--pink);
}

.feature-compact-icon {
  width: 24px;
  height: 24px;
  color: var(--teal);
  margin-bottom: 12px;
}

.feature-compact h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-compact p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 1023px) {
  .features-highlights {
    grid-template-columns: 1fr;
  }
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .features-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--light-bg);
  text-align: center;
}

.services h2 {
  margin-bottom: 8px;
}

.services .section-subtitle {
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

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

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

/* ============================================
   COUNTRIES SECTION
   ============================================ */
.countries {
  padding: var(--section-py) 0;
  background: var(--white);
  text-align: center;
}

.countries h2 {
  margin-bottom: 8px;
}

.countries .section-subtitle {
  margin-bottom: 48px;
}

.countries-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.country-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.country-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid var(--teal-light);
  transition: all var(--transition);
}

.country-item:hover .country-flag {
  transform: scale(1.1);
  border-color: var(--teal);
}

.country-item span:last-child {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--light-bg);
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 8px;
}

.how-it-works .section-subtitle {
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--teal);
  opacity: 0.4;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pink);
  position: relative;
  z-index: 1;
}

.step-icon {
  color: var(--navy);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step h3 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.step p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps::before {
    top: 0;
    bottom: 0;
    left: 32px;
    right: auto;
    width: 2px;
    height: 100%;
  }

  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    text-align: left;
    padding: 0;
  }

  .step-number {
    margin: 0;
  }

  .step-text {
    padding-top: 8px;
  }
}

/* ============================================
   BRAND STORY SECTION
   ============================================ */
.brand-story {
  padding: var(--section-py) 0;
  background: var(--white);
  overflow: hidden;
}

.brand-story-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.brand-story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-story-mark {
  width: 160px;
  height: 160px;
  object-fit: contain;
  opacity: 0.12;
  filter: contrast(1.2);
}

.brand-story-word {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1;
}

.brand-story-meaning {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 400;
}

.brand-story-meaning .accent-text {
  color: var(--pink);
  font-size: 1.25rem;
}

.brand-story-meaning strong {
  color: var(--navy);
  font-weight: 700;
}

.brand-story-divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 20px;
}

.brand-story-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.brand-story-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .brand-story-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .brand-story-mark {
    width: 100px;
    height: 100px;
  }

  .brand-story-divider {
    margin: 0 auto 20px;
  }

  .brand-story-text {
    text-align: left;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--light-bg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-light);
  padding: 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--light-bg) 100%);
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--teal);
}

.about-content .section-label {
  margin-bottom: 8px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.about-content p:last-of-type {
  margin-bottom: 28px;
}

.about-meaning {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
}

.about-meaning p {
  color: var(--navy);
  font-style: italic;
  margin-bottom: 0 !important;
  font-size: 1.0625rem;
}

@media (max-width: 767px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    aspect-ratio: 16/10;
    max-height: 360px;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}

.testimonials h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.testimonials .section-label {
  color: var(--teal);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}

.testimonials-carousel {
  position: relative;
  max-width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  cursor: grab;
}

.testimonials-track.dragging {
  cursor: grabbing;
  transition: none;
}

.testimonial-card {
  flex: 0 0 calc(50% - 12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
  backdrop-filter: blur(4px);
}

.testimonial-quote {
  margin-bottom: 16px;
  color: var(--teal);
}

.testimonial-quote svg {
  width: 32px;
  height: 32px;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.875rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9375rem;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.2);
}

@media (max-width: 599px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* ============================================
   REAL MOMENTS GALLERY
   ============================================ */
.moments {
  padding: var(--section-py) 0;
  background: var(--white);
  text-align: center;
}

.moments h2 {
  margin-bottom: 8px;
}

.moments .section-subtitle {
  margin-bottom: 48px;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.moment-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--light-bg);
  box-shadow: 0 4px 16px rgba(19, 36, 84, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 36, 84, 0.14);
}

.moment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: var(--section-py) 0;
  background: var(--light-bg);
  text-align: center;
}

.faq h2 {
  margin-bottom: 8px;
}

.faq .section-subtitle {
  margin-bottom: 48px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid rgba(19, 36, 84, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-light);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact h2 {
  text-align: center;
  margin-bottom: 8px;
}

.contact .section-label {
  text-align: center;
}

.contact .section-subtitle {
  text-align: center;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid rgba(19, 36, 84, 0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 104, 145, 0.1);
  background: var(--white);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a6b8;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-card-icon.whatsapp {
  background: #25D366;
}

.contact-card-icon.phone {
  background: var(--blue);
}

.contact-card-icon.email {
  background: var(--pink);
}

.contact-card-icon.address {
  background: var(--navy);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h4 {
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    order: -1;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 40px 0;
  text-align: center;
}

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

.footer-logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  margin-bottom: 8px;
}

.footer-details {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.footer-details span {
  display: inline;
}

.footer-divider {
  margin: 0 8px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-top: 8px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 99;
  transition: all var(--transition);
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Pulse animation on load */
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float.pulse {
  animation: whatsapp-pulse 2s ease-in-out 3;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes logoEntrance {
  0%   { opacity: 0; transform: scale(0.85); }
  65%  { transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes shimmerSweep {
  from { left: -80%; }
  to   { left: 160%; }
}

/* ============================================
   HERO ENTRANCE ANIMATIONS
   Gated behind .js-animations so elements remain
   visible if JS hasn't run (no-JS / headless).
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .js-animations .nav-logo img {
    animation: logoEntrance 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
  }

  .js-animations .hero-subtitle {
    animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  }

  .js-animations .hero-content h1 {
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  }

  .js-animations .hero-description {
    animation: fadeUpIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  }

  .js-animations .hero-ctas {
    animation: fadeUpIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
  }
}

/* ============================================
   BUTTON SHIMMER
   ============================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.btn-primary:hover::before {
  animation: shimmerSweep 0.5s ease forwards;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .js-animations .animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js-animations .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* General stagger for any sibling group */
  .js-animations .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
  .js-animations .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
  .js-animations .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
  .js-animations .animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
  .js-animations .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

  /* Feature compact cards: tighter left-to-right cascade */
  .js-animations .features-row .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
  .js-animations .features-row .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
  .js-animations .features-row .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
  .js-animations .features-row .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

  /* Feature compact border-left grows in on reveal */
  .js-animations .feature-compact {
    border-left-color: transparent;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                border-left-color 0.4s ease 0.3s;
  }
  .js-animations .feature-compact.visible {
    border-left-color: var(--teal);
  }
  .js-animations .feature-compact:hover {
    border-left-color: var(--pink);
  }

}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.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;
}

/* Mobile bottom CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 12px rgba(19, 36, 84, 0.1);
  padding: 12px 20px;
  z-index: 98;
  gap: 12px;
}

.mobile-cta-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
  }

  .whatsapp-float {
    bottom: 84px;
  }

  body {
    padding-bottom: 72px;
  }
}
