:root {
  --teal: #2a9d8f;
  --teal-dark: #1f7a70;
  --blue: #123a5c;
  --blue-deep: #0b2740;
  --gold: #c9a227;
  --gold-soft: #e0c35a;
  --orange: #c47a1a;
  --green: #4a7c3a;
  --crimson: #8b1e3f;
  --off: #f4f6f8;
  --white: #ffffff;
  --text: #1c2a36;
  --muted: #5c6b78;
  --line: #dce3ea;
  --shadow: 0 1px 2px rgba(11, 39, 64, 0.04), 0 12px 32px rgba(11, 39, 64, 0.06);
  --radius: 6px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Times New Roman", serif;
  --header-h: clamp(56px, 12vw, 72px);
  --gutter: clamp(1rem, 4.2vw, 1.5rem);
  --section-y: clamp(2.25rem, 6.5vw, 5.25rem);
  --content-max: 1140px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

body.nav-is-open {
  overflow: hidden;
  touch-action: none;
}

img,
video,
iframe,
svg,
embed,
object {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe { width: 100%; }

table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.22;
  color: var(--blue-deep);
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
h1 { font-size: clamp(1.55rem, 1.1rem + 3.2vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.3rem, 1.05rem + 1.8vw, 2.1rem); }
h3 { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1rem); font-family: var(--font); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1rem; color: var(--muted); overflow-wrap: anywhere; }
ul, ol { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.narrow {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Top utility bar */
.top-bar {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 34px;
  flex-wrap: wrap;
  padding-block: 0.35rem;
}
.top-bar a { color: rgba(255, 255, 255, 0.88); }
.top-bar a:hover { color: #fff; }
.top-bar-right { display: flex; gap: 0.55rem; align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(260px, calc(100% - 150px));
  overflow: visible;
}
.brand-logo,
.brand .custom-logo {
  display: block !important;
  width: auto !important;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
  visibility: visible;
  flex-shrink: 1;
}
.brand .custom-logo-link {
  display: block;
  line-height: 0;
}
.brand-text {
  display: none;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.brand-logo-mark { display: none; height: 42px; width: 42px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
}
.nav a {
  color: var(--blue-deep);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
  position: relative;
}
.nav a:hover {
  color: var(--teal-dark);
  background: transparent;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--teal-dark);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--blue-deep);
}

/* Buttons — restrained, not pill candy */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.btn-primary:hover {
  background: #133453;
  color: #fff;
  border-color: var(--gold-soft);
  animation: btnShake 0.45s ease;
}
.btn-outline:hover,
.btn-ghost:hover,
.header-cta:hover {
  animation: btnShake 0.45s ease;
}

@keyframes btnShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px) rotate(-0.5deg); }
  40% { transform: translateX(3px) rotate(0.5deg); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}
.btn-outline {
  background: transparent;
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}
.btn-outline:hover {
  background: var(--blue-deep);
  color: #fff;
}
.btn-ghost {
  background: var(--off);
  color: var(--blue-deep);
  border-color: var(--line);
}
.btn-block { width: 100%; }
.header-cta { white-space: nowrap; padding-inline: 1rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  padding: var(--section-y) 0;
  min-height: min(100svh - var(--header-h) - 34px, 920px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  color: #fff;
  width: 100%;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease-in-out;
  z-index: 0;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroKenBurns 7.5s ease-out forwards;
}
.hero-slide.is-leaving {
  opacity: 0;
  z-index: 2;
  transition: opacity 1.8s ease-in-out;
}

@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(8, 24, 40, 0.92) 0%, rgba(11, 39, 64, 0.82) 48%, rgba(11, 39, 64, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 24, 40, 0.55), transparent 40%);
}

