/* ==========================================================================
   GREEN EARTH DEVELOPERS - MAIN STYLESHEET
   Brand Colors: Deep Emerald Green (#0F4C3A), Sapphire Blue (#1E3A8A), Slate Navy (#0F172A), Emerald Leaf (#10B981)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS VARIABLES & TOKENS --- */
:root {
  --primary-dark: #0F4C3A;
  --primary-deep: #0B382B;
  --primary-accent: #10B981;
  --primary-hover: #059669;
  --secondary-blue: #1E3A8A;
  --secondary-light-blue: #2563EB;
  --dark-navy: #0F172A;
  --dark-surface: #091913;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(15, 76, 58, 0.08);
  --shadow-lg: 0 10px 30px -4px rgba(15, 76, 58, 0.12);
  --shadow-xl: 0 20px 40px -6px rgba(15, 23, 42, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

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

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-accent) 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  transition: var(--transition-normal);
}

.badge-pill.badge-light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

/* --- BUTTONS & SHIMMER ANIMATION --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 76, 58, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-dark) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--primary-dark);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1EBE5B;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--dark-navy);
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

/* --- HEADER & STICKY NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 0.2rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

.header.scrolled .header-container {
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: var(--transition-normal);
}

.header.scrolled .brand-logo img {
  height: 44px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.estd-badge {
  background: rgba(22, 163, 74, 0.12);
  color: var(--primary-dark);
  border: 1px solid rgba(22, 163, 74, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--secondary-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-badge {
  background: rgba(22, 163, 74, 0.25);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-contact a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-bar-contact a:hover {
  color: var(--accent-gold);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-navy);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-accent);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  transition: var(--transition-fast);
}

.phone-quick-link:hover {
  color: var(--primary-accent);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-main);
  cursor: pointer;
}

.drawer-menu {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-navy);
  display: block;
}

.drawer-link.active {
  color: var(--primary-dark);
}

.drawer-actions {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 992px) {
  .nav-menu, .header-right .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* --- HERO ANIMATIONS --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 25, 19, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  text-align: center;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* --- HERO LOGO --- */
.hero-logo-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  animation: fadeInDown 0.8s ease-out forwards;
}

.hero-logo-box {
  width: 380px;
  max-width: 92vw;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-color: #FFFFFF;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 45px rgba(16, 185, 129, 0.45);
  border: 4px solid #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-logo-box:hover {
  transform: scale(1.04) rotate(1deg);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.6), 0 0 55px rgba(16, 185, 129, 0.65);
}

.hero-logo-img,
.hero-logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
  display: block;
}

.hero .badge-pill {
  animation: fadeInDown 0.8s ease-out forwards;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  font-weight: 400;
  animation: fadeInUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
  opacity: 0;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-down-indicator i {
  font-size: 1.2rem;
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

/* --- PAGE HERO SUB-BANNER --- */
.page-hero {
  position: relative;
  padding: 9rem 0 5rem 0;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(9, 25, 19, 0.85) 0%, rgba(15, 58, 43, 0.88) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out forwards;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

/* --- SCROLL REVEAL ANIMATION CLASSES --- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active, .reveal-left.active, .reveal-right.active, .zoom-in.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delay classes for grids */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- CARDS & HOVER ANIMATIONS --- */
.card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px -5px rgba(15, 76, 58, 0.15);
  border-color: rgba(16, 185, 129, 0.5);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  background: var(--primary-dark);
  color: #FFFFFF;
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
  transition: var(--transition-fast);
}

.card:hover h3 {
  color: var(--primary-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.card-features li i {
  color: var(--primary-accent);
  font-size: 0.95rem;
}

/* --- STATS & COUNTERS --- */
.stats-section {
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--primary-deep) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

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

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

.stat-item {
  padding: 2rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  color: var(--primary-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- MEDIA & IMAGE CONTAINERS --- */
.img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.img-wrapper.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(9, 25, 19, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  transition: var(--transition-normal);
}

.img-wrapper:hover .img-badge {
  transform: translateY(-3px);
  border-color: var(--primary-accent);
}

.img-badge i {
  color: var(--primary-accent);
  font-size: 1.25rem;
}

/* --- TIMELINE SECTION --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0 auto;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  width: 50%;
  padding: 0 2rem;
}

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

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

@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3rem;
    padding-right: 0;
    text-align: left !important;
  }
}

.timeline-dot {
  position: absolute;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-accent);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: var(--primary-dark);
}

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

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

@media (max-width: 768px) {
  .timeline-dot {
    left: 12px !important;
  }
}

.timeline-content {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-accent);
}

.timeline-content h4 {
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

/* --- CTA BANNER --- */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(9, 25, 19, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- CONTACT & FORMS --- */
.contact-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-accent);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem auto;
  transition: var(--transition-normal);
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem 0;
}

.phone-numbers a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.phone-numbers a:hover {
  color: var(--primary-accent);
}

.contact-form-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 2rem 1.25rem;
  }
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

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

/* --- FOOTER --- */
.footer {
  background: var(--dark-surface);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.footer-brand p.tagline {
  color: var(--primary-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-accent);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
  color: var(--primary-accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: var(--primary-accent);
}

/* --- FOOTER SOCIAL LINKS --- */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

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

.social-icon-btn.facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
}

.social-icon-btn.whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
}

.social-icon-btn.email:hover {
  background: #EA4335;
  color: #FFFFFF;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- FLOATING ACTION BUTTONS --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition-normal);
  animation: pulse-ring 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  background: #1EBE5B;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
  color: #FFFFFF;
}

@keyframes pulse-ring {
  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: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }

  .hero-logo-box {
    width: 290px;
    max-width: 88vw;
    height: 180px;
    border-radius: 16px;
    border: 3px solid #FFFFFF;
  }
}

/* ==========================================================================
   MOBILE & RESPONSIVE ENGINE (320px - 768px)
   ========================================================================== */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

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

  .brand-logo img {
    height: 38px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .hero-content {
    padding: 2.5rem 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.75rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    margin-bottom: 1.75rem;
  }

  .hero-btns, .cta-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-btns .btn, .cta-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .page-hero {
    padding: 4.5rem 0 3rem 0;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .page-hero p {
    font-size: 1rem !important;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .map-container {
    height: 320px;
  }

  .footer {
    padding: 3rem 0 1.5rem 0;
  }

  .footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .phone-quick-link-text {
    display: none;
  }

  .phone-quick-link {
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
  }

  .brand-tagline {
    display: none;
  }

  .badge-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

