/* ===================================================================
   Mahraj Steels — self-contained stylesheet (no Tailwind runtime)
   =================================================================== */
:root {
  --brand: #e30613;
  --brand-dark: #b30009;
  --brand-light: #ff2a2a;
  --bg-900: #0c0e12;
  --bg-800: #14171d;
  --bg-700: #1e232b;
  --card: #181c23;
  --line: rgba(255,255,255,0.07);
  --text: #ffffff;
  --muted: #9aa3af;
  --muted-2: #c3c9d1;
  --radius: 16px;
  --maxw: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-900);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
::selection { background: var(--brand); color: #fff; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-900); }
::-webkit-scrollbar-thumb { background: #2a2f38; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ============ Utility-ish helpers ============ */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand);
}
.text-brand { color: var(--brand); }
.text-glow { text-shadow: 0 0 25px rgba(227,6,19,0.55); }
.muted { color: var(--muted); }
.section { padding: 5.5rem 0; }
.section-sm { padding: 4rem 0; }
.bg-800 { background: var(--bg-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { max-width: 760px; margin: 0 auto 3.25rem; text-align: center; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-top: 0.75rem; }
.sec-head p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

/* ============ Buttons ============ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; padding: 0.72rem 1.4rem; border-radius: 10px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer; border: none; font-size: 0.95rem;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 25px -10px rgba(227,6,19,0.7); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(227,6,19,0.85); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.25); color: #fff; }
.btn-ghost:hover { border-color: var(--brand); background: rgba(227,6,19,0.1); transform: translateY(-2px); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1rem; }

/* ============ Top bar ============ */
.topbar { background: var(--bg-800); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; height: 40px;
  display: flex; align-items: center; justify-content: space-between; color: var(--muted);
}
.topbar i { color: var(--brand); margin-right: 0.5rem; }
.topbar-right { display: flex; gap: 1.5rem; }
.topbar-right a:hover { color: #fff; }
@media (max-width: 900px) { .topbar { display: none; } }

/* ============ Header ============ */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,14,18,0.6);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
#site-header.scrolled {
  background: rgba(12,14,18,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.85);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-logo { height: 48px; width: 48px; border-radius: 8px; object-fit: cover; }
.brand-text { line-height: 1.05; }
.brand-top { display: block; font-size: 1.25rem; font-weight: 900; letter-spacing: 0.04em; }
.brand-sub { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; color: var(--brand); margin-top: -2px; }

.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  position: relative; padding: 0.5rem 0.9rem; font-weight: 600; font-size: 0.95rem;
  color: #d6dae1; border-radius: 8px; transition: color .2s ease; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link::after {
  content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 4px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-caret { font-size: 0.7rem; transition: transform .25s ease; }

/* ---- Mega menu ---- */
.nav-dd { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(760px, 88vw); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; z-index: 60;
}
.nav-dd::before { /* hover bridge */
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 22px;
}
.nav-dd:hover .mega, .nav-dd:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dd:hover .nav-caret { transform: rotate(180deg); }
.mega-inner {
  display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem;
  background: #14171d; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.9);
}
.mega-head h4 { font-size: 1.25rem; margin: 0.5rem 0 0.5rem; }
.mega-head p { color: var(--muted); font-size: 0.88rem; }
.mega-all { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; color: var(--brand); font-weight: 700; font-size: 0.9rem; }
.mega-all:hover { gap: 0.7rem; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.mega-item { display: flex; gap: 0.75rem; padding: 0.7rem; border-radius: 12px; transition: background .2s ease; align-items: flex-start; }
.mega-item:hover { background: rgba(227,6,19,0.1); }
.mega-ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
}
.mega-text strong { display: block; font-size: 0.92rem; }
.mega-text small { display: block; color: var(--muted); font-size: 0.76rem; line-height: 1.35; margin-top: 2px; }

.header-cta { flex-shrink: 0; }
.menu-toggle, .menu-close {
  display: none; background: none; border: none; color: #fff; font-size: 1.5rem;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ============ Mobile menu (SOLID) ============ */
.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 90;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 88vw); z-index: 95;
  background: #0c0e12;                 /* fully opaque */
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.9);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: var(--header-h); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #0c0e12; z-index: 2;
}
.menu-close { display: flex; }
.mobile-nav { padding: 1rem 1.25rem 2rem; }
.mnav-link {
  display: block; padding: 0.95rem 0.25rem; font-size: 1.1rem; font-weight: 700;
  border-bottom: 1px solid var(--line); color: #e7eaef;
}
.mnav-link:active, .mnav-link:hover { color: var(--brand); }

/* mobile accordion */
.macc { border-bottom: 1px solid var(--line); }
.macc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: #e7eaef; font-size: 1.1rem; font-weight: 700;
  padding: 0.95rem 0.25rem; cursor: pointer; font-family: inherit;
}
.macc-trigger i { color: var(--brand); transition: transform .3s ease; font-size: 0.85rem; }
.macc.open .macc-trigger i { transform: rotate(180deg); }
.macc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.macc.open .macc-panel { max-height: 640px; }
.msub-link {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.25rem 0.7rem 0.9rem;
  color: var(--muted); font-size: 0.95rem; font-weight: 600;
}
.msub-link i { color: var(--brand); width: 18px; text-align: center; }
.msub-link:hover { color: #fff; }
.msub-all { color: #fff; }
.mobile-cta { width: 100%; margin-top: 1.5rem; }
.mobile-contact { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.8rem; }
.mobile-contact a { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.mobile-contact i { color: var(--brand); width: 18px; }

/* ============ Cards & shared blocks ============ */
.card {
  background: linear-gradient(160deg, var(--card), #121519);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(227,6,19,0.5); box-shadow: 0 25px 45px -25px rgba(0,0,0,0.9); }
.card h3 { font-size: 1.25rem; margin-top: 1.1rem; }
.card p { color: var(--muted); margin-top: 0.75rem; }
.card-row { display: flex; gap: 1rem; }
.card-row h3 { margin-top: 0; }

.icon-box {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 20px -10px rgba(227,6,19,0.7);
}
.tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(227,6,19,0.15); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.68rem;
}
.chip {
  background: rgba(227,6,19,0.15); color: var(--brand); font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 950px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }
.rounded-img { border-radius: var(--radius); box-shadow: 0 25px 45px -25px rgba(0,0,0,0.9); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.feature-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; gap: 1rem; color: var(--muted); }
.feature-list strong { color: #fff; }

.chk-grid { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 640px) { .chk-grid { grid-template-columns: 1fr; } }
.chk-grid li { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); }

/* ============ Stats ============ */
.stats { background: var(--bg-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; padding: 3.5rem 0; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-val { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; color: var(--brand); }
.stat-label { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }

/* ============ Solution / blog cards ============ */
.sol-card, .blog-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: #14171d; border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sol-card:hover, .blog-card:hover { transform: translateY(-6px); border-color: rgba(227,6,19,0.5); box-shadow: 0 25px 45px -25px rgba(0,0,0,0.9); }
.sol-img, .blog-img { height: 190px; background-size: cover; background-position: center; transition: transform .5s ease; }
.sol-card:hover .sol-img, .blog-card:hover .blog-img { transform: scale(1.07); }
.sol-body, .blog-body { padding: 1.5rem; }
.sol-body h3, .blog-body h3 { font-size: 1.2rem; margin-top: 1rem; }
.blog-body h3 { margin-top: 0.75rem; }
.sol-body p, .blog-body p { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }
.sol-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; color: var(--brand); font-weight: 700; font-size: 0.9rem; }
.sol-card:hover .sol-link, .blog-card:hover .sol-link { gap: 0.7rem; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; color: var(--muted); }

/* ============ Page hero ============ */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg-900), rgba(12,14,18,0.92) 55%, rgba(12,14,18,0.6)); }
.page-hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 6rem 1.5rem 7rem; }
.crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.crumb a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); max-width: 760px; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; margin-top: 1.25rem; max-width: 640px; }

