/* ==========================================================
   SARVOCCH MICROCARE FOUNDATION - PRODUCTION STYLESHEET
   Compatible with Hostinger Shared/Premium Hosting
   Clean Vanilla CSS3, Zero Build Dependencies
   ========================================================== */

/* ----------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   ---------------------------------------------------------- */
:root {
    --primary: #0757b8;
    --primary-light: #2579df;
    --primary-dark: #053b7c;
    --primary-glow: rgba(7, 87, 184, 0.15);

    --dark: #081d38;
    --dark-surface: #0e274a;
    --dark-muted: #1e3a63;

    --accent: #00b4d8;
    --accent-emerald: #10b981;
    --accent-emerald-bg: #ecfdf5;

    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-soft: #f1f5f9;
    --bg-ice: #f0f7ff;

    --text-heading: #091e3a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: #0757b8;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px -4px rgba(7, 45, 92, 0.1), 0 4px 12px -2px rgba(7, 45, 92, 0.05);
    --shadow-xl: 0 24px 50px -12px rgba(7, 45, 92, 0.18);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   ---------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.65;
    overflow-x: clip;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

img, svg {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* ----------------------------------------------------------
   3. TOP BAR
   ---------------------------------------------------------- */
.topbar {
    background: var(--dark);
    color: #e2e8f0;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #cbd5e1;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #93c5fd;
    font-weight: 500;
}

.topbar-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ----------------------------------------------------------
   4. NAVIGATION HEADER
   ---------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
    padding: 6px 2px;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--text-heading);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-heading);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------
   5. BUTTONS & UI CONTROLS
   ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(7, 87, 184, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 6px 20px rgba(7, 87, 184, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    color: var(--primary);
    border-color: #cbd5e1;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--bg-ice);
    transform: translateY(-1px);
}

.btn-white {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background: #f8fafc;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-icon-right svg {
    transition: transform 0.2s ease;
}

.btn:hover .btn-icon-right svg {
    transform: translateX(3px);
}

/* ----------------------------------------------------------
   6. HERO SECTION
   ---------------------------------------------------------- */
.hero {
    position: relative;
    padding: 85px 0 95px;
    background: radial-gradient(100% 100% at 50% 0%, #f0f7ff 0%, #ffffff 70%, #f8fafc 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background-image: radial-gradient(rgba(7, 87, 184, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(7, 87, 184, 0.08);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), #00a6fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 36px;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-heading);
}

.feature-pill svg {
    color: var(--accent-emerald);
}

/* Hero Right Card */
.hero-card {
    background: linear-gradient(145deg, #09264a 0%, #0757b8 60%, #0a73dc 100%);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    color: #ffffff;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.hero-card p {
    color: #dbeafe;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-stat-item span {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #bfdbfe;
    margin-bottom: 4px;
}

.card-stat-item strong {
    font-size: 1.25rem;
    font-weight: 800;
}

/* ----------------------------------------------------------
   7. STATS STRIP
   ---------------------------------------------------------- */
.stats-strip {
    background: var(--dark);
    color: #ffffff;
    padding: 38px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 10px 16px;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.stat-number .plus {
    color: var(--accent);
}

.stat-label {
    font-size: 0.8125rem;
    color: #93c5fd;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   8. SECTION ARCHITECTURE
   ---------------------------------------------------------- */
.section {
    padding: 85px 0;
    position: relative;
}

.section-soft {
    background-color: var(--bg-soft);
}

.section-white {
    background-color: #ffffff;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-ice);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    border: 1px solid rgba(7, 87, 184, 0.15);
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ----------------------------------------------------------
   9. ABOUT SECTION
   ---------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 18px;
    line-height: 1.25;
}

.about-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.values-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.values-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-ice);
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    list-style: none;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
}

.value-item svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ----------------------------------------------------------
   10. SERVICES SECTION
   ---------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.service-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bg-ice), #dbeafe);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
}

.service-link svg {
    transition: transform 0.2s ease;
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ----------------------------------------------------------
   11. LOAN CALCULATOR SECTION
   ---------------------------------------------------------- */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.calc-intro h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.25;
}

.calc-intro p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 22px;
}

.calc-container {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}

.calc-slider-group {
    margin-bottom: 24px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-heading);
}

.calc-value-badge {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--bg-ice);
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #bfdbfe;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(7, 87, 184, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(7, 87, 184, 0.4);
    cursor: pointer;
}

