/* Import modern Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

/* CSS Variables for Light and Dark Modes */
:root {
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Transition speeds */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Theme-specific variables (Default Dark Mode) */
  --bg-main: #0a0e17;
  --bg-surface: #111827;
  --bg-surface-hover: #1f2937;
  --bg-navbar: rgba(10, 14, 23, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-active: #f59e0b;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Brand Colors */
  --primary: #f59e0b; /* Amber/Electric Gold */
  --primary-hover: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.25);

  --secondary: #06b6d4; /* Electric Cyan */
  --secondary-hover: #0891b2;
  --secondary-glow: rgba(6, 182, 212, 0.25);

  --accent-red: #ef4444;
  --accent-green: #10b981;
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #020617 100%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Light Mode Variables Override */
[data-theme="light"] {
  --bg-main: #f9fafb;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f3f4f6;
  --bg-navbar: rgba(249, 250, 251, 0.8);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-active: #f59e0b;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  --bg-gradient: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);

  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.08);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
}

/* Accesibilidad: foco visible para navegacion por teclado (no solo en inputs) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.hamburger:focus-visible,
.theme-toggle-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Respeta la preferencia de movimiento reducido del sistema */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

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

/* Typography Utility */
.text-gradient-amber {
  background: linear-gradient(to right, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(to right, #06b6d4, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-hover);
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

/* Grid helper */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #0f172a;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-cyan {
  background-color: var(--secondary);
  color: #0f172a;
}

.btn-cyan:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 0 20px var(--secondary-glow);
  transform: translateY(-2px);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border: 1px solid rgba(245, 158, 11, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Cards */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-active);
  box-shadow: var(--shadow-glow);
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 7.5rem;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--bg-surface-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: var(--border-color-active);
  color: #0f172a;
}

.theme-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 2rem;
  background: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 5rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 5rem);
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    transition: left var(--transition-normal);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-actions {
    display: none; /* Relocate inside mobile nav or keep simple */
  }
}

/* Mobile Nav Menu States */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to bottom, rgba(10, 14, 23, 0.4), rgba(10, 14, 23, 0.9)),
    url("../images/hero-home.jpeg");
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 10s ease-out;
}

.hero-glow {
  position: absolute;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.08) 0%,
    rgba(245, 158, 11, 0) 70%
  );
  top: -10rem;
  right: -10rem;
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 40rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quick Features Bar */
.quick-features {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-icon-wrapper.cyan {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
}

.feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* About Section */
.about-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

.about-badge-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Mission Section (Quote) */
.mission-section {
  position: relative;
  background-image:
    linear-gradient(to right, rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.8)),
    url("../images/mission-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8rem 0;
  text-align: center;
}

.mission-content {
  max-width: 50rem;
  margin: 0 auto;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: #ffffff;
}

@media (max-width: 768px) {
  .mission-quote {
    font-size: 1.5rem;
  }
}

.mission-author {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
}

/* Services Overview Cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card-icon.cyan {
  color: var(--secondary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.service-card-link:hover {
  color: var(--text-primary);
}

.service-card-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-fast);
}

.service-card-link:hover svg {
  transform: translateX(3px);
}

/* Contact / Lead Form Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Forms */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem;
}

@media (max-width: 768px) {
  .form-card {
    padding: 1.5rem;
  }
}

.form-title {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
  outline: none;
}

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

/* AJAX Alert Banner */
.alert-box {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.75rem;
  animation: slideDown 0.3s ease;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Action / Sticky CTA Button */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
  animation: pulseGlow 2s infinite;
}

.floating-whatsapp {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  z-index: 999;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  animation: pulseGlowWhatsapp 2s infinite;
}

.floating-whatsapp:hover {
  background-color: #1ebe5b;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

@keyframes pulseGlowWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 576px) {
  .floating-whatsapp,
  .floating-cta span {
    font-size: 0.85rem;
  }

  .floating-whatsapp {
    bottom: 5.5rem;
    right: 1rem;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Footer Section */
.footer-top {
  background-color: #05070a;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
}

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

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

.footer-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-link a {
  transition: all var(--transition-fast);
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--bg-surface-hover);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary);
  color: #0f172a;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer-emergency-box {
  background-color: rgba(239, 68, 68, 0.05);
  border: 1px dashed rgba(239, 68, 68, 0.3);
  padding: 1.25rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.footer-emergency-title {
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer-bottom {
  background-color: #030406;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Page Headers (Services & Contact pages) */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 14, 23, 0.85);
  z-index: 1;
}

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

.page-hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-hero-breadcrumbs {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.page-hero-breadcrumbs a:hover {
  color: var(--primary);
}

/* Detailed Services Styles */
.detailed-services-section {
  padding: 6rem 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-row:nth-child(even) .service-content-col {
  order: 2;
}

.service-row:nth-child(even) .service-image-col {
  order: 1;
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-row:nth-child(even) .service-content-col {
    order: 1;
  }

  .service-row:nth-child(even) .service-image-col {
    order: 2;
  }

  .services-list {
    gap: 4rem;
  }
}

.service-content-col h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.service-content-col p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.service-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .service-features-list {
    grid-template-columns: 1fr;
  }
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--primary);
  width: 1.25rem;
  height: 1.25rem;
}

.service-img-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.service-img-wrapper img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Contact Page Details */
.map-placeholder {
  width: 100%;
  height: 350px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.map-bg-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: rotate(5deg);
  opacity: 0.5;
}

.map-icon {
  font-size: 2.5rem;
  color: var(--primary);
  z-index: 1;
  margin-bottom: 0.5rem;
}

.map-placeholder h4 {
  z-index: 1;
  margin-bottom: 0.25rem;
}

.map-placeholder p {
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 3px solid rgba(15, 23, 42, 0.3);
  border-radius: 50%;
  border-top-color: #0f172a;
  animation: spin 1s ease-in-out infinite;
}

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