/* ============================================
   Dr. Li Zhou Rhinology - Landing Page
   Luxury Medical Aesthetic Design
   ============================================ */

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

:root {
    --color-primary: #8B7355;
    --color-primary-light: #A89070;
    --color-primary-dark: #6B5640;
    --color-gold: #C9A962;
    --color-gold-light: #E8D5A3;
    --color-cream: #FAF8F5;
    --color-cream-dark: #F2EDE6;
    --color-text: #2C2926;
    --color-text-light: #6B6560;
    --color-text-muted: #9A9490;
    --color-border: #E8E2DB;
    --color-white: #FFFFFF;
    --color-success: #5B8C6F;

    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 72px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(44, 41, 38, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 41, 38, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 41, 38, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
}

em {
    font-style: italic;
    color: var(--color-primary);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-eyebrow span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    position: relative;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.4;
}

.text-center .section-eyebrow {
    justify-content: center;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: var(--spacing-lg);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--color-border);
    background: rgba(250, 248, 245, 0.95);
}

.nav-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.nav-cta {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.nav-cta:active {
    transform: scale(0.96);
    background: var(--color-primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.3);
}

.btn-primary:active {
    transform: scale(0.97);
    background: var(--color-primary-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.25);
}

.btn-large {
    padding: 18px 36px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 41, 38, 0.1) 0%,
        rgba(44, 41, 38, 0.2) 40%,
        rgba(44, 41, 38, 0.6) 70%,
        rgba(44, 41, 38, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px 60px;
    color: var(--color-white);
    animation: fadeUp 1s ease-out;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-eyebrow .line {
    width: 30px;
    height: 1px;
    background: var(--color-gold);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title em {
    font-style: italic;
    color: var(--color-gold-light);
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    color: var(--color-gold-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 24px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    display: block;
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

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

/* Doctor Intro Section */
.doctor-intro {
    background: var(--color-cream);
}

.doctor-profile {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.doctor-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    color: var(--color-gold);
    font-size: 14px;
}

.doctor-name {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 4px;
}

.doctor-title {
    font-size: 13px;
    color: var(--color-text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.doctor-quote {
    position: relative;
    padding: 20px 0 24px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 28px;
}

.quote-mark {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
    opacity: 0.5;
    margin-bottom: 12px;
}

.doctor-quote p {
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.7;
    font-style: italic;
    color: var(--color-text-light);
    font-weight: 400;
}

.doctor-principles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principle-item {
    display: flex;
    gap: 16px;
}

.principle-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    min-width: 32px;
}

.principle-content h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.principle-content p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Credentials Section */
.credentials {
    background: var(--color-cream-dark);
}

.credentials-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.credential-card:active {
    transform: scale(0.98);
}

.credential-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--color-white);
}

.credential-icon svg {
    width: 24px;
    height: 24px;
}

.credential-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

.credential-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credential-card li {
    font-size: 13px;
    color: var(--color-text-light);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.credential-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
    font-size: 12px;
}

/* Facility Section */
.facility {
    background: var(--color-cream);
}

.facility-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.facility-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow-md);
}

.facility-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.facility-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream-dark);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.feature-body p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Advantages Section */
.advantages {
    background: var(--color-text);
    color: var(--color-white);
}

.advantages .section-eyebrow span {
    color: var(--color-gold);
}

.advantages .section-eyebrow::before,
.advantages .section-eyebrow::after {
    background: var(--color-gold);
}

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

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.advantage-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    min-width: 40px;
}

.advantage-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
}

.advantage-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* Services Section */
.services {
    background: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.service-card:active {
    transform: scale(0.97);
}

.service-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-body {
    padding: 16px 14px 18px;
}

.service-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.service-body p {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy {
    background: var(--color-cream-dark);
}

.philosophy .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.philosophy-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-md);
    order: -1;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.philosophy-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.philosophy-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    margin-top: 7px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.15);
}

.philosophy-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.philosophy-item p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* Process Section */
.process {
    background: var(--color-cream);
}

.process-timeline {
    position: relative;
    padding-left: 32px;
}

.process-step {
    position: relative;
    padding-bottom: 28px;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-circle {
    position: absolute;
    left: -32px;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    z-index: 1;
}

.step-line {
    position: absolute;
    left: -15px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.process-step:last-child .step-line {
    display: none;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-body);
    padding-top: 5px;
}

.step-content p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    background: var(--color-cream-dark);
}

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

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-align: left;
    transition: all var(--transition);
}

.faq-question:active {
    background: var(--color-cream);
}

.faq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--color-primary);
    transition: transform var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    background: var(--color-cream);
}

.testimonial-slider {
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 24px;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold-light);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.author-procedure {
    font-size: 12px;
    color: var(--color-text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    transition: all var(--transition);
    padding: 0;
}

.dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 4px;
}

/* Final CTA Section */
.final-cta {
    position: relative;
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
    color: var(--color-white);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 41, 38, 0.9) 0%,
        rgba(107, 86, 64, 0.85) 100%
    );
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

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

.section-eyebrow.light span {
    color: var(--color-gold-light);
}

.section-eyebrow.light::before,
.section-eyebrow.light::after {
    background: var(--color-gold-light);
    opacity: 0.5;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--color-white);
}

.cta-subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 300;
}

.final-cta .btn-primary {
    background: var(--color-gold);
    color: var(--color-text);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
    margin-bottom: 16px;
}

.final-cta .btn-primary:active {
    background: var(--color-gold-light);
}

.cta-note {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-brand {
    margin-bottom: 28px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo .logo-mark {
    color: var(--color-gold);
}

.footer-logo .logo-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-slogan {
    font-family: var(--font-display);
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact {
    margin-bottom: 28px;
}

.footer-contact h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.footer-note {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 8px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.4);
    transition: all var(--transition);
}

.floating-btn:active {
    transform: scale(0.96);
}

.floating-btn svg {
    width: 18px;
    height: 18px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 41, 38, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--color-cream);
    border-radius: 24px 24px 0 0;
    padding: 32px 24px 40px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream-dark);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: all var(--transition);
}

.modal-close:active {
    background: var(--color-border);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 13px;
    color: var(--color-text-light);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group select {
    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='%236B6560' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-note {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: -4px;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive adjustments for very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ============================================
   Inline Form Section
   ============================================ */
.inline-form-section {
    background: var(--color-cream-dark);
}

.inline-form-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: var(--shadow-md);
}

.inline-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.inline-form-row {
    display: flex;
    gap: 12px;
}

.inline-form-row .form-group {
    flex: 1;
}

.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition);
    resize: vertical;
    min-height: 80px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.inline-form .btn-primary {
    margin-top: 4px;
}

@media (max-width: 360px) {
    .inline-form-row {
        flex-direction: column;
    }
}
