/* =============================================
   AXOR Solutions — Apple-inspired Design System
   ============================================= */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --text-primary: #1a3a7a;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #1a3a7a;
  --accent-hover: #244ea8;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.06);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --gap: 1rem;
  --container: 1120px;
  --header-height: 56px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #1d1d1f;
  --bg-secondary: #2c2c2e;
  --bg-elevated: rgba(44, 44, 46, 0.72);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #86868b;
  --accent: #4d8fe8;
  --accent-hover: #6aa3f0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background var(--transition), color var(--transition);
}

@media (min-width: 744px) {
  body { font-size: 1.0625rem; }
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ---- Header / Glass Nav ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--accent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1);
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.8;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav__links a:hover { color: #ffffff; }

.nav__divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

.nav__login {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.nav__login:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ---- Hero ---- */

.hero {
  position: relative;
  padding: calc(var(--header-height) + 8rem) 0 7rem;
  text-align: center;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15) translate3d(0, 0, 0);
  will-change: transform;
  animation: heroZoomOut 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes heroZoomOut {
  from { transform: scale(1.25) translate3d(0, 0, 0); }
  to { transform: scale(1.15) translate3d(0, 0, 0); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.85) 40%,
    rgba(255, 255, 255, 1) 100%
  );
}

[data-theme="dark"] .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(29, 29, 31, 0.90) 0%,
    rgba(29, 29, 31, 0.78) 40%,
    rgba(29, 29, 31, 0.94) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 2rem;
  object-fit: contain;
}

[data-theme="dark"] .hero__logo {
  filter: brightness(0) invert(1);
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
  margin-inline: auto;
  color: var(--text-primary);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Staggered Reveal */
.hero__eyebrow.reveal.is-visible { transition-delay: 0s; }
.hero__title.reveal.is-visible { transition-delay: 0.15s; }
.hero__subtitle.reveal.is-visible { transition-delay: 0.3s; }
.hero__actions.reveal.is-visible { transition-delay: 0.45s; }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.2s;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover {
  background: rgba(0, 102, 204, 0.06);
  transform: translateY(-2px);
}

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

/* ---- Sections ---- */

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Staggered Reveal for Headers */
.section__header.reveal {
  opacity: 1;
  transform: none;
}
.section__header.reveal .section__label,
.section__header.reveal .section__title {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
  display: inline-block;
}
.section__header.reveal .section__title {
  display: block;
  transition-delay: 0.15s;
}
.section__header.reveal.is-visible .section__label,
.section__header.reveal.is-visible .section__title {
  opacity: 1;
  transform: translateY(0);
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto;
}

.section__lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto 1rem;
  text-align: center;
  line-height: 1.7;
}

.section__text {
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.7;
}

/* ---- Bento Grid ---- */

.bento {
  display: grid;
  gap: var(--gap);
}

.bento--2 {
  grid-template-columns: repeat(2, 1fr);
}

.bento--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bento--areas {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
}

.bento--areas .bento__card--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow;
}

.section--alt .bento__card {
  background: var(--bg-primary);
}

.bento__card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

