/* ==========================================
   THE FUENTES GROUP - PREMIUM CSS STYLESHEET
   ========================================== */

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  /* Colors */
  --bg-primary: #080C14;
  --bg-secondary: #0E1424;
  --bg-tertiary: #161F38;
  --bg-card: rgba(22, 31, 56, 0.45);
  --border-glow: rgba(16, 185, 129, 0.25);
  
  --primary: #10B981;        /* Emerald Green */
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.4);
  
  --accent: #14B8A6;         /* Teal Accent */
  --accent-glow: rgba(20, 184, 166, 0.3);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #1F2937;
  
  --error: #EF4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.1);

  /* Fonts */
  --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --header-height: 90px;
  --header-shrink-height: 70px;
  --section-padding: 100px 0;
  --border-radius: 16px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-shrink-height);
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

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

/* --- NEXT-GEN BACKGROUND GLOWS --- */
.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}
.glow-1 {
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.glow-2 {
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 800px;
  left: -200px;
}

/* --- LAYOUT UTILITIES --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.highlight {
  color: var(--primary);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-header);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

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

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--border-glow);
}

.btn-success {
  background-color: var(--primary);
  color: var(--bg-primary);
}
.btn-success:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

/* --- BADGES --- */
.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--font-header);
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
}

.badge-accent {
  background-color: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--accent);
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

/* Add active scroll shrink style */
.header.scrolled {
  height: var(--header-shrink-height);
  background: rgba(8, 12, 20, 0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-bottom-color: rgba(16, 185, 129, 0.15);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-desktop-left {
  display: flex;
  gap: 32px;
  justify-content: flex-end; /* Align close to the logo */
  align-items: center;
  padding-right: 40px; /* Space from the logo badge */
}

.logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: var(--header-height);
  position: relative;
}
.header.scrolled .logo-area {
  height: var(--header-shrink-height);
}

.logo-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(16, 185, 129, 0.25);
  transition: var(--transition-smooth);
  position: absolute;
  top: 5px; /* Sit 5px below screen top (no viewport clipping) */
  z-index: 1010;
}
.header.scrolled .logo-img {
  width: 84px;
  height: 84px;
  top: 4px; /* Sit 4px below screen top on scroll */
  border-width: 3px;
}

.nav-desktop-right-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Split navigation left, actions right */
  width: 100%;
  padding-left: 40px; /* Space from the logo badge */
}

.nav-desktop-right {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
.nav-link:hover {
  color: #FFFFFF;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap; /* Prevent actions wrapping */
}

/* Hide mobile menu and mobile toggle on desktop */
.nav-mobile-menu, .mobile-toggle {
  display: none;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap; /* Prevent phone number wrapping */
}
.phone-link:hover {
  color: var(--primary);
}

.icon-phone {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  min-height: calc(100vh - 50px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle wave color stripes matching PDF business card */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1000' fill='none'%3E%3Cpath d='M800 0C600 200 500 500 650 800C725 950 775 980 800 1000V0Z' fill='%230E1424'/%3E%3Cpath d='M800 0C550 250 420 580 580 880C650 1000 800 1000 800 1000' stroke='%2310B981' stroke-width='40' opacity='0.8'/%3E%3Cpath d='M800 0C500 300 360 640 520 940C580 1000 800 1000 800 1000' stroke='%23FFFFFF' stroke-width='15' opacity='0.7'/%3E%3C/svg%3E") no-repeat right top;
  background-size: cover;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

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

.hero-bullets {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.bullet-check {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Hero Image & Visuals */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 6s ease;
}
.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

.hero-card-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 15px;
  left: 15px;
  background-color: var(--primary-glow);
  filter: blur(40px);
  z-index: -1;
  border-radius: var(--border-radius);
  opacity: 0.5;
}

.floating-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(22, 31, 56, 0.7);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.stat-1 {
  bottom: 30px;
  left: -20px;
}
.stat-2 {
  top: 40px;
  right: -20px;
  animation-delay: 2s;
}

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

.stat-icon {
  color: #FBBF24;
  fill: #FBBF24;
  width: 24px;
  height: 24px;
}
.stat-icon-2 {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  color: #FFFFFF;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- SECTION HEADERS --- */
.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* --- SERVICES SECTION (TABS) --- */
.services-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
}

.tabs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab-list {
  display: flex;
  background: var(--bg-tertiary);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.tab-btn:hover {
  color: #FFFFFF;
}
.tab-btn.active {
  background-color: var(--primary);
  color: var(--bg-primary);
}

.tab-panel {
  width: 100%;
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.12);
}

.service-icon {
  background: rgba(16, 185, 129, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}
.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}
.service-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}
.service-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

/* --- WHY CHOOSE US / ABOUT SECTION --- */
.about-section {
  padding: var(--section-padding);
  position: relative;
}

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

.about-lead {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 40px;
}

.value-block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-text h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.value-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Media side */
.about-media {
  position: relative;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  display: block;
}

.experience-badge {
  position: absolute;
  top: -30px;
  left: -30px;
  background: var(--primary);
  color: var(--bg-primary);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}
.exp-num {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}
.exp-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 4px;
}

.about-bg-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50px;
  right: -50px;
  z-index: -1;
  filter: blur(30px);
}

/* --- INTERACTIVE ESTIMATOR FORM --- */
.estimator-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.glass-form-container {
  background: rgba(22, 31, 56, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 50px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

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

/* Form Progress */
.form-progress {
  margin-bottom: 50px;
  position: relative;
}

.progress-bar {
  position: absolute;
  height: 4px;
  background-color: var(--bg-tertiary);
  left: 10%;
  right: 10%;
  top: 22px;
  z-index: 1;
  border-radius: 2px;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary);
  transition: width 0.4s ease;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  padding: 0 8%;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-header);
  transition: var(--transition-fast);
}