.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  background: var(--gold);
  opacity: 0.85;
}
.hero-overlay::before {
  top: 1.5rem;
  left: 0;
  width: 72px;
  height: 2px;
}
.hero-overlay::after {
  bottom: 1.5rem;
  right: 0;
  width: 96px;
  height: 2px;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.brand-eyebrow {
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.gold-rule {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 { color: #fff; }
.lead {
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: grid;
  gap: 0;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(8, 24, 40, 0.55);
  backdrop-filter: blur(8px);
}

.service-cta {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.service-cta:last-child { border-bottom: 0; }
.service-cta:hover {
  background: rgba(201, 162, 39, 0.1);
  color: inherit;
}
.service-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(201, 162, 39, 0.08);
}
.service-icon svg { width: 20px; height: 20px; }
.service-text strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
}
.service-text small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}
.service-arrow {
  color: var(--gold);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.service-cta:hover .service-arrow {
  color: var(--gold-soft);
  transform: translateX(3px);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.35rem;
}
.hero-dots button {
  width: 28px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-dots button.is-active {
  background: var(--gold);
  width: 40px;
}

.hero-visual { position: relative; }
.portrait-frame {
  position: relative;
  background: rgba(8, 24, 40, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem 0;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.4);
  backdrop-filter: blur(4px);
}
.portrait-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.portrait-frame img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: bottom center;
  margin-inline: auto;
}

.hero-quote {
  margin: 1rem 0 0;
  padding: 1rem 0 0 1rem;
  background: transparent;
  border-left: 2px solid var(--gold);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  box-shadow: none;
}

/* Trust */
.trust {
  background: var(--blue-deep);
  color: #fff;
  padding: 1.5rem 0;
  border-top: 2px solid var(--gold);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.25rem 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
  font-family: var(--font);
}
.trust-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Sections */
.section { padding: var(--section-y) 0; overflow-x: clip; }
.section-alt { background: var(--off); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
  font-family: var(--font);
}
.section-kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
}
.accent-orange,
.accent-green,
.accent-crimson { color: var(--blue-deep); }

.section-head { margin-bottom: 2rem; max-width: 38rem; }
.section-head p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.steps span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--blue-deep);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

.subhead { margin-top: 0.5rem; }
.learn-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.explainer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin: 1.25rem 0;
}
.explainer p { margin-bottom: 0; }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 1.25rem 0;
}
.icon-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-top: none;
  border-left: 2px solid var(--teal-dark);
}
#mutual-funds .icon-grid > div,
#demat .icon-grid > div { border-left-color: var(--teal-dark); }

.risk-line {
  font-size: 0.8rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 0.85rem;
  margin-top: 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}
.form-card h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.badge {
  display: inline-block;
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.55rem;
}

.lead-form { display: grid; gap: 0.7rem; }
.lead-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 0.01em;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
}
.lead-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.76rem;
}
.lead-form .check input { width: auto; margin-top: 0.15rem; }
.form-note { font-size: 0.78rem; margin: 0.85rem 0 0; }

/* Insurance */
.insurance {
  background: var(--blue-deep);
  color: #fff;
  padding: 2.5rem 0;
}
.insurance-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.insurance h2 { color: #fff; margin-bottom: 0.4rem; }
.insurance p { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 40rem; }
.insurance .btn-primary {
  background: #fff;
  color: var(--blue-deep);
}
.insurance .btn-primary:hover {
  background: var(--teal);
  color: #fff;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.75rem;
  align-items: center;
}
.about-photo {
  background: linear-gradient(165deg, #e8eef3, #d8e4ec);
  border-radius: var(--radius);
  overflow: hidden;
  padding-top: 1rem;
  border: 1px solid var(--line);
}
.about-photo img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  object-position: bottom;
}
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
}
.cert-badges span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 3px;
}
.read-more {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
.read-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 0.9rem;
}
.courses-line { margin-bottom: 0; }

