﻿/* ═══════════════════════════════════════════════════════════
   NETGUAY CREATIONS — styles.css
   Paleta: #2C6791 (primary) · #4EC3BA (secondary) · #fff
   ═══════════════════════════════════════════════════════════ */

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --primary:        #2C6791;
  --primary-dark:   #1f4e6e;
  --secondary:      #4EC3BA;
  --secondary-dark: #38a89f;
  --dark:           #0d1b2a;
  --gray:           #5a6a7a;
  --light-gray:     #f2f6fa;
  --border:         #dce7f0;
  --white:          #ffffff;
  --shadow-sm:      0 1px 4px rgba(44, 103, 145, 0.08);
  --shadow-md:      0 4px 18px rgba(44, 103, 145, 0.13);
  --shadow-lg:      0 8px 36px rgba(44, 103, 145, 0.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --navbar-h:       70px;
  --transition:     0.25s ease;
  --font:           'Inter', system-ui, sans-serif;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: var(--font);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ─── Utilities ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (max-width: 400px) {
  .container {
    padding-inline: 1rem;
  }
}

.section {
  padding-block: 5.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--secondary-dark);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background-color: var(--dark);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  height: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar__logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.navbar__logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #4EC3AD;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.navbar__nav a {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition), font-weight var(--transition),
    text-decoration var(--transition);
  position: relative;
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background-color: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.navbar__nav a:hover::after,
.navbar__nav a.active::after {
  transform: scaleX(1);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--white);
  font-weight: 700;
}

/* Hamburger */
/* ── Language Switcher ──────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.lang-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  user-select: none;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 4px;
  cursor: pointer;
  transition: color var(--transition);
  border-radius: var(--radius-sm);
}
.lang-btn:hover {
  color: var(--white);
}
.lang-btn--active {
  color: var(--secondary);
}

/* Light mode overrides */
[data-theme="light"] .lang-divider {
  color: rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .lang-btn {
  color: rgba(13, 27, 42, 0.5);
}
[data-theme="light"] .lang-btn:hover {
  color: var(--dark);
}
[data-theme="light"] .lang-btn--active {
  color: var(--primary);
}

/* ─────────────────────────────────────── */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 5px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.navbar__hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
@media (max-width: 768px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__nav {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--dark);
    padding: 1.25rem 1.5rem 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .navbar__nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar__nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .navbar__nav a:last-child {
    border-bottom: none;
  }

  .navbar__nav a::after {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   HOME
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.home__hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.82) 0%,
    rgba(44, 103, 145, 0.55) 100%
  );
  z-index: 1;
}

.home__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-inline: 1.5rem;
  padding-block: 8rem 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.home__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(78, 195, 186, 0.12);
  border: 1px solid rgba(78, 195, 186, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
}

.home__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
}

.home__slogan {
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
  margin: 0;
}

.home__desc {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 620px;
  margin: 0;
}

.home__cta {
  margin-top: 0.5rem;
}

/* Scroll indicator */
.home__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.home__scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  position: relative;
}

.home__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

/* ── Services Preview ──────────────────────────────────────── */
.home__services {
  background-color: var(--dark);
  padding-block: 5rem;
  position: relative;
  border-top: 1px solid rgba(78, 195, 186, 0.15);
}

.home__services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 195, 186, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 195, 186, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.home__services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.home__scard {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  background: rgba(255, 255, 255, 0.04);
  transition: box-shadow var(--transition), transform var(--transition);
}

.home__scard:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.home__scard-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(78, 195, 186, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home__scard-body {
  flex: 1;
}

.home__scard-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.home__scard-body p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.home__scard-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: auto;
  white-space: normal;
  transition: gap var(--transition), color var(--transition);
}

.home__scard-link::after {
  content: '->';
  flex-shrink: 0;
  transition: transform var(--transition);
}

.home__scard:hover .home__scard-link {
  color: var(--secondary-dark);
}

.home__scard:hover .home__scard-link::after {
  transform: translateX(4px);
}

.home__scard-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.home__scard-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.home__scard-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
  flex-shrink: 0;
}

