/* ============================================
   Greater New York Gastroenterology
   Bold Editorial Medical Website
   Charcoal + Coral Color Palette
   ============================================ */

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

:root {
    --charcoal-900: #1A1A1A;
    --charcoal-800: #2D2D2D;
    --charcoal-700: #3D3D3D;
    --charcoal-600: #4A4A4A;
    --charcoal-500: #5A5A5A;
    --charcoal-400: #8A8A8A;
    --coral-500: #FF6B4A;
    --coral-600: #E8553A;
    --coral-400: #FF8A75;
    --coral-300: #FFAAA0;
    --coral-100: #FFE8E2;
    --cream-50: #FAFAFA;
    --cream-100: #F5F3F0;
    --cream-200: #EDECE8;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal-900);
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    max-width: 600px;
}

.section-header {
    margin-bottom: 64px;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-subtitle,
.section-header--centered .section-label {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--coral-500);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 74, 0.35);
}

.btn--primary:hover {
    background: var(--coral-600);
    box-shadow: 0 6px 24px rgba(255, 107, 74, 0.45);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn--ghost-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--coral-500);
    border: 1.5px solid var(--coral-500);
}

.btn--outline:hover {
    background: var(--coral-500);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--coral {
    background: var(--coral-500);
    color: var(--white);
}

.btn--coral:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--coral-500);
    border-radius: 10px;
    display: block;
    position: relative;
}

.nav__logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.9;
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav__item--cta {
    margin-left: 8px;
}

.nav__cta-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--coral-500);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.nav__cta-btn:hover {
    background: var(--coral-600);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--charcoal-900);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255, 107, 74, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255, 138, 117, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(45, 45, 45, 0.8) 0%, transparent 70%),
        linear-gradient(160deg, #1A1A1A 0%, #2D2D2D 40%, #3D3D3D 100%);
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.1) 50%, rgba(26,26,26,0.5) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 120px 24px 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 74, 0.15);
    border: 1px solid rgba(255, 107, 74, 0.3);
    color: var(--coral-300);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--coral-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero__headline em {
    font-style: italic;
    color: var(--coral-400);
}

.hero__subhead {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__trust-item svg {
    color: var(--coral-400);
    flex-shrink: 0;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--coral-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 74, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    background: var(--coral-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--coral-500);
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--coral-500);
    color: var(--white);
}

.service-card__title {
    font-size: 1.375rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about__image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.about__image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--coral-500);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about__content {
    padding: 20px 0;
}

.about__body {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral-500);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--charcoal-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--cream-200);
}

/* --- Why Choose Us --- */
.why {
    padding: 120px 0;
    background: var(--charcoal-900);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(255, 107, 74, 0.08) 0%, transparent 60%);
}

.why .section-label {
    color: var(--coral-400);
}

.why .section-title {
    color: var(--white);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.why__item {
    padding: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.why__item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 107, 74, 0.3);
    transform: translateY(-4px);
}

.why__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 107, 74, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.why__title {
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.why__desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
}

/* --- Insurance --- */
.insurance {
    padding: 80px 0;
    background: var(--cream-100);
}

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

.insurance__title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.insurance__desc {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    max-width: 500px;
}

.insurance__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* --- CTA --- */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--coral-500) 0%, #E8553A 50%, #D4442A 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.cta__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta__desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__desc {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail {
    display: flex;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    background: var(--coral-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-800);
    margin-bottom: 4px;
}

.contact__detail p {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.6;
}

.contact__detail a {
    color: var(--coral-500);
}

.contact__detail a:hover {
    color: var(--coral-600);
    text-decoration: underline;
}

.contact__form-wrap {
    background: var(--cream-100);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.contact__form-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.contact__form-note {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    margin-bottom: 32px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-700);
    margin-bottom: 8px;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal-800);
    background: var(--white);
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--charcoal-400);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form__success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: var(--radius-sm);
    color: #2E7D32;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 16px;
}

.form__success.show {
    display: flex;
}

.form__success svg {
    flex-shrink: 0;
}

/* --- Map --- */
.map {
    height: 350px;
    filter: grayscale(30%);
}

.map iframe {
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-900);
    padding: 80px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--coral-500);
    border-radius: 10px;
    display: block;
    position: relative;
}

.footer__logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.9;
}

.footer__logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 320px;
}

.footer__links {
    display: flex;
    gap: 60px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col strong {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 4px;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__col a:hover {
    color: var(--coral-400);
}

.footer__bottom {
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__disclaimer {
    max-width: 600px;
    text-align: right;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--charcoal-800);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

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

.scroll-top:hover {
    background: var(--coral-500);
    transform: translateY(-4px);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* --- Mobile Menu Overlay --- */
.nav__menu-overlay {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__layout {
        gap: 48px;
    }

    .contact__layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--charcoal-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }

    .nav__item--cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }

    .nav__cta-btn {
        display: block;
        text-align: center;
        width: 100%;
    }

    .hero__headline {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }

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

    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image img {
        height: 400px;
    }

    .about__image-accent {
        top: -12px;
        left: -12px;
    }

    .about__stats {
        gap: 20px;
    }

    .stat__number {
        font-size: 2rem;
    }

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

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

    .insurance__actions {
        flex-direction: column;
        width: 100%;
    }

    .insurance__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .contact__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__form-wrap {
        padding: 32px 24px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__links {
        gap: 40px;
    }

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

    .footer__disclaimer {
        text-align: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .services,
    .about,
    .why,
    .insurance,
    .cta,
    .contact {
        padding: 80px 0;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .service-card {
        padding: 28px 24px;
    }

    .why__item {
        padding: 28px;
    }

    .contact__form-wrap {
        padding: 24px 20px;
    }
}