/* Media */
.media-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
}
.media-col h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.video-card {
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
  margin: 0;
}
.video-card:hover {
  border-color: var(--gold);
  color: inherit;
}
.video-card p {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  min-height: 3.2em;
}
.thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0b2740, #1f7a70);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 40, 0.35);
}
.thumb.alt { background: linear-gradient(135deg, #123a5c, #2a9d8f); }
.thumb.play span {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(8, 24, 40, 0.55);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.yt-card.is-playing .thumb { display: none; }
.yt-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
}

.ig-panel { display: grid; gap: 0.85rem; }
.ig-note {
  margin: 0;
  font-size: 0.84rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  padding: 0.85rem 1rem;
  color: var(--muted);
}
.ig-profile-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
}
.ig-profile-card:hover { border-color: var(--gold); color: inherit; }
.ig-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-deep);
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
}
.ig-profile-card strong { display: block; color: var(--blue-deep); }
.ig-profile-card small { color: var(--muted); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0;
}
.ig-tile {
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(145deg, #1a3a55, #0b2740);
  border: 1px solid var(--line);
}
.ig-tile.t2 { background: linear-gradient(145deg, #24506f, #123a5c); }
.ig-tile.t3 { background: linear-gradient(145deg, #2a5f6e, #1f7a70); }
.ig-tile.t4 { background: linear-gradient(145deg, #3a4a5c, #0b2740); }
.ig-tile.t5 { background: linear-gradient(145deg, #4a3a2a, #123a5c); }
.ig-tile.t6 { background: linear-gradient(145deg, #2a4050, #1a3a55); }

.text-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue-deep);
}
.text-link:hover { color: var(--teal-dark); }

/* Blog / inner pages */
.page-hero {
  background: var(--blue-deep);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
  border-bottom: 2px solid var(--gold);
}
.page-eyebrow { color: var(--gold-soft) !important; }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-lead { color: rgba(255, 255, 255, 0.75) !important; margin-bottom: 0; max-width: 36rem; }
.article-wrap .page-lead { color: var(--muted) !important; }

.blog-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 2rem;
  align-items: start;
}
.blog-list-card.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 0;
}
.blog-list-card.featured .blog-thumb { min-height: 220px; margin: 0; }
.blog-list-card.featured > div { padding: 1.25rem 1.25rem 1.25rem 0; }
.blog-list-card.featured h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}
.blog-list-card.featured h2 a { color: inherit; }
.meta {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.blog-grid-page { margin-top: 0; }
.blog-card h3 a,
.blog-card h2 a { color: inherit; }
.blog-card .meta { padding: 0.85rem 1rem 0; margin: 0; }

.blog-aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  border-top: 2px solid var(--gold);
}
.aside-box h3 {
  font-family: var(--serif);
  margin-bottom: 0.55rem;
}
.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.topic-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 500;
}

.article-hero-img {
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--line);
}
.article-body { font-size: 1.02rem; }
.article-body h2 { margin-top: 1.75rem; }
.article-cta {
  margin: 1.75rem 0;
  padding: 1.15rem;
  background: var(--off);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
}
.steps-doc {
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}
.article-wrap pre {
  background: var(--off);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  overflow: auto;
  font-size: 0.88rem;
}
.article-wrap code {
  background: var(--off);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.88rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 1rem;
}
.blog-card h3 {
  font-size: 1.05rem;
  padding: 1rem 1rem 0.35rem;
  font-family: var(--serif);
}
.blog-card p {
  padding: 0 1rem;
  font-size: 0.88rem;
}
.blog-card > a {
  display: inline-block;
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue-deep);
}
.blog-thumb {
  aspect-ratio: 16 / 10;
  background: #dfe7ee;
}
.blog-thumb.b2 { background: #d4dde6; }
.blog-thumb.b3 { background: #c9d5e0; }
.center-link { text-align: center; margin-top: 2rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.5rem; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 0.95rem;
}
.faq-list details[open] summary { margin-bottom: 0.5rem; }
.faq-list p { margin: 0; font-size: 0.92rem; }

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.contact-list li { color: var(--muted); font-size: 0.95rem; }
.contact-list strong {
  color: var(--blue-deep);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.map-wrap img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.25rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo {
  width: 168px;
  margin-bottom: 0.85rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 1.1rem; margin-top: 1.1rem; }
.social a { display: inline; margin: 0; font-weight: 500; font-size: 0.88rem; }
.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}
.disclaimer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.65;
}
.copy-block {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.copy {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.82rem !important;
  text-align: left;
}
.copy.powered-by {
  margin: 0 !important;
  margin-left: auto !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.78rem !important;
  text-align: right;
}
.copy.powered-by a {
  display: inline;
  color: var(--gold-soft);
  margin: 0;
}
.copy.powered-by a:hover {
  color: #fff;
}

/* Floating contact stack (raised on right) */
.float-stack {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(5.5rem, calc(5.5rem + var(--safe-b)));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(11, 39, 64, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  animation: floatSoft 3.2s ease-in-out infinite;
}
.float-btn:nth-child(2) { animation-delay: 0.35s; }
.float-btn:nth-child(3) { animation-delay: 0.7s; }
.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff;
  box-shadow: 0 14px 28px rgba(11, 39, 64, 0.28);
  filter: brightness(1.05);
}
.float-btn svg { width: 24px; height: 24px; display: block; }
.float-top {
  background: var(--gold);
  color: var(--blue-deep);
  border: 0;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.22s ease, filter 0.22s ease;
  animation: none;
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}
.float-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-top:hover {
  color: var(--blue-deep);
  background: var(--gold-soft);
}
.float-top[hidden] { display: none !important; }
.float-wa {
  background: #1faa59;
  box-shadow: 0 10px 24px rgba(31, 170, 89, 0.35);
}
.float-call {
  background: var(--blue-deep);
  border: 1px solid rgba(201, 162, 39, 0.65);
  box-shadow: 0 10px 24px rgba(11, 39, 64, 0.28);
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
/* legacy class kept for older markup */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(5.5rem, calc(5.5rem + var(--safe-b)));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1faa59;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(31, 170, 89, 0.35);
  z-index: 90;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, calc(1.25rem + var(--safe-b)));
  transform: translateX(-50%);
  background: var(--blue-deep);
  color: #fff;
  padding: 0.85rem 1.15rem;
  border-radius: 4px;
  z-index: 120;
  font-size: 0.9rem;
  width: min(92vw, 420px);
  box-sizing: border-box;
  text-align: center;
}
.toast a { color: #7dd3c7; font-weight: 600; }

/* Section reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(2px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s ease;
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.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-left {
  transform: translateX(-24px) scale(0.98);
}
.reveal-right {
  transform: translateX(24px) scale(0.98);
}
.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: none;
}

/* Never animate header / nav */
.site-header,
.site-header *,
.top-bar,
.nav,
.brand,
.header-actions {
  filter: none !important;
}

.page-hero {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* WordPress / Elementor overflow guard */
.entry-content,
.wp-block-group,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-container {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.alignwide,
.alignfull {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-ghost:hover,
  .header-cta:hover,
  .float-btn {
    animation: none;
  }
  .hero-slide,
  .hero-slide.is-active {
    animation: none;
    transition: opacity 0.4s ease;
    transform: none;
  }
}

/* ========== FLUID / RESPONSIVE SYSTEM ========== */

/* Large tablet / small laptop — tighten nav, keep 2-col layouts */
@media (max-width: 1100px) {
  :root {
    --gutter: clamp(1.1rem, 3vw, 1.4rem);
  }

  .nav {
    gap: 0;
    flex-wrap: nowrap;
  }
  .nav a {
    padding: 0.45rem 0.4rem;
    font-size: 0.78rem;
  }
  .header-cta {
    padding-inline: 0.85rem;
    font-size: 0.8rem;
  }
  .brand {
    max-width: min(220px, 28vw);
  }
  .brand-logo,
  .brand .custom-logo {
    height: 44px;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
  }
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
  }
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.75rem;
  }
  .media-grid {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 1.5rem;
  }
  .blog-layout {
    grid-template-columns: 1.4fr 0.75fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1.5rem;
  }
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .portrait-frame img {
    max-height: 420px;
  }
  .form-card {
    top: calc(var(--header-h) + 1.25rem);
  }
}

/* Tablet — hamburger nav, keep useful 2-col sections */
@media (max-width: 980px) {
  :root {
    --header-h: 64px;
    --gutter: clamp(1.15rem, 3.2vw, 1.5rem);
    --section-y: clamp(2.5rem, 5vw, 4rem);
  }

  .top-bar-right { display: none; }
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .top-bar span {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .brand {
    max-width: min(240px, 42vw);
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-logo,
  .brand .custom-logo {
    height: clamp(36px, 5vw, 44px) !important;
    max-width: 100%;
  }
  .brand-text { display: none; }

  .header-inner {
    gap: 0.65rem;
    min-height: var(--header-h);
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(11, 39, 64, 0.12);
    padding: 0.65rem var(--gutter) 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1100;
    flex-wrap: nowrap;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; }

  .header-cta {
    font-size: 0.8rem;
    padding: 0.6rem 0.95rem;
    white-space: nowrap;
  }

  /* TABLET 2-COLUMN LAYOUTS — do not collapse like phone */
  .hero {
    min-height: 0;
    padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
    align-items: center;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
  }
  .hero-visual {
    display: block;
    max-width: none;
    width: 100%;
    margin: 0;
  }
  .portrait-frame {
    padding: 1rem 0.85rem 0;
  }
  .portrait-frame img {
    max-height: min(400px, 48vh);
  }
  .hero-quote { font-size: 0.92rem; }
  .lead {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.05rem);
    max-width: 34rem;
  }
  .hero-overlay::before { width: 48px; }
  .hero-overlay::after { width: 64px; }

  .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(1.35rem, 3vw, 2rem);
    align-items: start;
  }
  .about-grid {
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
  }
  .media-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.85fr);
    gap: 1.5rem;
  }
  .blog-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.7fr);
    gap: 1.5rem;
  }
  .blog-list-card.featured {
    grid-template-columns: 1fr 1fr;
  }
  .blog-list-card.featured > div { padding: 1.1rem; }
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }
  .trust-item {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0.85rem;
    border-top: 0;
    padding-top: 0.25rem;
  }
  .trust-item:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .trust-item strong { font-size: 0.85rem; }
  .trust-item span { font-size: 0.72rem; }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-card {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    padding: 1.2rem;
  }
  .blog-aside { position: sticky; top: calc(var(--header-h) + 1rem); }

  .section-head { max-width: 36rem; }
  .insurance-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.25rem;
  }
  .insurance .btn {
    width: auto;
    flex-shrink: 0;
  }
  .footer-brand img { width: min(160px, 28vw); }

  .copy-block {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .copy.powered-by {
    margin-left: auto !important;
    text-align: right;
  }

  /* Safer motion on tablet */
  .reveal,
  .reveal-left,
  .reveal-right {
    transform: translateY(24px);
    filter: none;
  }
  .reveal.is-visible,
  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: none;
  }
  .hero-slide { transform: none; }
  .hero-slide.is-active {
    animation: none;
    transform: none;
    transition: opacity 1.2s ease-in-out;
  }
  main,
  .site-footer,
  .trust,
  .insurance,
  .section,
  .hero {
    overflow-x: clip;
  }
  .split > *,
  .hero-grid > *,
  .about-grid > *,
  .media-grid > *,
  .form-card,
  .service-cta,
  .service-text {
    min-width: 0;
  }
}

