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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #0f172a;
  background: #ffffff !important;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: #ffffff;
}

.section-accent {
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #e0f2fe;
}

.section-accent h2,
.section-accent h3 {
  color: #f9fafb;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.section-header p {
  margin: 0;
  color: #475569;
}

.section-accent .section-header p {
  color: #e0f2fe;
}

/* Top Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  overflow: visible;
}

/* Row 1: logo | wide search | translate+CTA | toggle — Row 2: main nav links */
.nav-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(0.45rem, 1.6vw, 1rem);
  row-gap: 0.4rem;
  padding: 0.55rem 1.25rem 0.45rem;
  overflow: visible;
  width: 100%;
}

.nav-inner > .afy-landing-lockup {
  grid-column: 1;
  grid-row: 1;
  max-width: min(100%, 17rem);
  min-width: max-content;
  position: relative;
  z-index: 2;
  align-self: center;
}

.nav-inner > .nav-search-wrap {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  max-width: none;
}

.nav-inner > .nav-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.nav-inner > .nav-toggle {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
}

.nav-inner > .nav-links {
  grid-column: 1 / -1;
  grid-row: 2;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  padding: 0.42rem 0.2rem 0.15rem;
  margin: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.35rem clamp(0.5rem, 1.6vw, 1.05rem);
  min-width: 0;
}

@media (max-width: 1040px) {
  .nav-inner > .nav-links {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }
}

.nav-inner > .nav-links > a,
.nav-inner > .nav-links > .nav-dropdown {
  flex-shrink: 0;
}

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

.nav-search-wrap {
  min-width: 0;
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.nav-search-form {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}

.nav-search-input {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5rem 2.45rem 0.5rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25;
  color: #0f172a;
  background: #fff;
  min-height: 38px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-search-input::placeholder {
  color: #94a3b8;
}

.nav-search-input:hover {
  border-color: #94a3b8;
}

.nav-search-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.nav-search-submit {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.nav-search-submit:hover {
  background: #0d9488;
}

.nav-search-submit:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.nav-search-submit:active {
  transform: translateY(-50%) scale(0.96);
}

.nav-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  z-index: 35;
  max-height: min(52vh, 320px);
  overflow-y: auto;
}

.nav-search-suggestion {
  display: block;
  padding: 0.58rem 0.82rem;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}

.nav-search-suggestion:hover,
.nav-search-suggestion:focus-visible {
  background: #ecfeff;
  color: #0f766e;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #0f172a;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #eff6ff;
  background: linear-gradient(135deg, #0f766e, #2563eb);
}

.logo-text {
  font-size: 1.05rem;
}

.afy-landing-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
  text-decoration: none;
  max-width: min(100%, 19rem);
  min-width: 0;
  align-self: center;
}

.afy-landing-lockup:hover {
  color: #0f172a;
}

.afy-landing-mark {
  flex-shrink: 0;
  line-height: 0;
}

.top-nav .afy-landing-mark svg {
  width: 36px;
  height: 36px;
  display: block;
}

.afy-landing-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.afy-landing-name {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.afy-landing-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  font-size: 0;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.35;
  max-width: 15rem;
}

.afy-tagline-row {
  display: block;
  font-size: 0.7rem;
  line-height: 1.38;
  color: inherit;
}

.afy-landing-lockup--footer {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.afy-landing-lockup--footer .afy-landing-name {
  font-size: 1rem;
}

.afy-landing-lockup--footer .afy-tagline-row {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.footer .afy-landing-lockup {
  color: #f9fafb;
  align-self: flex-start;
  min-width: 0;
}

.footer .afy-landing-name {
  color: #f9fafb;
}

.footer .afy-landing-tagline {
  color: #94a3b8;
}

.footer .afy-landing-lockup .afy-landing-mark svg rect[fill="#ecfdf5"] {
  fill: rgba(15, 118, 110, 0.2);
}

.footer .afy-landing-lockup .afy-landing-mark svg rect[stroke="#0f766e"] {
  stroke: #5eead4;
}

.footer .afy-landing-lockup .afy-landing-mark svg rect[fill="#0f766e"],
.footer .afy-landing-lockup .afy-landing-mark svg circle[fill="#0f766e"] {
  fill: #5eead4;
}

.footer .afy-landing-lockup .afy-landing-mark svg path {
  stroke: #99f6e4;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem clamp(0.4rem, 1.1vw, 0.85rem);
  min-width: 0;
  max-width: 100%;
  padding-inline: 0.35rem 0.25rem;
  margin: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  /* Flex row hit-area was stealing clicks over the translate column in some layouts */
  pointer-events: none;
  box-sizing: border-box;
}

/* overflow-x:auto + overflow-y:visible computes to clipping Y too — kills dropdown panels */
@media (min-width: 769px) {
  .top-nav .nav-links {
    overflow: visible;
  }
}

.nav-links a {
  color: #475569;
  padding: 0.28rem 0.06rem;
  white-space: nowrap;
  flex-shrink: 1;
  font-size: clamp(0.78rem, 1.05vw, 0.88rem);
  font-weight: 500;
  line-height: 1.25;
  pointer-events: auto;
}

.nav-links a:hover {
  color: #1d4ed8;
}

/* Hospitals mega-menu (desktop hover / focus; mobile tap in .nav-dropdown) */
.nav-dropdown {
  position: relative;
  flex-shrink: 1;
  pointer-events: auto;
  align-self: center;
}

.nav-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin: 0;
  padding: 0.28rem 0.06rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(0.78rem, 1.05vw, 0.88rem);
  font-weight: 500;
  line-height: 1.25;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  text-align: inherit;
}

.nav-dropdown__btn:hover,
.nav-dropdown__btn:focus-visible {
  color: #1d4ed8;
  outline: none;
}

.nav-dropdown__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.72;
  margin-top: 1px;
}

.nav-dropdown__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: min(100vw - 2rem, 22rem);
  max-width: min(100vw - 2rem, 36rem);
  padding: 0.85rem 1rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.nav-dropdown__lead {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
  padding: 0.2rem 0 0.55rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.55rem;
}

.nav-dropdown__lead:hover {
  color: #1d4ed8;
}

.nav-dropdown__label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.nav-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
}

.nav-dropdown__grid a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  white-space: normal;
  line-height: 1.35;
}

