/* ============================================================
   Aaluri Hospital — global stylesheet
   Mobile-first, modern medical theme
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* brand */
  --brand-blue: #0a2a66;
  /* deep trust blue */
  --brand-blue-600: #173e90;
  --brand-blue-500: #1e4eb0;
  --brand-blue-100: #e8eefc;
  --brand-green: #18b05a;
  /* medical accent */
  --brand-green-600: #139349;
  --brand-red: #e02424;
  /* emergency */
  --brand-amber: #f59e0b;

  --ink-900: #0b1220;
  --ink-700: #2a3549;
  --ink-500: #566177;
  --ink-300: #aeb6c5;
  --ink-100: #eef1f6;
  --white: #ffffff;
  --bg: #f7f9fc;

  /* type */
  --ff-display: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* scale */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(10, 42, 102, 0.06);
  --shadow: 0 10px 25px rgba(10, 42, 102, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 42, 102, 0.12);
  --container: 1200px;

  --transition: 250ms cubic-bezier(.2, .8, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-blue-500);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-blue);
}

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

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  color: var(--brand-blue);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

p {
  margin: 0 0 1em;
  color: var(--ink-700);
}

ul {
  padding-left: 1.1rem;
}

:focus-visible {
  outline: 3px solid var(--brand-blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-dark {
  background: var(--brand-blue);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, .85);
}

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

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.eyebrow {
  color: var(--brand-green-600);
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin: 0 0 .8rem;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--ink-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(10, 42, 102, .25);
}

.btn-primary:hover {
  background: var(--brand-blue-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 42, 102, .28);
}

.btn-accent {
  background: var(--brand-green);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(24, 176, 90, .28);
}

.btn-accent:hover {
  background: var(--brand-green-600);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-ghost:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--brand-blue);
}

.btn-white:hover {
  background: var(--brand-blue-100);
  color: var(--brand-blue);
}

.btn-sm {
  padding: .55rem 1rem;
  font-size: .88rem;
}

/* ---------- Emergency bar ---------- */
.emergency-bar {
  background: linear-gradient(90deg, #c81e1e, var(--brand-red));
  color: #fff;
  font-size: .88rem;
  padding: .5rem 0;
}

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

.emergency-bar a {
  color: #fff;
  font-weight: 600;
}

.emergency-bar .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  margin-right: .5rem;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .6);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(10, 42, 102, .08);
  transition: box-shadow var(--transition), background var(--transition);
}

.nav.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, .98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-name {
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 1.15rem;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-tag {
  display: block;
  font-size: .7rem;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-links a {
  color: var(--ink-900);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  transition: width var(--transition);
}

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

.nav-cta {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  padding: .5rem;
  border-radius: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand-blue);
}

@media (max-width: 960px) {

  .nav-links,
  .nav-cta .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: .5rem 0;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-links a {
    display: block;
    padding: .85rem 1.25rem;
    border-bottom: 1px solid var(--ink-100);
  }

  .nav.is-open .nav-links a::after {
    display: none;
  }

  .emergency-bar {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: url('../assets/images/hospital-exterior.jpg') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 42, 102, 0.95) 0%, rgba(10, 42, 102, 0.75) 40%, rgba(10, 42, 102, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(4rem, 10vw, 7rem) 0;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero h1 {
  color: #fff;
}

.hero h1 .accent {
  color: #7fffb3;
}

.hero p.lead {
  color: rgba(255, 255, 255, .88);
  font-size: 1.1rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.hero-mobile-promo {
  display: none;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
}

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--brand-blue-600);
  border: 1px solid rgba(255, 255, 255, .15);
}

.hero-media::before,
.hero-media::after {
  display: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin-left: auto;
  padding: 1.4rem 1.35rem;
  border-radius: calc(var(--radius-lg) - 6px);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 18px 32px rgba(6, 22, 58, .2);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: #fff;
}

.hero-panel-kicker {
  margin: 0 0 .5rem;
  color: #7fffb3;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-panel h3 {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.hero-panel-copy {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .9);
  font-size: .96rem;
  line-height: 1.55;
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .65rem;
}

.hero-panel-list li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, .96);
  font-weight: 600;
  line-height: 1.35;
}

.hero-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
}

.hero-panel-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
  font-size: .95rem;
}

.hero-panel-cta strong {
  color: #fff;
}

.hero-floating {
  position: absolute;
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.hero-floating.top {
  top: 20px;
  left: 20px;
}

.hero-floating.bottom {
  bottom: 20px;
  right: 20px;
  animation-delay: 1s;
}

.hero-floating strong {
  display: block;
  color: var(--brand-blue);
  font-size: .95rem;
}

.hero-floating small {
  color: var(--ink-500);
  font-size: .78rem;
}

.hero-floating .icn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
}

@media (max-width: 640px) {
  .section-tinted .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    gap: 1.5rem;
    padding: 3.25rem 0 4rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .hero-actions {
    gap: .6rem;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - .3rem);
    justify-content: center;
  }

  .hero-badges {
    gap: .85rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .hero-badge {
    font-size: .88rem;
  }

  .hero-mobile-promo {
    display: block;
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 14px 28px rgba(5, 18, 48, .18);
  }

  .hero-mobile-promo-title {
    margin: 0 0 .6rem;
    color: #7fffb3;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .hero-mobile-promo ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .55rem;
  }

  .hero-mobile-promo li {
    position: relative;
    padding-left: 1rem;
    color: rgba(255, 255, 255, .95);
    line-height: 1.4;
  }

  .hero-mobile-promo li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-green);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