.range-slider:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

/* Preset Chips */
.calc-chips {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.chip-btn {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.chip-btn:hover, .chip-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Calculator Result Card */
.calc-result-card {
    background: linear-gradient(145deg, var(--dark) 0%, var(--dark-surface) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: #ffffff;
    margin-top: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-emi-highlight {
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 18px;
}

.calc-emi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #93c5fd;
    font-weight: 600;
}

.calc-emi-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

.calc-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.calc-breakdown-row strong {
    color: #ffffff;
    font-weight: 700;
}

/* Distribution Bar */
.calc-dist-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    margin: 14px 0 16px;
}

.dist-principal {
    background: #00b4d8;
    height: 100%;
    transition: width 0.3s ease;
}

.dist-interest {
    background: #f59e0b;
    height: 100%;
    transition: width 0.3s ease;
}

.calc-dist-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-bottom: 18px;
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.legend-principal .legend-dot { background: #00b4d8; }
.legend-interest .legend-dot { background: #f59e0b; }

/* ----------------------------------------------------------
   12. LEADERSHIP SECTION
   ---------------------------------------------------------- */
.leadership-carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 4px;
    flex-wrap: wrap;
    gap: 12px;
}

.carousel-counter {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.carousel-counter .current-slide {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.25);
}

.carousel-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.leadership-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 4px 22px;
    margin: -10px -4px -22px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.leadership-carousel.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.leadership-carousel::-webkit-scrollbar {
    display: none;
}

.leadership-track {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

/* 2 cards side by side on desktop & tablet (> 768px) in perfect sync with the 2-column layout of the page */
@media (min-width: 769px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 32px) / 2);
        min-width: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }
}

/* 1 card on mobile (<= 768px) */
@media (max-width: 768px) {
    .leadership-track {
        gap: 16px;
    }
    .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.carousel-slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
}

.leader-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(0, 119, 182, 0.3);
}

.leader-photo-wrapper {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--bg-ice) 0%, #dbeafe 100%);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .leader-photo-wrapper {
        height: 320px;
    }
}

.leader-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.leader-card:hover .leader-photo-img {
    transform: scale(1.05);
}

.leader-initials-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-glow), var(--bg-ice));
}

.leader-details {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (max-width: 640px) {
    .leader-details {
        padding: 20px 18px;
    }
}

.leader-designation-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-ice);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}

.leader-name {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.3;
}

.leader-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.leader-email-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 600;
    word-break: break-all;
    margin-top: auto;
}

.leader-email-link:hover {
    text-decoration: underline;
}

.carousel-dots-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.carousel-dots {
    display: inline-flex;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.carousel-dot.active {
    width: 28px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

/* Management Hierarchy Tree - Adaptive Uniform Sizing */
.hierarchy-container {
    max-width: 580px;
    margin: 54px auto 0;
    text-align: center;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.hierarchy-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hierarchy-item {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-heading);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.hierarchy-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.hierarchy-role {
    font-weight: 700;
    color: var(--text-heading);
    text-align: left;
}

.hierarchy-level,
.hierarchy-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--bg-ice);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .hierarchy-item {
        padding: 14px 16px;
        font-size: 0.9375rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .hierarchy-role {
        width: 100%;
    }
}

.hierarchy-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    color: var(--primary);
    opacity: 0.6;
}

/* ----------------------------------------------------------
   13. BRANCH DIRECTORY SECTION
   ---------------------------------------------------------- */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.branch-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.branch-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--accent-emerald-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
    white-space: nowrap;
}

.branch-address {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.branch-meta {
    display: grid;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-body);
    margin-bottom: 20px;
}

.branch-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.branch-map-frame {
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    background: #e2e8f0;
}

/* ----------------------------------------------------------
   14. CORPORATE INFORMATION
   ---------------------------------------------------------- */
.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.corp-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.corp-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-ice);
}

.corp-table {
    display: grid;
    gap: 12px;
    font-size: 0.875rem;
}

.corp-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.corp-label {
    font-weight: 600;
    color: var(--text-muted);
}

.corp-value {
    font-weight: 700;
    color: var(--text-heading);
    text-align: right;
    word-break: break-word;
}

/* ----------------------------------------------------------
   15. FORMS ARCHITECTURE (ENQUIRY / GRIEVANCE / CONTACT)
   ---------------------------------------------------------- */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 24px;
}

