/* ==========================================================================
   Centro Interdisciplinario Amawta — Design System & Styles
   ========================================================================== */

:root {
  /* Palette */
  --bg-white: #FFFFFF;
  --bg-sand: #F8F5F0;
  --navy: #1E3552;
  --navy-dark: #14253B;
  --navy-soft: rgba(30, 53, 82, 0.06);
  --solar: #F2B705;
  --solar-hover: #E0A800;
  --solar-soft: rgba(242, 183, 5, 0.16);
  --text-primary: #24303F;
  --text-secondary: #556272;
  --wa-green: #1F9D55;
  --wa-green-hover: #188246;
  --border-subtle: rgba(30, 53, 82, 0.1);
  --border-card: rgba(30, 53, 82, 0.09);

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

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(20, 37, 59, 0.05);
  --shadow-md: 0 12px 32px rgba(20, 37, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 37, 59, 0.12);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1180px;
  --nav-height: 82px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--solar);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 72px;
}

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

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

.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
  padding-left: 14px;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background-color: var(--solar);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

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

/* Icons */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  text-align: center;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 0.975rem;
}

.btn--primary {
  background-color: var(--navy);
  color: var(--bg-white);
  box-shadow: 0 6px 18px rgba(30, 53, 82, 0.16);
}

.btn--primary:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 37, 59, 0.22);
}

.btn--whatsapp {
  background-color: var(--wa-green);
  color: var(--bg-white);
  box-shadow: 0 8px 22px rgba(31, 157, 85, 0.24);
}

.btn--whatsapp:hover {
  background-color: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 130, 70, 0.28);
}

.btn--outline {
  background-color: var(--bg-white);
  color: var(--navy);
  border-color: rgba(30, 53, 82, 0.22);
}

.btn--outline:hover {
  border-color: var(--navy);
  background-color: var(--bg-sand);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVBAR (Pure white background for seamless logo integration)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  border-bottom: 1px solid rgba(30, 53, 82, 0.08);
  transition: box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  box-shadow: 0 6px 24px rgba(20, 37, 59, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 20px;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  clip-path: inset(1px);
}

.navbar__nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar__link {
  padding: 8px 11px;
  font-size: 0.9125rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--navy);
  background-color: var(--bg-sand);
}

.navbar__link.is-active {
  font-weight: 600;
}

.navbar__cta {
  padding: 10px 18px;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Mobile Toggle */
.navbar__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(30, 53, 82, 0.14);
  border-radius: 10px;
  background-color: var(--bg-white);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.navbar__toggle:hover {
  background-color: var(--bg-sand);
}

.navbar__toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Open Drawer */
@media (max-width: 1079px) {
  .navbar__nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-white);
    padding: 24px 20px 32px;
    border-top: 1px solid var(--border-subtle);
    overflow-y: auto;
    z-index: 999;
    animation: fadeDown 0.25s var(--ease);
  }

  .navbar__nav.is-open .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .navbar__nav.is-open .navbar__link {
    padding: 13px 16px;
    font-size: 1.05rem;
  }

  .navbar__nav.is-open .navbar__cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.975rem;
    margin-top: 8px;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background-color: var(--bg-white);
  padding-top: 36px;
  padding-bottom: 56px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-sand);
  border: 1px solid rgba(30, 53, 82, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--solar);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2rem, 4.3vw, 3.15rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.14;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(1.03rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__media {
  position: relative;
}

.hero__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
}

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

.hero__accent-bar {
  position: absolute;
  bottom: -10px;
  left: 28px;
  width: 96px;
  height: 6px;
  border-radius: var(--radius-pill);
  background-color: var(--solar);
}

/* Trust Bar */
.trust-bar {
  margin-top: 44px;
  padding: 20px 24px;
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-bar__item .icon {
  color: var(--navy);
}

.trust-bar__divider {
  display: none;
  width: 1px;
  height: 24px;
  background-color: rgba(30, 53, 82, 0.16);
}

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.about__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__text--highlight {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 28px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.pillar {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--solar);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.pillar__num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pillar__label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.about__consultorio-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

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

.about__caption {
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trajectory-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.trajectory-card__media {
  overflow: hidden;
  background-color: var(--bg-sand);
}

.trajectory-card__img {
  width: 100%;
  height: auto;
  display: block;
}

.trajectory-card__caption {
  padding: 20px 22px;
}

.trajectory-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--solar);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   ESPECIALIDADES (5-card balanced layout: 3 top + 2 centered on desktop)
   ========================================================================== */
.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.specialty-card {
  flex: 1 1 100%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.specialty-card--featured {
  background-color: var(--bg-sand);
  border-color: rgba(30, 53, 82, 0.14);
}

.specialty-card--featured .specialty-card__icon {
  background-color: var(--bg-white);
}

.specialty-card--featured .specialty-card__audience {
  background-color: var(--bg-white);
}

.specialty-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.specialty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 53, 82, 0.16);
}

.specialty-card:hover::before {
  background-color: var(--solar);
}

.specialty-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-color: var(--bg-sand);
  border: 1px solid rgba(30, 53, 82, 0.08);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.specialty-card__icon svg {
  width: 24px;
  height: 24px;
}

.specialty-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.specialty-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.specialty-card__audience {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-sand);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.specialty-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.specialty-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.specialty-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--solar);
}

