/* ==========================================
   SEETHA CAR SERVICES - GEOMETRIC PRECISION
   ========================================== */

:root {
  --navy: #0B1121;
  --navy-light: #1A2542;
  --electric-blue: #2563EB;
  --electric-blue-light: #60A5FA;
  --electric-blue-dark: #1D4ED8;
  --white: #FFFFFF;
  --silver-gray: #E2E8F0;
  --gray-light: #F4F6F9;
  --gray-medium: #94A3B8;
  --gray-dark: #475569;
  --black: #020617;
  --gold: #F59E0B;
  --green: #10B981;
  --whatsapp: #25D366;
  --gradient-primary: linear-gradient(135deg, #2563EB, #1D4ED8);
  --gradient-accent: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --pattern-dots: radial-gradient(rgba(37,99,235,0.06) 1px, transparent 1px);
  --pattern-grid: linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

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

.section-light {
  background: var(--gray-light);
}

.section-white {
  background: var(--white);
}

/* Pattern backgrounds */
.section-pattern-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-dots);
  background-size: 24px 24px;
  opacity: 0.5;
}

.section-pattern-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-grid);
  background-size: 40px 40px;
  opacity: 0.5;
}

/* Accent band */
.accent-band {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--electric-blue);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title .highlight {
  color: var(--electric-blue);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-medium);
  max-width: 600px;
  line-height: 1.8;
}

.section-dark .section-subtitle { color: var(--silver-gray); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(11,17,33,0.95);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--electric-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo span { color: var(--electric-blue-light); }

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--electric-blue) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--electric-blue-light) !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,17,33,0.97) 0%, rgba(11,17,33,0.7) 50%, rgba(37,99,235,0.15) 100%);
  z-index: 2;
}

/* Geometric hero overlay */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-geo .geo-shape {
  position: absolute;
  border: 1px solid rgba(37,99,235,0.1);
}

.hero-geo .geo-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  transform: rotate(45deg);
  border-radius: 20px;
}

.hero-geo .geo-shape:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 10%;
  transform: rotate(30deg);
  border-radius: 50%;
  border-color: rgba(37,99,235,0.06);
}

.hero-geo .geo-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 60%;
  transform: rotate(15deg);
  border-color: rgba(37,99,235,0.05);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border-left: 3px solid var(--electric-blue);
  padding: 8px 20px;
  color: var(--electric-blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--electric-blue-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-medium);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat h3 {
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
}

.hero-stat .num-accent { color: var(--electric-blue-light); }

.hero-stat p {
  color: var(--gray-medium);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover { background: var(--electric-blue-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,0.35); }

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

.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.35); }

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

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

.btn-lg { padding: 14px 34px; font-size: 0.95rem; }

/* ===== CONTENT BLOCKS (alternating layout) ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-block.reverse {
  direction: rtl;
}

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

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

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

.content-image .floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11,17,33,0.9);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  color: var(--white);
  border-left: 3px solid var(--electric-blue);
}

.content-image .floating-badge .badge-num {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-primary);
  color: var(--electric-blue-light);
}

.content-image .floating-badge p {
  font-size: 0.82rem;
  color: var(--silver-gray);
}

/* ===== SERVICE CARD ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--silver-gray);
  border-left: 4px solid var(--electric-blue);
  height: 100%;
}

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

.service-card-image {
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

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

.service-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-body h3 .card-icon {
  width: 32px;
  height: 32px;
  background: rgba(37,99,235,0.08);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--electric-blue);
}

.service-card-body p {
  color: var(--gray-dark);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-card-body .card-link {
  color: var(--electric-blue);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-body .card-link:hover { gap: 10px; }

/* ===== FEATURE CARD ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--silver-gray);
  border-top: 3px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  border-top-color: var(--electric-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card .icon-box {
  width: 56px;
  height: 56px;
  background: var(--gray-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  color: var(--electric-blue);
  transition: var(--transition);
}

.feature-card:hover .icon-box {
  background: var(--electric-blue);
  color: var(--white);
}

.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray-dark); font-size: 0.9rem; line-height: 1.7; }

/* ===== GLASS CARD (for dark sections) ===== */
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px 24px;
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(37,99,235,0.2);
  transform: translateY(-4px);
}

.glass-card .why-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; color: var(--electric-blue-light); }
.glass-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.glass-card p { font-size: 0.88rem; color: var(--gray-medium); line-height: 1.7; }

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

/* ===== PROCESS ===== */
.process-list {
  max-width: 780px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.process-step:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.section-dark .process-step:not(:last-child) {
  border-bottom-color: rgba(255,255,255,0.04);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}

.process-step .step-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
.process-step .step-content p { font-size: 0.9rem; line-height: 1.7; color: var(--gray-dark); }
.section-dark .process-step .step-content p { color: var(--gray-medium); }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--silver-gray);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 4rem;
  font-family: var(--font-primary);
  color: var(--electric-blue);
  opacity: 0.06;
  line-height: 1;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 1px; }

.testimonial-card blockquote {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-style: italic;
}

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

.testimonial-author .ta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--silver-gray);
}

.testimonial-author h4 { font-size: 0.9rem; margin-bottom: 1px; }
.testimonial-author p { font-size: 0.8rem; color: var(--gray-medium); }

/* ===== BRANDS ===== */
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brand-item {
  padding: 14px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--silver-gray);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-item:hover {
  border-color: var(--electric-blue);
  color: var(--white);
  background: rgba(37,99,235,0.08);
}

