/*
Theme Name: SS DME INC Theme
Theme URI: https://ssdmeinc.com
Author: SS DME INC
Author URI: https://ssdmeinc.com
Description: A custom, lightweight, professional WordPress theme for SS DME INC designed for medical equipment suppliers. Features include HIPAA-conscious layout and Medicare Part B optimization.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bsadme
Tags: health, medical, responsive, accessibility-ready
*/

:root {
    /* Branding Colors */
    --color-primary: #1B2A57;
    --color-primary-dark: #132043;
    --color-primary-ink: #0F1935;
    --color-secondary: #42B8E6;
    --color-secondary-dark: #2AA7D9;
    --color-accent: #0F1B3D;
    --color-text: #0B1220;
    --color-text-light: #334155;
    --color-background: #FFFFFF;
    --color-light-gray: #F4FAFF;
    --color-border: #D6E3F3;
    --color-success: #16A34A;
    --color-error: #DC2626;

    --surface-1: #FFFFFF;
    --surface-2: #F3F9FF;
    --surface-3: #EDF6FF;

    --gradient-primary: linear-gradient(135deg, rgba(27, 42, 87, 1) 0%, rgba(19, 32, 67, 1) 100%);
    --gradient-accent: linear-gradient(135deg, rgba(66, 184, 230, 1) 0%, rgba(34, 151, 212, 1) 100%);
    --hero-overlay: linear-gradient(135deg, rgba(15, 27, 61, 0.55) 0%, rgba(15, 27, 61, 0.25) 55%, rgba(15, 27, 61, 0.12) 100%);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    /* Type scale (responsive) */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --h1-size: clamp(1.75rem, 2.7vw + 1rem, 2.45rem);
    --h2-size: clamp(1.4rem, 1.9vw + 0.95rem, 2.0rem);
    --h3-size: clamp(1.15rem, 1.25vw + 0.9rem, 1.55rem);
    --h4-size: 1.08rem;


    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Components */
    --border-radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 61, 0.06), 0 10px 24px rgba(15, 27, 61, 0.06);
    --shadow-md: 0 16px 44px rgba(15, 27, 61, 0.12);
    --shadow-lg: 0 26px 72px rgba(15, 27, 61, 0.18);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

html.js body {
    transition: opacity 260ms ease, transform 260ms ease;
}

html.is-loading body {
    opacity: 0;
    transform: translateY(4px);
}

html.js body.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-accent);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--h1-size); font-weight: var(--font-weight-bold); letter-spacing: -0.02em; }
h2 { font-size: var(--h2-size); font-weight: var(--font-weight-semibold); letter-spacing: -0.01em; }
h3 { font-size: var(--h3-size); font-weight: var(--font-weight-semibold); }
h4 { font-size: var(--h4-size); font-weight: var(--font-weight-semibold); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-secondary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(66, 184, 230, 0.45);
    outline-offset: 3px;
}

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

.card {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(214, 227, 243, 0.90);
    box-shadow: var(--shadow-sm);
}

.card,
.service-card,
.value-card,
.feature {
    transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 260ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 260ms ease;
}

.card:hover,
.service-card:hover,
.value-card:hover,
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(66, 184, 230, 0.22);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-bg-gray {
    background-color: var(--surface-2);
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 180ms ease, background-image 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    border: none;
    font-size: 0.98rem;
}

.btn {
    transform: translateZ(0);
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-image: var(--gradient-primary);
    color: white;
    box-shadow: 0 16px 34px rgba(15, 27, 61, 0.18);
}

.btn-primary:hover {
    background-image: linear-gradient(135deg, rgba(19, 32, 67, 1) 0%, rgba(15, 25, 53, 1) 100%);
    color: white;
    box-shadow: 0 22px 54px rgba(15, 27, 61, 0.24);
}

.btn-secondary {
    background-image: linear-gradient(135deg, rgba(66, 184, 230, 1) 0%, rgba(27, 42, 87, 1) 100%);
    color: white;
}

