/* ==========================================================================
   NUTRIBRIDGE HEALTH AND SERVICES LIMITED
   Premium Corporate Website Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-white: #ffffff;
  --color-slate-light: #f8fafc;
  --color-emerald: #2e8b57;
  --color-emerald-dark: #246b44;
  --color-emerald-light: #3da86a;
  --color-ocean: #0f4c81;
  --color-ocean-dark: #0a355c;
  --color-ocean-light: #1a6bb0;
  --color-accent: #4caf50;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #2e8b57 0%, #0f4c81 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(46, 139, 87, 0.08) 0%, rgba(15, 76, 129, 0.08) 100%);
  --gradient-hero: linear-gradient(160deg, #f0fdf4 0%, #f8fafc 40%, #eff6ff 100%);
  --gradient-mesh:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(46, 139, 87, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(15, 76, 129, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: min(1120px, calc(100% - 2.5rem));
  --container-wide: min(1280px, calc(100% - 2.5rem));

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 41, 59, 0.12);
  --shadow-glow-green: 0 12px 40px rgba(46, 139, 87, 0.22);
  --shadow-glow-blue: 0 12px 40px rgba(15, 76, 129, 0.22);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);

  /* Header & announce */
  --announce-h: 42px;
  --header-h: 72px;
  --header-offset: calc(var(--announce-h) + 0.85rem);
  --nav-float-inset: 1rem;
}

body.announce-dismissed {
  --announce-h: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--announce-h) + var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-emerald);
  outline-offset: 3px;
}

.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;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: var(--container);
  margin-inline: auto;
}

.container--wide {
  width: var(--container-wide);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

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

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.section__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section__eyebrow-row .section__eyebrow {
  margin-bottom: 0;
}

.section__eyebrow-row--center {
  justify-content: center;
}

/* Live / New status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1;
}

.status-pill--live {
  color: #166534;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.35);
}

.status-pill--new {
  color: var(--color-ocean);
  background: rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(15, 76, 129, 0.2);
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulseDot 1.5s ease-out infinite;
}

.status-pill__spark {
  display: inline-block;
  animation: sparkle 1.8s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(12deg); opacity: 0.85; }
}

/* Floating icon micro-interaction */
.icon-float {
  animation: iconFloat 3.5s ease-in-out infinite;
}

.icon-float--delay {
  animation-delay: 0.6s;
}

.icon-float--delay-2 {
  animation-delay: 1.2s;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 42rem;
  line-height: 1.7;
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
  max-width: 42rem;
}

.section__header--center .section__eyebrow {
  justify-content: center;
}

.section__header--center .section__lead {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  background: var(--color-emerald);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(46, 139, 87, 0.3);
}

.btn--primary:hover {
  background: var(--color-emerald-dark);
  box-shadow: var(--shadow-glow-green);
}

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

.btn--secondary:hover {
  background: var(--color-ocean);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-blue);
}

.btn--ocean {
  background: var(--color-ocean);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.3);
}

.btn--ocean:hover {
  background: var(--color-ocean-dark);
  box-shadow: var(--shadow-glow-blue);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-emerald);
  color: var(--color-emerald);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--color-white);
}

.btn--whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
}

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

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* CTA ripple */
.btn--ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleOut {
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   5. ANNOUNCEMENT BANNER
   -------------------------------------------------------------------------- */
.announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: var(--announce-h);
  background: linear-gradient(90deg, #0f4c81 0%, #1a6b5c 45%, #2e8b57 100%);
  color: white;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, height 0.35s ease;
}

.announce.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  height: 0;
}

.announce__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.75rem;
  padding-inline: 0.75rem 0.5rem;
  max-width: 1400px;
  margin-inline: auto;
}

.announce__marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.announce__track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.announce__sep {
  opacity: 0.45;
}

.announce__cta {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: background var(--transition), transform var(--transition);
}

.announce__cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.04);
}

.announce__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: pulseDot 1.6s ease-out infinite;
}

.announce__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: background var(--transition), transform var(--transition);
}

.announce__close svg {
  width: 16px;
  height: 16px;
}

.announce__close:hover {
  background: rgba(255, 255, 255, 0.2);
  animation: closeBounce 0.45s ease;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes closeBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.2); }
  70% { transform: scale(0.92); }
}

