/* ===================================================
   HARINARAYANAN FOUNDATIONS - MAIN STYLESHEET
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Spline+Sans:wght@300;400;500;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --royal-blue: #0A3D91;
  --deep-navy: #0C243C;
  --orange: #F28C28;
  --warm-yellow: #FFB938;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --mid-gray: #D0D4DB;
  --text-dark: #1A1A1A;
  --text-med: #4d4d4f;
  --font-head: 'Questrial', sans-serif;
  --font-body: 'Spline Sans', sans-serif;
  --max-w: 1440px;
  --radius: 5px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: #fff; overflow-x: hidden; line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 120px 0; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; border-radius: var(--radius); transition: all 0.22s; cursor: pointer; border: none; }
.btn-primary { background: var(--orange); color: #fff; border-radius: 999px; padding-right: 12px; }
.btn-primary:hover { background: #d97a1a; transform: translateY(-2px); }
.btn-primary .btn-icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--orange); display: flex; align-items: center; justify-content: center; }

.btn-outline { border: 1.5px solid var(--royal-blue); color: var(--royal-blue); background: transparent; border-radius: 999px; }
.btn-outline:hover { background: var(--royal-blue); color: #fff; }

.btn-ghost { border: 1px solid rgba(255,255,255,0.6); color: #fff; background: transparent; border-radius: 999px; padding-right: 12px; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; transform: translateY(-2px); }
.btn-ghost .btn-icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--royal-blue); display: flex; align-items: center; justify-content: center; }

.btn-white { background: #fff; color: var(--royal-blue); border-radius: 999px; }
.btn-white:hover { background: var(--orange); color: #fff; }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; transition: background 0.3s, box-shadow 0.3s; }
.site-header.scrolled { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 54px; width: auto; }
.logo-icon { display: block; }
.logo-full { display: none; }
.scrolled .logo-icon { display: none; }
.scrolled .logo-full { display: block; }

nav ul { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.95); transition: color 0.2s; position: relative; padding-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.scrolled nav a { color: var(--text-dark); }
nav a:hover { color: var(--orange); }
nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: linear-gradient(to right, var(--royal-blue), var(--orange)); border-radius: 2px; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); padding: 8px 0; z-index: 300; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 11px 16px; font-size: 0.875rem; color: var(--text-dark); border-bottom: 1px solid #f0f0f0; transition: color 0.15s, background 0.15s; }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { color: var(--orange); background: #f9f9f9; }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 20px; background: var(--orange); color: #fff; font-weight: 600; font-size: 0.875rem; border-radius: 999px; transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: #d97a1a; transform: translateY(-1px); }
.nav-cta-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #fff; color: var(--orange); border-radius: 50%; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; color: rgba(255,255,255,0.95); }
.scrolled .mobile-toggle { color: var(--text-dark); }
.mobile-toggle span { width: 24px; height: 2px; background: currentColor; display: block; border-radius: 2px; transition: transform 0.3s; }

/* ===== MOBILE MENU ===== */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 199; background: var(--royal-blue); overflow-y: auto; padding: 96px 24px 40px; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; font-size: 1.2rem; color: #fff; font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu-sub a { padding: 9px 0 9px 16px; font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.mobile-menu-cta { margin-top: 36px; padding: 14px 24px; border: 2px solid #fff; color: #fff; border-radius: var(--radius); font-weight: 600; text-align: center; display: block; transition: background 0.2s, color 0.2s; }
.mobile-menu-cta:hover { background: #fff !important; color: var(--royal-blue) !important; }

/* ===== SUBPAGE HERO ===== */
.subpage-hero { position: relative; min-height: 480px; display: flex; align-items: center; padding-top: 140px; padding-bottom: 80px; overflow: hidden; }
.subpage-hero-bg { position: absolute; inset: 0; }
.subpage-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.subpage-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%); }
.subpage-hero-content { position: relative; z-index: 2; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }

.breadcrumbs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 0.85rem; font-weight: 500; background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); transition: all 0.2s; }
.breadcrumb-item:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }
.breadcrumb-item.active { background: #fff; color: var(--royal-blue); border-color: #fff; font-weight: 600; cursor: default; }
.breadcrumb-sep { display: flex; align-items: center; color: rgba(255,255,255,0.5); }
.breadcrumb-sep svg { width: 12px; height: 12px; }

.subpage-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; line-height: 1.1; margin: 0; text-align: left; letter-spacing: -0.01em; }
.subpage-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 680px; line-height: 1.6; margin: 0; text-align: left; }