.nav-dropdown__grid a:hover {
  color: #1d4ed8;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown__panel,
  .nav-dropdown:focus-within .nav-dropdown__panel,
  .nav-dropdown.is-open .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem clamp(0.45rem, 1.2vw, 0.85rem);
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow: visible;
  flex-shrink: 0;
  min-width: 0;
  position: relative;
  z-index: 30;
  padding-left: 0.35rem;
}

/*
 * Google Translate: only skin the outer frame. No scale/absolute/fixed height
 * and no inner flex/img overrides — those break Google’s layout (text/arrow escape the box).
 */
.nav-google-translate {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(220px, 28vw);
  position: relative;
  z-index: 31;
  overflow: visible;
  align-self: center;
  pointer-events: auto;
}

@media (min-width: 1100px) {
  .nav-google-translate {
    max-width: min(240px, 22vw);
  }
}

.nav-google-translate .goog-te-gadget {
  margin: 0 !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  position: relative;
  z-index: 1;
  pointer-events: auto !important;
}

/* Do NOT hide goog-te-gadget’s direct <span> children — Google often wraps the control in a plain <span>; hiding it breaks the widget entirely. */

.nav-google-translate .goog-te-gadget-simple {
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.nav-google-translate .goog-te-gadget-simple > span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}

.nav-google-translate .goog-te-gadget-simple img {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.nav-google-translate .goog-te-gadget-simple .goog-te-menu-value {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* Fallback when Google renders a <select> instead of “simple” */
.nav-google-translate select.goog-te-combo {
  font-size: 13px !important;
  line-height: normal !important;
  padding: 5px 10px !important;
  border-radius: 3px !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  color: #111827 !important;
  max-width: 190px !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Google Translate menus above sticky header / modals */
.goog-te-menu-frame,
.goog-te-menu-frame.skiptranslate {
  z-index: 2147483000 !important;
}

iframe.goog-te-menu-frame {
  z-index: 2147483001 !important;
}

#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  z-index: 2147483002 !important;
}

/* Keep translate controls clickable; only suppress old top banner frame interactions. */
body > .skiptranslate {
  pointer-events: auto !important;
}

.goog-te-banner-frame.skiptranslate {
  pointer-events: none !important;
}

.btn-quote-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  height: 36px;
  padding: 0 clamp(0.75rem, 1.5vw, 1.05rem);
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(0.78rem, 1vw, 0.84rem);
  background: #dc2626;
  color: #fff !important;
  text-decoration: none;
  border: 1px solid #b91c1c;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-quote-red:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
}

.btn-primary,
.btn-outline,
.btn-link {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  padding: 0.55rem 1.3rem;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(15, 118, 110, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.38);
}

.btn-outline {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #ffffff;
  color: #1e293b;
}

.btn-outline:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.12);
}

