/* ============================================
   TECHNOGAS SERVICE LANDING PAGE - DESIGN SYSTEM
   Pure CSS | High Performance | Premium Design
   ============================================ */

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Logo Styling */
.navbar-brand img {
  transition: var(--transition-base);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .navbar-brand img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.logo-white {
  display: block !important;
}

.logo-black {
  display: none !important;
}

/* Image Optimization */
.image-container {
  overflow: hidden;
  position: relative;
}

.image-container img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Picture element optimization */
picture {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --primary: #1B1B2F;
  --primary-light: #272744;
  --accent: #E63946;
  --accent-hover: #C1121F;
  --accent-glow: transparent;
  --gold: #F4A261;
  --gold-light: #F8C891;
  --teal: #2EC4B6;
  --bg-white: #FFFFFF;
  --bg-light: #F5F5F7;
  --bg-dark: #0F0F1A;
  --text-dark: #1A1A2E;
  --text-medium: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;
  --border: #E5E7EB;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 4px 12px rgba(0, 0, 0, 0.1);

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-white);
}

/* ===== TYPOGRAPHY ===== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 57, 70, 0.08);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-medium);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  transition: var(--transition-base);
  flex-shrink: 0;
  z-index: 1001;
  height: 60px;
}

.navbar-brand img {
  height: 100%;
  width: auto;
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.navbar.scrolled .logo-white {
  display: none !important;
}

.navbar.scrolled .logo-black {
  display: block !important;
}

.navbar.scrolled .navbar-brand {
  color: var(--text-dark);
}

.navbar-brand .brand-accent {
  color: var(--accent);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
  position: relative;
}

.navbar.scrolled .navbar-nav a {
  color: var(--text-medium);
}

.navbar-nav a:hover {
  color: var(--accent);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-fast);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-cta {
  flex-shrink: 0;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition-base);
  border-radius: 2px;
}

.navbar.scrolled .mobile-toggle span {
  background: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-color: #0F0F1A;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
  transform: scale(1.05);
  overflow: hidden;
}

.hero-slider .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(1);
  transition: var(--transition-slow);
}

.hero-slider .slide.active .slide-image {
  filter: brightness(0.95);
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

section:not(.hero):not(.trust-bar),
footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 0%, rgba(27, 27, 47, 0.8) 40%, rgba(45, 27, 61, 0.9) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(230, 57, 70, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 30%, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Floating shapes decoration */
.hero-decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 1;
  opacity: 0.15;
}

.hero-decoration .shape {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-decoration .shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.hero-decoration .shape-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 20%;
  animation: float 6s ease-in-out infinite 1s;
}

.hero-decoration .shape-3 {
  width: 120px;
  height: 120px;
  top: 30%;
  left: 10%;
  border-radius: var(--radius-full);
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 40px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon.google {
  background: #F0F4FF;
}

.trust-icon.shield {
  background: #F0FFF4;
}

.trust-icon.clock {
  background: #FFF7ED;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.trust-text span {
  font-size: 0.8125rem;
  color: var(--text-medium);
}

.trust-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.trust-stars svg {
  width: 14px;
  height: 14px;
  fill: #FBBF24;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-slow);
  filter: brightness(1);
}

.about-image:hover .about-image-main img {
  filter: brightness(1.05) contrast(1.05);
  transform: scale(1.02);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--text-white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.about-image-badge .number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-image-badge .label {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content .section-title {
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.about-feature:hover {
  background: rgba(230, 57, 70, 0.06);
  transform: translateX(4px);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08), rgba(244, 162, 97, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: var(--transition-base);
}

.service-card:hover .service-icon svg {
  color: var(--text-white);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
  padding: var(--section-padding);
}

.why-us-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  position: relative;
}

.why-card:hover {
  background: var(--bg-light);
  transform: translateY(-4px);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-base);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: var(--shadow-md);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: var(--transition-base);
}

.why-card:hover .why-icon svg {
  color: var(--text-white);
}

.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 64px 0;
  background: linear-gradient(135deg, #1B1B2F 0%, #2D1B3D 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 400px 400px at 10% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 90% 50%, rgba(244, 162, 97, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .accent {
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ===== GALLERY SECTION ===== */
.gallery {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.gallery-grid .gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-slow);
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

.gallery-item:hover img {
  filter: brightness(1.1) contrast(1.1) saturate(1.15);
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27, 27, 47, 0.85) 100%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== COVERAGE AREA ===== */
.coverage {
  padding: var(--section-padding);
}

.coverage-header {
  text-align: center;
  margin-bottom: 56px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.coverage-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 12px;
  text-align: center;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.coverage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.coverage-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(230, 57, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.coverage-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.coverage-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.coverage-card p {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.coverage-card .areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.coverage-card .area-tag {
  background: var(--bg-light);
  color: var(--text-medium);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.coverage-card:hover .area-tag {
  background: rgba(230, 57, 70, 0.08);
  color: var(--accent);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent), #B91C2E);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-whatsapp {
  background: var(--text-white);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

.cta-buttons .btn-whatsapp:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-buttons .btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-brand .brand-accent {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover svg {
  color: var(--text-white);
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition-base);
  animation: bounceIn 0.6s ease;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.float-wa svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.float-wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: #25D366;
  animation: waPulse 2s infinite;
  z-index: -1;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 64px 0;
  }

  .navbar-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .navbar-nav.active a {
    color: var(--text-dark) !important;
    font-size: 1rem;
    padding: 8px 0;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero-decoration {
    display: none;
  }

  /* Responsive Image Improvements */
  .about-image-main img {
    max-height: 300px;
  }

  .gallery-item img {
    filter: brightness(0.9) contrast(1.08);
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 48px 0;
    --container-padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slider .slide {
    transition: none;
    transform: none;
  }

  .hero-slider .slide:not(.active) {
    display: none;
  }

  .hero-slider .slide-image {
    object-position: center top;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .trust-bar .container {
    flex-direction: column;
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .why-card {
    padding: 24px 16px;
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .why-icon {
    margin: 0;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image-badge {
    bottom: -12px;
    right: 12px;
  }

  .float-wa {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .float-wa svg {
    width: 28px;
    height: 28px;
  }

  /* Mobile Image Optimizations */
  .navbar-brand {
    height: 50px;
  }

  .navbar-brand img {
    max-height: 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-image-main img {
    height: auto;
    max-height: 250px;
  }

  .gallery-item img {
    filter: brightness(0.95) contrast(1.1);
  }

  .about-image-main:hover {
    transform: none;
  }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Disable heavy animations that cause TBT on mobile */
  .service-card,
  .why-us-card,
  .coverage-card,
  .gallery-item,
  .testimonial-card {
    transition: none !important;
    transform: none !important;
  }

  /* Disable box-shadow animations */
  .service-card:hover,
  .why-us-card:hover,
  .coverage-card:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  }

  /* Reduce gallery item complexity */
  .gallery-item::before,
  .gallery-item::after {
    display: none;
  }

  /* Remove float WA pulse animation on mobile */
  .float-wa-pulse {
    display: none;
  }

  /* Simplify CTA button shadows */
  .btn-whatsapp {
    box-shadow: none !important;
  }

  /* Prevent content-visibility from causing CLS */
  section {
    contain-intrinsic-size: 1px 600px;
  }
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}