/* CSS Variables - CinnaMed Warm Red & Teal */
:root {
    --primary: #c41e3a;
    --primary-dark: #a01830;
    --primary-light: #fff5f5;
    --secondary: #2a9d8f;
    --accent: #2a9d8f;
    --coral: #e07a5f;
    --sunshine: #f4a261;
    --mint: #2a9d8f;
    --cream: #fdf8f5;
    --bg-white: #ffffff;
    --bg-light: #fffaf8;
    --bg-warm: #fef7f4;
    --text-dark: #2d2d3a;
    --text-body: #5a5a6e;
    --text-light: #8a8a9e;
    --border: #f0e8e8;
    --shadow-sm: 0 2px 12px rgba(196, 30, 58, 0.08);
    --shadow-md: 0 8px 30px rgba(196, 30, 58, 0.12);
    --shadow-lg: 0 12px 50px rgba(196, 30, 58, 0.18);
    --radius: 12px;
    --radius-lg: 24px;
    --gradient: linear-gradient(135deg, #c41e3a, #2a9d8f);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--text-dark);
    line-height: 1.3;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    background-size: 200% 200%;
    color: white;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.logo:hover {
    color: var(--text-dark);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.logo-title {
    font-size: 0.75rem;
    color: var(--text-light);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient);
    border-radius: 50px;
    font-weight: 600;
    color: white !important;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white !important;
}

.nav-phone svg {
    fill: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--mint), var(--accent));
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-body);
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: 50px;
}

.hero-info-item svg {
    fill: var(--primary);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, var(--primary-light), #f5f0f0, #f0f8f7);
    padding: 50px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    fill: white;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 1rem;
    color: var(--text-dark);
}

.trust-text span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Services Section */
.services-section {
    padding: 100px 24px;
    background: var(--bg-warm);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

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

.service-card {
    padding: 36px;
    background: white;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #ff6b9d, #ff8fab); }
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #06b6d4, #67e8f9); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #34d399, #6ee7b7); }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #f472b6, #fb7185); }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #fbbf24, #fcd34d); }

.service-icon svg {
    fill: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about-section {
    padding: 100px 24px;
    background: white;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.about-content h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.about-tagline {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 28px;
    font-style: italic;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.credentials {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.credential {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border-radius: var(--radius);
    border-left: 4px solid;
}

.credential:nth-child(1) { border-color: var(--primary); }
.credential:nth-child(2) { border-color: var(--secondary); }
.credential:nth-child(3) { border-color: var(--accent); }
.credential:nth-child(4) { border-color: var(--mint); }

.credential strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}

.credential span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.1'%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");
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 36px;
}

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

/* Contact Section */
.contact-section {
    padding: 100px 24px;
    background: var(--bg-light);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 36px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    fill: white;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.insurance-note {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.insurance-note p {
    font-size: 0.95rem;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    background: var(--bg-warm);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d2d3a, #1a1a24);
    color: white;
    padding: 70px 24px 24px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand strong {
    display: block;
    font-size: 1.1rem;
}

.footer-brand span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-main p {
    opacity: 0.85;
    line-height: 1.8;
}

.footer-contact p {
    line-height: 1.8;
}

.footer-contact a {
    color: white;
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-emergency {
    color: #ff9999;
    opacity: 1 !important;
    font-weight: 500;
}

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

    .hero-image {
        max-width: 350px;
        margin: 0 auto;
        order: -1;
    }

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

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

    .about-image {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .trust-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-section,
    .about-section,
    .contact-section {
        padding: 70px 16px;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 300px;
    }

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

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

    .cta-section {
        padding: 70px 16px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.mobile-open .nav-phone {
        justify-content: center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.trust-item,
.contact-item,
.credential {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
