/* ==========================================
   CEDOKA GLOBAL — Design System
   Pure vanilla CSS. No framework dependency.
   Mobile-first. Human design.
   ========================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand colors */
  --color-primary: #0F1F3D;
  --color-accent: #E8A020;
  --color-cta: #0D7377;

  /* Neutrals */
  --color-text: #1A1A2E;
  --color-muted: #4A5568;
  --color-light: #6B7280;
  --color-border: #E2E8F0;
  --color-surface: #F8FAFC;
  --color-bg: #ffffff;

  /* Accent variants */
  --color-accent-hover: #d4941c;
  --color-cta-hover: #095E61;
  --color-accent-soft: rgba(232, 160, 32, 0.1);
  --color-cta-soft: rgba(13, 115, 119, 0.08);

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

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6rem;

  /* Layout */
  --container: 1200px;
  --container-sm: 720px;
  --container-lg: 1400px;
  --gutter: 1.25rem;
  --nav-height: 4rem;
  --section-py: 4rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.3s;
}

@media (min-width: 640px) {
  :root {
    --nav-height: 4.5rem;
    --section-py: 5rem;
    --gutter: 1.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --nav-height: 5rem;
    --section-py: 6rem;
    --gutter: 2rem;
  }
}


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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

img, svg, video, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

ul, ol {
  list-style: none;
}

main {
  display: block;
}

input, select, textarea {
  font: inherit;
}


/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--sm {
  max-width: var(--container-sm);
}

.container--lg {
  max-width: var(--container-lg);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section--surface {
  background: var(--color-surface);
}

.section--dark {
  background: var(--color-primary);
  color: #ffffff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
}


/* ---------- GRID ---------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid > * {
  min-width: 0;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

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

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

@media (min-width: 1024px) {
  .grid { gap: var(--space-xl); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Split layout: content + visual, side by side */
.split {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.split > * {
  min-width: 0;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.split--reverse .split__visual {
  order: -1;
}

.contact-layout {
  align-items: start;
}

.contact-layout > .reveal {
  padding-top: 0;
}

@media (max-width: 767px) {
  .split--reverse .split__visual {
    order: 0;
  }

  .contact-layout > .reveal {
    padding-top: 0;
  }
}


/* ---------- TYPOGRAPHY ---------- */
.heading-xl {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-lg {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.heading-md {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: 1.125rem;
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.8125rem;
}

.text-muted {
  color: var(--color-muted);
}

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

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

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

.text-balance {
  text-wrap: balance;
}

.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.max-w-prose {
  max-width: 38rem;
}

.max-w-narrow {
  max-width: 32rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}


/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--duration) ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 14px rgba(232, 160, 32, 0.25);
}

.btn--cta {
  background: var(--color-cta);
  color: #ffffff;
}

.btn--cta:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 4px 14px rgba(13, 115, 119, 0.25);
}

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

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn--outline-light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

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

.btn--full {
  width: 100%;
}

@media (min-width: 480px) {
  .btn--full-mobile {
    width: auto;
  }
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .btn-group {
    flex-direction: row;
    gap: var(--space-md);
  }
}


/* ---------- NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 31, 61, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--duration) ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

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

.site-logo__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.site-logo__text span {
  color: var(--color-accent);
}

.logo-reg,
.reg-symbol {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  font-weight: 700;
  display: inline-block;
  color: var(--color-accent);
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link--active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

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

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.25rem 0.4rem;
  margin: -0.25rem -0.4rem;
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.nav-dropdown__trigger:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown__chevron {
  font-size: 1.125rem;
  transition: transform 0.25s ease;
  line-height: 1;
}

.nav-dropdown.open .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 17rem;
  max-height: 80vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

.nav-dropdown.open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown__group-label {
  padding: 0.6rem 0.75rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-light);
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__link:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

.nav-dropdown__link--active {
  color: var(--color-accent);
  font-weight: 700;
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn .material-symbols-outlined {
  font-size: 1.75rem;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__inner {
  padding: var(--space-lg) var(--gutter) var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu__link {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--color-accent);
}

.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.mobile-menu__submenu {
  display: none;
  padding-left: var(--space-md);
  padding-bottom: var(--space-md);
}

.mobile-menu__submenu.is-open {
  display: block;
}

.mobile-menu__submenu-group {
  padding-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.mobile-menu__submenu-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  padding: var(--space-xs) 0;
}

.mobile-menu__sublink {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-menu__sublink:hover {
  color: var(--color-accent);
}

.mobile-menu__cta {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}


/* ---------- HERO ---------- */
.hero {
  background: var(--color-primary);
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  min-height: 0;
}

@media (min-width: 640px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-4xl));
    padding-bottom: var(--space-4xl);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-5xl));
    padding-bottom: var(--space-5xl);
  }
}

.hero__content {
  max-width: 48rem;
}

.hero__title {
  font-size: clamp(1.875rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
  }
}


/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: var(--color-primary);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .page-hero {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }
}

.page-hero__title {
  font-size: clamp(1.625rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.page-hero__desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 32rem;
  line-height: 1.6;
}


/* ---------- DIVISIONS (homepage) ---------- */
.division {
  display: block;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.division:hover {
  border-color: rgba(232, 160, 32, 0.3);
  box-shadow: var(--shadow-md);
}

.division__number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.division__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.division__desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.division__services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.division__tag {
  font-size: 0.8125rem;
  color: var(--color-light);
  background: var(--color-surface);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

.division__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-cta);
  transition: gap 0.2s ease;
}

.division:hover .division__arrow {
  gap: 0.625rem;
}


/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  counter-reset: step;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.process-step {
  counter-increment: step;
  padding: var(--space-lg) 0;
  border-top: 2px solid var(--color-border);
}

.process-step__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.process-step__number::before {
  content: counter(step, decimal-leading-zero) " — ";
}

.process-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.process-step__desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}