/* ============ HERO (home) ============ */
.hero { position: relative; overflow: hidden; perspective: 1200px; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12); transition: opacity 1.5s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, var(--bg-900), rgba(12,14,18,0.85) 50%, transparent); }
.hero-sparks {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,120,60,0.35), transparent 45%),
    radial-gradient(circle at 60% 50%, rgba(227,6,19,0.18), transparent 55%);
  animation: spark-shift 9s ease-in-out infinite alternate;
}
@keyframes spark-shift { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 1; transform: scale(1.08); } }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; min-height: 88vh; display: flex; align-items: center; }
.hero-content { max-width: 640px; padding: 6rem 0; }
.hero-content h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.05; margin-top: 1rem; }
.hero-content .lead { color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.3rem); margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin-top: 2.5rem; font-size: 0.9rem; color: var(--muted); }
.hero-badges i { color: var(--brand); margin-right: 0.5rem; }

.hero-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.6rem;
  background: rgba(20,23,29,0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1); padding: 0.75rem 1.1rem; border-radius: 12px;
  font-weight: 700; font-size: 0.9rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.9);
}
.hero-float i { color: var(--brand); font-size: 1.1rem; }
.hero-float-1 { top: 22%; right: 7%; animation: float-y 6s ease-in-out infinite; }
.hero-float-2 { top: 48%; right: 17%; animation: float-y 7s ease-in-out infinite .6s; }
.hero-float-3 { top: 70%; right: 6%; animation: float-y 6.5s ease-in-out infinite 1.2s; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@media (max-width: 1100px) { .hero-float { display: none; } }
[data-tilt-scene] { transform-style: preserve-3d; transition: transform .2s ease-out; }

.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.3); border-radius: 14px; position: relative; }
.hero-scroll span::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 4px; background: var(--brand); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; top: 7px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }
@media (max-width: 640px) { .hero-scroll { display: none; } }