/* Background image layer */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scale(1.06);
}

/* Frosted glass overlay — blurs the ::before image layer */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  z-index: 1;
  transition: background var(--transition);
}

.card:hover::after {
  background: rgba(255, 255, 255, 0.55);
}

/* All direct children float above the glass */
.card > * {
  position: relative;
  z-index: 2;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(30, 78, 176, .25);
}

.card .icn {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.80);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: background var(--transition), color var(--transition);
}

.card:hover .icn {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.card h3 {
  margin-bottom: .4rem;
}

.card p {
  color: var(--ink-500);
  font-size: .95rem;
  margin-bottom: 0;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--ink-100);
}

.stat-card .num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--brand-blue);
  font-weight: 800;
  line-height: 1;
}

.stat-card .lbl {
  color: var(--ink-500);
  margin-top: .4rem;
  font-weight: 500;
}

/* ---------- Doctor card ---------- */
.doctor {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.doctor:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.doctor-photo {
  aspect-ratio: 4/5;
  background: var(--ink-100);
  position: relative;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.doctor-photo.placeholder {
  background: linear-gradient(135deg, var(--brand-blue-100), #fff);
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--ff-display);
}

.doctor-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.doctor-body h3 {
  margin-bottom: .15rem;
  font-size: 1.15rem;
}

.doctor-body .spec {
  color: var(--brand-green-600);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .3rem;
}

.doctor-body .meta {
  font-size: .85rem;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink-100);
  transition: transform var(--transition);
}

.gallery figure:hover {
  transform: scale(1.02);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery figure:hover img {
  transform: scale(1.08);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1rem .8rem;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(10, 42, 102, .9));
  font-size: .95rem;
}

/* ---------- Testimonials slider ---------- */
.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

@media (min-width: 720px) {
  .testimonial-track {
    grid-auto-columns: calc(50% - .75rem);
  }
}

@media (min-width: 1080px) {
  .testimonial-track {
    grid-auto-columns: calc(33.33% - 1rem);
  }
}

.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--ink-100);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial .stars {
  color: #f5b301;
  letter-spacing: 2px;
}

.testimonial blockquote {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-700);
  font-style: italic;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.testimonial .author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonial .author strong {
  display: block;
  color: var(--ink-900);
}

.testimonial .author small {
  color: var(--ink-500);
  font-size: .8rem;
}

.slider-nav {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.slider-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  transition: background var(--transition), color var(--transition);
}

.slider-nav button:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1rem;
}

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

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

.field label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-700);
  margin-bottom: .4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-300);
  background: #fff;
  font: inherit;
  color: var(--ink-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-blue-500);
  box-shadow: 0 0 0 3px rgba(30, 78, 176, .15);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form .btn {
  width: fit-content;
}

.form-note {
  font-size: .85rem;
  color: var(--ink-500);
}

.success-msg {
  padding: 1rem;
  border-radius: var(--radius);
  background: #e6f7ee;
  color: #0f6b38;
  border: 1px solid #bde8cf;
  display: none;
}

.success-msg.show {
  display: block;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  margin-bottom: .75rem;
  transition: border-color var(--transition);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-green);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] {
  border-color: var(--brand-blue-500);
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: #081d4a;
  color: rgba(255, 255, 255, .82);
  padding: clamp(3rem, 5vw, 4rem) 0 1.5rem;
  font-size: .95rem;
}

.footer a {
  color: rgba(255, 255, 255, .82);
}

.footer a:hover {
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}

.footer .grid {
  gap: 2rem;
}

.footer .brand-name {
  color: #fff;
}

.footer .brand + p {
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: .55rem;
}

.footer .social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.footer .social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  transition: background var(--transition);
}

.footer .social a:hover {
  background: var(--brand-green);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

.footer-bottom p {
  color: #fff;
}

/* ---------- Floating action buttons ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  z-index: 40;
}

.fab a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.fab a:hover {
  transform: scale(1.08);
  color: #fff;
}

.fab .fab-call {
  background: var(--brand-green);
}

.fab .fab-whats {
  background: #25d366;
}

/* ---------- Scroll animations (AOS-style fallback) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(115deg, #0a2a66, #1e4eb0);
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(24, 176, 90, .25), transparent 55%);
}

.page-hero .container {
  position: relative;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, .85);
  max-width: 58ch;
  margin-inline: auto;
}

.breadcrumb {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  margin-bottom: .75rem;
}

.breadcrumb a {
  color: #fff;
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: .75rem;
}

.mt-2 {
  margin-top: 1.5rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

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

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

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  width: 100%;
}

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

.contact-info {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
}

.contact-info-item .icn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin: 0 0 .2rem;
  font-size: 1rem;
  color: var(--brand-blue);
}

.contact-info-item p {
  margin: 0;
  color: var(--ink-500);
  font-size: .95rem;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(115deg, var(--brand-green), #0d8540);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, .9);
  max-width: 60ch;
  margin-inline: auto;
}

.cta-banner .hero-actions {
  justify-content: center;
}

/* About teaser section */
.about-teaser .grid-2 {
  align-items: stretch;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.about-features li span {
  color: var(--brand-green);
  font-size: 1.1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-100);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.highlight-item .h-icn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-blue-100);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-blue);
  line-height: 1.2;
}

.highlight-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-500);
}
