/* ==========================================================================
   شركة الخطيب للمقاولات العامة والحدادة بالكويت — Bright Sunlit Stylesheet (RTL)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8f5ef;
  --surface-warm: #fff9ee;
  --ink: #0f172a;
  --ink-muted: #475569;
  --steel-950: #0f172a;
  --steel-900: #1e293b;
  --steel-800: #334155;
  --steel-700: #475569;
  --gold-600: #b4690e;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-100: #fef3c7;
  --sky-100: #eff6ff;
  --whatsapp: #16a34a;
  --whatsapp-dark: #15803d;
  --border: #e7e1d6;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(180, 105, 14, 0.14);
  --max-width: 1200px;
  --font-sans: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Bright Top Bar & Sticky Navigation
   ========================================================================== */
.topbar {
  background: var(--surface-warm);
  color: var(--steel-900);
  font-size: 0.88rem;
  border-bottom: 1px solid #f3e4c3;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.55rem;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--steel-800);
  font-weight: 600;
}

.topbar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  flex-shrink: 0;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--gold-600);
}

.topbar-phone:hover {
  color: var(--steel-950);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
}

.brand-mark svg path:first-child {
  stroke: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--steel-950);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--gold-600);
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--steel-800);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--steel-950);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 0 1.25rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mobile-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  color: var(--steel-900);
}

.mobile-menu a:hover {
  background: var(--surface-warm);
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.25rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c26a05, #9a570a);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.24);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 1.02rem;
}

.header-call-btn {
  display: none;
}

@media (min-width: 560px) {
  .header-call-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   Bright Sunlit Hero Section
   ========================================================================== */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(251, 191, 36, 0.18), transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(56, 189, 248, 0.12), transparent 45%),
    linear-gradient(160deg, #ffffff 0%, #fffaf1 54%, #f6efe2 100%);
  color: var(--ink);
  padding-block: 3rem 3.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    padding-block: 4rem 4.75rem;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: var(--gold-100);
  border: 1px solid #f5d08a;
  color: var(--gold-600);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.95rem, 4vw, 3.05rem);
  line-height: 1.25;
  font-weight: 900;
  color: var(--steel-950);
}

.hero h1 span {
  color: var(--gold-600);
}

.hero-lead {
  margin: 0 0 1.45rem;
  font-size: 1.06rem;
  color: var(--steel-700);
  max-width: 58ch;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  background: #ffffff;
  border: 1px solid #e6dcc8;
  padding: 0.34rem 0.82rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--steel-900);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e8dfce;
}

.trust-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-600);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.84rem;
  color: var(--steel-700);
  font-weight: 600;
}

.hero-media {
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  background: var(--surface-alt);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1400 / 781;
  object-fit: cover;
}

.hero-floating-card {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid #eadcc2;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.hero-floating-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.hero-floating-card strong {
  display: block;
  color: var(--steel-950);
  font-size: 1rem;
  font-weight: 800;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding-block: 4rem;
}

.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--steel-950);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: grid;
  place-items: center;
}

.service-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--steel-950);
}

.service-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-list {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-list li {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--surface-warm);
  border: 1px solid #f2e1be;
  color: var(--steel-900);
  padding: 0.2rem 0.62rem;
  border-radius: 6px;
}

.service-link {
  margin-top: 0.4rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  color: var(--steel-950);
}

/* ==========================================================================
   Portfolio / Gallery
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--steel-800);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-color: var(--gold-600);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.22);
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card[hidden] {
  display: none;
}

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

.project-thumb-btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--surface-alt);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  text-align: inherit;
}

.project-thumb-btn img {
  width: 100%;
  aspect-ratio: 960 / 716;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover .project-thumb-btn img {
  transform: scale(1.04);
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gold-600);
  border: 1px solid rgba(217, 119, 6, 0.25);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.project-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.project-body h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--steel-950);
}

.project-body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  flex: 1;
}

.project-footer {
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-phone {
  font-weight: 800;
  color: var(--steel-950);
  font-size: 0.94rem;
}

/* ==========================================================================
   Landscaping & Contracting Highlights Band
   ========================================================================== */
.highlight-grid {
  display: grid;
  gap: 1.5rem;
}

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

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.highlight-box h3 {
  margin: 0 0 0.85rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--steel-950);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--steel-800);
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ==========================================================================
   SEO Articles Section
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.35rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.55rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.article-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-600);
}

.article-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--steel-950);
}

.article-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  flex: 1;
}

.article-read-btn {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-600);
  cursor: pointer;
  border-bottom: 2px solid var(--gold-400);
  transition: color 0.16s ease;
}

.article-read-btn:hover {
  color: var(--steel-950);
}

/* ==========================================================================
   Kuwait Governorates Coverage
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.9rem;
}

.area-pill {
  background: var(--surface-warm);
  border: 1px solid #efe2c8;
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.area-pill strong {
  display: block;
  font-size: 1.05rem;
  color: var(--steel-950);
}

.area-pill span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Accessible Native <details> Accordion (FAQ)
   ========================================================================== */
.accordion {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 1.35rem;
  font-weight: 800;
  font-size: 1.03rem;
  color: var(--steel-950);
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: "";
  inline-size: 1.1em;
  block-size: 1.1em;
  flex-shrink: 0;
  background-color: var(--gold-500);
  mask: url("assets/chevron-down.svg") no-repeat center / contain;
  -webkit-mask: url("assets/chevron-down.svg") no-repeat center / contain;
  rotate: -90deg;
}

.accordion summary:dir(rtl)::before {
  rotate: 90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }
  .accordion details::details-content {
    transition: block-size 0.3s ease-in-out, content-visibility 0.3s ease-in-out allow-discrete;
  }
}

.accordion-body {
  padding: 0 1.35rem 1.2rem 1.35rem;
  color: var(--ink-muted);
  font-size: 0.96rem;
  border-top: 1px solid var(--surface-alt);
}

.accordion-body p {
  margin: 0.85rem 0 0;
}

/* ==========================================================================
   Bright CTA Banner & Sunlit Footer
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #fffdf7 0%, #fef3d8 100%);
  color: var(--steel-950);
  border-radius: var(--radius-lg);
  padding: 2.6rem 1.75rem;
  text-align: center;
  border: 2px solid #f4d28b;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--steel-950);
}

.cta-banner p {
  margin: 0 auto 1.6rem;
  max-width: 56ch;
  color: var(--steel-700);
  font-weight: 600;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.site-footer {
  background: #f6f1e7;
  color: var(--steel-800);
  padding-block: 3rem 1.75rem;
  margin-top: 3.5rem;
  border-top: 3px solid var(--gold-500);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

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

.footer-title {
  margin: 0 0 0.85rem;
  color: var(--steel-950);
  font-size: 1.1rem;
  font-weight: 900;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: var(--gold-600);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid #e2d8c5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--steel-700);
  font-weight: 600;
}

/* ==========================================================================
   Native Modal <dialog> with Pure CSS Background Scroll Containment
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
  width: min(92vw, 720px);
  max-height: 88dvh;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 2;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--steel-950);
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--steel-950);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: var(--gold-100);
}

.modal-content {
  padding: 1.35rem;
}

.modal-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.modal-content p {
  margin: 0 0 0.9rem;
  color: var(--steel-800);
}

.modal-content ul {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
  color: var(--steel-800);
}

.modal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Bright Mobile Sticky Bottom Bar & Scroll-Triggered Desktop Quick Buttons
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
}

.mobile-sticky-bar .btn {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.desktop-fab {
  display: none;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
  .desktop-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  body.has-scrolled .desktop-fab {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .desktop-fab a {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  }
}
