/* ============================================
   Financial Insurance Landing Page - Main Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0A1F3F;
  --color-primary-light: #132d54;
  --color-primary-dark: #061428;
  --color-accent: #C9A96E;
  --color-accent-light: #d4ba88;
  --color-accent-dark: #b08f52;
  --color-bg: #FAFAF8;
  --color-bg-alt: #F3F2EF;
  --color-text: #2D3436;
  --color-text-light: #6B7B8D;
  --color-success: #2E7D5B;
  --color-warning: #D4830A;
  --color-white: #FFFFFF;
  --color-border: #E8E6E1;

  --font-heading: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(10, 31, 63, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 31, 63, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 31, 63, 0.12);
  --shadow-xl: 0 16px 60px rgba(10, 31, 63, 0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--transition);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--transition);
}

.navbar.scrolled {
  background-color: rgba(10, 31, 63, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width 0.3s var(--transition);
}

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

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

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.8125rem !important;
  background-color: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: var(--radius-sm);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--color-accent-dark) !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-bg-slide.active {
  opacity: 1;
}

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

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10, 31, 63, 0.88) 0%,
    rgba(10, 31, 63, 0.7) 50%,
    rgba(10, 31, 63, 0.5) 100%
  );
}

/* Hero slideshow indicators */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-indicator {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  border: none;
  padding: 0;
}

.hero-indicator.active {
  background: var(--color-accent);
  width: 48px;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--color-accent);
  position: relative;
}

.hero-description {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* --- Pain Points Section --- */
.pain-points {
  background-color: var(--color-bg);
}

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

.pain-card {
  padding: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--transition);
  overflow: hidden;
}

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

.pain-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.pain-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.pain-card:hover .pain-card-image img {
  transform: scale(1.05);
}

.pain-card-body {
  padding: 28px 28px 32px;
}

.pain-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(10, 31, 63, 0.06), rgba(10, 31, 63, 0.02));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h4 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.pain-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* --- Services Section --- */
.services {
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.services .section-label {
  color: var(--color-accent);
}

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

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

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

.service-card {
  padding: 44px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: var(--color-white);
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.service-card > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background-color: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Trust Section --- */
.trust {
  background-color: var(--color-bg);
}

.trust-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.trust-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.trust-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.trust-image-badge-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.trust-image-badge-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.trust-info .section-label {
  text-align: left;
}

.trust-info .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.trust-info > p {
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(46, 125, 91, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-success);
  fill: none;
  stroke-width: 2;
}

.trust-feature-text h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.trust-feature-text p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: var(--color-bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.4s var(--transition);
}

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

.testimonial-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.testimonial-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--transition);
}

.testimonial-card:hover .testimonial-photo img {
  transform: scale(1.05);
}

.testimonial-body {
  padding: 24px 28px 28px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.testimonial-author h5 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

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

/* --- Process Section --- */
.process {
  background-color: var(--color-bg);
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), var(--color-border), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 72px;
  height: 72px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--transition);
}

.process-step:hover .process-step-number {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.process-step h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* --- CTA / Contact Section --- */
.contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info .section-label {
  color: var(--color-accent);
  text-align: left;
}

.contact-info .section-title {
  color: var(--color-white);
  text-align: left;
  margin-bottom: 20px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.0625rem;
  margin-bottom: 36px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-benefit svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-xl);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  font-size: 1rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s var(--transition);
}

.form-submit:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 16px;
  text-align: center;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary-dark);
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-column h5 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--transition);
}

