:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0b1d36;
  --color-muted: #64748b;
  --color-border: #e3ebf4;
  --color-blue: #006ff2;
  --color-blue-dark: #044ca5;
  --color-blue-soft: #e8f2ff;
  --color-mint: #16c784;
  --color-gold: #c7a15a;
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.09);
  --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.08);
  --shadow-premium: 0 26px 70px rgba(0, 111, 242, 0.20);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1440px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  line-height: 1.5;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eaf0f8;
  backdrop-filter: blur(16px) saturate(1.08);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-custom {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-msg,
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f8dff, #005bd8);
  border-radius: 11px;
  box-shadow: 0 12px 26px rgba(0, 111, 242, 0.22);
  font-size: 0.92rem;
  font-weight: 700;
}

.logo-text,
.brand-text {
  max-width: 190px;
  font-size: 0.98rem;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 600;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 9px;
}

.primary-nav a,
.primary-nav button {
  padding: 10px 14px;
  color: #172a44;
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.3;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav button:hover,
.primary-nav button:focus-visible,
.primary-nav a.is-active {
  color: var(--color-blue);
  background: transparent;
}

.primary-nav a.is-active {
  box-shadow: inset 0 -3px 0 var(--color-blue);
}

.primary-nav .nav-cta {
  margin-left: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #087aff, #005bd8);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 111, 242, 0.24);
}

.primary-nav .nav-cta::before {
  content: "";
  width: 17px;
  height: 17px;
  margin-right: 8px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.7.6 2.5a2 2 0 0 1-.5 2.1L8 9.5a16 16 0 0 0 6.5 6.5l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.6.5 2.5.6A2 2 0 0 1 22 16.9Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #0a70e7, var(--color-blue));
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11, 99, 206, 0.26);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
  border-radius: 10px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding: 76px 0;
}

.section-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 64px;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(247, 251, 255, 0.96) 34%, rgba(239, 247, 255, 0.38) 62%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 0.84fr) minmax(640px, 1.16fr);
  gap: 0;
  align-items: center;
  min-height: 620px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  background: rgba(232, 242, 255, 0.82);
  border: 1px solid rgba(0, 111, 242, 0.12);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.84rem;
  font-weight: 800;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 111, 242, 0.10);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  color: var(--color-blue);
}

.hero-content h1 {
  max-width: 740px;
  font-size: clamp(2.85rem, 4.05vw, 3.55rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.22;
}

.hero-content .eyebrow {
  margin-bottom: 24px;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-copy {
  max-width: 610px;
  color: #64748b;
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 20px;
}

.hero-reassurance {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -6px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-reassurance::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--color-blue);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 19 6v5c0 4.6-2.8 8.7-7 10-4.2-1.3-7-5.4-7-10V6l7-3Zm3.7 6.3-5 5-2.4-2.4-1.4 1.4 3.8 3.8 6.4-6.4-1.4-1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, filter 180ms ease;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1687ff 0%, #006ff2 54%, #044ca5 100%);
  box-shadow: 0 17px 34px rgba(0, 111, 242, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-primary::after {
  content: "→";
  margin-left: 14px;
  font-size: 1.18rem;
  line-height: 1;
}

.button-secondary::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='3' width='14' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 8h8M8 12h2M12 12h2M16 12h0M8 16h2M12 16h2M16 16h0' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.button-secondary {
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 111, 242, 0.18);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  filter: saturate(1.06);
  box-shadow: 0 18px 38px rgba(11, 99, 206, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.07);
}

.sticky-quote-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #5eb8fd, #0b63ce);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 14px 30px rgba(11, 99, 206, 0.22);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  opacity: 1;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

body[data-page="home"] .sticky-quote-cta {
  display: none;
}

.sticky-quote-cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sticky-quote-cta:hover,
.sticky-quote-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 18px 38px rgba(11, 99, 206, 0.28);
}

.sticky-quote-cta.is-hidden,
.modal-open .sticky-quote-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  visibility: hidden;
}

.hero-points {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b4a5c;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 232, 242, 0.9);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  border-radius: 50%;
}

.trust-bar-section {
  position: relative;
  z-index: 6;
  padding: 0 0 34px;
  margin-top: -82px;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(210, 225, 245, 0.75);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 35, 70, 0.10);
  backdrop-filter: blur(12px);
}

.trust-bar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 82px;
  padding: 8px 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.trust-bar-card + .trust-bar-card {
  border-left: 1px solid rgba(226, 232, 240, 0.9);
}

