/* ========================================
   Craig Cardiovascular Center
   Vibrant Modern Cardiology Website
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080d18;
    
    --coral-400: #fb7185;
    --coral-500: #f43f5e;
    
    --yellow-400: #facc15;
    --yellow-500: #eab308;
    
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.04;
}

.geo-shape.circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--teal-500);
    top: -150px;
    right: -100px;
}

.geo-shape.circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--coral-400);
    bottom: 20%;
    left: -80px;
}

.geo-shape.triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--yellow-400);
    top: 45%;
    right: 5%;
    opacity: 0.03;
}

.geo-shape.square {
    width: 150px;
    height: 150px;
    background: var(--teal-400);
    bottom: 10%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.03;
}

.geo-shape.circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--teal-300);
    top: 60%;
    left: 8%;
    opacity: 0.05;
}

.geo-shape.line-1 {
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-400), transparent);
    top: 35%;
    left: 0;
    opacity: 0.06;
}

.geo-shape.line-2 {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--coral-400));
    bottom: 30%;
    right: 0;
    opacity: 0.05;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-900);
}

.logo-icon {
    color: var(--teal-600);
}

.logo-text {
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--teal-600);
}

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

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-cta {
    background: var(--teal-600) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--teal-700) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s;
}

.hamburger::before { transform: translateY(-6px); }
.hamburger::after { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--slate-950) 0%, var(--slate-900) 50%, var(--teal-900) 100%);
    padding: 120px 0 80px;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 70% 40%, rgba(13, 148, 136, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(244, 63, 94, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: var(--teal-300);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-400);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-400) 50%, var(--yellow-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-400);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.btn-light {
    background: #ffffff;
    color: var(--teal-700);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

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

/* --- Floating Stat Cards --- */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateX(6px);
}

.stat-card--primary {
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    color: var(--slate-800);
}

.stat-card--accent {
    background: var(--coral-500);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3);
    color: #ffffff;
}

.stat-card--teal {
    background: var(--teal-600);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.35);
    color: #ffffff;
}

.stat-card-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    right: -15px;
    top: -15px;
}

.stat-card--primary .stat-card-accent { background: var(--teal-600); }
.stat-card--accent .stat-card-accent { background: #ffffff; }
.stat-card--teal .stat-card-accent { background: #ffffff; }

.stat-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card--primary .stat-card-icon {
    background: var(--teal-100);
    color: var(--teal-700);
}

.stat-card--accent .stat-card-icon,
.stat-card--teal .stat-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.stat-card-label {
    font-size: 0.82rem;
    opacity: 0.75;
}

/* --- Hero Wave --- */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-600);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 560px;
}

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

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: var(--slate-50);
    position: relative;
    z-index: 1;
}

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

.service-card {
    position: relative;
    padding: 36px 30px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-300);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-50) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

.service-card-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-600);
    color: #ffffff;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.08);
}

.service-card-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.service-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid var(--teal-500);
    transform: translate(16px, 16px);
    z-index: -1;
    opacity: 0.3;
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: var(--radius-md);
}

.floating-card-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--slate-900);
}

.floating-card-label {
    font-size: 0.78rem;
    color: var(--slate-500);
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-700);
}

.feature-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: 50%;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(13, 148, 136, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(244, 63, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .section-tag {
    background: rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.3);
    color: var(--teal-400);
}

.why-us .section-title {
    color: #ffffff;
}

.why-us .section-subtitle {
    color: var(--slate-400);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.why-card {
    position: relative;
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(13, 148, 136, 0.4);
    transform: translateY(-4px);
}

.why-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
}

.why-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-600);
    color: #ffffff;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-card-desc {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 50%, var(--teal-500) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-circle-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    top: -200px;
    right: -100px;
}

.cta-circle-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: 5%;
}

.cta-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    top: 10%;
    right: 15%;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 18px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--slate-50);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 56px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    margin-bottom: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    border-color: var(--teal-300);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: var(--radius-md);
}

.contact-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1.5;
}

.contact-card-value a {
    color: var(--teal-700);
    transition: color 0.2s;
}

.contact-card-value a:hover {
    color: var(--teal-500);
}

.contact-map {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    position: relative;
}

.contact-form-bg {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--teal-500), var(--coral-400));
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    opacity: 0.2;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 7px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    background: #ffffff;
}

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

.form-success {
    text-align: center;
    padding: 32px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: 50%;
    margin: 0 auto 18px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.form-success a {
    color: var(--teal-600);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 72px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--teal-400);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-200);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--teal-400);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-phone {
    color: var(--teal-400);
    font-weight: 600;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: var(--slate-500);
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: var(--slate-600);
    max-width: 480px;
    text-align: right;
    line-height: 1.5;
}

/* --- Reveal Animations --- */
[data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }
    
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
    
    .hero-cards {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        display: inline-flex;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
