/* ============================================
   DR. BRUCE B. SMITH, PhD — Website Styles
   Burgundy + Blush | Vibrant Modern
   ============================================ */

/* --- CSS Variables --- */
:root {
    --burgundy: #781c24;
    --burgundy-dark: #5a1419;
    --burgundy-light: #9a2530;
    --blush: #e8a0b0;
    --blush-light: #f5c4ce;
    --blush-pale: #fdf0f2;
    --cream: #f8f0f0;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(120, 28, 36, 0.08);
    --shadow-md: 0 8px 30px rgba(120, 28, 36, 0.12);
    --shadow-lg: 0 16px 60px rgba(120, 28, 36, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 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.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* --- Geometric Background --- */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--burgundy);
    top: -200px;
    right: -150px;
}

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

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: var(--burgundy);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--blush);
    top: 60%;
    left: 3%;
    transform: rotate(-15deg);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 240, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(120, 28, 36, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(248, 240, 240, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--burgundy);
    z-index: 1001;
}

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

.logo-accent {
    color: var(--blush);
    font-weight: 600;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--burgundy);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px);
}

.nav-close {
    display: none;
    color: var(--burgundy);
    z-index: 1001;
}

.nav-toggle {
    display: none;
    color: var(--burgundy);
    z-index: 1001;
}

/* --- Hero --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--blush);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--burgundy);
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.text-accent {
    color: var(--burgundy);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(120, 28, 36, 0.3);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(120, 28, 36, 0.4);
}

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

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

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

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

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--blush);
    border-radius: var(--radius-xl);
    z-index: -1;
}

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

.hero-floating-card {
    position: absolute;
    background: var(--burgundy);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.hero-floating-card.card-1 {
    bottom: 15%;
    left: -30px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    top: 15%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-value {
    font-weight: 700;
    font-size: 0.95rem;
}

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

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- Section Common --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--burgundy);
    background: var(--blush-pale);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid rgba(120, 28, 36, 0.06);
    transition: all var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--blush));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--blush-light);
    line-height: 1;
    margin-bottom: 16px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--blush-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background var(--transition);
}

.service-card:hover .service-icon {
    background: var(--burgundy);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

.service-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--blush-pale);
    border-radius: var(--radius-xl) 0 var(--radius-lg) 0;
    opacity: 0;
    transition: opacity var(--transition);
}

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

/* --- About --- */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--white);
}

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

.about-visual {
    position: relative;
}

.about-image-group {
    position: relative;
}

.about-main-image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-secondary-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-secondary-image img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--burgundy);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
}

.exp-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-top: 4px;
}

.about-content .section-title {
    text-align: left;
}

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.value-dot {
    width: 10px;
    height: 10px;
    background: var(--burgundy);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Approach --- */
.approach {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--burgundy);
    overflow: hidden;
}

.approach .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--blush-light);
}

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

.approach .text-accent {
    color: var(--blush-light);
}

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

.approach-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.approach-text em {
    color: var(--blush-light);
    font-style: italic;
}

.approach-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.approach-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all var(--transition);
}

.approach-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}

.approach-card-color {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.approach-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 4px;
}

.approach-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

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

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.cta-shape-1 {
    width: 200px;
    height: 200px;
    background: var(--burgundy);
    top: -60px;
    left: 5%;
}

.cta-shape-2 {
    width: 120px;
    height: 120px;
    background: var(--white);
    bottom: -30px;
    right: 30%;
}

.cta-shape-3 {
    width: 80px;
    height: 80px;
    background: var(--burgundy);
    top: 50%;
    right: 15%;
    transform: rotate(45deg);
    border-radius: 16px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--burgundy);
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--burgundy-light);
    line-height: 1.7;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: var(--blush-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

.detail-value a {
    color: var(--burgundy);
    transition: color var(--transition);
}

.detail-value a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(120, 28, 36, 0.06);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--blush-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(120, 28, 36, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--blush-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

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

.logo-light {
    color: var(--white);
    margin-bottom: 16px;
}

.logo-light .logo-accent {
    color: var(--blush);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--blush-light);
}

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

.footer-contact a {
    color: var(--blush-light);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .about-grid,
    .approach-split {
        gap: 48px;
    }
    
    .hero-floating-card.card-1 {
        left: -10px;
    }
    
    .hero-floating-card.card-2 {
        right: -10px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image-wrapper img {
        height: 500px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-values {
        justify-items: center;
    }
    
    .approach-split {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-desc {
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }
    
    .nav.open {
        transform: translateX(0);
    }
    
    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 80px;
        min-height: auto;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .about-secondary-image {
        right: 0;
        bottom: -20px;
    }
    
    .about-experience-badge {
        left: 0;
        top: -10px;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 28px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .hero-image-wrapper img {
        height: 380px;
    }
    
    .about-main-image img {
        height: 400px;
    }
    
    .about-secondary-image img {
        width: 220px;
        height: 165px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}