.badge-float { position: absolute; bottom: -24px; left: -24px; background: var(--brand); border-radius: 14px; padding: 1.1rem 1.5rem; box-shadow: 0 20px 40px -18px rgba(227,6,19,0.8); }
.badge-float .n { font-size: 1.9rem; font-weight: 900; }
.badge-float .t { font-size: 0.85rem; color: rgba(255,255,255,0.9); }
@media (max-width: 560px) { .badge-float { display: none; } }
.img-wrap { position: relative; }

/* ============ CTA band ============ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(to right, var(--brand-dark), var(--brand), var(--brand-light)); }
.cta-band::before { content: ''; position: absolute; inset: 0; opacity: 0.2; background: radial-gradient(circle at 70% 30%, #fff, transparent 55%); }
.cta-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.5rem; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta-inner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-inner p { margin-top: 0.5rem; font-size: 1.1rem; color: rgba(255,255,255,0.92); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-btn-light, .cta-btn-dark { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; padding: 0.9rem 1.75rem; border-radius: 10px; transition: all .25s ease; box-shadow: 0 10px 25px -10px rgba(0,0,0,0.5); }
.cta-btn-light { background: #fff; color: var(--brand); }
.cta-btn-light:hover { background: var(--bg-900); color: #fff; transform: translateY(-2px); }
.cta-btn-dark { background: var(--bg-900); color: #fff; }
.cta-btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ============ Footer ============ */
.footer { background: var(--bg-800); border-top: 1px solid var(--line); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; }
@media (max-width: 950px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-brand img { height: 44px; width: 44px; border-radius: 8px; object-fit: cover; }
.footer-desc { color: var(--muted); font-size: 0.9rem; }
.socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-ico { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); color: #d6dae1; transition: all .25s ease; }
.social-ico:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-title { font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 1.2rem; text-transform: uppercase; }
.footer-list li { margin-bottom: 0.75rem; }
.footer-link { color: var(--muted); font-size: 0.9rem; transition: color .2s ease; }
.footer-link:hover { color: var(--brand); }
.footer-contact li { display: flex; gap: 0.75rem; margin-bottom: 1rem; color: var(--muted); font-size: 0.9rem; }
.footer-contact i { color: var(--brand); margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.85rem; }

/* ============ WhatsApp float ============ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -8px rgba(37,211,102,0.7); animation: wa-pulse 2.2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: #cfd4db; margin-bottom: 0.4rem; }
.form-input { width: 100%; background: #0f1216; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.75rem 1rem; color: #fff; font-size: 0.95rem; font-family: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.form-input::placeholder { color: #5b6068; }
.form-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227,6,19,0.2); }
select.form-input option { background: #0f1216; }
.form-field { margin-bottom: 1.25rem; }

/* ============ FAQ ============ */
.faq { margin-bottom: 1rem; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; color: #fff; text-align: left; cursor: pointer; font-family: inherit; font-size: 1.1rem; font-weight: 600; }
.faq-q i { color: var(--brand); transition: transform .3s ease; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); padding-top: 1rem; }
.faq.open .faq-a { max-height: 320px; }
.faq.open .faq-q i { transform: rotate(45deg); }

/* ============ Blog article prose ============ */
.prose { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.prose p { color: var(--muted-2); line-height: 1.85; font-size: 1.08rem; margin-bottom: 1.4rem; }
.prose-cta { margin-top: 3rem; padding: 1.75rem; border-radius: var(--radius); background: var(--bg-800); border: 1px solid var(--line); }
.prose-cta h3 { font-size: 1.25rem; }
.prose-cta p { margin: 0.5rem 0 1.25rem; }

/* ============ Map ============ */
.map-frame { width: 100%; border: 0; display: block; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 45px -25px rgba(0,0,0,0.9); }

/* ============ Misc numbered process ============ */
.step-num { font-size: 3rem; font-weight: 900; color: rgba(227,6,19,0.2); }

/* ============ Tag pills ============ */
.tag { display: inline-block; background: var(--bg-700); border: 1px solid var(--line); color: var(--muted-2); padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; margin: 0 0.4rem 0.4rem 0; }

/* ============ 404 ============ */
.err-wrap { min-height: 70vh; display: flex; align-items: center; }
.err-code { font-size: 7rem; font-weight: 900; color: var(--brand); line-height: 1; }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 2.5rem; }
.center { text-align: center; }

@media (max-width: 950px) {
  #contact-grid { grid-template-columns: 1fr !important; }
}