/* --------------------------------------------------------------------------
   6. FLOATING GLASSMORPHISM HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem var(--nav-float-inset) 0;
  pointer-events: none;
  transition: top 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.header > * {
  pointer-events: auto;
}

.header.is-compact {
  padding-top: 0.45rem;
}

.header__shell {
  position: relative;
  width: min(1240px, 100%);
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 10px 40px rgba(15, 76, 129, 0.1),
    0 2px 8px rgba(30, 41, 59, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__shell:hover {
  border-color: rgba(46, 139, 87, 0.35);
  box-shadow:
    0 14px 44px rgba(46, 139, 87, 0.14),
    0 0 0 1px rgba(46, 139, 87, 0.12),
    0 2px 8px rgba(30, 41, 59, 0.06);
}

.header.is-scrolled .header__shell {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 12px 36px rgba(15, 76, 129, 0.12),
    0 1px 0 rgba(226, 232, 240, 0.9);
}

.header.is-compact .header__shell {
  border-radius: 22px;
  transform: scale(0.985);
}

.header__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.25), transparent 40%, rgba(15, 76, 129, 0.2));
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.header__shell:hover .header__glow,
.header.is-scrolled .header__glow {
  opacity: 0.55;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0.45rem 0.65rem 0.45rem 0.85rem;
  gap: 0.75rem;
  transition: min-height 0.35s ease, padding 0.35s ease;
}

.header.is-compact .header__inner {
  min-height: 58px;
  padding-block: 0.3rem;
}

.header__curve {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  width: 76%;
  height: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.header.is-scrolled .header__curve,
.nav:hover ~ .header__curve,
.header__shell:has(.nav__link.is-active) .header__curve {
  opacity: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  z-index: 2;
  padding: 0.15rem;
  border-radius: 14px;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.04);
}

.logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover .logo__mark {
  transform: scale(1.08);
}

.header.is-compact .logo__mark {
  width: 36px;
  height: 36px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo__tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.header.is-compact .logo__tag {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.nav {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.1rem;
  padding: 0.2rem;
  z-index: 1;
}

.nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.14), rgba(15, 76, 129, 0.1));
  border: 1px solid rgba(46, 139, 87, 0.18);
  box-shadow: 0 4px 16px rgba(46, 139, 87, 0.12);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  z-index: 0;
}

.nav__pill.is-ready {
  opacity: 1;
}

.nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 999px;
  transition: color 0.25s ease;
}

.nav__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, color 0.25s ease, filter 0.35s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-emerald);
}

.nav__link:hover .nav__icon,
.nav__link.is-active .nav__icon {
  opacity: 1;
  color: var(--color-emerald);
}

.nav__link.is-active .nav__icon {
  animation: iconGlow 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(46, 139, 87, 0.45));
}

.nav__link:hover .nav__icon {
  transform: translateY(-2px) scale(1.12);
}

@keyframes iconGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.header__cta {
  display: none;
  border-radius: 999px !important;
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(46, 139, 87, 0.08);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

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

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

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

/* Mobile Drawer — curved + stagger */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  padding: 1.25rem 1.35rem 2rem;
  box-shadow: -20px 0 60px rgba(15, 76, 129, 0.18);
  transform: translateX(105%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-radius: 28px 0 0 28px;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.nav-drawer__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ocean);
}

.nav-drawer__x {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text);
  transition: background var(--transition);
}

.nav-drawer__x:hover {
  background: var(--color-slate-light);
}

.nav-drawer__x svg {
  width: 18px;
  height: 18px;
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 14px;
  opacity: 0;
  transform: translateX(24px);
  transition: background var(--transition), color var(--transition), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  transition-delay: 0s;
}

.nav-drawer__link svg {
  width: 20px;
  height: 20px;
  color: var(--color-emerald);
  flex-shrink: 0;
}

.nav-drawer.is-open .nav-drawer__link,
.nav-drawer.is-open .nav-drawer__cta {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.05s + var(--i, 0) * 0.045s);
}

.nav-drawer__link:hover {
  background: var(--gradient-brand-soft);
  color: var(--color-emerald);
}

.nav-drawer__cta {
  margin-top: 1.25rem;
  opacity: 0;
  transform: translateX(24px);
  border-radius: 999px !important;
}

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

  .header__cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  .announce__cta {
    display: none;
  }

  .announce__track {
    font-size: 0.75rem;
  }

  .logo__tag {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--announce-h) + var(--header-h) + 2.5rem);
  padding-bottom: 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-white), transparent);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(46, 139, 87, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 129, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.hero__brand {
  font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ocean);
  margin-bottom: 1rem;
}