/* ── Portfolio Strip ───────────────────────────────────────── */
.home__portfolio-strip {
  background: #0a1520;
  padding-block: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home__strip-header {
  text-align: center;
  margin-bottom: 3rem;
}

.home__strip-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.home__strip-header p {
  font-size: 1.0125rem;
  color: rgba(255, 255, 255, 0.7);
}

.home__strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.home__strip-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border);
}

.home__strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home__strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.85) 0%,
    rgba(13, 27, 42, 0.1) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.home__strip-overlay span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.home__strip-item:hover img {
  transform: scale(1.04);
}

.home__strip-item:hover .home__strip-overlay {
  opacity: 1;
}

.home__strip-cta {
  text-align: center;
}

.home__portfolio-strip .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.home__portfolio-strip .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  box-shadow: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .home__services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home__strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home__strip-grid .home__strip-item:last-child {
    grid-column: 1 / -1;
  }

  /* Always show overlay on touch devices */
  .home__strip-overlay {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .home__content {
    padding-block: 7rem 5rem;
  }

  .home__desc br {
    display: none;
  }

  .home__strip-grid {
    grid-template-columns: 1fr;
  }

  .home__strip-grid .home__strip-item:last-child {
    grid-column: auto;
  }
}

@media (max-width: 580px) {
  .home__services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .home__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services {
  background-color: var(--dark);
  padding-block: 6.5rem;
  position: relative;
  overflow: visible;
}

/* Subtle background grid pattern */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 195, 186, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 195, 186, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Header ───────────────────────────────────────────────── */
.services__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.services__eyebrow {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.services__header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.services__header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── Grid ─────────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
  align-items: stretch;
}

/* ── Card base ────────────────────────────────────────────── */
.srv-card {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.25rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 195, 186, 0.3);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition);
  overflow: visible;
}

.srv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.srv-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(78, 195, 186, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.srv-card:hover::before {
  opacity: 1;
}

/* ── Card — Featured ──────────────────────────────────────── */
.srv-card--featured {
  border-color: rgba(78, 195, 186, 0.3);
}

.srv-card--featured::before {
  background: linear-gradient(90deg, var(--secondary), #8de8e3);
}

.srv-card--featured:hover {
  border-color: rgba(78, 195, 186, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(44, 103, 145, 0.55);
}

/* ── Card top row ─────────────────────────────────────────── */
.srv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.srv-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.2);
  font-variant-numeric: tabular-nums;
  padding-top: 0.25rem;
}

.srv-card--featured .srv-card__num {
  color: rgba(255, 255, 255, 0.35);
}

.srv-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.srv-card:hover .srv-card__icon {
  background: #4EC3AD;
  border-color: #4EC3AD;
  color: var(--dark);
}

.srv-card--featured .srv-card__icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.srv-card--featured:hover .srv-card__icon {
  background: #4EC3AD;
  border-color: #4EC3AD;
  color: var(--dark);
}

/* ── "Más solicitado" pill ────────────────────────────────── */
.srv-card__pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--secondary);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-top: -0.25rem;
}

/* ── Title ────────────────────────────────────────────────── */
.srv-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* ── Description ──────────────────────────────────────────── */
.srv-card__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.srv-card--featured .srv-card__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Feature list ─────────────────────────────────────────── */
.srv-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  margin-top: 0.25rem;
}

.srv-card__features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.srv-card__features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  flex-shrink: 0;
}

.srv-card--featured .srv-card__features li {
  color: rgba(255, 255, 255, 0.88);
}

.srv-card--featured .srv-card__features li::before {
  background-color: #8de8e3;
}

/* ── Footer (badge + CTA) ─────────────────────────────────── */
.srv-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.srv-card--featured .srv-card__footer {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.srv-card__badge {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary);
  white-space: normal;
  overflow-wrap: anywhere;
}

.srv-card--featured .srv-card__badge {
  color: rgba(255, 255, 255, 0.7);
}

/* btn--white only inside featured card */
.srv-card--featured .btn--white {
  background-color: var(--white);
  color: var(--primary);
  border: none;
  align-self: flex-start;
}