.btn-link {
  padding: 0.25rem 0.5rem;
  background: transparent;
  color: #1d4ed8;
}

.btn-link:hover {
  color: #1e40af;
}

.btn-large {
  padding: 0.75rem 1.5rem;
}

.btn-full {
  width: 100%;
  padding: 0.7rem 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  border: none;
  background: transparent;
  cursor: pointer;
  justify-self: end;
  align-self: center;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #111827;
  border-radius: 10px;
}

/* Hero */
.hero {
  padding: 4.65rem 0 3.5rem;
  background: radial-gradient(circle at top left, #e0f2fe, transparent 55%),
    radial-gradient(circle at bottom right, #dcfce7, transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f766e;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.18;
  margin: 0 0 0.9rem;
  color: #0f172a;
}

.hero-subtitle {
  margin: 0 0 1.7rem;
  color: #475569;
  font-size: 0.98rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.9rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust div {
  min-width: 120px;
}

.hero-stat {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d4ed8;
}

.hero-label {
  font-size: 0.85rem;
  color: #64748b;
}

.hero-media {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.media-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94a3b8;
}

.media-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

.media-logos span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.hero-card-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
}

.hero-card-header p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: #64748b;
}

.quote-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  color: #475569;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid #d4d4d8;
  font-size: 0.9rem;
  outline: none;
  background: #f8fafc;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
  background: #ffffff;
}

.quote-form .form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.form-success {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #15803d;
}

/* Logo Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.logo-card {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card--icon {
  flex-direction: column;
  gap: 0.45rem;
  text-align: center;
  min-height: 88px;
}

.logo-card__icon {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.why-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.icon-circle {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

/* Split Layouts */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

