/* ========================================
   INDORE ENVIRO SERVICES PRIVATE LIMITED
   Premium Business Stylesheet
   ======================================== */

/* ---------- ROOT VARIABLES ---------- */
:root {
  /* Colors */
  --primary: #0a4d8c;
  --primary-dark: #073966;
  --primary-light: #2978c4;
  --accent: #16a34a;
  --accent-dark: #0d7a36;
  --accent-light: #34d058;

  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0a4d8c 0%, #2978c4 100%);
  --gradient-accent: linear-gradient(135deg, #16a34a 0%, #34d058 100%);
  --gradient-mixed: linear-gradient(135deg, #0a4d8c 0%, #16a34a 100%);
  --gradient-soft: linear-gradient(135deg, #e0f2fe 0%, #d1fae5 100%);
  --gradient-hero: linear-gradient(135deg, #0a4d8c 0%, #073966 50%, #16a34a 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-glow: 0 0 30px rgba(10, 77, 140, 0.25);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --container: 1240px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme */
[data-theme="dark"] {
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --bg: #0f172a;
  --surface: #1e293b;
  --border: #334155;
  --white: #1e293b;
  --off-white: #0f172a;
  --gray-50: #1e293b;
  --gray-100: #334155;
  --gray-200: #475569;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

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

ul {
  list-style: none;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-muted); }

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

.section {
  padding: 100px 0;
  position: relative;
}

.section-sm { padding: 60px 0; }

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 77, 140, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 77, 140, 0.45);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
}

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

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

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ---------- PAGE LOADER ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.85);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.2;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gradient-mixed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-mark::before {
  display: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.logo-text-sm {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius-md);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gradient-soft);
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.theme-toggle:hover {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(10, 77, 140, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(22, 163, 74, 0.12) 0%, transparent 50%),
    var(--bg);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 400px; height: 400px;
  background: var(--primary);
  top: -100px; left: -100px;
}

.shape-2 {
  width: 350px; height: 350px;
  background: var(--accent);
  bottom: -100px; right: -50px;
  animation-delay: -7s;
}

.shape-3 {
  width: 250px; height: 250px;
  background: var(--primary-light);
  top: 50%; left: 60%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 77, 140, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 77, 140, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.hero-badge .pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 580px;
}

.hero-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-visual-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-2xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-illustration {
  width: 100%;
  height: auto;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatUp 4s ease-in-out infinite;
}

.floating-card.fc-1 {
  top: 10%;
  left: -30px;
  animation-delay: 0s;
}

.floating-card.fc-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: -2s;
}

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

.fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.fc-icon.green {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: var(--accent-dark);
}

.fc-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 700;
}

.fc-content small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- TAGLINE SLIDER ---------- */
.tagline-slider {
  background: var(--gradient-primary);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}

.tagline-track {
  display: flex;
  gap: 60px;
  animation: scroll-x 25s linear infinite;
  white-space: nowrap;
}

.tagline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.tagline-item .dot {
  width: 10px;
  height: 10px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------- WHY CHOOSE US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-mixed);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gradient-mixed);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.95rem;
}

/* ---------- STATS COUNTER ---------- */
.stats {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #fff 0%, #c7e2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 500;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-soft);
  transition: var(--transition-slow);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::after { height: 100%; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: var(--gradient-mixed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 8px 20px rgba(10, 77, 140, 0.25);
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon::before {
  opacity: 0.4;
  inset: -10px;
  animation: spin 8s linear infinite;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover { gap: 10px; color: var(--accent); }

/* ---------- COURSES ---------- */
.course-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
}

.filter-btn:hover { color: var(--primary); border-color: var(--primary); }

.filter-btn.active {
  background: var(--gradient-mixed);
  color: var(--white);
  border-color: transparent;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.course-banner {
  height: 160px;
  background: var(--gradient-mixed);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.15), transparent 50%);
}

.course-icon-big {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.course-mode {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-body {
  padding: 28px;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.course-body p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.course-btn {
  padding: 8px 18px;
  background: var(--gradient-mixed);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.course-btn:hover { transform: translateX(4px); }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--surface);
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.testimonial-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-mixed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info { text-align: left; }

.author-info strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.author-info small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: var(--transition);
}

.dot-btn.active {
  background: var(--gradient-mixed);
  width: 32px;
  border-radius: var(--radius-full);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--gradient-hero);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

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

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

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--primary-light); }

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

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

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--gradient-soft);
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.newsletter p {
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: var(--white);
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.1);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(10, 77, 140, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
    var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-card {
  background: var(--gradient-mixed);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.about-image-card h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 8px;
  position: relative;
}

.about-image-card p {
  color: rgba(255,255,255,0.9);
  position: relative;
}

.about-stats-floating {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-xl);
  display: flex;
  gap: 24px;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 800;
}

.about-stat small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.about-feature h4 { margin-bottom: 6px; font-size: 1.05rem; }

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before { right: -8px; }
.timeline-item:nth-child(even)::before { left: -8px; }

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  display: inline-block;
  background: var(--gradient-mixed);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content h4 { font-size: 1.1rem; margin-bottom: 6px; }

.timeline-content p { font-size: 0.9rem; margin: 0; }

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  grid-auto-rows: 240px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--gradient-mixed);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.95);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.gallery-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.15), transparent 50%);
}