.srv-card--featured .btn--white:hover {
  background-color: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(78, 195, 186, 0.35);
}

/* btn--outline inside dark cards needs white styling */
.srv-card .btn--outline {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  align-self: flex-start;
}

.srv-card .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  box-shadow: none;
}

.srv-card .btn,
.srv-card--featured .btn--white {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.srv-card .btn--primary {
  align-self: flex-start;
}

/* ── Bottom CTA strip ─────────────────────────────────────── */
.services__cta-strip {
  margin-top: 4rem;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.services__cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.services__cta-text strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.services__cta-text span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .srv-card--featured {
    grid-column: 1 / -1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .srv-card--featured {
    grid-column: auto;
    flex-direction: column;
    transform: none;
  }

  .srv-card--featured .srv-card__footer {
    flex-direction: column;
  }

  .services__cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.5rem;
  }

  .services__cta-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about {
  background-color: var(--dark);
  padding-block: 6.5rem;
  position: relative;
  overflow: visible;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 195, 186, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 195, 186, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Intro ────────────────────────────────────────────────── */
.about__intro {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 4rem;
}

.about__eyebrow {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.about__intro h2 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about__accent {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.about__accent::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 2px;
}

.about__intro > p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  max-width: 620px;
}
/* About CTA button */
.about__cta-btn {
  align-self: flex-start;
  background-color: var(--primary);
  color: var(--white);
  gap: 0.6rem;
}

.about__cta-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

/* ── Stats strip ──────────────────────────────────────────── */
.about__stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 5rem;
  padding: 2.25rem 2.75rem;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.about__stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.4;
}

.about__stat-divider {
  width: 1px;
  height: 52px;
  background: var(--border);
  flex-shrink: 0;
  margin-inline: 1rem;
}

/* ── Pillars ──────────────────────────────────────────────── */
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.about__pillar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), border-color var(--transition),
    transform var(--transition);
}

.about__pillar:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(78, 195, 186, 0.25);
  transform: translateY(-4px);
}

.about__pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(78, 195, 186, 0.08);
  border: 1px solid rgba(78, 195, 186, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.about__pillar:hover .about__pillar-icon {
  background: rgba(78, 195, 186, 0.14);
  border-color: rgba(78, 195, 186, 0.35);
}

.about__pillar-icon svg {
  width: 24px;
  height: 24px;
}

.about__pillar-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.about__pillar-body p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about__pillars {
    grid-template-columns: 1fr 1fr;
  }

  .about__stats {
    flex-direction: column;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
  }

  .about__stat-divider {
    width: 80px;
    height: 1px;
    margin-inline: 0;
    margin-block: 0;
  }
}

@media (max-width: 600px) {
  .about__pillars {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════ */
.portfolio {
  background-color: var(--dark);
  padding-block: 6.5rem;
  position: relative;
  overflow: hidden;
}

/* Same subtle grid as Services for visual cohesion */
.portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 195, 186, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 195, 186, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Header ───────────────────────────────────────────────── */
.portfolio__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.portfolio__eyebrow {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.portfolio__header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.portfolio__header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── Row: 3 fijos ────────────────────────────────────────── */
.portfolio__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── Item base ────────────────────────────────────────────── */
.pf-item {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  aspect-ratio: 4 / 3;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  text-decoration: none;
}

.pf-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  border-color: rgba(78, 195, 186, 0.3);
}

/* ── Image wrapper ────────────────────────────────────────── */
.pf-item__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pf-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease;
  filter: brightness(0.85) saturate(0.9);
}

.pf-item:hover .pf-item__img-wrap img {
  transform: scale(1.05);
  filter: brightness(0.65) saturate(0.8);
}

/* ── Overlay ──────────────────────────────────────────────── */
.pf-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.92) 0%,
    rgba(13, 27, 42, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pf-item:hover .pf-item__overlay {
  opacity: 1;
}

.pf-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.pf-item:hover .pf-item__info {
  transform: translateY(0);
}

.pf-item__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pf-item__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.pf-item__url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
  transition: color var(--transition);
}