.hero__tagline {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(46, 139, 87, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(46, 139, 87, 0.15);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.hero__title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero__visual {
  position: relative;
}

.hero__stage {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  padding: 2px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(46, 139, 87, 0.08);
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero__stage-inner {
  border-radius: calc(var(--radius-xl) - 2px);
  background: linear-gradient(165deg, #0f4c81 0%, #166534 55%, #2e8b57 100%);
  padding: 2rem 1.75rem;
  color: white;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero__stage-inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero__stage-inner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.15);
  pointer-events: none;
}

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

.hero__bridge-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.hero__bridge-route {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero__bridge-route svg {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  animation: routePulse 2.5s ease-in-out infinite;
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.hero__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
}

.hero__metric {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.hero__metric:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.hero__metric-value {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 3.5rem;
}

.hero__metric-label {
  font-size: 0.8125rem;
  opacity: 0.9;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   7. ABOUT
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.about__story p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.about__story p:last-of-type {
  margin-bottom: 0;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.value-chip {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ocean);
  background: rgba(15, 76, 129, 0.06);
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 999px;
}

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

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

.pillar {
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 139, 87, 0.35);
}

.pillar__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gradient-brand-soft);
  color: var(--color-emerald);
  margin-bottom: 0.875rem;
}

.pillar__icon svg {
  width: 22px;
  height: 22px;
}

.pillar__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.pillar__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. SERVICES (3 Pillars)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-glow-green);
  border-color: rgba(46, 139, 87, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--ocean:hover {
  box-shadow: var(--shadow-glow-blue);
  border-color: rgba(15, 76, 129, 0.3);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: white;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(46, 139, 87, 0.25);
}

.service-card--ocean .service-card__icon {
  background: linear-gradient(135deg, #0f4c81, #1a6bb0);
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.25);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
}

.service-card__benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E8B57' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   9. MEDICAL TOURISM TIMELINE
   -------------------------------------------------------------------------- */
.tourism {
  background:
    var(--gradient-mesh),
    var(--color-slate-light);
}

.tourism__layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .tourism__layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
  }
}

.tourism__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.tourism-feature {
  display: flex;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tourism-feature:hover {
  border-color: rgba(15, 76, 129, 0.25);
  box-shadow: var(--shadow-sm);
}

.tourism-feature__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--color-ocean);
}

.tourism-feature__icon svg {
  width: 20px;
  height: 20px;
}

.tourism-feature__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.tourism-feature__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  position: relative;
}

.timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-emerald);
  color: var(--color-emerald);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.timeline__item:hover .timeline__dot,
.timeline__item.is-active .timeline__dot {
  background: var(--color-emerald);
  color: white;
  box-shadow: 0 0 0 6px rgba(46, 139, 87, 0.15);
}

.timeline__line {
  width: 2px;
  flex: 1;
  min-height: 1.5rem;
  background: linear-gradient(to bottom, var(--color-emerald), rgba(15, 76, 129, 0.3));
  margin-block: 4px;
}

.timeline__item:last-child .timeline__line {
  display: none;
}

.timeline__content {
  padding: 0.25rem 0 1.75rem;
}

.timeline__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. PRODUCTS
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 139, 87, 0.3);
}

.product-card__media {
  aspect-ratio: 1 / 0.85;
  background: var(--gradient-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__media svg {
  width: 64px;
  height: 64px;
  color: var(--color-emerald);
  opacity: 0.7;
}

.product-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-white);
  color: var(--color-emerald);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.5rem;
}

.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product-card__benefit {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border-light);
}

.product-card__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-ocean);
}

/* --------------------------------------------------------------------------
   11. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.why-card {
  padding: 1.75rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 76, 129, 0.25);
}

.why-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.why-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. PARTNERS
   -------------------------------------------------------------------------- */
.partners-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.partners-tab {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: all var(--transition);
}

.partners-tab:hover {
  color: var(--color-ocean);
  border-color: rgba(15, 76, 129, 0.3);
}

.partners-tab.is-active {
  background: var(--color-ocean);
  color: white;
  border-color: var(--color-ocean);
}

.partners-panel {
  display: none;
}

.partners-panel.is-active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

@media (min-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  min-height: 110px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(46, 139, 87, 0.3);
}

.partner-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-emerald);
}

.partner-logo__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   13. BLOG
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.blog-card__media {
  aspect-ratio: 16 / 10;
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}

.blog-card__media--2 {
  background: linear-gradient(135deg, #0f4c81, #1a6bb0);
}

.blog-card__media--3 {
  background: linear-gradient(135deg, #166534, #2e8b57 60%, #0f4c81);
}

.blog-card__media-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 30% 40%, white 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, white 0%, transparent 35%);
}

.blog-card__category {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ocean);
  border-radius: 6px;
}