/* Compact tablet portrait (iPad) — roomy single-col forms, keep hero/about 2-col */
@media (max-width: 820px) {
  :root {
    --gutter: clamp(1.5rem, 4vw, 2rem);
    --section-y: clamp(2.35rem, 4.5vw, 3.5rem);
  }
  .hero h1 {
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.35rem);
  }
  .hero-actions {
    max-width: 32rem;
  }
  .service-cta {
    padding: 0.95rem 1.05rem;
  }

  /* Hero stacks on iPad portrait — avoids squeezed portrait + dense copy */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-visual {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: center;
    max-width: 640px;
    margin-inline: 0;
    width: 100%;
  }
  .portrait-frame {
    padding: 0.75rem 0.65rem 0;
  }
  .portrait-frame img {
    max-height: 280px;
  }
  .hero-quote {
    margin-top: 0;
    font-size: 0.95rem;
  }
  .hero .lead {
    max-width: 40rem;
  }
  .hero-actions {
    max-width: 36rem;
  }

  /* Forms get full width — cramped 300px sidebars look broken on iPad */
  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .form-card {
    position: static;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    padding: 1.45rem 1.35rem;
  }

  .about-grid {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }
  .trust-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.75rem;
  }
  .trust-item:nth-child(-n+2) {
    border-top: 0;
    padding-top: 0;
  }
  .trust-item strong { font-size: 0.92rem; }
  .trust-item span { font-size: 0.78rem; }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-aside { position: static; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .icon-grid > div {
    padding: 0.95rem 1.05rem;
    font-size: 0.92rem;
  }

  .insurance-inner {
    flex-wrap: wrap;
  }
  .header-actions {
    gap: 0.75rem;
  }
  .header-cta {
    padding: 0.65rem 1rem;
  }
}