.pf-item:hover .pf-item__url {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Placeholder item ────────────────────────────────────── */
.pf-item--placeholder {
  cursor: default;
  border: 2px dashed rgba(78, 195, 186, 0.2);
  background: rgba(78, 195, 186, 0.03);
}

.pf-item--placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(78, 195, 186, 0.3);
}

.pf-item__placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

.pf-item__placeholder-inner svg {
  width: 36px;
  height: 36px;
}

.pf-item__placeholder-inner span {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Carousel wrap ────────────────────────────────────────── */
.portfolio__carousel-wrap {
  position: relative;
  margin-bottom: 4rem;
  padding-inline: 2.5rem;
}

.portfolio__carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.portfolio__carousel {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.portfolio__carousel .pf-item {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  min-width: 0;
}

/* ── Carousel buttons ─────────────────────────────────────── */
.pf-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), border-color var(--transition);
}

.pf-carousel__btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--dark);
}

.pf-carousel__btn svg {
  width: 20px;
  height: 20px;
}

.pf-carousel__btn--prev { left: 0; }
.pf-carousel__btn--next { right: 0; }

.pf-carousel__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* ── Bottom CTA ───────────────────────────────────────────── */
.portfolio__cta {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.portfolio__cta p {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .portfolio__row {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio__carousel .pf-item {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }

  /* Always show overlay on touch */
  .pf-item__overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(13, 27, 42, 0.88) 0%,
      rgba(13, 27, 42, 0.1) 55%,
      transparent 100%
    );
  }

  .pf-item__info {
    transform: translateY(0);
  }

  .portfolio__carousel-wrap {
    padding-inline: 2rem;
  }
}

@media (max-width: 600px) {
  .portfolio__row {
    grid-template-columns: 1fr;
  }

  .portfolio__carousel .pf-item {
    flex: 0 0 100%;
  }

  .pf-item {
    aspect-ratio: 16 / 9;
  }

  .portfolio__carousel-wrap {
    padding-inline: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact {
  background-color: var(--dark);
  padding-block: 6.5rem;
  position: relative;
  overflow: visible;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 195, 186, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 195, 186, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Header ───────────────────────────────────────────────── */
.contact__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact__eyebrow {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.875rem;
}

.contact__header h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact__header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── Cards grid ───────────────────────────────────────────── */
.contact__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* ── Card base ────────────────────────────────────────────── */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.04);
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition),
    border-color var(--transition);
}

.contact-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

/* ── Icon circle ──────────────────────────────────────────── */
.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

/* ── Labels ───────────────────────────────────────────────── */
.contact-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-card__value {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  word-break: break-word;
}

/* ── Per-channel colors ───────────────────────────────────── */
.contact-card--wpp .contact-card__icon {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
}
.contact-card--wpp:hover {
  border-color: rgba(37, 211, 102, 0.4);
}
.contact-card--wpp:hover .contact-card__icon {
  background-color: rgba(37, 211, 102, 0.2);
}

.contact-card--phone .contact-card__icon {
  background-color: rgba(44, 103, 145, 0.1);
  color: var(--primary);
}
.contact-card--phone:hover {
  border-color: rgba(44, 103, 145, 0.3);
}
.contact-card--phone:hover .contact-card__icon {
  background-color: rgba(44, 103, 145, 0.18);
}

.contact-card--email .contact-card__icon {
  background-color: rgba(234, 67, 53, 0.08);
  color: #EA4335;
}
.contact-card--email:hover {
  border-color: rgba(234, 67, 53, 0.3);
}
.contact-card--email:hover .contact-card__icon {
  background-color: rgba(234, 67, 53, 0.16);
}

.contact-card--instagram .contact-card__icon {
  background-color: rgba(225, 48, 108, 0.08);
  color: #E1306C;
}
.contact-card--instagram:hover {
  border-color: rgba(225, 48, 108, 0.3);
}
.contact-card--instagram:hover .contact-card__icon {
  background-color: rgba(225, 48, 108, 0.16);
}