.gallery-item:nth-child(2n) .gallery-placeholder { background: linear-gradient(135deg, #16a34a, #34d058); }
.gallery-item:nth-child(3n) .gallery-placeholder { background: linear-gradient(135deg, #073966, #2978c4); }
.gallery-item:nth-child(5n) .gallery-placeholder { background: linear-gradient(135deg, #0d7a36, #16a34a); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85), transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  background: var(--gradient-mixed);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  color: var(--white);
  text-align: center;
  position: relative;
}

.lightbox-content h3 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  height: 220px;
  background: var(--gradient-mixed);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  overflow: hidden;
}

.blog-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
}

.blog-card:nth-child(2n) .blog-image { background: linear-gradient(135deg, #16a34a, #34d058); }
.blog-card:nth-child(3n) .blog-image { background: linear-gradient(135deg, #073966, #2978c4); }

.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-content {
  padding: 28px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link:hover { gap: 10px; color: var(--accent); }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  position: relative;
}

.contact-info-list { position: relative; }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
}

.contact-info-text strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--white);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-text a { color: var(--white); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  position: relative;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 { margin-bottom: 8px; }

.contact-form-wrap > p { margin-bottom: 28px; }

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

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

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

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.1);
}

textarea.form-control { resize: vertical; min-height: 130px; }

.form-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-control.error { border-color: #dc2626; }

.form-control.error + .form-error { display: block; }

.form-success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: var(--accent-dark);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: none;
  align-items: center;
  gap: 8px;
}

.form-success.show { display: flex; }

.map-section {
  margin-top: 60px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--primary);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p, .legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  list-style: disc;
  margin-bottom: 6px;
}

.legal-meta {
  background: var(--surface);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 4px solid var(--primary);
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(135deg, #0a1628 0%, #0f172a 100%);
  color: #cbd5e1;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-mixed);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-mixed);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #94a3b8;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent-light);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-left {
  min-width: 0;
}

.footer-bottom strong { color: #cbd5e1; }

.footer-credit {
  color: #94a3b8;
  white-space: nowrap;
}

/* ---------- FLOATING ACTIONS ---------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.float-btn:hover { transform: scale(1.1); }

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.float-btn.call {
  background: var(--gradient-primary);
}

.float-btn.scroll-top {
  background: var(--gradient-mixed);
  opacity: 0;
  visibility: hidden;
}

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

.float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  opacity: 0.3;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- STICKY MOBILE CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px;
  z-index: 99;
  gap: 8px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

.mobile-cta .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.9rem;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-content { max-width: 700px; margin: 0 auto; }
  .hero-subtitle, .hero-intro { margin-left: auto; margin-right: auto; }
  .floating-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: var(--transition);
    height: calc(100vh - 76px);
    align-items: stretch;
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu .nav-link { padding: 14px 16px; }
  .nav-menu .btn { margin-top: 12px; }
  .nav-toggle { display: flex; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; padding-left: 50px; padding-right: 0; text-align: left !important; }
  .timeline-item::before { left: 12px !important; right: auto !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .legal-content { padding: 30px 24px; }
  .testimonial-content { padding: 36px 24px; }
  .about-stats-floating { bottom: -20px; right: 0; left: 0; justify-content: center; }
  .mobile-cta { display: flex; }
  .floating-actions { bottom: 80px; }
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .nav-container { padding: 14px 16px; }
  .container { padding: 0 16px; }
  .logo-text-sm { display: none; }
  .nav-logo { font-size: 1rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .hero { padding: 120px 0 60px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { gap: 28px; }
  .newsletter { padding: 40px 20px; }
  .contact-form-wrap { padding: 30px 20px; }
}

/* ==========================================================
   ADDITIONAL UTILITY STYLES — newsletter section + map wrap
   ========================================================== */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
}
[data-theme="dark"] .newsletter-section {
  background: linear-gradient(135deg, rgba(10,77,140,0.15) 0%, rgba(22,163,74,0.12) 100%);
}
.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
[data-theme="dark"] .newsletter-card {
  background: var(--card-bg);
}
.newsletter-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.newsletter-card p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.newsletter-card .newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-card .newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease;
}
[data-theme="dark"] .newsletter-card .newsletter-form input {
  background: var(--bg);
}
.newsletter-card .newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Map wrap */
.map-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--border);
  line-height: 0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
}

@media (max-width: 600px) {
  .newsletter-card { padding: 36px 22px; }
  .newsletter-card .newsletter-form { flex-direction: column; }
  .newsletter-card .newsletter-form input,
  .newsletter-card .newsletter-form button { width: 100%; }
}