.trust-bar-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  color: var(--color-blue);
  background: #f3f8ff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(11, 115, 246, 0.10);
  font-weight: 900;
}

.trust-bar-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.trust-bar-card strong {
  color: #172a44;
  line-height: 1.25;
  font-size: 1rem;
}

.trust-bar-card p {
  margin: 6px 0 0;
  color: #53657f;
  font-size: 0.85rem;
  line-height: 1.45;
}

.hero-panel {
  position: relative;
  min-height: 620px;
  display: block;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 -60px -64px -220px;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 18%, rgba(255, 255, 255, 0.26) 44%, rgba(255, 255, 255, 0.02) 70%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0 -60px -64px -260px;
  z-index: 1;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.84) 16%, rgba(255, 255, 255, 0.28) 38%, rgba(255, 255, 255, 0.02) 66%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 58%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% center;
  filter: contrast(1.08) saturate(1.08) brightness(1.04);
}

.insurance-card {
  position: absolute;
  top: 48px;
  right: 8px;
  z-index: 3;
  width: min(42vw, 360px);
  padding: 24px 24px 22px;
  text-align: left;
  background:
    radial-gradient(circle at 88% 5%, rgba(0, 111, 242, 0.20), transparent 8.5rem),
    radial-gradient(circle at 9% 0%, rgba(255, 255, 255, 0.92), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 34px 92px rgba(15, 23, 42, 0.24), 0 10px 30px rgba(0, 111, 242, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(38px) saturate(1.20) brightness(1.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.insurance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 38px 102px rgba(15, 23, 42, 0.28), 0 12px 34px rgba(0, 111, 242, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: #102033;
  font-size: 0.98rem;
  font-weight: 850;
}

.shield-orb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: linear-gradient(145deg, #76bdff 0%, #1687ff 54%, #0062df 100%);
  border: 2px solid rgba(255, 255, 255, 0.80);
  border-radius: 50%;
  box-shadow: 0 15px 34px rgba(0, 111, 242, 0.34), 0 0 0 9px rgba(0, 111, 242, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.shield-orb svg,
.policy-icon svg,
.quick-overview i svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.policy-list {
  display: grid;
  gap: 10px;
}

.policy-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 15px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.105), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, background-color 180ms ease;
}

.policy-row:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.94);
}

.policy-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.policy-icon-blue {
  color: var(--color-blue);
  background: rgba(0, 111, 242, 0.12);
}

.policy-icon-green {
  color: #10a760;
  background: rgba(22, 199, 132, 0.14);
}

.policy-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.policy-copy span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.policy-copy strong {
  color: #102033;
  font-size: 0.88rem;
  line-height: 1.25;
}

.policy-copy em {
  color: #6d7c91;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
}

.policy-copy small {
  flex: 0 0 auto;
  padding: 4px 9px;
  color: #0b9b58;
  background: rgba(22, 199, 132, 0.14);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1;
}

.quick-overview {
  margin-top: 18px;
}

.quick-overview h3 {
  margin: 0 0 12px;
  color: #102033;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
}

.quick-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-overview-grid span {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.quick-overview i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.quick-overview i svg {
  width: 17px;
  height: 17px;
}

.quick-overview strong {
  color: #102033;
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.2;
}

.card-note {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-note span {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--color-blue);
  border: 1px solid rgba(0, 111, 242, 0.24);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.shield-visual {
  position: relative;
  width: 238px;
  height: 208px;
  margin: 18px auto 14px;
  display: grid;
  place-items: center;
}

.policy-illustration {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.main-card h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.main-card p {
  max-width: none;
  margin: 14px 0 0;
  color: #607089;
  font-size: 0.75rem;
  font-weight: 730;
  line-height: 1.35;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.services-section {
  background: #ffffff;
}

.services-section .section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading .section-kicker,
.quote-copy .section-kicker,
.modal-header .section-kicker {
  margin-bottom: 14px;
}

.section-heading p,
.quote-copy p,
.modal-header p {
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 260px;
  padding: 30px;
  background: var(--color-surface);
  border: 1px solid rgba(223, 232, 242, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(11, 99, 206, 0.30);
  box-shadow: 0 20px 42px rgba(16, 32, 51, 0.10);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--color-blue);
  background: linear-gradient(145deg, #eef6ff, #ffffff);
  border: 1px solid rgba(11, 99, 206, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(11, 99, 206, 0.08);
}

.icon-badge svg,
.quote-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p,
.trust-item p,
.quote-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.trust-section {
  background:
    linear-gradient(135deg, rgba(232, 242, 255, 0.72), rgba(255, 255, 255, 0.88)),
    #ffffff;
  border-block: 1px solid rgba(223, 232, 242, 0.74);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 232, 242, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 206, 0.22);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.09);
}

.trust-icon {
  margin-bottom: 20px;
}

.trust-item h3 {
  margin-bottom: 10px;
}

.quote-section {
  padding-top: 82px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.quote-card {
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.62)),
    #ffffff;
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.quote-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(11, 99, 206, 0.24);
}

.quote-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.quote-card .form-button {
  margin-top: 24px;
}

.casco-calculator-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 111, 242, 0.08), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%),
    #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
}

.casco-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.casco-calculator-copy .section-kicker {
  margin-bottom: 18px;
}

.casco-calculator-copy h2 {
  margin-bottom: 16px;
}

.casco-calculator-copy p {
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.casco-disclaimer {
  margin-top: 26px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.casco-calculator-card {
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    var(--color-surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.10);
}

.casco-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.casco-result {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.casco-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.casco-plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 292px;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92)),
    #ffffff;
  border: 1px solid rgba(210, 225, 245, 0.88);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 35, 70, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.casco-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 111, 242, 0.22);
  box-shadow: 0 22px 46px rgba(15, 35, 70, 0.12);
}

.casco-plan-card.is-recommended {
  transform: translateY(-6px);
  border-color: rgba(0, 111, 242, 0.34);
  box-shadow: 0 24px 54px rgba(0, 111, 242, 0.14), 0 12px 30px rgba(15, 35, 70, 0.08);
}

.casco-plan-card.is-recommended:hover {
  transform: translateY(-8px);
}

.casco-plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  color: var(--color-blue);
  background: rgba(232, 242, 255, 0.92);
  border: 1px solid rgba(0, 111, 242, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
}

.casco-plan-head {
  display: grid;
  gap: 8px;
  padding-right: 4px;
}

.casco-plan-card.is-recommended .casco-plan-head {
  padding-right: 76px;
}

.casco-plan-kicker {
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}

.casco-result .casco-plan-kicker {
  color: var(--color-blue);
}

.casco-plan-head h3 {
  margin: 0;
  color: #102033;
  font-size: 1.05rem;
  line-height: 1.18;
}

.casco-plan-head p {
  margin: 0;
  color: #667791;
  font-size: 0.84rem;
  line-height: 1.42;
}

.casco-plan-price {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 76px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.88);
}