/* ---------- PROJECT CARD (portfolio) ---------- */
.project {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow var(--duration) ease;
}

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

.project__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-surface);
}

.project__body {
  padding: var(--space-lg);
}

.project__industry {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cta);
  margin-bottom: var(--space-sm);
}

.project__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.project__desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}


/* ---------- SECTION HEADERS ---------- */
.section-header {
  margin-bottom: var(--space-2xl);
  width: 100%;
}

@media (min-width: 640px) {
  .section-header {
    margin-bottom: var(--space-3xl);
  }
}

.section-header.text-center,
.section-header--center {
  text-align: center;
}

.section-header.text-center .section-header__desc,
.section-header.text-center p,
.section-header--center .section-header__desc,
.section-header--center p,
.text-center .section-header__desc,
.text-center p.section-header__desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header__desc {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 38rem;
  margin-top: var(--space-xs);
}


/* ---------- MAP EMBED ---------- */
.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-lg);
}

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


/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-3xl);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 20rem;
}

.footer-heading {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item .material-symbols-outlined {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-contact-item strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(232, 160, 32, 0.15);
  color: var(--color-accent);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}


/* ---------- WHATSAPP FLOAT ---------- */
#whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

#whatsapp-float svg {
  width: 1.625rem;
  height: 1.625rem;
}


/* ---------- FORMS ---------- */
.form-field {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px var(--color-cta-soft);
}

.form-textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-light);
}


/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  cursor: pointer;
}

.faq-question__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.faq-question__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer__inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}


/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.15s; }
.reveal-delay-3 { transition-delay: 0.2s; }
.reveal-delay-4 { transition-delay: 0.25s; }


/* ---------- UTILITIES ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pt-0 { padding-top: 0 !important; }


/* ---------- CONTENT BLOCKS ---------- */
.content-block p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block strong {
  color: var(--color-primary);
  font-weight: 600;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  color: var(--color-cta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.0625rem;
}

/* Inline list with separators */
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}


/* ---------- CTA BANNER ---------- */
.cta-banner {
  text-align: center;
  padding: var(--space-3xl) var(--gutter);
}

.cta-banner__title {
  font-size: clamp(1.375rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-banner__desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.0625rem;
  max-width: 30rem;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.section--dark .cta-banner__title {
  color: #ffffff;
}


/* ---------- SERVICE PAGE DETAILS ---------- */
.service-what-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .service-what-list {
    grid-template-columns: 1fr 1fr;
  }
}

.service-what-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.service-what-item .material-symbols-outlined {
  color: var(--color-cta);
  font-size: 1.125rem;
  flex-shrink: 0;
}


/* ---------- ENERGY / PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  overflow: hidden;
  transition: box-shadow var(--duration) ease;
}

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

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--color-surface);
  padding: var(--space-lg);
}

.product-card__body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.product-card__spec {
  font-size: 0.8125rem;
  color: var(--color-light);
  margin-bottom: var(--space-md);
}

.product-card__actions {
  display: flex;
  gap: var(--space-sm);
}


/* ---------- BLOG ---------- */
.blog-prose {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.blog-prose h2 {
  color: var(--color-primary);
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.blog-prose h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.blog-prose p {
  margin: 0 0 1.25rem;
}

.blog-prose h1 {
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.blog-prose strong,
.blog-prose b {
  color: var(--color-primary);
  font-weight: 700;
}

.blog-prose em,
.blog-prose i {
  font-style: italic;
}

.blog-prose u {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-prose ul,
.blog-prose ol {
  margin: 0 0 1.25rem 1.25rem;
  list-style: disc;
}

.blog-prose li {
  padding-left: 0.35rem;
  margin-bottom: 0.5rem;
}

.blog-prose a {
  color: var(--color-cta);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(13, 115, 119, 0.3);
  text-underline-offset: 0.2em;
}

.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.blog-share__label {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.blog-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.blog-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: var(--space-lg) auto;
  border-radius: var(--radius-md);
}

@media (max-width: 639px) {
  .blog-prose { font-size: 1rem; }
  .blog-prose h1 { font-size: 1.65rem; }
  .blog-prose h2 { font-size: 1.5rem; }
  .blog-share__links { width: 100%; }
}


/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}


/* ---------- SAFE AREA (iOS) ---------- */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .mobile-menu {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
}


/* ---------- INTERACTIVE BLOG SEARCH & FILTERS ---------- */
.blog-search-box {
  max-width: 32rem;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 0.9375rem 1.25rem 0.9375rem 2.875rem;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px var(--color-cta-soft);
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-light);
  font-size: 1.25rem;
  pointer-events: none;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.filter-pill {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}


/* ---------- SOLAR CALCULATOR WIDGET ---------- */
.solar-calculator {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-2xl);
}

.solar-calc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .solar-calc__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
  }
}

.solar-calc__appliance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-surface);
}

.solar-calc__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solar-calc__btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.solar-calc__btn:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

.solar-calc__result {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* ---------- PRINT ---------- */
@media print {
  .site-header,
  .site-footer,
  #whatsapp-float,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
