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

:root {
  --navy: #1a1a2e;
  --navy-light: #16213e;
  --orange: #ff6b35;
  --orange-hover: #e55a28;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
  --gray-600: #868e96;
  --gray-800: #343a40;
  --gray-900: #212529;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
  --color-error: #ef4444;
  --color-error-text: #ef4444;
  --color-error-bg: rgba(239, 68, 68, 0.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 48px;
  max-width: 560px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  padding: 10px 24px;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn--outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn--lg {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

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

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.header__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-brand {
  color: var(--navy);
}

.logo-visage {
  color: var(--orange);
}

.header__contact-bar {
  display: none;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.header__contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: color var(--transition);
}

.header__contact-link:hover {
  color: var(--orange);
}

.header__nav {
  display: none;
  align-items: center;
  gap: 36px;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color var(--transition);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.header__nav-link:hover {
  color: var(--orange);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta {
  display: none;
  flex-shrink: 0;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

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

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

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

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

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav__links a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-nav__links a:hover {
  color: var(--orange);
}

/* ===== HERO ANIMATIONS ===== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroChartDraw {
  from { stroke-dashoffset: 800; }
  to   { stroke-dashoffset: 0; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-delay: 0ms !important;
  transition-duration: 0.01ms !important;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.hero__content {
  max-width: 600px;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.1s;
}

.hero__title .highlight {
  color: var(--orange);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero__content .btn {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.7s;
}

.hero__stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

.hero__stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero__visual {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  opacity: 0;
  animation: heroFadeIn 1s ease forwards;
  animation-delay: 0.6s;
}

.hero__graphic {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.2));
}

.hero__chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: heroChartDraw 2s ease forwards;
  animation-delay: 0.8s;
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero__wave svg {
  width: 100%;
  height: 60px;
}

/* ===== CLIENT LOGOS ===== */
.clients {
  padding: 40px 0;
  background: var(--gray-50);
  overflow: hidden;
}

.clients__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.marquee__track {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 60px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-400);
  letter-spacing: 1px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 20px)); }
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

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

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--orange);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card__link:hover {
  gap: 8px;
}

/* ===== ABOUT / WHY US ===== */
.about {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

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

.about .section-title {
  color: var(--white);
}

.about__text p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
  max-width: 540px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.stat-card__number {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--orange);
}

.stat-card__suffix {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--orange);
}

.stat-card__label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: var(--gray-50);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card__stars {
  color: #f5a623;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.testimonials__clutch {
  text-align: center;
  margin-top: 40px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
}

.cta-banner__inner {
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-banner .btn--primary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.cta-banner .btn--primary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}

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

.footer__logo {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer__logo .logo-brand {
  color: var(--white);
}

.footer__tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.footer__contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer__contact-details svg {
  flex-shrink: 0;
  color: var(--orange);
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer__nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.footer__nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--orange);
}

.footer__form-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ===== CONTACT FORM (shared) ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form select option {
  background: var(--navy);
  color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}

/* ===== INLINE VALIDATION STATES ===== */
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: var(--color-error) !important;
  background-color: var(--color-error-bg);
}

.contact-form input.is-invalid:focus,
.contact-form select.is-invalid:focus,
.contact-form textarea.is-invalid:focus {
  border-color: var(--color-error) !important;
}

.contact-form__error {
  display: block;
  color: var(--color-error-text);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: -6px;
  line-height: 1.4;
}

/* Light-theme contact page form: error red is readable on white as-is.
   Dark-theme footer form: lighten error text + tint for contrast. */
.footer .contact-form__error {
  color: #fca5a5;
}

.footer .contact-form input.is-invalid,
.footer .contact-form select.is-invalid,
.footer .contact-form textarea.is-invalid {
  background-color: rgba(239, 68, 68, 0.12);
}

/* Form-level submission error (Web3Forms failure / offline) */
.contact-form__status {
  display: block;
  color: var(--color-error-text);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  margin: -4px 0 0;
}

.footer .contact-form__status {
  color: #fca5a5;
}

.contact-form textarea {
  resize: vertical;
}