.casco-plan-price span {
  color: #667791;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.casco-plan-price strong {
  color: var(--color-blue);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.08;
  white-space: normal;
}

.casco-plan-price small {
  display: none;
  color: #51627a;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.35;
}

.casco-plan-price small.is-visible {
  display: block;
}

.casco-plan-button {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
}

.casco-plan-button::before,
.casco-plan-button::after {
  display: none;
}

.casco-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(232, 242, 255, 0.86), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(0, 111, 242, 0.16);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.casco-result-card-optional {
  max-height: 0;
  margin-top: -12px;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: max-height 220ms ease, margin-top 220ms ease, padding 220ms ease, border-color 220ms ease, opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

.casco-result-card-optional.is-visible {
  max-height: 160px;
  margin-top: 0;
  padding-top: 18px;
  padding-bottom: 18px;
  border-color: rgba(0, 111, 242, 0.16);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.casco-result span {
  color: var(--color-muted);
  font-weight: 750;
}

.casco-result strong {
  color: var(--color-blue);
  font-size: 1.22rem;
  line-height: 1;
  white-space: nowrap;
}

.casco-offer-copy {
  margin: 22px 0 0;
  color: #102033;
  font-weight: 800;
  text-align: center;
}

.casco-offer-button {
  width: 100%;
  margin-top: 14px;
  border-radius: 18px;
}

.process-section {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card,
.example-card {
  padding: 26px;
  background: var(--color-surface);
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-card:hover,
.example-card:hover {
  transform: translateY(-5px);
  border-color: rgba(94, 184, 253, 0.34);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.10);
}

.process-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #5eb8fd, #1e6edc);
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(11, 99, 206, 0.20);
}

.process-card h3,
.example-card h3 {
  margin-bottom: 10px;
}

.process-card p,
.example-card p,
.examples-disclaimer {
  color: var(--color-muted);
  margin-bottom: 0;
}

.partners-section {
  background:
    linear-gradient(135deg, rgba(232, 242, 255, 0.68), rgba(255, 255, 255, 0.92)),
    #ffffff;
  border-block: 1px solid rgba(223, 232, 242, 0.74);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 18px;
  color: #203044;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
  font-weight: 900;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.78;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, color 200ms ease, filter 200ms ease, opacity 200ms ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  color: var(--color-blue);
  border-color: rgba(0, 111, 242, 0.24);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.10);
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo-text {
  display: inline-block;
  letter-spacing: 0;
}

.legal-trust-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(223, 232, 242, 0.74);
}

.legal-trust-card {
  display: grid;
  grid-template-columns: auto minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: start;
  padding: 32px;
  background:
    radial-gradient(circle at 8% 8%, rgba(94, 184, 253, 0.14), transparent 14rem),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(210, 225, 245, 0.82);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(15, 35, 70, 0.08);
}

.legal-trust-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: linear-gradient(135deg, #5eb8fd, #006ff2);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 111, 242, 0.22);
}

.legal-trust-icon svg,
.benefit-check svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.legal-trust-copy h2 {
  margin-bottom: 12px;
}

.legal-trust-copy p {
  margin-bottom: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.legal-trust-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.legal-trust-details div {
  padding: 14px 16px;
  background: rgba(248, 251, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 16px;
}

.legal-trust-details dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 5px;
}

.legal-trust-details dd {
  margin: 0;
  color: #14243a;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.35;
}

.legal-trust-details a {
  color: var(--color-blue);
}

.benefits-section {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.8), rgba(255, 255, 255, 1)),
    #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 184, 253, 0.34);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.10);
}

