/* ──────────────────────────────────────────
   Quick Nails — Miami Nail Salon
   Bold Editorial Style: Emerald + Cream
   ────────────────────────────────────────── */

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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50:  #fefce8;
    --cream-100: #fef9c3;
    --cream-200: #fef08a;
    --cream-300: #fde047;
    --cream-400: #facc15;
    --cream-500: #eab308;

    --bg-cream:   #faf8f0;
    --bg-cream-alt: #f5f2e8;
    --bg-emerald: #064e3b;
    --bg-emerald-dark: #022c22;

    --text-dark:   #1a1a1a;
    --text-body:   #2d2d2d;
    --text-muted:  #5c5c5c;
    --text-light:  #f5f2e8;
    --text-white:  #ffffff;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--emerald-600);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover { color: var(--emerald-700); }

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-800);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: .875rem;
}

.skip-link:focus {
    top: 16px;
}

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: .9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--text-white);
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--text-white);
}

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

/* ──────────────────────────────────────────
   Header
   ────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 240, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-700);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.main-nav { display: flex; align-items: center; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    position: relative;
    transition: color .2s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width .25s ease;
}

.nav-menu a:hover { color: var(--emerald-700); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
    background: var(--emerald-700);
    color: var(--text-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background: var(--emerald-800);
    color: var(--text-white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all .3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ──────────────────────────────────────────
   Hero
   ────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--bg-cream);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.hero-eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -.02em;
}

.hero-accent {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 460px;
}

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

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* ──────────────────────────────────────────
   Value Props
   ────────────────────────────────────────── */
.value-props {
    padding: 80px 0;
    background: var(--bg-cream-alt);
}

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

.value-card {
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ──────────────────────────────────────────
   Services
   ────────────────────────────────────────── */
.services {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

.section-header .section-description {
    margin: 0 auto;
}

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

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-cream-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

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

.service-image {
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-content p {
    font-size: .9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.services-cta {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--text-body);
}

.services-cta a {
    font-weight: 600;
    color: var(--emerald-700);
    border-bottom: 1px solid var(--emerald-300);
}

.services-cta a:hover {
    color: var(--emerald-800);
    border-color: var(--emerald-700);
}

/* ──────────────────────────────────────────
   About
   ────────────────────────────────────────── */
.about {
    padding: 100px 0;
    background: var(--bg-cream-alt);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-content .section-headline { margin-bottom: 24px; }

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

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,.08);
}

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: .8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(0,0,0,.12);
}

/* ──────────────────────────────────────────
   Gallery
   ────────────────────────────────────────── */
.gallery {
    padding: 100px 0 80px;
    background: var(--bg-cream);
}

.gallery .section-header { margin-bottom: 48px; }

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ──────────────────────────────────────────
   Testimonial
   ────────────────────────────────────────── */
.testimonial {
    padding: 100px 0;
    background: var(--bg-emerald);
}

.testimonial blockquote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    color: var(--emerald-400);
    margin-bottom: 24px;
}

.testimonial p {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--text-white);
    line-height: 1.6;
    margin-bottom: 28px;
}

.testimonial cite {
    font-style: normal;
    font-family: var(--font-sans);
    font-size: .9375rem;
    font-weight: 500;
    color: var(--emerald-300);
    letter-spacing: .04em;
}

/* ──────────────────────────────────────────
   Contact
   ────────────────────────────────────────── */
.contact {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

.contact-info .section-headline { margin-bottom: 32px; }

.contact-details {
    list-style: none;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

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

.contact-item strong {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: .9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-item a {
    color: var(--emerald-600);
}

.contact-form-wrapper {
    background: var(--bg-cream-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: .9375rem;
    color: var(--text-dark);
    background: var(--bg-cream);
    border: 1.5px solid rgba(0,0,0,.12);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}

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

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 32px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-lg);
    color: var(--emerald-900);
}

.form-success svg {
    color: var(--emerald-600);
}

.form-success p {
    font-size: .9375rem;
    line-height: 1.6;
}

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

/* ──────────────────────────────────────────
   Footer
   ────────────────────────────────────────── */
.site-footer {
    background: var(--bg-emerald-dark);
    color: var(--text-light);
}

.footer-inner {
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-mark { background: rgba(255,255,255,.12); color: var(--emerald-300); }
.footer-brand .logo-text { color: var(--text-white); }

.footer-brand p {
    font-size: .9375rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--emerald-400);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: .9375rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s ease;
}

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

.footer-col address {
    font-style: normal;
    font-size: .9375rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px;
}

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

/* ──────────────────────────────────────────
   Scroll Reveal (progressive enhancement)
   ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ──────────────────────────────────────────
   Responsive
   ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 240, .98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform .3s ease, opacity .3s ease;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { max-width: 100%; }
    .hero-description { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

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

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-image { height: 220px; }

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

    .about-image { max-width: 480px; margin: 0 auto; }

    .about-stats { justify-content: center; }

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

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

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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrapper { padding: 24px; }
}