/* ===== INTRO TEXT ===== */
.intro-text { padding: 72px 0; background: #fff; }
.intro-text p { font-size: clamp(1.1rem, 2.5vw, 1.75rem); color: var(--text-med); line-height: 1.5; max-width: 900px; }

/* ===== SECTION HEADERS ===== */
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--royal-blue); margin-bottom: 14px; line-height: 1.15; }
.section-head p { font-size: 1.05rem; color: var(--text-med); max-width: 640px; line-height: 1.65; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

/* ===== CARDS ===== */
.card { position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 32px; transition: box-shadow 0.3s, transform 0.3s; }
.card::after { content: ''; position: absolute; top: 0; right: 0; width: 48px; height: 4px; background: var(--orange); border-radius: 0 var(--radius) 0 0; }
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.card-icon { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--royal-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--royal-blue); transition: transform 0.3s; }
.card:hover .card-icon { transform: scale(1.06); }
.card-icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--royal-blue); margin-bottom: 10px; line-height: 1.4; }
.card p { font-size: 0.875rem; color: var(--text-med); line-height: 1.7; }

/* Metric card variant */
.metric-card { min-height: 200px; display: flex; flex-direction: column; }
.metric-card .card-icon svg { width: 38px; height: 38px; }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-align-center { align-items: center; }

/* ===== HORIZONTAL SCROLL CAROUSEL ===== */
.hscroll-section { position: relative; padding-bottom: 80px; }
.hscroll-container { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; padding: 0 24px 16px; }
.hscroll-container::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: 24px; min-width: max-content; }
.hscroll-card { flex-shrink: 0; width: 380px; position: relative; background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid #e5e7eb; min-height: 260px; display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s; }
.hscroll-card::after { content: ''; position: absolute; top: 0; right: 0; width: 48px; height: 4px; background: var(--orange); border-radius: 0 var(--radius) 0 0; }
.hscroll-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.hscroll-card .card-icon { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--royal-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--royal-blue); }
.hscroll-card .card-icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.hscroll-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--royal-blue); margin-bottom: 10px; }
.hscroll-card p { font-size: 0.875rem; color: var(--text-med); line-height: 1.7; flex: 1; }