@keyframes afy-check-tick-in {
  0% {
    opacity: 0;
    transform: scale(0.35) rotate(-18deg);
  }
  55% {
    opacity: 1;
    transform: scale(1.12) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes afy-check-tick-glow {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  35% {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 0 4px rgba(15, 118, 110, 0.35));
  }
  60% {
    transform: translateY(1px) scale(0.96);
    filter: drop-shadow(0 0 6px rgba(15, 118, 110, 0.5));
  }
}

@keyframes afy-check-tick-glow-accent {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  35% {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 0 4px rgba(134, 239, 172, 0.4));
  }
  60% {
    transform: translateY(1px) scale(0.96);
    filter: drop-shadow(0 0 7px rgba(134, 239, 172, 0.65));
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: #475569;
}

.section-accent .checklist li {
  color: #f8fafc;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.05rem;
  line-height: 1;
  color: #0f766e;
  font-weight: 600;
  display: inline-block;
  transform-origin: center;
  will-change: transform, filter, opacity;
  animation:
    afy-check-tick-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    afy-check-tick-glow 1.9s ease-in-out 0.6s infinite;
}

.checklist li:nth-child(1)::before {
  animation-delay: 0.05s, 0.65s;
}
.checklist li:nth-child(2)::before {
  animation-delay: 0.12s, 0.72s;
}
.checklist li:nth-child(3)::before {
  animation-delay: 0.19s, 0.79s;
}
.checklist li:nth-child(4)::before {
  animation-delay: 0.26s, 0.86s;
}
.checklist li:nth-child(5)::before {
  animation-delay: 0.33s, 0.93s;
}
.checklist li:nth-child(6)::before {
  animation-delay: 0.4s, 1s;
}
.checklist li:nth-child(7)::before {
  animation-delay: 0.47s, 1.07s;
}
.checklist li:nth-child(8)::before {
  animation-delay: 0.54s, 1.14s;
}
.checklist li:nth-child(9)::before {
  animation-delay: 0.61s, 1.21s;
}
.checklist li:nth-child(10)::before {
  animation-delay: 0.68s, 1.28s;
}
.checklist li:nth-child(11)::before {
  animation-delay: 0.75s, 1.35s;
}
.checklist li:nth-child(12)::before {
  animation-delay: 0.82s, 1.42s;
}

.section-accent .checklist li::before {
  color: #86efac;
  animation:
    afy-check-tick-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    afy-check-tick-glow-accent 1.9s ease-in-out 0.6s infinite;
}

.section-accent .checklist li:nth-child(1)::before {
  animation-delay: 0.05s, 0.65s;
}
.section-accent .checklist li:nth-child(2)::before {
  animation-delay: 0.12s, 0.72s;
}
.section-accent .checklist li:nth-child(3)::before {
  animation-delay: 0.19s, 0.79s;
}
.section-accent .checklist li:nth-child(4)::before {
  animation-delay: 0.26s, 0.86s;
}
.section-accent .checklist li:nth-child(5)::before {
  animation-delay: 0.33s, 0.93s;
}
.section-accent .checklist li:nth-child(6)::before {
  animation-delay: 0.4s, 1s;
}
.section-accent .checklist li:nth-child(7)::before {
  animation-delay: 0.47s, 1.07s;
}
.section-accent .checklist li:nth-child(8)::before {
  animation-delay: 0.54s, 1.14s;
}
.section-accent .checklist li:nth-child(9)::before {
  animation-delay: 0.61s, 1.21s;
}
.section-accent .checklist li:nth-child(10)::before {
  animation-delay: 0.68s, 1.28s;
}
.section-accent .checklist li:nth-child(11)::before {
  animation-delay: 0.75s, 1.35s;
}
.section-accent .checklist li:nth-child(12)::before {
  animation-delay: 0.82s, 1.42s;
}

@media (prefers-reduced-motion: reduce) {
  .checklist li::before,
  .section-accent .checklist li::before {
    animation: none;
  }
}

.journey-steps h3 {
  margin-top: 0;
}

.journey-steps ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
}

.journey-steps li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.journey-steps span {
  color: #64748b;
}

/* Patient journey — step-by-step (patient-journey-india.html) */
.afy-journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.afy-journey-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
}

.afy-journey-step__badge {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.afy-journey-step__body {
  flex: 1;
  min-width: 0;
}

.afy-journey-step__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.afy-journey-step__body > p {
  margin: 0 0 0.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.afy-journey-step .checklist {
  margin: 0;
}

.afy-journey-promise {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.6rem !important;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.afy-journey-promise h3 {
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #0f172a;
}

.afy-journey-promise p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .afy-journey-step {
    flex-direction: column;
    align-items: stretch;
  }

  .afy-journey-step__badge {
    width: 2.25rem;
    height: 2.25rem;
  }

  .afy-journey-promise {
    padding: 1.1rem 1rem !important;
    border-radius: 1rem !important;
  }

  .afy-journey-promise h3 {
    font-size: 1.1rem;
  }

  .afy-journey-promise p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.tool-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.25rem 1.35rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.tool-card h3 {
  margin: 0 0 0.4rem;
}

.tool-card p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #64748b;
}

.tool-card form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: #475569;
}

.tool-card select,
.tool-card input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid #d4d4d8;
  background: #f9fafb;
  font-size: 0.9rem;
}

.tool-card select:focus,
.tool-card input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
  background: #ffffff;
}

.calculator-result {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: #0f172a;
}

.comparison-results {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  font-size: 0.86rem;
  color: #0f172a;
}