.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}

.blog-card:hover .blog-card__title {
  color: var(--color-emerald);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ocean);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card__link:hover {
  color: var(--color-emerald);
}

/* --------------------------------------------------------------------------
   14. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.is-open {
  border-color: rgba(46, 139, 87, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  font-size: 0.9875rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-item__trigger:hover {
  color: var(--color-emerald);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-slate-light);
  color: var(--color-emerald);
  transition: transform var(--transition), background var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: rgba(46, 139, 87, 0.12);
}

.faq-item__icon svg {
  width: 16px;
  height: 16px;
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__content {
  overflow: hidden;
}

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

/* --------------------------------------------------------------------------
   15. CONTACT
   -------------------------------------------------------------------------- */
.contact__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact__layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-block {
  display: flex;
  gap: 1rem;
  padding: 1.125rem;
  background: var(--color-slate-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.contact-block__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: white;
}

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

.contact-block__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-block__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-block__value a:hover {
  color: var(--color-emerald);
}

.map-placeholder {
  margin-top: 0.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(46, 139, 87, 0.08), rgba(15, 76, 129, 0.12)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(15, 76, 129, 0.03) 10px,
      rgba(15, 76, 129, 0.03) 20px
    );
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.map-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--color-ocean);
}

.social-links {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-slate-light);
  border: 1px solid var(--color-border);
  color: var(--color-ocean);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--color-ocean);
  color: white;
  border-color: var(--color-ocean);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

/* Form */
.contact-form {
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.contact-form__sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

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

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

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

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-field .required {
  color: #dc2626;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-slate-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-emerald);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.form-error {
  font-size: 0.75rem;
  color: #dc2626;
  display: none;
}

.form-field.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(46, 139, 87, 0.1);
  border: 1px solid rgba(46, 139, 87, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-emerald-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-success.is-visible {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(165deg, #0a355c 0%, #0f4c81 40%, #166534 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 960px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  }
}

.footer .logo__name {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: white;
}

.footer .logo__tag {
  color: rgba(255, 255, 255, 0.55);
}

.footer__about {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 28ch;
  opacity: 0.8;
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.125rem;
}

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

.footer__links a {
  font-size: 0.875rem;
  opacity: 0.75;
  transition: opacity var(--transition), color var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: #a7f3d0;
}

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

.newsletter p {
  font-size: 0.8125rem;
  opacity: 0.75;
  line-height: 1.55;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter__form input {
  flex: 1;
  min-width: 160px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: white;
}

.newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter__form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter__form .btn {
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  opacity: 0.7;
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

.footer__legal a:hover {
  opacity: 1;
  color: white;
}

/* --------------------------------------------------------------------------
   17. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* Hero entrance (on load) */
.hero .reveal,
.hero .reveal-left,
.hero .reveal-right {
  /* Will be revealed by JS on load */
}

/* --------------------------------------------------------------------------
   18. BACK TO TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-emerald);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-glow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-emerald-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   19. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  .announce__track,
  .icon-float,
  .status-pill__dot,
  .announce__pulse,
  .nav__link.is-active .nav__icon {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   20. DYNAMIC CMS MEDIA + TOAST (PHP bindings)
   -------------------------------------------------------------------------- */
.hero__cms-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  pointer-events: none;
}

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

.hero__stage-inner > *:not(.hero__cms-media) {
  position: relative;
  z-index: 1;
}

.about__media {
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.about__media-img,
.tourism__media-img,
.product-card__img,
.blog-card__img,
.map-placeholder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tourism__media {
  margin: 1.25rem 0 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.product-card__media {
  position: relative;
}

.product-card__img {
  position: absolute;
  inset: 0;
}

.blog-card__media {
  position: relative;
}

.blog-card__img {
  position: absolute;
  inset: 0;
}

.map-placeholder--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 180px;
}

.map-placeholder__img {
  position: absolute;
  inset: 0;
}

.map-placeholder__caption {
  position: relative;
  z-index: 1;
  margin: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ocean);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.copyright-trigger {
  cursor: default;
  user-select: none;
}

.toast-alert {
  position: fixed;
  top: calc(var(--announce-h) + 5.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 1300;
  display: none;
  align-items: center;
  gap: 0.75rem;
  max-width: min(520px, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast-alert.is-visible {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-alert--success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #a7f3d0;
}

.toast-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.toast-alert__close {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
}

.toast-alert__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.service-card__photo {
  margin: -0.25rem -0.25rem 1rem;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border-light);
}

.service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__photo img {
  transform: scale(1.04);
}