.step-indicator.active .step-num {
  background-color: var(--bg-primary);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px var(--border-glow);
}
.step-indicator.active .step-label {
  color: #FFFFFF;
}

.step-indicator.completed .step-num {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-primary);
}
.step-indicator.completed .step-label {
  color: var(--primary);
}

/* Step Panels */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.step-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* Step 1 Selector Grid */
.service-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.selector-card {
  position: relative;
  cursor: pointer;
}

.selector-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.selector-content {
  display: flex;
  flex-direction: column;
  background: rgba(22, 31, 56, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}
.selector-card:hover .selector-content {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(22, 31, 56, 0.7);
}

.selector-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.selector-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.selector-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Radio Checked State */
.selector-card input[type="radio"]:checked + .selector-content {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.selector-card input[type="radio"]:checked + .selector-content .selector-icon {
  color: var(--primary);
  transform: scale(1.1);
}

/* Step 2 & 3 Inputs */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 30px;
  margin-bottom: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.form-control {
  background: rgba(8, 12, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 18px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--border-glow);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

textarea.form-control {
  resize: vertical;
}

/* Inline validation styling using style-parent-with-has */
.form-control.invalid {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.05);
}

.form-group:has(.form-control.invalid) .error-msg {
  display: block;
}

.error-msg {
  display: none;
  color: var(--error);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 4px;
}

/* Checkbox Styling */
.checkbox-group {
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(8, 12, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  line-height: 1.4;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 20px;
}

/* Success State */
.form-success-panel {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  color: var(--primary);
  margin-bottom: 24px;
}
.success-icon svg {
  width: 72px;
  height: 72px;
}

.success-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.success-message {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 24px;
}

.success-callout {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 24px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 32px;
}

.accent-link {
  color: var(--primary);
  font-weight: 700;
}

/* --- GALLERY SECTION --- */
.gallery-section {
  padding: var(--section-padding);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.9) 0%, rgba(8, 12, 20, 0.4) 60%, transparent 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition-smooth);
  height: 100%;
}

.gallery-cat {
  font-size: 0.8rem;
  color: var(--primary);
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.gallery-overlay h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.gallery-zoom-btn {
  align-self: flex-start;
  background: var(--primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.gallery-zoom-btn:hover {
  transform: scale(1.1);
  background-color: #FFFFFF;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  border: none;
  background: rgba(8, 12, 20, 0.95);
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  outline: none;
}

.lightbox-modal[open] {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lightbox-close:hover {
  background-color: var(--error);
  border-color: var(--error);
}

/* --- FAQ ACCORDION SECTION --- */
.faq-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 24px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.15rem;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item[open] .faq-question .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 16px;
  line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 1000' fill='none'%3E%3Cpath d='M0 1000C150 750 250 420 90 120C20 0 0 0 0 0V1000Z' fill='%230E1424'/%3E%3Cpath d='M0 1000C250 750 380 420 220 120C150 0 0 0 0 0' stroke='%2310B981' stroke-width='40' opacity='0.8'/%3E%3Cpath d='M0 1000C300 700 440 360 280 60C220 0 0 0 0 0' stroke='%23FFFFFF' stroke-width='15' opacity='0.7'/%3E%3C/svg%3E") no-repeat left bottom;
  background-size: cover;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-wrapper {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  margin-bottom: 12px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 400px;
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.license-badge svg {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-header);
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-contact-item svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.seo-credit {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

/* --- RESPONSIVE DESIGN (BREAKPOINTS) --- */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-bullets {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-media {
    max-width: 550px;
    margin: 0 auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Trigger Mobile Navigation Menu Drawer early at 1024px */
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-desktop-left, .nav-desktop-right-container, .header-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .logo-area {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
  }
  
  .logo-img {
    width: 80px;
    height: 80px;
    top: -10px;
    border-width: 3px;
  }

  .header.scrolled .logo-img {
    width: 66px;
    height: 66px;
    top: -8px;
  }

  .nav-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 12, 20, 0.98); /* Solid background to prevent see-through */
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Vertically center links in full viewport */
    padding: 100px 24px 40px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  .mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1010;
  }
  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
  }
  .mobile-menu-close svg {
    width: 24px;
    height: 24px;
  }

  .nav-mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-mobile-menu .nav-link {
    font-size: 1.35rem;
    color: #FFFFFF; /* High readability */
  }
  .mobile-phone-link {
    margin-top: 10px;
  }
  .mobile-phone-link svg {
    color: var(--primary);
  }
  .mobile-cta {
    width: 80%;
    max-width: 300px;
  }
  .experience-badge {
    top: 15px;
    left: 15px;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  .section-padding {
    padding: 70px 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .floating-stat {
    display: none !important; /* Hide floating stats to prevent viewport overflow */
  }
  
  /* Form responsive adjustments */
  .glass-form-container {
    padding: 30px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .progress-steps {
    padding: 0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .phone-link {
    display: none; /* Hide on very small screens to fit CTA */
  }
  .step-label {
    display: none; /* Only show step numbers on small mobiles */
  }
  .progress-bar {
    left: 15%;
    right: 15%;
  }
  .progress-steps {
    justify-content: space-around;
  }
}

/* Fallback Scroll Animations support class */
.fade-in-el {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-el.visible {
  opacity: 1;
  transform: translateY(0);
}