/* Wider tablet / small laptop landscape — keep side-by-side forms with fair widths */
@media (min-width: 821px) and (max-width: 980px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.9fr);
    gap: 1.75rem;
  }
  .form-card {
    padding: 1.35rem 1.25rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  }
}

/* Phone / small devices — full stack */
@media (max-width: 700px) {
  :root {
    --header-h: 58px;
    --gutter: clamp(0.95rem, 4vw, 1.2rem);
    --section-y: clamp(2.1rem, 6vw, 3.25rem);
  }

  .hero-grid,
  .split,
  .about-grid,
  .media-grid,
  .blog-layout,
  .blog-list-card.featured,
  .footer-grid,
  .ig-panel {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: min(300px, 70vw);
    margin-inline: auto;
  }
  .form-card,
  .blog-aside {
    position: static;
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .ig-panel > h3,
  .ig-note {
    grid-column: auto;
  }

  .service-cta {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.85rem 0.9rem;
  }
  .service-icon {
    width: 36px;
    height: 36px;
  }
  .service-text strong { font-size: 0.9rem; }
  .service-text small { font-size: 0.74rem; }

  .icon-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.1rem; }

  .ig-profile-card { grid-template-columns: 40px 1fr; }
  .ig-profile-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .page-hero {
    padding: clamp(1.75rem, 5vw, 2.5rem) 0;
  }
  .related-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .insurance-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .insurance .btn { width: 100%; }

  .copy-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .copy.powered-by {
    margin-left: 0 !important;
    text-align: left;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 56px;
    --gutter: clamp(0.85rem, 4.5vw, 1.1rem);
  }

  .top-bar-inner {
    min-height: 0;
    padding-block: 0.4rem;
  }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item,
  .trust-item:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.65rem;
  }
  .trust-item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .brand { max-width: calc(100% - 132px); }
  .brand-logo,
  .brand .custom-logo {
    height: clamp(28px, 8.5vw, 36px) !important;
  }
  .header-cta {
    font-size: 0.7rem;
    padding: 0.5rem 0.55rem;
  }

  .hero-visual { display: none; }
  .hero-actions { width: 100%; }
  .service-cta {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
  }

  .video-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }

  .steps li {
    align-items: flex-start;
    font-size: 0.9rem;
  }
  .about-photo img { max-height: 360px; }

  .float-stack {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(4.75rem, calc(4.75rem + var(--safe-b)));
    gap: 0.55rem;
  }
  .float-btn,
  .wa-float {
    width: 48px;
    height: 48px;
  }
  .float-btn svg { width: 22px; height: 22px; }
  .map-wrap iframe,
  .map-wrap img {
    min-height: 220px;
    height: 42vw;
    max-height: 280px;
  }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
  .brand { max-width: calc(100% - 52px); }
  .service-text small { display: none; }
}

@media (max-width: 980px) and (orientation: landscape) and (max-height: 520px) {
  .hero { padding-block: 1.35rem; }
  .portrait-frame img { max-height: 240px; }
}