.benefit-check {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--color-blue);
  background: #f3f8ff;
  border: 1px solid rgba(210, 225, 245, 0.86);
  border-radius: 14px;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.example-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.example-meta strong {
  color: var(--color-text);
  line-height: 1.25;
}

.example-meta span,
.example-type {
  color: var(--color-blue-dark);
  font-weight: 850;
}

.example-type {
  margin-bottom: 10px;
}

.examples-disclaimer {
  max-width: 820px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 0.95rem;
}

.final-cta-section {
  padding-top: 28px;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, #0b63ce, #084a9a);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(11, 99, 206, 0.22);
}

.final-cta-card .section-kicker {
  margin-bottom: 16px;
  color: #eaf6ff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.final-cta-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
}

.final-cta-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta-card .button {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--color-blue-dark);
  box-shadow: 0 16px 34px rgba(4, 24, 48, 0.18);
}

.contact-page-hero {
  padding: 66px 0 28px;
}

.contact-page-heading {
  max-width: 850px;
  text-align: center;
}

.contact-page-heading .section-kicker {
  margin-bottom: 20px;
}

.contact-page-heading h1 {
  margin-inline: auto;
  margin-bottom: 18px;
  font-size: clamp(2.125rem, 4vw, 2.375rem);
}

.contact-page-heading p {
  max-width: 690px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-section-v2 {
  padding-top: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 70%),
    radial-gradient(circle at 15% 20%, rgba(11, 99, 206, 0.08), transparent 28rem);
}

.contact-page-section {
  padding-top: 32px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(34px, 5vw, 64px);
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, #063f85 0%, #0b63ce 58%, #1687df 100%);
  border-radius: 22px;
}

.contact-info-head {
  margin-bottom: 32px;
}

.contact-kicker {
  color: #e8f5ff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-info-head h2,
.contact-form-head h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
}

.contact-info-head p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-detail:first-child {
  padding-top: 0;
}

.contact-detail strong,
.contact-action-card strong,
.contact-wide-card strong,
.response-box strong {
  display: block;
  line-height: 1.25;
}

.contact-detail a,
.contact-detail span:not(.contact-icon) {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-weight: 800;
}

.contact-detail small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--color-blue);
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.response-box {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.response-box p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.response-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #083f7b;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.contact-form-card {
  align-self: center;
  margin: clamp(18px, 3vw, 36px);
  padding: clamp(28px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.10);
}

.contact-form-head {
  margin-bottom: 28px;
}

.contact-form-head p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-submit {
  margin-top: 20px;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

.contact-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.contact-action-card,
.contact-wide-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(223, 232, 242, 0.96);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-action-card:hover,
.contact-action-card:focus-visible,
.contact-wide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 99, 206, 0.26);
  box-shadow: 0 18px 38px rgba(16, 32, 51, 0.10);
}

