/* ============================================================
   SOLABIC ENERGY – Stylesheet
   Colors: Deep Blue #0a1e4e | Solar Orange #f59e0b | White #fff
   Fonts: Inter (body) · Montserrat (headings)
============================================================ */

:root {
  --blue:       #0a1e4e;
  --blue-mid:   #1460b8;
  --blue-light: #1e84e0;
  --orange:     #f59e0b;
  --orange-dk:  #d97706;
  --white:      #ffffff;
  --bg-light:   #f7f9fc;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --nav-h:      76px;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ── Utilities ────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Language visibility */
.v-de, .v-en { display: none; }
body.lang-de .v-de,
body.lang-en .v-en { display: inline; }

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,158,11,.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

/* ── Section helpers ──────────────────────────────────────── */
.section-white { padding: 6rem 1.75rem; background: var(--white); }
.section-light { padding: 6rem 1.75rem; background: var(--bg-light); }
.section-dark  { padding: 6rem 1.75rem; background: var(--blue); }

.section-header { margin-bottom: 3.5rem; }

.section-label {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: .975rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 600px;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(10,30,78,.1); }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { width: 42px; height: 42px; }
.logo-text  { display: flex; flex-direction: column; line-height: 1; }
.logo-name  {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue-mid); }

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--orange-dk) !important; color: #fff !important; }

/* Lang toggle */
.nav-right { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
  display: flex;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  padding: 4px 11px;
  border: none;
  background: none;
  border-radius: 14px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
}
.lang-btn.active { background: var(--blue); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  display: block;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  z-index: 999;
  padding: 1.25rem 1.75rem 1.75rem;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: .5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-nav a:last-child { border: none; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8,18,50,.93) 0%, rgba(18,76,170,.82) 55%, rgba(8,18,50,.92) 100%),
    url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1920&q=80') center / cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--orange); font-style: normal; }

.hero-sub {
  font-size: 1.025rem;
  color: rgba(255,255,255,.78);
  line-height: 1.72;
  margin-bottom: 2.25rem;
  max-width: 500px;
}

.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Stats */
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background .25s;
}
.stat-card:hover { background: rgba(255,255,255,.12); }
.stat-card--accent { border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.1); }

.stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35));
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── SERVICES ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(10,30,78,.1);
  border-color: transparent;
}

.service-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: #fff;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .6rem;
}
.service-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ── PROJECTS ─────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.project-card:hover img { transform: scale(1.07); }

.project-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,18,50,.92) 0%, rgba(8,18,50,.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  transform: translateY(6px);
  opacity: .9;
  transition: opacity .3s, transform .3s;
}
.project-card:hover .project-info { opacity: 1; transform: translateY(0); }

.project-type {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .3rem;
}
.project-info h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.project-year { font-size: .78rem; color: rgba(255,255,255,.6); }

/* ── ABOUT ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 70px rgba(10,30,78,.18);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--orange);
  color: #fff;
  padding: .9rem 1.2rem;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(245,158,11,.4);
}
.badge-num  { font-size: 1.9rem; display: block; line-height: 1; }
.badge-text { font-size: .7rem; font-weight: 600; opacity: .9; }

.about-cert {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding: .6rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .925rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.about-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 210px 210px;
  gap: 1rem;
}
.g-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.g-item--tall {
  grid-column: span 2;
  grid-row: span 2;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.g-item:hover img { transform: scale(1.05); }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; stroke: var(--orange); }
.ci-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 3px;
}
.ci-value { color: #fff; font-size: .95rem; font-weight: 500; }

.contact-note {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.contact-note p {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}

/* Form */
.contact-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 2.25rem;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.form-group { margin-bottom: .9rem; }
.form-group label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  padding: 11px 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); background: rgba(255,255,255,.1); }
.form-group select option { background: var(--blue); color: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  margin-top: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.form-submit:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,158,11,.35);
}
.form-submit.success { background: #16a34a; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: #06101e; padding: 3.5rem 1.75rem 1.5rem; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .logo-link { margin-bottom: .9rem; display: inline-flex; }
.footer-brand .logo-name { color: #fff; -webkit-text-fill-color: #fff; }
.footer-brand .logo-sub  { color: #475569; }

.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 270px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--orange); }

.footer-contact-mini {
  margin-top: 1.5rem;
}
.footer-contact-mini a {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-contact-mini a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid  { gap: 3rem; }
  .footer-top  { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid  {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 180px 180px;
  }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  .hero-badge  { display: none; }
  .hero-sub    { max-width: 100%; }
  .hero-btns   { justify-content: center; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }

  .section-white,
  .section-light,
  .section-dark { padding: 4rem 1.25rem; }

  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid  {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .g-item--tall { grid-column: span 2; grid-row: span 1; }
  .form-row-2   { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .gallery-grid    { grid-template-columns: 1fr; }
  .g-item--tall    { grid-column: span 1; }
}

/* ── MODALS ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  overflow-y: auto;
  padding: 2rem 1rem;
}
.modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 780px;
  padding: 2.75rem 2.75rem 3rem;
  position: relative;
  margin: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--gray-800);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--gray-200); }

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 1.75rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--orange);
  padding-right: 2.5rem;
}

.modal-body {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.8;
}
.modal-body > p:first-child { margin-bottom: 1rem; }
.modal-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue);
  margin: 1.5rem 0 .4rem;
}
.modal-body p { margin-bottom: .6rem; }
.modal-body ul {
  margin: .35rem 0 .75rem 1.4rem;
}
.modal-body ul li { margin-bottom: .2rem; }
.modal-body strong { color: var(--gray-800); font-weight: 600; }
.modal-body a { color: var(--blue-mid); text-decoration: underline; }
.modal-body a:hover { color: var(--orange-dk); }

@media (max-width: 768px) {
  .modal-box { padding: 1.75rem 1.25rem 2rem; border-radius: 12px; }
  .modal-overlay { padding: 1rem .5rem; }
}
