/* ============================================================
   ENERGONIX TECH SOLUTIONS — Main Stylesheet
   Modern, professional solar energy company website
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --primary: #0a5eb8;
  --primary-dark: #083d7a;
  --primary-light: #1a7ae8;
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #34d399;
  --orange: #f59e0b;
  --orange-dark: #d97706;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
}

.section__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 2px;
  background: var(--primary);
}

.section__label--light {
  color: var(--accent-light);
}

.section__label--light::before {
  background: var(--accent-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.section__header--light .section__title {
  color: var(--white);
}

.section__desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.text--accent {
  color: var(--primary);
}

.text--accent-light {
  color: var(--accent-light);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.btn--nav:hover {
  background: var(--primary-dark);
}

.btn--lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition);
}

.navbar--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar--scrolled .navbar__links a {
  color: var(--gray-800);
}

.navbar--scrolled .navbar__toggle span {
  background: var(--gray-800);
}

/* Logo swap: white visible by default, blue on scroll */
.navbar--scrolled .navbar__logo-white {
  display: none;
}

.navbar--scrolled .navbar__logo-blue {
  display: block;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.navbar__logo-img {
  height: 150px;
  width: auto;
  transition: all var(--transition);
}

.navbar--scrolled .navbar__logo-img {
  height: 80px;
}

.navbar__logo-white {
  display: block;
}

.navbar__logo-blue {
  display: none;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar--scrolled .navbar__links a:hover {
  color: var(--primary);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 10;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition);
  }

  .navbar__links.active {
    right: 0;
  }

  .navbar__links li {
    width: 100%;
  }

  .navbar__links a {
    display: block;
    padding: 0.875rem 0;
    color: var(--gray-800) !important;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .navbar__links .btn--nav {
    margin-top: 1rem;
    text-align: center;
    border-bottom: none;
    color: var(--white) !important;
  }

  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .navbar__logo-img {
    height: 90px;
  }

  .navbar--scrolled .navbar__logo-img {
    height: 56px;
  }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 47, 94, 0.88) 0%,
    rgba(10, 94, 184, 0.75) 50%,
    rgba(16, 185, 129, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 0 4rem;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--accent-light), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
}

.hero__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.hero__stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.2);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero__scroll a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.hero__scroll a:hover {
  color: var(--white);
}

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

/* === ABOUT === */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__images {
  position: relative;
}

.about__img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 4px solid var(--white);
}

.about__img-secondary img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__experience-badge {
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__experience-years {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.about__experience-text {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  margin-top: 4px;
  opacity: 0.85;
}

.about__content .section__label {
  margin-bottom: 0.5rem;
}

.about__text {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.about__features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 94, 184, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
}

.about__feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
}

.about__feature p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.125rem;
}

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

  .about__img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 1rem;
    border: none;
  }
}

/* === SERVICES === */
.services {
  background: var(--gray-50);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card--featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(10, 94, 184, 0.02), rgba(16, 185, 129, 0.02));
}

.service-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(10, 94, 184, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__list li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-left: 1.25rem;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

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

/* === BENEFITS === */
.benefits {
  position: relative;
  overflow: hidden;
}

.benefits__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.benefits__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 47, 94, 0.94) 0%,
    rgba(10, 60, 120, 0.92) 50%,
    rgba(8, 47, 94, 0.95) 100%
  );
}

.benefits > .container {
  position: relative;
  z-index: 1;
}

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

.benefit-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.benefit-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(52, 211, 153, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.benefit-card__text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

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

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

/* === PROJECTS === */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.project-card--wide {
  grid-column: span 2;
}

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

.project-card:hover img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.1) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  width: fit-content;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}

.project-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .projects__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .project-card--wide {
    grid-column: span 1;
  }

  .project-card__overlay {
    opacity: 1;
  }
}

/* === PROCESS === */
.process {
  background: var(--gray-50);
}

.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.process__step {
  display: flex;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__step-number {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid var(--primary);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.process__step:hover .process__step-number {
  background: var(--primary);
  color: var(--white);
}

.process__step-content {
  padding-top: 0.75rem;
}

.process__step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.process__step-content p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .process__timeline::before {
    left: 1.5rem;
  }

  .process__step {
    gap: 1.25rem;
  }

  .process__step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }
}

/* === VISION === */
.vision__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vision__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all var(--transition);
}

.vision__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.vision__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 94, 184, 0.08);
  color: var(--primary);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.vision__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.vision__card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
}

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

/* === CTA === */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.9) 0%,
    rgba(10, 94, 184, 0.9) 100%
  );
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === CONTACT === */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-top: 1.25rem;
}