/* Glassmorphism Classes */
.glass-card {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: var(--shadow-md) !important;
}
[data-theme="dark"] .glass-card {
  background: rgba(44, 44, 46, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.glass-card:hover {
  box-shadow: var(--shadow-hover) !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}
[data-theme="dark"] .glass-card:hover {
  background: rgba(60, 60, 62, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Background Mesh / Glows */
.section {
  position: relative;
  overflow: hidden;
}
.mesh-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(26, 58, 122, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(26, 58, 122, 0.03) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}
[data-theme="dark"] .mesh-bg {
  background: radial-gradient(circle at 50% 30%, rgba(77, 143, 232, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(77, 143, 232, 0.05) 0%, transparent 50%);
}
.mesh-content {
  position: relative;
  z-index: 1;
}

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

.bento__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.bento__tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0, 102, 204, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 980px;
}

.bento__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.bento__card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.bento__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.bento__list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.bento__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.bento__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---- Bento Cards with Images ---- */

.bento__card--img {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento__card--hero .bento__card-img {
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.bento__card--img.bento__card--hero {
  justify-content: flex-end;
}

.bento__card-content {
  padding: 1.5rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.bento__card--hero .bento__card-content {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  padding-top: 12rem;
}

[data-theme="dark"] .bento__card--hero .bento__card-content {
  background: linear-gradient(
    to top,
    rgba(29, 29, 31, 1) 0%,
    rgba(29, 29, 31, 0.95) 45%,
    rgba(29, 29, 31, 0) 100%
  );
}

.bento__card--img .bento__tag {
  position: relative;
  top: auto;
  right: auto;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* ---- Coverage ---- */

.coverage {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.coverage__item {
  text-align: center;
}

.coverage__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.coverage__item span {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ---- Services Accordion ---- */

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

.service {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.section--alt .service {
  background: var(--bg-secondary);
}

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

.service__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.service__number {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
}

.service__header h3 {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service__toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-tertiary);
  transition: transform 0.3s;
  line-height: 1;
}

.service.is-open .service__toggle {
  transform: rotate(45deg);
}

.service__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service.is-open .service__body {
  max-height: 600px;
}

.service__body > p {
  padding: 0 2rem 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

.service__grid h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service__grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service__grid li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.service__grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.service__list {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service__list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem 2rem;
}

.service__list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* ---- Quote ---- */

.quote {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
  padding: 2rem;
  border-left: none;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text-primary);
}

/* ---- Highlights ---- */

.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.highlights li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.5rem 1rem;
  border-radius: 980px;
  border: 1px solid var(--border);
}

.section--alt + .section .highlights li,
.section:not(.section--alt) .highlights li {
  background: var(--bg-secondary);
}

/* ---- Contact ---- */

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

.contact__address {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 1.5rem 0;
}

.contact__address strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.contact__map {
  margin-top: 2rem;
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-bounce), box-shadow var(--transition-speed);
}

.contact__map:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

[data-theme="dark"] .contact__map iframe {
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%);
}

.contact__form {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

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

/* ---- Footer ---- */

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer__logo:hover {
  opacity: 1;
}

[data-theme="dark"] .footer__logo {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

[data-theme="dark"] .footer__logo:hover {
  opacity: 0.8;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.footer__tagline {
  font-weight: 500;
  color: var(--text-secondary);
}

/* ---- Reveal Animations ---- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger children in bento grids */
.bento.reveal.is-visible .bento__card:nth-child(1) { transition-delay: 0s; }
.bento.reveal.is-visible .bento__card:nth-child(2) { transition-delay: 0.08s; }
.bento.reveal.is-visible .bento__card:nth-child(3) { transition-delay: 0.16s; }
.bento.reveal.is-visible .bento__card:nth-child(4) { transition-delay: 0.24s; }
.bento.reveal.is-visible .bento__card:nth-child(5) { transition-delay: 0.32s; }

.bento__card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento.reveal.is-visible .bento__card {
  opacity: 1;
  transform: translateY(0);
}

.bento.reveal.is-visible .bento__card:hover {
  transform: translateY(-8px);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .bento--3,
  .bento--areas {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento--areas .bento__card--hero {
    grid-column: span 2;
    grid-row: span 1;
  }

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

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-elevated);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    pointer-events: none;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links li a {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .nav__toggle.is-active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .nav__toggle.is-active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }

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

  .bento--areas {
    grid-template-columns: 1fr;
  }

  .bento--areas .bento__card--hero {
    grid-column: span 1;
  }

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

  .service__list--cols {
    grid-template-columns: 1fr;
  }

  .coverage {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 3rem);
  }

  .hero__watermark {
    width: 320px;
    height: 320px;
  }

  .hero__logo {
    width: 90px;
    margin-bottom: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .bento__card {
    opacity: 1;
    transform: none;
  }
}

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  color: white;
}