.btn-secondary:hover {
    background-image: linear-gradient(135deg, rgba(42, 167, 217, 1) 0%, rgba(19, 32, 67, 1) 100%);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(27, 42, 87, 0.35);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.page-title {
    letter-spacing: -0.02em;
}

.site-header {
    backdrop-filter: saturate(140%) blur(8px);
}

.hero-section,
.page-hero {
    position: relative;
    isolation: isolate;
	background: var(--bg-image, none) center / cover no-repeat;
}

.hero--home {
	background: url('assets/images/fronthero.svg') center / cover no-repeat;
	min-height: 560px;
	display: flex;
	align-items: center;
	padding: 110px 0;
}

.hero--home .container {
	width: 100%;
}

.hero--home .hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 560px) 1fr;
	align-items: center;
	gap: 56px;
}

.hero--home .hero-content {
	text-align: left;
	max-width: 560px;
	padding: 28px 28px;
	border-radius: var(--radius-lg);
	background: rgba(15, 27, 61, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px) saturate(135%);
	box-shadow: 0 22px 70px rgba(15, 27, 61, 0.20);
}

.hero--home .hero-eyebrow {
	font-size: 0.9rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.86);
	margin-bottom: 10px;
}

.hero--home h1 {
	margin: 0 0 14px;
	font-size: clamp(1.9rem, 3.2vw + 0.8rem, 2.35rem) !important;
	text-shadow: 0 16px 44px rgba(15, 27, 61, 0.30);
}

.hero--home h2 {
	margin: 0 0 14px;
	font-size: clamp(1.05rem, 1.4vw + 0.8rem, 1.22rem) !important;
	max-width: 54ch;
}

.hero--home p {
	margin: 0 0 22px;
	max-width: 58ch;
}

.hero--home .hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.hero--home .hero-spacer {
	min-height: 1px;
}

@media (max-width: 900px) {
	.hero--home .hero-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.hero--home .hero-content {
		max-width: 640px;
	}
}

.hero-preload {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hero-section::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    opacity: 0.78;
    z-index: 0;
}

.hero--home::before {
	background: linear-gradient(
		90deg,
		rgba(15, 27, 61, 0.78) 0%,
		rgba(15, 27, 61, 0.52) 36%,
		rgba(15, 27, 61, 0.22) 70%,
		rgba(15, 27, 61, 0.08) 100%
	);
	opacity: 1;
}

.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1100px 420px at 12% 18%, rgba(66, 184, 230, 0.16), transparent 62%), radial-gradient(900px 380px at 92% 18%, rgba(27, 42, 87, 0.20), transparent 68%);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.hero--home::after {
	background: radial-gradient(1000px 440px at 18% 28%, rgba(66, 184, 230, 0.18), transparent 64%), radial-gradient(700px 360px at 88% 18%, rgba(27, 42, 87, 0.12), transparent 70%);
}

.hero-section > *,
.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero {
    padding: 4rem 0;
    color: white;
}