.contact__details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 94, 184, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
}

.contact__detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.125rem;
}

.contact__detail a,
.contact__detail span {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.contact__detail a:hover {
  color: var(--primary);
}

/* Form */
.contact__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.contact__form {
  padding: 2.5rem;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  transition: all var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 94, 184, 0.1);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-400);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

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

/* === FOOTER === */
.footer {
  background: var(--gray-950);
  color: var(--gray-400);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 56px;
  width: auto;
}

.footer__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer__col li {
  margin-bottom: 0.625rem;
}

.footer__col a,
.footer__col span {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

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

  .footer__brand {
    grid-column: span 2;
  }
}

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

  .footer__brand {
    grid-column: span 1;
  }
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* === WHATSAPP FLOATING WIDGET === */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.whatsapp-float__btn {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  position: relative;
}

.whatsapp-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__icon-close {
  display: none;
}

.whatsapp-float.active .whatsapp-float__icon-wa {
  display: none;
}

.whatsapp-float.active .whatsapp-float__icon-close {
  display: block;
}

.whatsapp-float__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 1.25rem;
  height: 1.25rem;
  background: #ff3b30;
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  animation: badgePulse 2s infinite;
}

.whatsapp-float.active .whatsapp-float__badge {
  display: none;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Popup */
.whatsapp-float__popup {
  width: 340px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
}

.whatsapp-float.active .whatsapp-float__popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-float__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #075e54;
  color: var(--white);
}

.whatsapp-float__avatar {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float__header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
}

.whatsapp-float__header span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.whatsapp-float__close {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}

.whatsapp-float__close:hover {
  color: var(--white);
}

.whatsapp-float__body {
  padding: 1.25rem;
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4ccc4' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.whatsapp-float__message {
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 0.875rem 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  position: relative;
}

.whatsapp-float__message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid var(--white);
  border-left: 6px solid transparent;
}

.whatsapp-float__message p {
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.whatsapp-float__message p:last-of-type {
  margin-bottom: 0.375rem;
}

.whatsapp-float__time {
  font-size: 0.6875rem;
  color: var(--gray-400);
  float: right;
}

.whatsapp-float__send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}

.whatsapp-float__send:hover {
  background: #1da851;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float__popup {
    width: calc(100vw - 2rem);
    max-height: 60vh;
    overflow-y: auto;
  }

  .whatsapp-float__btn {
    width: 3.25rem;
    height: 3.25rem;
  }

  .whatsapp-float__message p {
    font-size: 0.8125rem;
  }
}

/* === TESTIMONIALS === */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
}

.testimonial-card__quote {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.testimonial-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
}

.testimonial-card__author span {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

/* === VIDEO SHOWCASE === */
.video-showcase {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 47, 94, 0.85) 0%,
    rgba(10, 94, 184, 0.7) 50%,
    rgba(16, 185, 129, 0.6) 100%
  );
}

.video-showcase__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.video-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}

.video-showcase__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* === BEFORE/AFTER SLIDER === */
.ba__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ba__slider {
  text-align: center;
}

.ba__container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  aspect-ratio: 16/10;
}

.ba__img {
  position: absolute;
  inset: 0;
}

.ba__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba__img--before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.ba__label {
  position: absolute;
  top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 5;
}

.ba__label--before {
  left: 1rem;
  background: rgba(0,0,0,0.6);
  color: var(--white);
}

.ba__label--after {
  right: 1rem;
  background: rgba(16, 185, 129, 0.85);
  color: var(--white);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  z-index: 10;
  transform: translateX(-50%);
}

.ba__handle-line {
  position: absolute;
  inset: 0;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba__handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: var(--gray-600);
}

.ba__caption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .ba__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* === SERVICE AREA MAP === */
.service-area__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-area__map {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
}

.jamaica-map-container {
  position: relative;
  width: 100%;
}

.jamaica-map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.jamaica-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-dot {
  fill: #f59e0b;
}

.map-dot--active {
  fill: #f59e0b;
  stroke: #ffffff;
  stroke-width: 2;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.map-dot--primary {
  fill: #ef4444;
  stroke: #ffffff;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.map-dot-pulse {
  fill: #ef4444;
  opacity: 0.2;
  animation: mapPulse 2s ease-in-out infinite;
}

@keyframes mapPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.05; }
}

.service-area__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-area__stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-area__stat-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 94, 184, 0.08);
  color: var(--primary);
  border-radius: var(--radius-lg);
}

.service-area__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.125rem;
}

.service-area__stat p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

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

/* === COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1900;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.cookie-banner__content a {
  color: var(--primary);
  font-weight: 500;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__accept {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.cookie-banner__decline {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  border-color: var(--gray-300);
  color: var(--gray-500);
}

@media (max-width: 640px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }
}

/* === SOLAR SAVINGS CALCULATOR === */
.calculator {
  background: var(--gray-50);
}

.calc__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calc__input-side {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--gray-200);
}

.calc__field {
  margin-bottom: 1.75rem;
}

.calc__field:last-of-type {
  margin-bottom: 0;
}

.calc__field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.calc__input-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.calc__input-group:focus-within {
  border-color: var(--primary);
}

.calc__currency {
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
}

.calc__input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.calc__slider {
  width: 100%;
  margin-top: 1rem;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-200);
  outline: none;
}

.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(10, 94, 184, 0.3);
  transition: transform var(--transition);
}

.calc__slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

.calc__range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.calc__radio-group {
  display: flex;
  gap: 0.5rem;
}

.calc__radio {
  flex: 1;
  cursor: pointer;
}

.calc__radio input {
  display: none;
}

.calc__radio span {
  display: block;
  text-align: center;
  padding: 0.625rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: all var(--transition);
}

.calc__radio input:checked + span {
  border-color: var(--primary);
  background: rgba(10, 94, 184, 0.06);
  color: var(--primary);
}

.calc__radio:hover span {
  border-color: var(--gray-300);
}

.calc__disclaimer {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.calc__disclaimer svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Calculator results */
.calc__results-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc__result-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition);
}

.calc__result-card:hover {
  box-shadow: var(--shadow-md);
}

.calc__result-card--highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  color: var(--white);
}

.calc__result-card--highlight .calc__result-label {
  color: rgba(255,255,255,0.7);
}

.calc__result-card--highlight .calc__result-value {
  color: var(--white);
}

.calc__result-icon {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.calc__result-card--highlight .calc__result-icon {
  color: rgba(255,255,255,0.8);
}

.calc__result-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc__result-value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 0.125rem;
}

.calc__result-card--highlight .calc__result-value {
  font-size: 1.75rem;
}

.calc__cta {
  grid-column: span 2;
  margin-top: 0.5rem;
}

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

  .calc__results-side {
    grid-template-columns: 1fr 1fr;
  }

  .calc__input-side {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .calc__radio-group {
    flex-direction: column;
  }
}

/* === FAQ === */
.faq {
  background: var(--gray-50);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.faq__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item.active {
  border-color: var(--primary);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: color var(--transition);
}

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

.faq__question svg {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--transition);
}

.faq__item.active .faq__question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

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

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1400;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition);
}

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

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 5rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* === ANIMATIONS === */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* === GLOBAL MOBILE RESPONSIVE === */
@media (max-width: 480px) {
  .navbar__logo-img {
    height: 70px;
  }

  .navbar--scrolled .navbar__logo-img {
    height: 48px;
  }

  .navbar__toggle {
    padding: 6px;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero__content {
    padding: 7rem 0 3rem;
  }

  .hero__badge {
    font-size: 0.6875rem;
    padding: 0.375rem 1rem;
  }

  .hero__subtitle {
    font-size: 0.9375rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2.5rem;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__stats {
    gap: 1.25rem;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

  .hero__stat-suffix {
    font-size: 1.125rem;
  }

  .hero__stat-divider {
    height: 2rem;
  }

  .hero__scroll {
    bottom: 1rem;
  }

  /* Section headers */
  .section__desc {
    font-size: 0.9375rem;
  }

  /* About */
  .about__experience-badge {
    top: -0.5rem;
    left: -0.5rem;
    padding: 1rem;
  }

  /* Services */
  .service-card {
    padding: 1.75rem;
  }

  /* Process */
  .process__step-content h3 {
    font-size: 1.0625rem;
  }

  /* Vision */
  .vision__card {
    padding: 2rem;
  }

  /* CTA */
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta__actions .btn {
    justify-content: center;
  }

  /* Contact */
  .contact__form {
    padding: 1.75rem;
  }

  .contact__form-title {
    font-size: 1.125rem;
  }

  /* Footer */
  .footer__logo-img {
    height: 48px;
  }
}

@media (max-width: 360px) {
  .navbar__logo-img {
    height: 56px;
  }

  .navbar--scrolled .navbar__logo-img {
    height: 40px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero__stat-divider {
    width: 2.5rem;
    height: 1px;
  }
}

/* === PRINT === */
@media print {
  .navbar, .hero__scroll, .lightbox {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
  }
}