.footer__bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.modal p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--white);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 400px) {
  .about__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .hero__stats {
    gap: 20px;
  }

  .hero__stat-number {
    font-size: 1.25rem;
  }

  .hero__stat-label {
    font-size: 0.7rem;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .service-card {
    padding: 24px 20px;
  }
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1024px) {
  .header__contact-bar {
    display: flex;
  }

  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__hamburger {
    display: none;
  }

  .hero {
    padding: 160px 0 140px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .hero__content {
    flex: 1 1 55%;
  }

  .hero__visual {
    flex: 1 1 45%;
    max-width: 440px;
    animation-name: heroFadeUp;
  }

  .hero__wave svg {
    height: 80px;
  }

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

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services,
  .testimonials,
  .about,
  .mission-vision,
  .why-choose,
  .who-serve,
  .commitment {
    padding: 100px 0;
  }

  .cta-banner {
    padding: 100px 0;
  }

  .mission-vision__grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-serve__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ===== DETAILED SERVICES ===== */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.service-detail-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-detail-card__icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
  border-radius: var(--radius-sm);
  padding-top: 12px;
  color: var(--orange);
}

.service-detail-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-detail-card__desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

.service-detail-card__sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  margin-top: 12px;
}

.service-detail-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0;
}

.service-detail-card__list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.service-detail-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

@media (min-width: 640px) {
  .service-detail-card__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .service-detail-card {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== MISSION & VISION ===== */
.mission-vision {
  padding: 80px 0;
  background: var(--gray-50);
}

.mission-vision__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.mission-vision__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.mission-vision__card .section-title {
  margin-bottom: 16px;
}

.mission-vision__card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 12px;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  padding: 80px 0;
}

.why-choose .section-title {
  margin-bottom: 40px;
}

.why-choose__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.why-choose__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.why-choose__card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-choose__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  color: var(--orange);
}

.why-choose__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-choose__card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .mission-vision__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-choose__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .why-choose__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .why-choose__card:nth-child(-n+2) {
    grid-column: span 3;
  }

  .why-choose__card:nth-child(n+3) {
    grid-column: span 2;
  }
}

/* ===== THANK YOU — "WHAT HAPPENS NEXT" (3 cards, 1 row on desktop) ===== */
#next-steps .why-choose__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  #next-steps .why-choose__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  #next-steps .why-choose__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #next-steps .why-choose__card {
    grid-column: span 1;
  }
}

/* ===== WHO WE SERVE ===== */
.who-serve {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

.who-serve .section-title {
  color: var(--white);
}

.who-serve .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.who-serve__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.who-serve__item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: all var(--transition);
}

.who-serve__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 107, 53, 0.15);
  border-radius: var(--radius-sm);
  color: var(--orange);
}

.who-serve__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--orange);
  transform: translateY(-4px);
}