.footer-column ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }

  .trust-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain-card-image {
    height: 180px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-photo {
    height: 200px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .trust-image img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
  }

  .nav-lang-wrapper {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Hero images mobile optimization */
  .hero {
    min-height: 100svh;
  }

  .hero-bg-slide img {
    object-position: center 35%;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 31, 63, 0.92) 0%,
      rgba(10, 31, 63, 0.78) 40%,
      rgba(10, 31, 63, 0.65) 100%
    );
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .hero-indicators {
    bottom: 24px;
  }

  /* Pain card images mobile - taller for single column impact */
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pain-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    overflow: hidden;
  }

  .pain-card-image {
    height: 100%;
    min-height: 160px;
  }

  .pain-card-body {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pain-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .pain-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .pain-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 6px;
  }

  .pain-card p {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

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

  /* Trust image mobile optimization */
  .trust-content {
    flex-direction: column;
    gap: 40px;
  }

  .trust-image img {
    height: 280px;
    object-position: center 40%;
  }

  .trust-image-badge {
    bottom: 16px;
    left: 16px;
    padding: 12px 18px;
  }

  .trust-image-badge-number {
    font-size: 1.375rem;
  }

  .trust-features {
    grid-template-columns: 1fr 1fr;
  }

  /* Testimonial photos mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-photo {
    height: 200px;
  }

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

  .testimonial-card:hover {
    transform: none;
  }

  .testimonial-card:active {
    transform: scale(0.98);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .contact-benefits {
    margin-left: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Mobile nav dropdown */
  .nav-mobile-menu {
    display: none;
  }

  .nav-mobile-menu.active {
    display: block;
  }

  .nav-mobile-links {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
  }

  .nav-mobile-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
  }

  .nav-mobile-links a:last-child {
    border-bottom: none;
  }

  .nav-cta-mobile {
    text-align: center;
    margin-top: 12px;
    padding: 14px 24px !important;
    border-radius: 8px;
    border-bottom: none !important;
  }

  .nav-mobile-lang {
    padding: 16px 0 8px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
  }

  .nav-mobile-lang label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }

  .lang-select-mobile {
    width: 100%;
    padding: 12px 36px 12px 14px;
    border: 1px solid rgba(10, 31, 63, 0.2);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--primary);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A1F3F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(201, 169, 110, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .lang-select-mobile:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
  }

  .lang-select-mobile:active {
    transform: scale(0.98);
  }

  .lang-select-mobile option {
    background: #fff;
    color: var(--primary);
    padding: 12px;
    font-size: 15px;
  }

  /* Mobile Language Picker - Rich UI */
  .lang-picker-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
  }

  .lang-picker-icon {
    font-size: 20px;
  }

  .lang-picker-header label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    margin: 0;
  }

  .lang-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-bottom: 8px;
  }

  .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(201, 169, 110, 0.3);
    min-height: 48px;
    text-align: left;
    font-family: 'Inter', sans-serif;
  }

  .lang-option:hover {
    border-color: var(--accent);
    background: rgba(201, 169, 110, 0.04);
  }

  .lang-option:active {
    transform: scale(0.97);
  }

  .lang-option.active {
    border-color: var(--accent);
    background: rgba(201, 169, 110, 0.08);
    box-shadow: 0 2px 8px rgba(201, 169, 110, 0.15);
  }

  .lang-flag {
    font-size: 22px;
    line-height: 1;
  }

  .lang-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
  }

  .lang-option.active .lang-name {
    font-weight: 600;
    color: var(--accent);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Language picker: single column on small screens */
  .lang-picker-grid {
    grid-template-columns: 1fr;
  }

  .lang-option {
    padding: 14px 16px;
  }

  .lang-flag {
    font-size: 24px;
  }

  .lang-name {
    font-size: 15px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  /* Hero: tighter mobile crop */
  .hero-bg-slide img {
    object-position: center 30%;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    margin-bottom: 36px;
  }

  .hero-stats {
    gap: 16px;
    padding-top: 28px;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.875rem;
  }

  /* Pain cards: stack vertically on very small screens */
  .pain-card {
    grid-template-columns: 1fr;
  }

  .pain-card-image {
    height: 180px;
    min-height: unset;
  }

  .pain-card-body {
    padding: 20px;
  }

  .pain-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .trust-features {
    grid-template-columns: 1fr;
  }

  .trust-image img {
    height: 220px;
  }

  .trust-image-badge {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
  }

  .trust-image-badge-number {
    font-size: 1.125rem;
  }

  .trust-image-badge-label {
    font-size: 0.75rem;
  }

  .testimonial-photo {
    height: 180px;
  }

  .testimonial-body {
    padding: 18px 20px 22px;
  }

  .testimonial-text {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .contact-form-wrapper {
    padding: 24px 18px;
  }

  .contact-form-title {
    font-size: 1.25rem;
  }

  .mobile-fab-btn {
    padding: 14px 22px;
    font-size: 13px;
  }
}

/* ============================================
   Second Page - Services Detail Styles
   ============================================ */

/* Page Hero */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

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

.page-breadcrumb a:hover {
  color: var(--color-accent);
}

.page-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.page-breadcrumb .current {
  color: var(--color-accent);
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  max-width: 700px;
}

.page-hero > .container > p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  line-height: 1.8;
}

/* Service Detail Sections */
.service-detail {
  padding: 100px 0;
}

.service-detail:nth-child(even) {
  background-color: var(--color-bg-alt);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-detail-content.reverse {
  direction: rtl;
}

.service-detail-content.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.service-detail-image:hover img {
  transform: scale(1.03);
}

.service-detail-info .section-label {
  text-align: left;
}

.service-detail-info .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.service-detail-info > p {
  font-size: 1.0625rem;
  margin-bottom: 28px;
}

.service-detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.service-detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-detail-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
}

.service-detail-feature span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  padding-top: 6px;
}

/* FAQ Section */
.faq {
  background-color: var(--color-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  transition: color 0.3s var(--transition);
}

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

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s var(--transition);
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition), padding 0.4s var(--transition);
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Second Page CTA */
.page-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.page-cta h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-cta .btn-primary {
  padding: 18px 48px;
  font-size: 1rem;
}