.form-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-label .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text-heading);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Form Helper & Validation Hint */
.form-hint {
    font-size: 0.6875rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Contact Dark Card */
.contact-dark-card {
    background: linear-gradient(145deg, var(--dark) 0%, var(--dark-surface) 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-dark-card h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-dark-card p {
    color: #cbd5e1;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.contact-channel-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    flex-shrink: 0;
}

.channel-info strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #93c5fd;
    margin-bottom: 2px;
}

.channel-info a, .channel-info span {
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
}

/* ----------------------------------------------------------
   16. ACCORDION FAQ
   ---------------------------------------------------------- */
.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-sm);
}

.faq-trigger {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    gap: 14px;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
}

.faq-item.active .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel-inner {
    overflow: hidden;
    padding: 0 22px 18px;
}

/* ----------------------------------------------------------
   17. NOTICES & CALLOUTS
   ---------------------------------------------------------- */
.notice-box {
    background: var(--bg-ice);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: #1e3a8a;
    line-height: 1.6;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notice-box svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

/* ----------------------------------------------------------
   18. FOOTER
   ---------------------------------------------------------- */
.footer {
    background: var(--dark);
    color: #ffffff;
    padding: 70px 0 24px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 360px;
}

.footer-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-link {
    color: #94a3b8;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: #93c5fd;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   19. FLOATING CONTROLS & TOAST NOTIFICATION
   ---------------------------------------------------------- */
/* Back to Top with Scroll Progress */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke: var(--primary);
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    transition: stroke-dashoffset 0.1s linear;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    min-width: 320px;
    max-width: 420px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-hide {
    animation: toastSlideOut 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success {
    border-left: 4px solid var(--accent-emerald);
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-success .toast-icon { color: var(--accent-emerald); }
.toast-error .toast-icon { color: #ef4444; }

.toast-content strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    margin-left: auto;
    padding: 2px;
}

.toast-close:hover {
    color: var(--text-heading);
}

/* ----------------------------------------------------------
   19.1 WHATSAPP WIDGETS & BUTTONS
   ---------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 995;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(18, 140, 126, 0.35);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    animation: whatsappPulse 2.8s infinite;
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(18, 140, 126, 0.45);
}

.whatsapp-float svg {
    flex-shrink: 0;
}

.whatsapp-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.whatsapp-float-text .status-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #d1fae5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-float-text .status-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ee7b7;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ebe5d, #0e7266);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

.form-actions-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        padding: 12px;
        border-radius: 50%;
    }

    .whatsapp-float-text {
        display: none;
    }

    .form-actions-split {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   20. RESPONSIVE DESIGN (BREAKPOINTS)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .nav {
        min-height: 64px;
        padding: 8px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .brand {
        flex-shrink: 0;
    }

    .brand-logo {
        height: 44px;
        max-width: 170px;
        width: auto;
        object-fit: contain;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        margin-left: auto;
        order: 2;
    }

    .nav-actions .btn-primary {
        display: inline-flex;
        padding: 7px 14px;
        font-size: 0.75rem;
        font-weight: 700;
        border-radius: var(--radius-full);
        white-space: nowrap;
    }

    .nav-actions .btn-icon-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        padding: 8px;
        background: var(--bg-ice);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        cursor: pointer;
        order: 3;
        flex-shrink: 0;
        transition: var(--transition);
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle:hover, .menu-toggle.open {
        background: #e0f2fe;
        border-color: var(--primary);
    }

    .hamburger-line {
        display: block;
        width: 22px;
        height: 2px;
        background-color: var(--primary);
        margin: 3px 0;
        transition: var(--transition);
        border-radius: 2px;
    }

    .menu-toggle.open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 64px);
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 20px 40px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid var(--border);
        box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1rem;
        font-weight: 700;
        width: 100%;
        padding: 12px 14px;
        border-radius: var(--radius-md);
        border-bottom: 1px solid #f1f5f9;
        color: var(--text-heading);
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: var(--transition);
    }

    .nav-link:hover, .nav-link.active {
        background: var(--bg-ice);
        color: var(--primary);
        border-bottom-color: transparent;
    }

    .about-grid, .branches-grid, .corporate-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-box:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .topbar {
        display: none;
    }

    .section {
        padding: 55px 0;
    }

    .hero {
        padding: 45px 0 65px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .calc-container, .form-card, .contact-dark-card, .values-card {
        padding: 24px 18px;
    }
}