/* ==========================================================================
   CÓMO EMPEZAR
   ========================================================================== */
.steps-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  position: relative;
}

.step-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.step-card__marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 5px var(--solar-soft);
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

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

/* ==========================================================================
   NUESTRO EQUIPO
   ========================================================================== */
.team-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.team-showcase__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.team-stat {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
}

.team-stat__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-stat__desc {
  display: block;
  font-size: 0.8875rem;
  color: var(--text-secondary);
}

.team-showcase__photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

.team-showcase__photo {
  width: 100%;
  height: auto;
  display: block;
}

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

.staff-card {
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.staff-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(30, 53, 82, 0.1);
}

.staff-card__accent {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background-color: var(--solar);
  flex-shrink: 0;
  margin-top: 2px;
}

.staff-card__area {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.staff-card__sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.staff-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.staff-member {
  background-color: var(--bg-white);
  border: 1px solid rgba(30, 53, 82, 0.07);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.staff-member__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.staff-member__mp {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   UBICACIÓN Y CONTACTO
   ========================================================================== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card--address {
  align-items: flex-start;
}

.contact-card--link:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 53, 82, 0.24);
  box-shadow: var(--shadow-md);
}

.contact-card--wa {
  border-left: 4px solid var(--wa-green);
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background-color: var(--bg-sand);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__icon--wa {
  background-color: rgba(31, 157, 85, 0.12);
  color: var(--wa-green);
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.contact-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.contact-card__value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.contact-card__hint {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 2px;
}

.contact-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--solar);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  align-self: flex-start;
}

.contact-card__action:hover {
  color: var(--navy-dark);
}

.contact-card__chevron {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-card--link:hover .contact-card__chevron {
  transform: translateX(3px);
  color: var(--navy);
}

.location__map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  min-height: 360px;
  background-color: var(--bg-white);
}

.location__map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 60px;
  padding-bottom: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-white);
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.footer__logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  clip-path: inset(1px);
}

.footer__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  max-width: 36ch;
}

.footer__heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9125rem;
}

.footer__links a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--solar);
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer__note {
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wa-float__tooltip {
  background-color: var(--navy-dark);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
  white-space: nowrap;
}

.wa-float:hover .wa-float__tooltip,
.wa-float:focus-visible .wa-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-float__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--wa-green);
  color: var(--bg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(31, 157, 85, 0.36);
  transition: transform 0.25s var(--ease), background-color 0.25s ease, box-shadow 0.25s ease;
}

.wa-float__btn svg {
  width: 26px;
  height: 26px;
}

.wa-float:hover .wa-float__btn {
  background-color: var(--wa-green-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(24, 130, 70, 0.42);
}

/* ==========================================================================
   REVEAL ANIMATIONS (IntersectionObserver)
   ========================================================================== */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js-enabled .reveal--delay {
  transition-delay: 0.1s;
}

.js-enabled .reveal--delay-2 {
  transition-delay: 0.2s;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First)
   ========================================================================== */
@media (min-width: 640px) {
  .container {
    padding-inline: 28px;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .specialty-card {
    flex: 0 1 calc(50% - 12px);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 860px) {
  .section {
    padding-block: 92px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 76px;
  }

  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
  }

  .trust-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 22px 32px;
  }

  .trust-bar__divider {
    display: block;
  }

  .about__grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 44px;
    align-items: center;
  }

  .specialties-grid {
    gap: 26px;
  }

  .specialty-card {
    flex: 0 1 calc(33.333% - 18px);
  }

  .steps-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .steps-timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      rgba(30, 53, 82, 0.2) 0 8px,
      transparent 8px 16px
    );
    z-index: 0;
  }

  .team-showcase {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .location__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
  }

  .location__map-wrap,
  .location__map {
    min-height: 100%;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1.1fr;
    gap: 48px;
  }
}

@media (min-width: 1080px) {
  .navbar__toggle {
    display: none;
  }

  .navbar__nav {
    display: flex;
  }

  .staff-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .wa-float {
    right: 28px;
    bottom: 28px;
  }
}