.hscroll-fade-l { position: absolute; left: 0; top: 0; bottom: 80px; width: 100px; background: linear-gradient(to right, var(--from-color, #EBF3FB), transparent); pointer-events: none; z-index: 2; }
.hscroll-fade-r { position: absolute; right: 0; top: 0; bottom: 80px; width: 100px; background: linear-gradient(to left, var(--to-color, #E0EDF9), transparent); pointer-events: none; z-index: 2; }

.hscroll-controls { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; margin-top: 24px; gap: 20px; }
.hscroll-arrows { display: flex; gap: 12px; flex-shrink: 0; }
.hscroll-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d1d5db; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.2s; cursor: pointer; }
.hscroll-btn:hover { background: var(--royal-blue); color: #fff; border-color: var(--royal-blue); }
.hscroll-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.hscroll-progress { flex: 1; max-width: 192px; height: 2px; background: #d1d5db; border-radius: 1px; overflow: hidden; position: absolute; left: 50%; transform: translateX(-50%); }
.hscroll-progress-fill { height: 100%; background: linear-gradient(to right, var(--royal-blue), var(--orange)); border-radius: 1px; width: 10%; transition: width 0.15s; }

@media (max-width: 600px) {
  .hscroll-progress { position: static; transform: none; max-width: none; }
  .hscroll-controls > div:last-child { display: none; } /* Hide the 112px placeholder on mobile if present */
  .hscroll-controls { gap: 12px; }
}

/* ===== ENGINEERING GRID BG ===== */
.eng-grid { position: absolute; inset: 0; opacity: 0.02; pointer-events: none; background-image: repeating-linear-gradient(0deg, #0A3D91 0px, #0A3D91 1px, transparent 1px, transparent 40px), repeating-linear-gradient(90deg, #0A3D91 0px, #0A3D91 1px, transparent 1px, transparent 40px); }

/* ===== IMAGE SECTIONS ===== */
.img-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.img-card:hover img { transform: scale(1.06); }
.img-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); }
.img-corner-accent { position: absolute; bottom: -24px; right: -24px; width: 100px; height: 100px; border: 4px solid var(--orange); border-radius: var(--radius); opacity: 0.3; pointer-events: none; }

/* ===== CTA BANNER ===== */
.cta-banner { position: relative; padding: 120px 0; overflow: hidden; text-align: center; }
.cta-banner-bg { position: absolute; inset: 0; }
.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-overlay { position: absolute; inset: 0; background: rgba(12,36,60,0.72); }
.cta-banner-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.cta-banner-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px; backdrop-filter: blur(8px); }
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; margin-bottom: 20px; line-height: 1.15; }
@media (min-width: 992px) { .cta-banner h2 { white-space: nowrap; } }
.cta-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.88); margin-bottom: 40px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== DARK STRIP ===== */
.dark-strip { background: linear-gradient(135deg, var(--royal-blue), var(--deep-navy)); padding: 60px 0; text-align: center; }
.dark-strip p { font-size: clamp(1rem, 2.5vw, 1.35rem); color: rgba(255,255,255,0.92); max-width: 800px; margin: 0 auto; line-height: 1.7; }

/* ===== FOOTER CTA ===== */
.footer-cta-strip { position: relative; padding: 96px 0; background: #0A1F3D; overflow: hidden; text-align: center; }
.footer-cta-blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.footer-cta-strip h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.footer-cta-strip p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.footer-cta-strip .btn-primary { position: relative; z-index: 1; }

/* ===== FOOTER ===== */
footer, .site-footer { background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)), url('../assets/footer.jpg') center/cover no-repeat !important; }
.site-footer { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-logo-img { height: 48px; margin-bottom: 16px; }
.footer-brand-text { font-size: 0.875rem; color: var(--text-med); line-height: 1.7; }
.footer-col h3 { font-family: var(--font-head); font-size: 1.05rem; color: var(--text-dark); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.875rem; color: var(--text-med); transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-col .sub-h3 { font-family: var(--font-head); font-size: 1rem; color: var(--text-dark); margin-top: 24px; margin-bottom: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.contact-icon { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-text { font-size: 0.875rem; color: var(--text-med); }
.contact-text a { color: var(--text-med); transition: color 0.2s; }
.contact-text a:hover { color: var(--orange); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: #e5e7eb; display: flex; align-items: center; justify-content: center; color: var(--text-med); transition: background 0.2s, color 0.2s, transform 0.2s; }
.social-btn:hover { background: var(--orange); color: #fff !important; transform: scale(1.1); }
.social-btn svg { width: 16px; height: 16px; }
.footer-divider { border-top: 1px solid #d1d5db; }
.footer-customer-login { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.footer-customer-login a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-med); transition: color 0.2s; }
.footer-customer-login a:hover { color: var(--orange); }
.footer-customer-login svg { width: 15px; height: 15px; }
.footer-watermark { padding: 24px 0 0; overflow: hidden; width: 100%; display: flex; flex-direction: column; align-items: stretch; }
.watermark-caption { font-size: clamp(1rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: 0.06em; color: var(--orange); padding: 0 24px; margin-bottom: -10px; }
.watermark-text { font-size: clamp(2.5rem, 10.8vw, 11rem); font-weight: 800; letter-spacing: 0.02em; color: #B5BCC8; line-height: 1; white-space: nowrap; width: 100%; display: block; overflow: hidden; text-overflow: clip; padding: 0 90px 0 24px; box-sizing: border-box; }
.footer-legal { padding: 24px 0 40px; border-top: 1px solid #d1d5db; margin-top: 12px; }
.footer-legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-size: 0.75rem; color: var(--text-med); }
.footer-legal-grid a { color: var(--text-med); transition: color 0.2s; }
.footer-legal-grid a:hover { color: var(--orange); }

/* ===== HIGHLIGHT CHECKLIST ===== */
.highlight-list { display: flex; flex-direction: column; gap: 14px; }
.highlight-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: #f9f9f9; border-radius: var(--radius); border: 1px solid #f0f0f0; transition: border-color 0.2s; }
.highlight-item:hover { border-color: rgba(242,140,40,0.3); }
.highlight-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(10,61,145,0.1); display: flex; align-items: center; justify-content: center; color: var(--royal-blue); }
.highlight-check svg { width: 15px; height: 15px; }
.highlight-item p { font-size: 0.95rem; color: var(--text-med); margin: 0; }

/* ===== COMPARISON TABLE ===== */
.compare-table { border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; }
.compare-head { display: grid; grid-template-columns: repeat(3,1fr); background: var(--royal-blue); color: #fff; }
.compare-head div { padding: 20px 24px; font-weight: 600; font-size: 0.95rem; }
.compare-head div:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.2); }
.compare-row { display: grid; grid-template-columns: repeat(3,1fr); }
.compare-row:nth-child(even) { background: #f9fafb; }
.compare-row:not(:last-child) { border-bottom: 1px solid #e5e7eb; }
.compare-row div { padding: 18px 24px; font-size: 0.875rem; }
.compare-row div:not(:first-child) { border-left: 1px solid #e5e7eb; display: flex; align-items: flex-start; gap: 10px; }
.compare-row div:first-child { font-weight: 600; color: var(--royal-blue); }
.compare-row .x-icon { color: #ef4444; flex-shrink: 0; margin-top: 1px; }
.compare-row .check-icon { color: #16a34a; flex-shrink: 0; margin-top: 1px; }
.compare-row svg { width: 17px; height: 17px; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== UTILITY ===== */
.text-orange { color: var(--orange); }
.text-blue { color: var(--royal-blue); }
.bg-light { background: var(--light-gray); }
.bg-blue-grad { background: linear-gradient(to bottom, #EBF3FB, #E0EDF9); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-head div, .compare-row div { border: none !important; border-bottom: 1px solid rgba(255,255,255,0.15) !important; }
  .compare-row div:not(:first-child) { border-bottom: 1px solid #e5e7eb !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-grid { grid-template-columns: 1fr; }
  .hscroll-card { width: 300px; }
  .section-pad-lg { padding: 72px 0; }
}

/* ===== FLOATING ACTION BUTTONS ===== */
.fab-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.fab-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  color: #fff;
}
.fab-btn svg:not(.progress-ring) { width: 28px; height: 28px; stroke-width: 2; }
.fab-whatsapp { background: #25D366; }
.fab-phone { background: var(--orange); }

/* Scroll to top with progress ring */
.fab-scroll {
  background: #fff;
  border: 1px solid transparent; /* controlled by svg */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* lighter shadow */
}
.fab-scroll:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.12); }
.fab-scroll-chevron {
  color: var(--royal-blue);
  width: 24px !important;
  height: 24px !important;
}
.progress-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  transform: rotate(-90deg);
}
.progress-ring-circle-bg {
  stroke: #e5e7eb;
  stroke-width: 3;
  fill: transparent;
}
.progress-ring-circle {
  stroke: var(--royal-blue);
  stroke-width: 3;
  fill: transparent;
  stroke-linecap: round;
  stroke-dasharray: 163.363; /* 2 * pi * 26 */
  stroke-dashoffset: 163.363; /* full offset init */
  transition: stroke-dashoffset 0.1s;
}

@media (max-width: 768px) {
  .fab-container { bottom: 20px; right: 20px; gap: 12px; }
  .fab-btn { width: 48px; height: 48px; }
  .fab-btn svg:not(.progress-ring) { width: 24px; height: 24px; }
  .fab-scroll-chevron { width: 20px !important; height: 20px !important; }
}

/* ===== PIPELINE TRACKER ===== */
.pipeline-wrapper { width: 100%; padding: 20px 0; }
.pipeline-tracker { display: flex; align-items: flex-start; justify-content: space-between; position: relative; margin: 40px auto 32px; max-width: 960px; }
.pipeline-track-bg { position: absolute; top: 31px; left: 70px; right: 70px; height: 2px; background: #e5e7eb; z-index: 0; }
.pipeline-track-fill { position: absolute; top: 31px; left: 70px; width: calc((100% - 140px) * 0.75); height: 2px; background: var(--orange); z-index: 1; }

.pipeline-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 140px; text-align: center; }
.pipeline-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 0 0 8px #FBFBFC; background: #fff; }
.pipeline-icon.done { background: var(--royal-blue); color: #fff; }
.pipeline-icon.active { border: 2px solid var(--orange); color: var(--orange); font-weight: 700; font-size: 1.5rem; box-shadow: 0 0 0 4px #FBFBFC, 0 0 0 5px var(--orange); }
.pipeline-icon.pending { border: 2px solid #d1d5db; color: #9ca3af; font-weight: 700; font-size: 1.5rem; }

.pipeline-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pipeline-text { font-size: 0.875rem; font-weight: 700; color: var(--royal-blue); }
.pipeline-text.pending { font-weight: 600; color: #6b7280; }
.pipeline-badge { font-size: 0.65rem; font-weight: 800; background: rgba(242,140,40,0.12); color: var(--orange); padding: 5px 12px; border-radius: 999px; letter-spacing: 0.06em; }

@media (max-width: 768px) {
  .pipeline-tracker { flex-direction: column; align-items: flex-start; gap: 32px; margin: 24px auto; }
  .pipeline-track-bg { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .pipeline-track-fill { top: 24px; left: 23px; right: auto; width: 2px; height: calc((100% - 48px) * 0.75); }
  .pipeline-step { flex-direction: row; width: 100%; text-align: left; align-items: center; gap: 20px; }
  .pipeline-icon { width: 48px; height: 48px; margin-bottom: 0; flex-shrink: 0; box-shadow: 0 0 0 6px #FBFBFC; }
  .pipeline-icon.active { font-size: 1.25rem; box-shadow: 0 0 0 3px #FBFBFC, 0 0 0 4px var(--orange); }
  .pipeline-icon.pending { font-size: 1.25rem; }
  .pipeline-icon svg { width: 20px; height: 20px; }
  .pipeline-content { align-items: flex-start; gap: 6px; }
}