/* Hero typography overrides (override inline styles) */
.hero-section h1 {
    font-size: clamp(1.85rem, 4.2vw + 0.9rem, 2.6rem) !important;
    font-weight: var(--font-weight-bold) !important;
    letter-spacing: -0.02em;
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2.2vw + 0.85rem, 1.35rem) !important;
    font-weight: var(--font-weight-medium) !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.hero-section p {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.hero-section .btn {
    font-size: 0.98rem !important;
    padding: 13px 22px !important;
}

@media (max-width: 480px) {
    .hero-section {
        padding: 78px 0 !important;
    }

	.hero--home {
		padding: 84px 0;
	}

	.hero--home .hero-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.hero--home .hero-content {
		padding: 20px 18px;
	}

    .hero-section h1 {
        font-size: clamp(1.55rem, 5.6vw + 0.8rem, 1.95rem) !important;
        font-weight: var(--font-weight-semibold) !important;
    }

    .hero-section h2 {
        font-size: 1.02rem !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
    }

    .hero-section .btn {
        font-size: 0.94rem !important;
        padding: 12px 18px !important;
    }
}

.site-footer {
    color: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
    color: rgba(203, 213, 225, 0.92);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

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

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Header & Nav (Premium Style) */
.site-header {
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 50px rgba(15, 27, 61, 0.10);
    border-bottom: 1px solid rgba(214, 227, 243, 0.90);
    transition: background-color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.site-header::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(66, 184, 230, 1), rgba(27, 42, 87, 1));
	opacity: 0.55;
	pointer-events: none;
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 70px rgba(15, 27, 61, 0.14);
}

.site-header .container {
	max-width: 1320px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
	gap: 18px;
}

.site-branding {
	flex: 0 0 auto;
}

.site-logo {
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    color: var(--color-primary); /* Deep Teal */
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo span {
    color: var(--color-secondary);
}

.main-navigation {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
}

/* Menu Items Animation */
.main-navigation a {
    color: var(--color-accent);
    font-weight: 560;
    position: relative;
    transition: color 180ms ease, opacity 180ms ease;
    display: inline-block;
	white-space: nowrap;
    padding: 10px 10px;
    border-radius: 10px;
	letter-spacing: 0.01em;
	font-size: 0.94rem;
    opacity: 0.92;
}

.main-navigation > ul > li > a:hover {
    background: rgba(66, 184, 230, 0.10);
}

.main-navigation > ul > li > a:hover {
	opacity: 1;
}

.site-logo img {
	max-height: 54px !important;
	width: auto;
}

/* Dropdown Menu Styles */
.main-navigation ul li {
    position: relative;
}

.main-navigation ul ul {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 999;
    flex-direction: column;
    gap: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.main-navigation ul ul li {
    width: 100%;
    display: block;
}

.main-navigation ul ul a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: var(--color-text);
    font-size: 0.95rem;
}

.main-navigation ul ul a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
    transform: translateX(5px);
}

.main-navigation ul ul a::after {
    display: none; /* Disable underline for dropdowns */
}

/* Underline Animation (Top Level Only) */
.main-navigation > ul > li > a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 6px;
    left: 0;
    background-image: linear-gradient(90deg, rgba(66, 184, 230, 1), rgba(27, 42, 87, 1));
	opacity: 0;
	transform: scaleX(0.65);
	transform-origin: center;
    transition: transform 200ms ease, opacity 200ms ease;
}

.main-navigation > ul > li > a:hover::after {
	opacity: 1;
	transform: scaleX(1);
}

.main-navigation > ul > li > a:hover {
    color: var(--color-secondary);
}

.main-navigation a:focus-visible {
	outline: 2px solid rgba(66, 184, 230, 0.45);
	outline-offset: 3px;
}

/* Header CTA Button */
.menu-cta {
	background-image: var(--gradient-accent);
	color: white !important;
	padding: 11px 18px;
	border-radius: 999px;
	transition: background-image 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0.02em;
	font-size: 0.92rem;
	border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
	box-shadow: 0 18px 46px rgba(15, 27, 61, 0.18);
}

.menu-cta:hover {
	background-image: linear-gradient(135deg, rgba(42, 167, 217, 1) 0%, rgba(19, 32, 67, 1) 100%);
	transform: translateY(-1px);
	box-shadow: 0 24px 66px rgba(15, 27, 61, 0.22);
}

.menu-cta {
    animation: none;
}

@keyframes bsadme-cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(66, 184, 230, 0.0); }
    50% { box-shadow: 0 0 0 10px rgba(66, 184, 230, 0.16); }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
}

/* Mobile Slide Menu Animation */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -18px 0 46px rgba(2, 8, 23, 0.18);
    transition: right 0.4s ease;
    padding: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-primary);
    line-height: 1;
    padding: 0;
    transition: transform 180ms ease, color 180ms ease;
}

.close-menu:hover {
    color: var(--color-secondary);
    transform: scale(1.04);
}

.mobile-cta {
    margin-top: 26px;
}

.mobile-menu nav ul {
    list-style: none;
    padding: 0;
}

.mobile-menu a {
    display: block;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(20px);
    /* Animation is triggered when class active is present */
}

.mobile-menu.active a {
    animation: slideFade 0.5s forwards;
}

/* Mobile Dropdowns */
.mobile-menu ul ul {
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 2px solid var(--color-border);
}