.contact-card--facebook .contact-card__icon {
  background-color: rgba(24, 119, 242, 0.08);
  color: #1877F2;
}
.contact-card--facebook:hover {
  border-color: rgba(24, 119, 242, 0.3);
}
.contact-card--facebook:hover .contact-card__icon {
  background-color: rgba(24, 119, 242, 0.16);
}

/* ── Hours row ────────────────────────────────────────────── */
.contact__hours-row {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact__hours-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact__hours-title svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact__hours-title h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.contact__schedule {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact__schedule-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 180px;
}

.contact__day {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.contact__time {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact__schedule-item--closed .contact__day,
.contact__schedule-item--closed .contact__time {
  color: #c94a4a;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-card--facebook {
    grid-column: span 3;
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.25rem 2rem;
  }

  .contact-card--facebook .contact-card__label,
  .contact-card--facebook .contact-card__value {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .contact__cards {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card--facebook {
    grid-column: span 2;
  }

  .contact-card--email .contact-card__value {
    font-size: 0.775rem;
  }
}

@media (max-width: 480px) {
  .contact__cards {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-card--facebook {
    grid-column: auto;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1.1rem 1.25rem;
    gap: 1rem;
    text-align: left;
  }

  .contact-card__label,
  .contact-card__value {
    text-align: left;
  }

  .contact__schedule-item {
    min-width: 0;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   FLOATING ACTION BUTTONS
   ═══════════════════════════════════════════════════════════ */
.fab-stack {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 900;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition);
}

.fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Theme toggle */
.fab--theme {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

[data-theme="light"] .fab--theme {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--dark);
}

/* Sun shown in dark mode; moon shown in light mode */
.fab--theme .icon-moon { display: none; }
.fab--theme .icon-sun  { display: block; }
[data-theme="light"] .fab--theme .icon-moon { display: block; }
[data-theme="light"] .fab--theme .icon-sun  { display: none; }

/* WhatsApp */
.fab--wpp {
  background: #25D366;
  color: #fff;
}

.fab--wpp:hover {
  background: #1ebe5d;
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE OVERRIDES  [data-theme="light"]
   ═══════════════════════════════════════════════════════════ */

/* ── Navbar ───────────────────────────────────────────────── */
[data-theme="light"] .navbar.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

[data-theme="light"] .navbar.scrolled .navbar__nav a {
  color: #1C4958;
}

[data-theme="light"] .navbar.scrolled .navbar__nav a:hover,
[data-theme="light"] .navbar.scrolled .navbar__nav a.active {
  color: #0d2e3a;
  font-weight: 700;
}

[data-theme="light"] .navbar.scrolled .navbar__nav a::after {
  background-color: #1C4958;
}

[data-theme="light"] .navbar.scrolled .navbar__hamburger span {
  background-color: #1C4958;
}

[data-theme="light"] .navbar.scrolled .navbar__hamburger:hover {
  background-color: rgba(28, 73, 88, 0.1);
}

/* Inner pages (non-home): always show solid white navbar in light mode */
[data-theme="light"] body:not([data-page="home"]) .navbar {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] body:not([data-page="home"]) .navbar .navbar__nav a {
  color: #1C4958;
}

[data-theme="light"] body:not([data-page="home"]) .navbar .navbar__nav a:hover,
[data-theme="light"] body:not([data-page="home"]) .navbar .navbar__nav a.active {
  color: #0d2e3a;
}

[data-theme="light"] body:not([data-page="home"]) .navbar .navbar__nav a::after {
  background-color: #1C4958;
}

[data-theme="light"] body:not([data-page="home"]) .navbar .navbar__hamburger span {
  background-color: #1C4958;
}

[data-theme="light"] body:not([data-page="home"]) .navbar .navbar__hamburger:hover {
  background-color: rgba(28, 73, 88, 0.1);
}

/* ── Section backgrounds ──────────────────────────────────── */
[data-theme="light"] .services,
[data-theme="light"] .about,
[data-theme="light"] .contact,
[data-theme="light"] .portfolio,
[data-theme="light"] .home__services {
  background-color: var(--white);
  border-top-color: var(--border);
}

[data-theme="light"] .services::before,
[data-theme="light"] .about::before,
[data-theme="light"] .contact::before,
[data-theme="light"] .portfolio::before,
[data-theme="light"] .home__services::before {
  display: none;
}

[data-theme="light"] .home__portfolio-strip {
  background: var(--light-gray);
  border-top-color: var(--border);
}

/* ── Eyebrows ─────────────────────────────────────────────── */
[data-theme="light"] .services__eyebrow,
[data-theme="light"] .about__eyebrow,
[data-theme="light"] .contact__eyebrow,
[data-theme="light"] .portfolio__eyebrow {
  color: var(--primary);
}

/* ── Section headings & paragraphs ───────────────────────── */
[data-theme="light"] .services__header h2,
[data-theme="light"] .about__intro h2,
[data-theme="light"] .contact__header h2,
[data-theme="light"] .portfolio__header h2,
[data-theme="light"] .home__strip-header h2 {
  color: var(--dark);
}

[data-theme="light"] .services__header p,
[data-theme="light"] .about__intro > p,
[data-theme="light"] .contact__header p,
[data-theme="light"] .portfolio__header p,
[data-theme="light"] .home__strip-header p {
  color: var(--gray);
}

/* ── Service cards ────────────────────────────────────────── */
[data-theme="light"] .srv-card {
  background: var(--white);
  border-color: rgba(44, 103, 145, 0.4);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .srv-card:hover {
  background: var(--white);
  border-color: rgba(44, 103, 145, 0.35);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .srv-card--featured {
  border-color: rgba(44, 103, 145, 0.4);
}

[data-theme="light"] .srv-card__num {
  color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .srv-card__icon {
  background: rgba(44, 103, 145, 0.07);
  border-color: rgba(44, 103, 145, 0.12);
  color: var(--primary);
}

[data-theme="light"] .srv-card--featured .srv-card__icon {
  background: rgba(44, 103, 145, 0.07);
  border-color: rgba(44, 103, 145, 0.12);
  color: var(--primary);
}

[data-theme="light"] .srv-card--featured:hover .srv-card__icon {
  background: #4EC3AD;
  border-color: #4EC3AD;
  color: var(--dark);
}

[data-theme="light"] .srv-card h3 {
  color: var(--dark);
}

[data-theme="light"] .srv-card__desc {
  color: var(--gray);
}

[data-theme="light"] .srv-card__features li {
  color: var(--gray);
}

/* Card 3: outline button uses secondary color in light mode */
[data-theme="light"] .srv-card .btn--outline {
  color: var(--secondary-dark);
  border-color: var(--secondary);
}

[data-theme="light"] .srv-card .btn--outline:hover {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* CTA strip */
[data-theme="light"] .services__cta-strip {
  background: var(--light-gray);
  border-color: var(--border);
}

[data-theme="light"] .services__cta-text strong {
  color: var(--dark);
}

[data-theme="light"] .services__cta-text span {
  color: var(--gray);
}

/* ── About pillars ────────────────────────────────────────── */
[data-theme="light"] .about__pillar {
  background: var(--white);
  border-color: var(--border);
}

[data-theme="light"] .about__pillar:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 103, 145, 0.25);
}

[data-theme="light"] .about__pillar-icon {
  background: rgba(44, 103, 145, 0.07);
  border-color: rgba(44, 103, 145, 0.12);
  color: var(--primary);
}

[data-theme="light"] .about__pillar-body h3 {
  color: var(--dark);
}

[data-theme="light"] .about__pillar-body p {
  color: var(--gray);
}

/* ── Contact cards ────────────────────────────────────────── */
[data-theme="light"] .contact-card {
  background: var(--white);
  border-color: var(--border);
}

[data-theme="light"] .contact-card__label {
  color: var(--dark);
}

[data-theme="light"] .contact-card__value {
  color: var(--gray);
}

[data-theme="light"] .contact__hours-row {
  background: var(--light-gray);
  border-color: var(--border);
}

[data-theme="light"] .contact__hours-title svg {
  color: var(--primary);
}

[data-theme="light"] .contact__hours-title h3,
[data-theme="light"] .contact__day {
  color: var(--dark);
}

[data-theme="light"] .contact__time {
  color: var(--gray);
}

[data-theme="light"] .contact__schedule-item {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* ── Home service cards ───────────────────────────────────── */
[data-theme="light"] .home__scard {
  background: var(--white);
  border-color: var(--border);
  border-left-color: var(--secondary);
}

[data-theme="light"] .home__scard:hover {
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .home__scard-icon {
  background: rgba(44, 103, 145, 0.08);
  color: var(--primary);
}

[data-theme="light"] .home__scard-body h3 {
  color: var(--dark);
}

[data-theme="light"] .home__scard-body p,
[data-theme="light"] .home__scard-features li {
  color: var(--gray);
}

[data-theme="light"] .home__scard-link {
  color: var(--primary);
}

/* ── Portfolio strip CTA ──────────────────────────────────── */
[data-theme="light"] .home__portfolio-strip .btn--outline {
  color: var(--primary);
  border-color: var(--primary);
}

[data-theme="light"] .home__portfolio-strip .btn--outline:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ── Portfolio CTA text ──────────────────────────────────── */
[data-theme="light"] .portfolio__cta p {
  color: var(--dark);
}

/* ── Portfolio placeholder ────────────────────────────────── */
[data-theme="light"] .pf-item--placeholder {
  border-color: rgba(44, 103, 145, 0.35);
  background: rgba(44, 103, 145, 0.04);
}

[data-theme="light"] .pf-item__placeholder-inner {
  color: rgba(44, 103, 145, 0.5);
}

/* ── Footer ───────────────────────────────────────────────── */
[data-theme="light"] .footer {
  background-color: var(--light-gray);
  color: var(--gray);
  border-top: 1px solid var(--border);
}

[data-theme="light"] .footer__inner {
  border-bottom-color: var(--border);
}

[data-theme="light"] .footer__slogan {
  color: var(--gray);
}

[data-theme="light"] .footer__nav-label {
  color: var(--primary);
}

[data-theme="light"] .footer__nav a {
  color: #1C4958;
}

[data-theme="light"] .footer__nav a:hover {
  color: var(--primary);
}

[data-theme="light"] .footer__contact a {
  color: #1C4958;
}

[data-theme="light"] .footer__contact a:hover {
  color: var(--primary);
}

[data-theme="light"] .footer__socials a {
  background-color: rgba(28, 73, 88, 0.08);
  color: #1C4958;
}

[data-theme="light"] .footer__socials a:hover {
  background-color: var(--secondary);
  color: var(--white);
}

[data-theme="light"] .footer__bottom p {
  color: var(--gray);
}

[data-theme="light"] .footer__dev a {
  color: var(--gray);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

/* ── Inner 3-col layout ───────────────────────────────────── */
.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 4rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Brand ────────────────────────────────────────────────── */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #4EC3AD;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.footer__slogan {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 240px;
}

/* ── Column label ─────────────────────────────────────────── */
.footer__nav-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

/* ── Nav ──────────────────────────────────────────────────── */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer__nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--secondary);
}

/* ── Contact column ───────────────────────────────────────── */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.3rem 0;
  transition: color var(--transition);
  overflow-wrap: break-word;
  min-width: 0;
}

.footer__contact a:hover {
  color: var(--secondary);
}

.footer__contact a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Social pills ─────────────────────────────────────────── */
.footer__socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: background-color var(--transition), color var(--transition);
  padding: 0;
}

.footer__socials a:hover {
  background-color: var(--secondary);
  color: var(--dark);
}

.footer__socials a svg {
  width: 15px;
  height: 15px;
  opacity: 1;
}

/* ── Bottom bar ───────────────────────────────────────────── */
.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__dev a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.footer__dev a:hover {
  color: var(--secondary);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .footer__slogan {
    max-width: 320px;
    margin: 0;
  }
}

@media (max-width: 540px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    grid-column: auto;
    flex-direction: column;
    align-items: center;
  }

  .footer__slogan {
    max-width: 100%;
  }

  .footer__nav {
    align-items: center;
  }

  .footer__contact {
    align-items: center;
  }

  .footer__contact a {
    justify-content: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
