:root {
    --primary-earthen: #b4b46c;
    --primary-hover: #c0c073;
    --secondary-earth: #777462;
    --light-bg: #e5e5c3;
    --dark-text: #0e0904;
    --accent-text: #231f13;
    --white: #fff;
    --emergency-red: #dc2626;
    --success-green: #059669;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

/* Hero Section */
.minimalist-hero {
    padding: clamp(50px, 10vh, 120px) 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfdf5, #e5e5c3 50%, #f0f0d0);
}

.minimalist-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 24px;
    display: block;
}

.doctor-name {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.doctor-title {
    color: var(--primary-earthen);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.doctor-description {
    margin-bottom: 36px;
    font-size: 1.1rem;
    color: var(--secondary-earth);
    line-height: 1.8;
}

.hero-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    line-height: 0;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-portrait {
    width: auto;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-earthen);
    color: #fff;
    box-shadow: 0 8px 25px rgba(180, 180, 108, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(180, 180, 108, 0.4);
}

.btn-secondary {
    background: var(--secondary-earth);
    color: #fff;
    box-shadow: 0 8px 25px rgba(119, 116, 98, 0.3);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #5d5a4d;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(119, 116, 98, 0.4);
}

/* Sections */
.section-padding {
    padding: clamp(40px, 8vw, 100px) 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 60px);
    color: var(--dark-text);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(15px, 2.5vw, 30px);
}

.expertise-item {
    background: linear-gradient(135deg, #fff, #fbfbf5);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--primary-earthen);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(180, 180, 108, 0.25);
}

.expertise-text {
    font-weight: 500;
    font-size: 1.1rem;
}

.expertise-bullet {
    color: var(--primary-earthen);
    font-weight: bold;
    margin-right: 10px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.about-office-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 40px;
}

.about-office-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-portrait {
    height: auto;
    object-fit: unset;
    object-position: unset;
}

.about-office-caption {
    background: var(--light-bg);
    color: var(--secondary-earth);
    font-size: 0.85rem;
    text-align: center;
    padding: 10px 16px;
}

.about-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--light-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.about-box p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.specializations-list {
    list-style: none;
}

.spec-item {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
}

.spec-item:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    background-color: #fbfbf5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(30px, 5vw, 80px);
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h4 {
    color: var(--primary-earthen);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-method p,
.contact-method a {
    color: #1e293b;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
}

.contact-office-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    line-height: 0;
}

.contact-office-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-earthen);
}

/* Emergency */
.emergency-banner {
    background: #fef2f2;
    padding: 40px 0;
    text-align: center;
    border-top: 4px solid #dc2626;
}

.emergency-title {
    color: #991b1b;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.emergency-link {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 15px;
    text-decoration: none;
}

/* About Section background */
.about-section {
    background-color: #fff;
}

/* Footer */
.site-footer {
    background: #231f13;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {

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

    .hero-content {
        text-align: center;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        height: 280px;
    }

    .about-office-image-wrap {
        position: static;
    }

    .about-office-image {
        height: 260px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }
}
