/* ==========================================================================
   SOLPARK.RO - Modern, Ultra-Clean, Minimalist Energy Presentation Design System
   Colors: Solar Yellow (#F5AF19), Eco Green (#3FA449), Charcoal (#1E242B)
   Typography: Plus Jakarta Sans (Headings) & Inter (Body)
   ========================================================================== */

:root {
  /* Brand Accents */
  --primary-yellow: #F5AF19;
  --primary-yellow-hover: #E09E10;
  --primary-yellow-light: #FFF8EB;
  --primary-yellow-border: #FCE1A8;

  --primary-green: #3FA449;
  --primary-green-hover: #33883C;
  --primary-green-light: #EEF8EF;
  --primary-green-border: #B7E4BD;

  /* Neutrals & Dark Tones */
  --text-primary: #1E242B;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;

  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark: #111827;
  --bg-dark-card: #1F2937;

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-focus: #F5AF19;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.03);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

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

/* ================= RESET & BASE ================= */
*, *::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-primary);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

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

/* ================= CONTAINER & SECTION LAYOUT ================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-green);
  background-color: var(--primary-green-light);
  border: 1px solid var(--primary-green-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.975rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(30, 36, 43, 0.15);
}

.btn-primary:hover {
  background-color: #0d1218;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 36, 43, 0.25);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-primary);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ================= BADGES & PILLS ================= */
.badge-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.tag-yellow {
  background-color: var(--primary-yellow-light);
  color: #B57400;
  border: 1px solid var(--primary-yellow-border);
}

.tag-green {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border: 1px solid var(--primary-green-border);
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-yellow), var(--primary-green));
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background-color: #FFFFFF;
  border-color: var(--primary-yellow);
  box-shadow: var(--shadow-sm);
}

.lang-icon {
  stroke: var(--primary-green);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-drawer {
  display: none;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 70px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 50%, #F4F7FA 100%);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(245, 175, 25, 0.09) 0%, rgba(63, 164, 73, 0.05) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-yellow);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badges-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Hero Visual & Image Card */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Floating Stat Badges */
.floating-stat-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.top-stat {
  top: -24px;
  right: -16px;
}

.bottom-stat {
  bottom: -24px;
  left: -16px;
}

.badge-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-sun {
  background-color: var(--primary-yellow-light);
}

.icon-grid {
  background-color: var(--primary-green-light);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.animate-float {
  animation: floatUpDown 4.5s ease-in-out infinite;
}

.animate-float-delay {
  animation: floatUpDown 5s ease-in-out infinite 2s;
}

/* Hero Metrics Strip */
.hero-metrics-strip {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  position: relative;
}

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

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric-unit {
  font-size: 1.2rem;
  color: var(--primary-green);
  font-weight: 700;
}

.metric-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.metric-sub {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 48px;
  background-color: var(--border-light);
  justify-self: center;
  display: none;
}

/* ================= DESPRE NOI / VIZIUNE ================= */
.about-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.about-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-base);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
  background-color: #FFFFFF;
}

.about-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.about-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.vision-quote-box {
  background: linear-gradient(135deg, #1E242B 0%, #161B21 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.quote-symbol {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-yellow);
  opacity: 0.6;
  position: absolute;
  top: 20px;
  left: 36px;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  color: #F8FAFC;
}

.quote-author {
  font-size: 0.9rem;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.quote-author strong {
  color: #FFFFFF;
}

/* ================= INFORMAȚII CORPORATIVE ================= */
.corporate-info-banner {
  margin-top: 36px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.corporate-info-banner:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.corp-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.corp-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.corp-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.corp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.corp-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.corp-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.corp-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .corp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .corporate-info-banner {
    padding: 24px 20px;
  }
  .corp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ================= SOLUȚII & SERVICII ================= */
.services-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

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

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 1px;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-features li::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ================= PARCURI FOTOVOLTAICE ================= */
.permits-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.project-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.project-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.status-approved {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border: 1px solid var(--primary-green-border);
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 4px;
}

.project-loc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.project-power-pill {
  background-color: var(--primary-yellow-light);
  border: 1px solid var(--primary-yellow-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  text-align: center;
  flex-shrink: 0;
}

.power-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #B57400;
  line-height: 1;
}

.power-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: #B57400;
}

.project-specs-list {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.project-footer-highlight {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-info-box {
  display: flex;
  gap: 12px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.hi-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.hi-text {
  font-size: 0.825rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hi-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

/* ================= AVANTAJELE SOLPARK ================= */
.advantages-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
}

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

.adv-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.adv-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-yellow);
  box-shadow: var(--shadow-lg);
}

.adv-badge-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--border-light);
}

.adv-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.adv-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.adv-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================= FORMULAR DE CONTACT ================= */
.contact-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.contact-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-info-col {
  background: linear-gradient(180deg, #1E242B 0%, #161A20 100%);
  color: #FFFFFF;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 14px;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.contact-lead {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-label {
  display: block;
  font-size: 0.775rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

a.c-val:hover {
  color: var(--primary-yellow);
}

.highlight-green {
  color: #4ADE80;
}

.contact-trust-pill {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(63, 164, 73, 0.15);
  border: 1px solid rgba(63, 164, 73, 0.35);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: #86EFAC;
}

/* Form Styling */
.contact-form-col {
  padding: 56px 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(245, 175, 25, 0.2);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: #EF4444;
  font-weight: 500;
}

.form-group.has-error .form-error {
  display: block;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary-green);
  cursor: pointer;
}

.checkbox-group label {
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.form-success-banner {
  background-color: var(--primary-green-light);
  border: 1px solid var(--primary-green-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.form-success-banner h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #14532D;
  margin-bottom: 4px;
}

.form-success-banner p {
  font-size: 0.875rem;
  color: #166534;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #111827;
  color: #9CA3AF;
  font-size: 0.9rem;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid #1F2937;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  padding-right: 20px;
}

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

.footer-logo img {
  filter: brightness(0) invert(1);
}

.footer-bio {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 20px;
}

.footer-contact-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
}

.footer-contact-quick a:hover {
  color: var(--primary-yellow);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.825rem;
}

.footer-copy strong {
  color: #FFFFFF;
}

.footer-energy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ADE80;
  font-weight: 600;
}

/* ================= MODAL LEGAL ================= */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.legal-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-dialog {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform var(--transition-base);
}

.legal-modal-backdrop.open .legal-modal-dialog {
  transform: scale(1);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  background-color: #FAFBFD;
}

.doc-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.doc-modal-close:hover {
  background-color: #E2E8F0;
  color: var(--text-primary);
}

.legal-modal-body {
  padding: 28px;
  overflow-y: auto;
  max-height: 60vh;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-modal-body h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 28px;
  border-top: 1px solid var(--border-light);
  background-color: #FAFBFD;
}

/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--text-primary);
  color: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-base);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-yellow);
  color: var(--text-primary);
  transform: translateY(-4px);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

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

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .land-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-title {
    font-size: 2.05rem;
  }

  .nav-menu {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Drawer */
  .mobile-drawer {
    display: block;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .mobile-drawer.open {
    max-height: 480px;
  }

  .mobile-nav {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-drawer-footer {
    padding-top: 12px;
  }

  .hero-photo {
    height: 340px;
  }

  .floating-stat-badge {
    position: static;
    margin-top: 14px;
  }

  .contact-info-col, .contact-form-col {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

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

  .hero-metrics-strip {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