/* Responsive for second page */
@media (max-width: 1024px) {
  .service-detail-content,
  .service-detail-content.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .service-detail-image img {
    height: 320px;
  }

  .service-detail-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .service-detail {
    padding: 64px 0;
  }

  .service-detail-image img {
    height: 260px;
  }
}

/* ============================================
   Language Selector
   ============================================ */
.nav-lang-wrapper {
  display: flex;
  align-items: center;
}

.lang-select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  padding: 6px 28px 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color var(--transition);
}

.lang-select:hover {
  border-color: var(--accent);
}

.lang-select option {
  background: var(--primary);
  color: var(--text-primary);
  padding: 8px;
}

/* ============================================
   RTL Support
   ============================================ */
html[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'Noto Sans SC', 'Inter', sans-serif;
}

html[dir="rtl"] .nav-logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content {
  text-align: right;
}

html[dir="rtl"] .section-label,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle {
  text-align: right;
}

html[dir="rtl"] .pain-card,
html[dir="rtl"] .service-card,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .process-step {
  text-align: right;
}

html[dir="rtl"] .pain-icon,
html[dir="rtl"] .service-icon {
  margin-right: 0;
  margin-left: 20px;
}

html[dir="rtl"] .check-list li::before {
  margin-right: 0;
  margin-left: 12px;
}

html[dir="rtl"] .contact-benefits {
  margin-right: 0;
  margin-left: 40px;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .footer-links li {
  padding-right: 0;
  padding-left: 16px;
}

html[dir="rtl"] .trust-features {
  direction: rtl;
}

html[dir="rtl"] .lang-select {
  background-position: left 8px center;
  padding: 6px 12px 6px 28px;
}

/* ============================================
   Mobile Navigation Menu
   ============================================ */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(10, 31, 63, 0.12);
  z-index: 99;
  padding: 20px 0;
}

.nav-mobile-menu.active {
  display: block;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.nav-mobile-links a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--primary);
}

.nav-mobile-links a:last-child {
  border-bottom: none;
}

.nav-cta-mobile {
  text-align: center;
  margin-top: 12px;
  padding: 14px 24px !important;
  border-radius: 8px;
  border-bottom: none !important;
}

/* ===== Mobile Floating CTA Button ===== */
.mobile-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  display: none;
}

.mobile-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .mobile-fab {
    display: block;
  }
}

.mobile-fab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.4), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fabPulse 2s ease-in-out infinite;
}

.mobile-fab-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.5), 0 4px 12px rgba(0,0,0,0.2);
}

.mobile-fab-btn::before {
  content: '📞';
  font-size: 16px;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(201, 169, 110, 0.4), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 8px 32px rgba(201, 169, 110, 0.6), 0 2px 8px rgba(0,0,0,0.15), 0 0 0 8px rgba(201, 169, 110, 0.1); }
}

/* ============================================
   Mobile Image Performance & Visual Enhancements
   ============================================ */

/* Performance: content-visibility for off-screen sections on mobile */
@media (max-width: 768px) {
  .pain-points,
  .services,
  .trust,
  .testimonials,
  .process,
  .contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }

  /* Pain cards: horizontal layout on tablet, vertical on phone */
  .pain-card {
    box-shadow: var(--shadow-sm);
  }

  .pain-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }

  .pain-card:active {
    transform: scale(0.98);
  }

  /* Trust image: add subtle mobile frame */
  .trust-image {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(10, 31, 63, 0.1);
  }

  /* Testimonial cards: mobile touch optimization */
  .testimonial-card:hover {
    transform: none;
  }

  .testimonial-card:active {
    transform: scale(0.98);
  }

  /* Service cards: mobile touch feedback */
  .service-card:hover {
    transform: none;
  }

  .service-card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.09);
  }

  /* Smoother image rendering on mobile */
  .pain-card-image img,
  .trust-image img,
  .testimonial-avatar {
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  /* Hero stats: horizontal row on tablet, vertical on phone */
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat-item {
    flex: 1;
    min-width: 80px;
    text-align: center;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
    text-align: center;
  }
}

/* Very small phones: stack hero stats vertically */
@media (max-width: 380px) {
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stat-item {
    text-align: left;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.875rem;
  }
}

/* Landscape mobile: optimize hero image */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero-bg-slide img {
    object-position: center center;
  }

  .hero-content {
    padding: 0;
  }

  .hero-stats {
    flex-direction: row;
    gap: 24px;
  }

  .hero-indicators {
    bottom: 12px;
  }
}

/* Prefers reduced motion: disable image animations on mobile */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide {
    transition: none;
  }

  .pain-card-image img,
  .service-detail-image img {
    transition: none;
  }

  .pain-card:hover .pain-card-image img {
    transform: none;
  }
}

/* High-DPI mobile screens: ensure crisp images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .pain-card-image img,
  .trust-image img,
  .testimonial-avatar {
    image-rendering: -webkit-optimize-contrast;
  }
}