.comparison-results li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.chat-widget {
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #f9fafb;
  padding: 0.9rem;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #047857;
  margin-bottom: 0.6rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.chat-body {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.65rem 0.7rem;
  margin-bottom: 0.75rem;
  max-height: 150px;
  overflow: hidden;
}

.chat-message {
  padding: 0.45rem 0.6rem;
  border-radius: 0.7rem;
  font-size: 0.83rem;
  margin-bottom: 0.4rem;
}

.chat-message.from-advisor {
  background: #eff6ff;
  color: #1e293b;
}

.chat-message.from-user {
  background: #ecfeff;
  color: #0f172a;
  margin-left: auto;
  max-width: 90%;
}

/* Treatments & Gallery */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.7rem;
}

.treatment-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.1rem 1.4rem;
  border: 1px solid #e5e7eb;
}

.treatment-card h3 {
  margin: 0 0 0.35rem;
}

.treatment-card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: #64748b;
}

.treatment-card ul {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #475569;
}

.gallery {
  margin-top: 2.25rem;
}

.gallery h3 {
  margin-top: 0;
}

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

.gallery-item {
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 0.65rem;
  border: 1px dashed #cbd5e1;
}

.gallery-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.gallery-photo.placeholder {
  height: 120px;
  border-radius: 0.65rem;
  background: repeating-linear-gradient(
    135deg,
    #e5e7eb,
    #e5e7eb 5px,
    #f9fafb 5px,
    #f9fafb 10px
  );
}

.gallery-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Cards & Forms */
.card {
  background: #ffffff;
  border-radius: 1.05rem;
  padding: 1.4rem 1.25rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.card form label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: #475569;
}

.card input,
.card select,
.card textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid #d4d4d8;
  background: #f9fafb;
  font-size: 0.9rem;
}

.card input:focus,
.card select:focus,
.card textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.18);
  background: #ffffff;
}

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

.testimonial-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border: 1px solid #e5e7eb;
}