@media (min-width: 640px) {
  .who-serve__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== COMMITMENT ===== */
.commitment {
  padding: 80px 0;
  background: var(--gray-50);
}

.commitment__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.commitment .section-title {
  margin-bottom: 20px;
}

.commitment__inner > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.commitment__tagline {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-top: 32px !important;
  margin-bottom: 12px;
  line-height: 1.3;
}

.commitment__services {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-top: 8px !important;
  line-height: 1.8;
}

/* ===== ABOUT PAGE — PAGE HERO ===== */
.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 8s ease-in-out infinite;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.page-hero__breadcrumb a:hover {
  color: var(--orange);
}

.page-hero__breadcrumb span[aria-current] {
  color: var(--orange);
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.page-hero__title .highlight {
  color: var(--orange);
}

.page-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 640px;
}

/* ===== THANK YOU CHECKMARK BADGE ===== */
.thank-you__check {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
  animation: thank-you-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thank-you__check svg {
  color: #fff;
}

@keyframes thank-you-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .thank-you__check { animation: none; }
}

/* ===== ABOUT PAGE — OUR STORY + TIMELINE ===== */
.about-story {
  padding: 80px 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.about-story__text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-story__timeline {
  position: relative;
  padding-left: 32px;
}

.about-story__timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(255, 107, 53, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item__marker {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}

.timeline-item__year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.timeline-item__body p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== ABOUT PAGE — CORE VALUES ===== */
.about-values {
  padding: 80px 0;
  background: var(--gray-50);
}

/* Values grid re-uses .why-choose__grid; override layout for 6 cards */
.about-values__grid {
  grid-template-columns: 1fr !important;
}

@media (min-width: 640px) {
  .about-values__grid {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

@media (min-width: 1024px) {
  .about-values__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .about-values__grid .why-choose__card {
    grid-column: span 1 !important;
  }
}

/* ===== ABOUT PAGE — OUR APPROACH ===== */
.approach {
  padding: 80px 0;
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.approach__step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}

.approach__step:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.approach__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.approach__step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.approach__step p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .approach__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .approach__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .approach {
    padding: 100px 0;
  }
  .about-story,
  .about-values,
  .awards,
  .office {
    padding: 100px 0;
  }
}

/* ===== ABOUT PAGE — AWARDS & CERTIFICATIONS ===== */
.awards {
  padding: 80px 0;
  background: var(--gray-50);
}

.awards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.awards__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.awards__item:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.awards__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
  border-radius: var(--radius-sm);
  color: var(--orange);
}

.awards__item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.awards__item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .awards__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .awards__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== ABOUT PAGE — OFFICE + MAP ===== */
.office {
  padding: 80px 0;
}

.office__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

.office__details {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.office__details h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.office__address,
.office__contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 16px;
}

.office__address svg,
.office__contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orange);
}

.office__contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.office__contact a:hover {
  color: var(--orange);
}

.office__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  min-height: 320px;
  background: var(--gray-100);
}

.office__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .office__inner {
    grid-template-columns: 1fr 1fr;
  }

  .about-story__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */

/* ===== QUICK CONTACT METHODS ===== */
.contact-methods {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

a.contact-method:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-method__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 107, 53, 0.06));
  border-radius: var(--radius-sm);
  color: var(--orange);
  margin-bottom: 8px;
}

.contact-method__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-600);
}

.contact-method__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.contact-method__hint {
  font-size: 0.85rem;
  color: var(--gray-600);
}

@media (min-width: 640px) {
  .contact-methods__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-methods__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-methods {
    padding: 100px 0;
  }
}

/* ===== CONTACT MAIN: FORM + SIDEBAR ===== */
.contact-main {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.contact-main .section-title {
  color: var(--white);
}

.contact-main .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.contact-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* Form column: the bare .contact-form is dark-themed, so it sits perfectly
   on the navy section. No re-skinning needed. */
.contact-main__form .contact-form {
  display: grid;
  gap: 14px;
}

/* Sidebar cards: switch from light cards to translucent-on-dark cards
   so the sidebar harmonises with the new dark section. */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-sidebar__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(4px);
}

.contact-sidebar__card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
}

.contact-sidebar__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-sidebar__row:last-child {
  margin-bottom: 0;
}

.contact-sidebar__row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orange);
}

.contact-sidebar__row a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.contact-sidebar__row a:hover {
  color: var(--orange);
}

.contact-sidebar__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.contact-sidebar__hours-row:last-child {
  border-bottom: 0;
}

.contact-sidebar__hours-row span:first-child {
  font-weight: 600;
  color: var(--white);
}

.contact-sidebar__closed {
  color: var(--orange);
  font-weight: 600;
}

.contact-sidebar__social-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-sidebar__social {
  display: flex;
  gap: 12px;
}

.contact-sidebar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: all var(--transition);
}

.contact-sidebar__social a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .contact-main__grid {
    grid-template-columns: 1.6fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-main {
    padding: 100px 0;
  }
}

/* ===== FAQ ACCORDION ===== */
.faq {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq__item--open {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  padding: 22px 24px;
  cursor: pointer;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--orange);
}

.faq__icon {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform var(--transition);
}

.faq__item--open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer p {
  padding: 0 24px 24px;
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq__item--open .faq__answer {
  max-height: 320px;
}

@media (min-width: 1024px) {
  .faq {
    padding: 100px 0;
  }
}