.brand-item .bi-icon { font-size: 1rem; }

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filters button {
  padding: 8px 20px;
  border: 1px solid var(--silver-gray);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item:nth-child(3n+1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,17,33,0.9) 0%, rgba(11,17,33,0.2) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

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

.gallery-overlay h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.gallery-overlay p { color: var(--gray-medium); font-size: 0.82rem; }
.gallery-overlay .expand-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,0.15); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--silver-gray);
  border-left: 3px solid var(--electric-blue);
  transition: var(--transition);
}

.contact-card:hover { box-shadow: var(--shadow-md); }

.contact-card .cc-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--electric-blue);
}

.contact-card h4 { font-size: 0.9rem; margin-bottom: 2px; }
.contact-card p { font-size: 0.85rem; color: var(--gray-dark); line-height: 1.6; }

.contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--silver-gray);
}

.contact-form-wrap h3 { font-size: 1.3rem; margin-bottom: 24px; }

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--silver-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--navy);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}

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

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--silver-gray);
}

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

/* ===== CTA ===== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-dots);
  background-size: 32px 32px;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.cta-content p { color: var(--gray-medium); font-size: 1.05rem; margin-bottom: 32px; }

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

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--silver-gray);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  border-bottom-color: var(--electric-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-card .vc-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; color: var(--electric-blue); }
.value-card h4 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.85rem; color: var(--gray-dark); line-height: 1.6; }

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 160px 0 70px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,17,33,0.98) 0%, rgba(37,99,235,0.08) 100%);
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-header p { color: var(--gray-medium); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-medium);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--electric-blue-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== TEAM ===== */
.team-card {
  background: var(--white);
  border: 1px solid var(--silver-gray);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--gray-light);
}

.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .team-role {
  color: var(--electric-blue);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 8px;
  display: block;
}

.team-card p { font-size: 0.85rem; color: var(--gray-dark); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--silver-gray);
  padding: 64px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

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

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; color: var(--gray-medium); }

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--electric-blue); color: var(--white); }

.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; font-weight: 700; }

.footer-links a {
  display: block;
  color: var(--gray-medium);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--electric-blue-light); padding-left: 4px; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--gray-medium);
}

.footer-contact p a { color: var(--gray-medium); }
.footer-contact p a:hover { color: var(--electric-blue-light); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-medium);
}

.footer-bottom .brand-highlight { color: var(--electric-blue-light); }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-cta .fbtn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.floating-cta .fbtn:hover { transform: scale(1.08); }

.floating-cta .fbtn-whatsapp { background: var(--whatsapp); }
.floating-cta .fbtn-phone { background: var(--electric-blue); }
.floating-cta .fbtn-top { background: var(--navy); display: none; }
.floating-cta .fbtn-top.visible { display: flex; }

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

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

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

.animate { opacity: 0; }
.animate.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate.fade-in-left { animation: fadeInLeft 0.6s ease forwards; }
.animate.fade-in-right { animation: fadeInRight 0.6s ease forwards; }

.stagger-children > * { opacity: 0; }
.stagger-children.animate > *:nth-child(1) { animation: fadeInUp 0.5s ease 0.05s forwards; }
.stagger-children.animate > *:nth-child(2) { animation: fadeInUp 0.5s ease 0.1s forwards; }
.stagger-children.animate > *:nth-child(3) { animation: fadeInUp 0.5s ease 0.15s forwards; }
.stagger-children.animate > *:nth-child(4) { animation: fadeInUp 0.5s ease 0.2s forwards; }
.stagger-children.animate > *:nth-child(5) { animation: fadeInUp 0.5s ease 0.25s forwards; }
.stagger-children.animate > *:nth-child(6) { animation: fadeInUp 0.5s ease 0.3s forwards; }
.stagger-children.animate > *:nth-child(7) { animation: fadeInUp 0.5s ease 0.35s forwards; }
.stagger-children.animate > *:nth-child(8) { animation: fadeInUp 0.5s ease 0.4s forwards; }
.stagger-children.animate > *:nth-child(9) { animation: fadeInUp 0.5s ease 0.45s forwards; }
.stagger-children.animate > *:nth-child(10) { animation: fadeInUp 0.5s ease 0.5s forwards; }
.stagger-children.animate > *:nth-child(11) { animation: fadeInUp 0.5s ease 0.55s forwards; }
.stagger-children.animate > *:nth-child(12) { animation: fadeInUp 0.5s ease 0.6s forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-block { grid-template-columns: 1fr; gap: 36px; }
  .content-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-geo .geo-shape { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11,17,33,0.98);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 16px;
    transition: 0.3s;
    border-left: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1rem; }
  .hero-image { opacity: 0.25; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat { flex: 1 1 calc(50% - 20px); }
  .hero-stat h3 { font-size: 1.5rem; }
  .section { padding: 60px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+1) { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
  .page-header { padding: 130px 0 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .floating-cta { bottom: 16px; right: 16px; }
  .floating-cta .fbtn { width: 42px; height: 42px; font-size: 1rem; }
  .contact-form-wrap { padding: 24px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .content-image img { height: 300px; }
  .gallery-filters button { font-size: 0.78rem; padding: 6px 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-stat h3 { font-size: 1.3rem; }
  .logo { font-size: 1rem; }
  .logo-icon { width: 34px; height: 34px; font-size: 0.9rem; }
  .gallery-grid { gap: 10px; }
  .gallery-item { aspect-ratio: 1; }
  .page-header h1 { font-size: 1.8rem; }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gray-medium);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--electric-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}