.mobile-menu ul ul a {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.mobile-menu ul ul a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

/* Stagger animation for items would require nth-child delay in CSS or JS, 
   keeping it simple as per request for now */

@keyframes slideFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .main-navigation { display: none; }
    .header-cta { display: none; } /* Hide desktop CTA on mobile */
    .mobile-menu-toggle { display: block; }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: none;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 1990;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.site-main ul:not(.menu):not(.sub-menu):not(.products) {
    list-style: none !important;
    padding-left: 0 !important;
}

.site-main ul:not(.menu):not(.sub-menu):not(.products) > li {
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
}

.site-main ul:not(.menu):not(.sub-menu):not(.products) li::marker {
    content: "";
}

.site-main ul:not(.menu):not(.sub-menu):not(.products) > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(66, 184, 230, 1), rgba(27, 42, 87, 1));
    box-shadow: 0 10px 22px rgba(27, 42, 87, 0.14);
    transform: scale(1);
    transition: transform 180ms ease, filter 180ms ease;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.0 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 12px 12px;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.0 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 12px 12px;
}

.site-main ul:not(.menu):not(.sub-menu):not(.products) > li:hover::before {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.05);
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 15px;
        --h1-size: clamp(1.5rem, 4.2vw + 0.9rem, 1.9rem);
        --h2-size: clamp(1.25rem, 3.2vw + 0.85rem, 1.55rem);
        --h3-size: clamp(1.1rem, 2.2vw + 0.85rem, 1.3rem);
    }

    .btn {
        font-size: 0.94rem;
        padding: 11px 18px;
    }

    .site-logo img {
        max-height: 48px !important;
    }
}

.reveal.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--fade {
    transform: none;
}

.reveal--fade.reveal--visible {
    transform: none;
}

.reveal--scale {
    transform: translateY(12px) scale(0.98);
}

.reveal--scale.reveal--visible {
    transform: translateY(0) scale(1);
}

.reveal--stagger > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal--stagger.reveal--visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal--stagger.reveal--visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal--stagger.reveal--visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal--stagger.reveal--visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal--stagger.reveal--visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal--stagger.reveal--visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal--stagger.reveal--visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal--stagger.reveal--visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal--stagger.reveal--visible > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Footer */
.site-footer {
    background-image: linear-gradient(180deg, rgba(27, 42, 87, 1) 0%, rgba(15, 25, 53, 1) 100%);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(66, 184, 230, 0.18);
}

.site-footer a {
    color: #CBD5E1;
}

.site-footer a:hover {
    color: white;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-about {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-logo {
    flex-shrink: 0;
}

.site-footer .footer-logo a,
.site-footer .custom-logo-link {
    display: inline-block;
    transform: translateZ(0);
    transition: transform 220ms ease, filter 220ms ease;
}

.site-footer .footer-logo a:hover,
.site-footer .custom-logo-link:hover {
    transform: translateY(-2px) scale(1.02);
    filter: saturate(1.05) contrast(1.05);
}

.footer-widget h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
    color: #94A3B8;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(214, 227, 243, 0.95);
    border-radius: var(--border-radius);
    font-family: inherit;
    margin-bottom: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-text);
    box-shadow: 0 1px 0 rgba(15, 27, 61, 0.04);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(66, 184, 230, 0.9);
    box-shadow: 0 0 0 4px rgba(66, 184, 230, 0.16);
}

input::placeholder,
textarea::placeholder {
    color: rgba(51, 65, 85, 0.70);
}

.site-main label {
    font-weight: var(--font-weight-semibold);
    color: rgba(15, 27, 61, 0.86);
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
    border: 1px solid rgba(214, 227, 243, 0.90);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(214, 227, 243, 0.85);
    vertical-align: top;
}

th {
    background: var(--surface-3);
    color: rgba(15, 27, 61, 0.88);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
}

tbody tr:hover td {
    background: rgba(66, 184, 230, 0.06);
}

.mv-error {
	background: rgba(220, 38, 38, 0.06);
	border: 1px solid rgba(220, 38, 38, 0.18);
	border-radius: 16px;
	padding: 18px 18px;
	box-shadow: var(--shadow-sm);
}

.mv-success {
	background: rgba(22, 163, 74, 0.08);
	border: 1px solid rgba(22, 163, 74, 0.20);
	border-radius: 16px;
	padding: 18px 18px;
	box-shadow: var(--shadow-sm);
}