.video-placeholder {
  border-radius: 0.8rem;
  background: radial-gradient(circle at top left, #1d4ed8, #0f766e);
  color: #e5f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.quote {
  font-size: 0.9rem;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.testimonial-rating {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.testimonial-rating strong {
  color: #111827;
  font-weight: 700;
}

.author {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.case-study {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  color: #4b5563;
}

/* Countries */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.country-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.15rem 1.35rem;
  border: 1px solid #e5e7eb;
}

.country-card h3 {
  margin: 0 0 0.4rem;
}

.country-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.text-link,
.country-card .btn-link {
  font-size: 0.86rem;
  color: #2563eb;
}

.text-link:hover,
.country-card .btn-link:hover {
  text-decoration: underline;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid #e5e7eb;
}

.blog-card h3 {
  margin: 0 0 0.4rem;
}

.blog-card p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Footer */
.footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.25rem;
  padding-bottom: 1.5rem;
  align-items: start;
}

.footer-brand,
.footer-col {
  align-self: start;
  justify-self: stretch;
  min-width: 0;
}

.footer-brand p {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.55;
  max-width: 36rem;
}

.footer-col-title {
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.footer-col p,
.footer-col a {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
}

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

.footer-contact-list li {
  margin: 0 0 0.65rem;
  padding: 0;
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.footer-contact-emails {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.footer-contact-emails a,
.footer-contact-list li > a {
  display: inline;
  padding: 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  text-decoration: none;
  word-break: break-word;
}

.footer-contact-emails a:hover,
.footer-contact-list li > a:hover {
  color: #f1f5f9;
  text-decoration: underline;
}

.footer-contact-text {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
  word-break: break-word;
}

.footer-col > a {
  display: block;
  text-decoration: none;
  padding: 0.28rem 0;
  border: 0;
  word-break: break-word;
}

.footer-col > a + a {
  margin-top: 0;
}

.footer-col > a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid #111827;
  padding: 0.9rem 0 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-bottom .container {
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.35rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: #6b7280;
}

.modal h3 {
  margin: 0 0 0.3rem;
}

.modal p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.modal form label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #475569;
}

.modal input,
.modal textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid #d4d4d8;
  font-size: 0.9rem;
  background: #f9fafb;
}

.modal input:focus,
.modal textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 0.45rem;
  }

  .nav-inner > .afy-landing-lockup {
    grid-column: 1;
    grid-row: 1;
    min-width: 0 !important;
    max-width: min(100%, 240px);
  }

  .nav-inner > .nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-inner > .nav-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .nav-search-input {
    min-height: 44px;
    font-size: 16px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav-inner > .nav-links,
  .nav-inner > .nav-actions {
    display: none !important;
  }

  .top-nav.open .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto;
    align-items: start;
    row-gap: 0.35rem;
  }

  .top-nav.open .nav-inner > .afy-landing-lockup {
    grid-column: 1;
    grid-row: 1;
  }

  .top-nav.open .nav-inner > .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .top-nav.open .nav-inner > .nav-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .top-nav.open .nav-inner > .nav-links {
    display: flex !important;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    padding: 0 1.5rem 0.75rem;
    gap: 0.75rem;
    align-items: stretch;
    justify-content: flex-start;
    pointer-events: auto;
    overflow-x: visible;
    overflow-y: visible;
    border-top: none;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .top-nav.open .nav-links a {
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0.45rem 0;
    display: block;
    width: 100%;
    text-align: left;
  }

  .top-nav.open .nav-dropdown__btn {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0;
    font-size: 1rem;
    text-align: left;
  }

  .top-nav.open .nav-dropdown__caret {
    margin-left: 0;
  }

  .top-nav.open .nav-dropdown {
    width: 100%;
  }

  .top-nav.open .nav-dropdown__panel {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    max-width: none;
    margin-top: 0.25rem;
    padding: 0.65rem 0.75rem 0.85rem;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .top-nav.open .nav-dropdown.is-open .nav-dropdown__panel {
    display: block;
  }

  .top-nav.open .nav-dropdown__grid {
    grid-template-columns: 1fr;
  }

  .top-nav.open .nav-inner > .nav-actions {
    display: flex !important;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    padding: 0 1.5rem 0.75rem;
    gap: 0.75rem;
    align-items: stretch;
    justify-content: flex-start;
  }

  .top-nav.open .nav-actions .btn-quote-red {
    text-align: center;
    justify-content: center;
  }

  .top-nav.open .nav-google-translate {
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
  }

  .top-nav.open .nav-google-translate .goog-te-gadget-simple {
    width: 100% !important;
    max-width: 100% !important;
  }

  .top-nav .afy-landing-tagline {
    display: none;
  }

  .hero {
    padding-top: 5.1rem;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .logo-text {
    font-size: 1rem;
  }
}

/* Linked logo (homepage uses <a class="logo">) */
a.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

a.btn-link {
  text-decoration: none;
}

a.btn-primary,
a.btn-outline {
  text-decoration: none;
}

.why-card a {
  color: #2563eb;
  font-weight: 500;
}

.why-card a:hover {
  text-decoration: underline;
}

.top-nav {
  background: #ffffff;
  border-bottom-color: #cbd5e1;
}

body {
  font-size: 17px;
  line-height: 1.6;
  color: #0b1220;
  background: #ffffff !important;
}

.inner-hero {
  background: #ffffff !important;
}

p,
li,
label,
input,
select,
textarea,
button {
  font-size: 1rem;
}

.section-header p,
.hero p,
.card p,
.feature-card p,
.why-card p {
  color: #334155;
}

.nav-inner > .nav-links > a,
.nav-dropdown__btn {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e293b;
}

.nav-search-input {
  min-height: 42px;
  font-size: 0.96rem;
  border-color: #94a3b8;
}

.btn-quote-red {
  font-weight: 700;
}

.search-page-main {
  padding: 2rem 0 3rem;
}

.search-page-box {
  max-width: 1024px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
}

.search-page-title {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  margin: 0;
  color: #0f172a;
}

.search-page-subtitle {
  margin: 0.35rem 0 1.2rem;
  color: #475569;
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-results__item {
  padding: 0.95rem 0;
  border-top: 1px solid #e2e8f0;
}

.search-results__title {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.search-results__title:hover {
  text-decoration: underline;
}

.search-results__desc {
  margin: 0.25rem 0 0.3rem;
  color: #334155;
}

.search-results__url {
  color: #64748b;
}

/* Scroll-trigger animation helper (used by afya-motion.js) */
.afy-observe {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.afy-inview {
  opacity: 1;
  transform: translateY(0);
}

.home-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-image-card {
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.home-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.home-image-card p {
  margin: 0;
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
  color: #334155;
}

@media (max-width: 900px) {
  .home-image-grid {
    grid-template-columns: 1fr;
  }
}

.faq-animated .accordion-item {
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.55rem;
  opacity: 0;
  transform: translateY(10px);
  animation: faqFadeIn 0.42s ease forwards;
}

.faq-animated .accordion-item:nth-child(1) { animation-delay: 0.02s; }
.faq-animated .accordion-item:nth-child(2) { animation-delay: 0.05s; }
.faq-animated .accordion-item:nth-child(3) { animation-delay: 0.08s; }
.faq-animated .accordion-item:nth-child(4) { animation-delay: 0.11s; }
.faq-animated .accordion-item:nth-child(5) { animation-delay: 0.14s; }
.faq-animated .accordion-item:nth-child(6) { animation-delay: 0.17s; }
.faq-animated .accordion-item:nth-child(7) { animation-delay: 0.2s; }
.faq-animated .accordion-item:nth-child(8) { animation-delay: 0.23s; }
.faq-animated .accordion-item:nth-child(9) { animation-delay: 0.26s; }
.faq-animated .accordion-item:nth-child(10) { animation-delay: 0.29s; }
.faq-animated .accordion-item:nth-child(11) { animation-delay: 0.32s; }
.faq-animated .accordion-item:nth-child(12) { animation-delay: 0.35s; }
.faq-animated .accordion-item:nth-child(13) { animation-delay: 0.38s; }
.faq-animated .accordion-item:nth-child(14) { animation-delay: 0.41s; }
.faq-animated .accordion-item:nth-child(15) { animation-delay: 0.44s; }
.faq-animated .accordion-item:nth-child(16) { animation-delay: 0.47s; }
.faq-animated .accordion-item:nth-child(17) { animation-delay: 0.5s; }

.faq-animated .accordion-button:not(.collapsed) {
  background: #f0f9ff;
  color: #0f766e;
}

/* Force reliable FAQ accordion behavior/look on landing page */
#faq-main .accordion-collapse {
  display: none;
}

#faq-main .accordion-collapse.show {
  display: block;
}

#faq-main .accordion-button {
  width: 100%;
  text-align: left;
  border: none;
  background: #ffffff;
  color: #0f172a;
  padding: 0.9rem 1rem;
  font-weight: 600;
  position: relative;
}

#faq-main .accordion-button::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: #0f766e;
  pointer-events: none;
}

#faq-main .accordion-button:not(.collapsed)::after {
  content: "-";
}

#faq-main .accordion-body {
  padding: 0.85rem 1rem 1rem;
  color: #1f2937;
  background: #f8fbff;
}

.faq-animated .accordion-body ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

@keyframes faqFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Native details/summary FAQ (no JS dependency) */
.faq-details-list {
  display: grid;
  gap: 0.55rem;
}

.faq-detail {
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.faq-detail > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.9rem 2.2rem 0.9rem 1rem;
  font-weight: 600;
  color: #0f172a;
}

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

.faq-detail > summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0f766e;
  font-weight: 700;
}

.faq-detail[open] > summary {
  background: #f0f9ff;
  color: #0f766e;
}

.faq-detail[open] > summary::after {
  content: "-";
}

.afy-linkbox {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.afy-linkbox h4 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.afy-linkbox ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hospital-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}

.hospital-item-thumb {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.hospital-item-name {
  color: #0f172a;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.35;
}

.faq-answer {
  padding: 0.85rem 1rem 1rem;
  background: #f8fbff;
  color: #1f2937;
}

.faq-answer p {
  margin: 0;
}

.faq-answer ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

.phone-field-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.5rem;
}

.afy-phone-code {
  text-align: center;
  font-weight: 600;
  background: #f8fafc;
}