.contact-action-card .contact-icon,
.contact-wide-card .contact-icon {
  background: var(--color-blue-soft);
  box-shadow: none;
}

.contact-action-card small,
.contact-wide-card small {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
}

.contact-wide-card {
  grid-column: 1 / -1;
  position: relative;
  justify-content: space-between;
  min-height: 150px;
  overflow: hidden;
  padding: 26px;
  background:
    radial-gradient(circle at 88% 36%, rgba(11, 99, 206, 0.12), transparent 15rem),
    linear-gradient(135deg, rgba(232, 242, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #ffffff;
  border-color: rgba(11, 99, 206, 0.14);
}

.contact-wide-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
}

.contact-wide-card .contact-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  box-shadow: 0 12px 26px rgba(11, 99, 206, 0.20);
}

.bulgaria-map-accent {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: min(34%, 240px);
  min-width: 170px;
  height: auto;
  margin-left: 22px;
  cursor: pointer;
}

.bulgaria-map-accent .map-shadow {
  fill: rgba(11, 99, 206, 0.10);
  transform: translateY(5px);
  filter: blur(4px);
}

.bulgaria-map-accent .map-shape {
  fill: url("#bg-map-fill");
  stroke: rgba(11, 99, 206, 0.34);
  stroke-width: 2;
  filter: drop-shadow(0 8px 18px rgba(11, 99, 206, 0.12));
  transition: fill 180ms ease, filter 180ms ease, stroke 180ms ease;
}

.bulgaria-map-accent .map-dots {
  fill: url("#bg-map-dots");
  opacity: 0.55;
}

.bulgaria-map-accent #bg-map-dots circle {
  fill: rgba(11, 99, 206, 0.28);
}

.bulgaria-map-accent .map-line {
  fill: none;
  stroke: rgba(11, 99, 206, 0.26);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
}

.bulgaria-map-accent .map-line-soft {
  stroke: rgba(11, 99, 206, 0.16);
  stroke-width: 1.6;
}

.bulgaria-map-accent .map-pin path {
  fill: var(--color-blue);
  filter: drop-shadow(0 8px 10px rgba(11, 99, 206, 0.24));
}

.bulgaria-map-accent .map-pin circle {
  fill: #ffffff;
}

.bulgaria-map-accent:hover .map-shape {
  fill: #edf7ff;
  stroke: rgba(11, 99, 206, 0.46);
  filter: drop-shadow(0 10px 20px rgba(11, 99, 206, 0.18));
}

.bulgaria-map {
  width: 100%;
  max-width: 460px;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: 40px;
}

.contact-map,
.map-container,
.contacts-map {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-security-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row-full,
.conditional-fields {
  grid-column: 1 / -1;
}

.conditional-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.conditional-title {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 12px;
  color: var(--color-blue-dark);
  border-top: 1px solid var(--color-border);
  font-size: 0.94rem;
  font-weight: 850;
}

.form-row label {
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-row label span {
  color: #d13d3d;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 15px;
  outline: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 112px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  background: #ffffff;
  border-color: rgba(0, 111, 242, 0.46);
  box-shadow: 0 0 0 4px rgba(0, 111, 242, 0.10), 0 12px 28px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.form-row.has-error input,
.form-row.has-error select {
  border-color: #d13d3d;
  background: #fffafa;
}

.field-error {
  min-height: 16px;
  color: #b42318;
  font-size: 0.78rem;
  line-height: 1.25;
}

.field-help {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.form-button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--color-blue-dark);
  font-weight: 750;
  text-align: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 20, 35, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: min(100%, 860px);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 32px;
  background: #ffffff;
  border: 1px solid rgba(223, 232, 242, 0.98);
  border-radius: 28px;
  box-shadow: var(--shadow-premium);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.modal-overlay.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-text);
  background: #f3f7fb;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--color-blue-soft);
  transform: rotate(8deg);
}

.modal-header {
  max-width: 690px;
  margin-bottom: 24px;
  padding-right: 48px;
}

.modal-header h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
}

.modal-header p {
  margin-bottom: 0;
}

.modal-form {
  padding: 0;
}

.site-footer {
  padding: 30px 0;
  background: #071827;
  color: #d7e3ef;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  color: #f4f8fb;
  font-weight: 700;
}