.mv-card {
	background: #fff;
	border: 1px solid rgba(214, 227, 243, 0.90);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.mv-progress {
	padding: 18px 18px 12px;
	background: linear-gradient(180deg, rgba(243, 249, 255, 1), rgba(255, 255, 255, 1));
	border-bottom: 1px solid rgba(214, 227, 243, 0.90);
}

.mv-progress-steps {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-weight: var(--font-weight-semibold);
	color: rgba(15, 27, 61, 0.58);
}

.mv-step {
	flex: 1 1 0;
	text-align: center;
	font-size: 0.92rem;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(66, 184, 230, 0.10);
	border: 1px solid rgba(66, 184, 230, 0.22);
}

.mv-step.is-active {
	color: var(--color-primary);
	background: rgba(66, 184, 230, 0.16);
	border-color: rgba(66, 184, 230, 0.36);
}

.mv-progress-bar {
	margin-top: 12px;
	height: 6px;
	border-radius: 999px;
	background: rgba(15, 27, 61, 0.08);
	overflow: hidden;
}

.mv-progress-bar span {
	display: block;
	height: 100%;
	width: 33.333%;
	background: linear-gradient(90deg, rgba(66, 184, 230, 1), rgba(27, 42, 87, 1));
	transition: width 220ms ease;
}

.mv-form {
	padding: 18px;
}

.mv-panel {
	display: none;
}

.mv-panel.is-active {
	display: block;
}

.mv-title {
	font-size: 1.25rem;
	margin: 0 0 14px;
	color: var(--color-accent);
}

.mv-subtitle {
	font-size: 1.05rem;
	margin: 18px 0 10px;
	color: rgba(15, 27, 61, 0.76);
}

.mv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mv-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mv-field--wide {
	grid-column: 1 / -1;
}

.mv-field label {
	font-weight: var(--font-weight-semibold);
	color: rgba(15, 27, 61, 0.78);
	font-size: 0.92rem;
}

.mv-field input,
.mv-field select {
	border: 1px solid rgba(214, 227, 243, 0.95);
	border-radius: 12px;
	padding: 12px 12px;
	background: #fff;
	font-size: 1rem;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mv-field input:focus,
.mv-field select:focus {
	outline: none;
	border-color: rgba(66, 184, 230, 0.62);
	box-shadow: 0 0 0 4px rgba(66, 184, 230, 0.14);
}

.mv-help {
	font-size: 0.86rem;
	color: rgba(15, 27, 61, 0.56);
}

.mv-secure {
	display: flex;
	gap: 10px;
	align-items: center;
}

.mv-secure input {
	flex: 1 1 auto;
}

.mv-toggle {
	border: 1px solid rgba(214, 227, 243, 0.90);
	background: rgba(243, 249, 255, 1);
	border-radius: 999px;
	padding: 10px 14px;
	font-weight: var(--font-weight-semibold);
	color: rgba(15, 27, 61, 0.82);
	cursor: pointer;
}

.mv-toggle:hover {
	border-color: rgba(66, 184, 230, 0.46);
}

.mv-inline {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.mv-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(214, 227, 243, 0.90);
	background: rgba(243, 249, 255, 1);
}

.mv-checks {
	display: grid;
	gap: 12px;
}

.mv-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	border-radius: 14px;
	border: 1px solid rgba(214, 227, 243, 0.90);
	background: rgba(243, 249, 255, 1);
	padding: 12px 12px;
}

.mv-check input {
	margin-top: 3px;
}

.mv-disclaimer {
	margin-top: 16px;
	border-radius: 14px;
	border: 1px solid rgba(2, 8, 23, 0.10);
	background: rgba(2, 8, 23, 0.03);
	padding: 12px 12px;
	color: rgba(2, 8, 23, 0.72);
}

.mv-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	flex-wrap: wrap;
}

.mv-actions .btn {
	border-radius: 999px;
}

.mv-recaptcha {
	margin-top: 16px;
}

@media (max-width: 680px) {
	.mv-grid {
		grid-template-columns: 1fr;
	}
	.mv-actions {
		justify-content: stretch;
	}
	.mv-actions .btn {
		width: 100%;
	}
}