.footer-inner a:hover {
  color: #8fc7ff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: grid;
    gap: 6px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a,
  .primary-nav button {
    width: 100%;
    padding: 13px 14px;
    text-align: left;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .trust-grid,
  .quote-grid,
  .casco-calculator-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 30px;
  }

  .section-hero {
    padding-top: 52px;
  }

  .hero-panel {
    min-height: 500px;
  }

  .hero-media {
    inset: 0 -16px 0 -16px;
    border-radius: 28px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.76) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.04) 56%);
  }

  .insurance-card {
    top: 34px;
    right: 18px;
    width: min(360px, calc(100% - 36px));
  }

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

  .trust-bar-grid,
  .process-grid,
  .examples-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-trust-card {
    grid-template-columns: auto 1fr;
  }

  .legal-trust-details {
    grid-column: 1 / -1;
  }

  .trust-bar-grid {
    gap: 8px 0;
  }

  .trust-bar-card:nth-child(odd) {
    border-left: 0;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-copy {
    position: static;
  }

  .contact-form-card {
    margin: 18px 0 0;
  }

  .contact-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand-text {
    max-width: 150px;
    font-size: 0.88rem;
  }

  .section {
    padding: 52px 0;
  }

  .section-hero {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(1.875rem, 9vw, 2.125rem);
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(1.375rem, 7vw, 1.5rem);
    line-height: 1.22;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .sticky-quote-cta {
    right: 16px;
    bottom: 14px;
    left: 16px;
    width: auto;
    min-height: 50px;
    padding: 13px 18px;
  }

  .hero-points {
    align-items: stretch;
  }

  .hero-points li {
    flex: 1 1 100%;
  }

  .hero-panel {
    min-height: 460px;
  }

  .hero-panel::before {
    inset: 0;
  }

  .insurance-card {
    top: 24px;
    right: 12px;
    width: min(342px, calc(100% - 24px));
    padding: 22px;
  }

  .shield-orb {
    width: 52px;
    height: 52px;
  }

  .policy-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .services-grid,
  .trust-list,
  .trust-bar-grid,
  .process-grid,
  .examples-grid,
  .benefits-grid,
  .partners-grid,
  .quote-form,
  .conditional-fields,
  .casco-form,
  .contact-form-grid,
  .contact-bottom-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar-grid {
    padding: 14px;
  }

  .trust-bar-card,
  .trust-bar-card + .trust-bar-card {
    border-left: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.86);
    padding: 14px 10px;
  }

  .trust-bar-card:first-child {
    border-top: 0;
  }

  .service-card {
    min-height: auto;
  }

  .quote-card {
    padding: 24px;
    border-radius: 22px;
  }

  .casco-calculator-card {
    padding: 24px;
    border-radius: 22px;
  }

  .casco-result-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .casco-plan-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .casco-plan-card,
  .casco-plan-card.is-recommended {
    min-height: auto;
    transform: none;
  }

  .casco-plan-card.is-recommended:hover,
  .casco-plan-card:hover {
    transform: translateY(-3px);
  }

  .partner-card {
    min-height: 72px;
  }

  .legal-trust-card {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 22px;
  }

  .legal-trust-details {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .final-cta-card {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
    border-radius: 22px;
  }

  .final-cta-card .button {
    width: 100%;
  }

  .contact-shell {
    padding: 10px;
    border-radius: 24px;
  }

  .contact-info-panel {
    padding: 28px;
    border-radius: 20px;
  }

  .contact-form-card {
    padding: 24px;
    border-radius: 20px;
  }

  .contact-detail,
  .response-box,
  .contact-action-card,
  .contact-wide-card {
    align-items: flex-start;
  }

  .contact-wide-card {
    flex-direction: column;
    min-height: auto;
  }

  .contact-wide-content {
    align-items: flex-start;
  }

  .bulgaria-map-accent {
    width: min(100%, 210px);
    min-width: 0;
    margin: 6px 0 0 60px;
    align-self: flex-end;
  }

  .modal-overlay {
    padding: 12px;
    align-items: end;
  }

  .modal-dialog {
    max-height: 92vh;
    padding: 24px;
    border-radius: 24px 24px 18px 18px;
  }

  .modal-header {
    padding-right: 42px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 58px;
  }
}

@media (max-width: 768px) {
  .bulgaria-map {
    max-width: 320px;
    max-height: 200px;
    margin: 24px auto 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo-text,
  .brand-text {
    display: none;
  }

  .hero-panel {
    min-height: 430px;
  }

}
