/* ═══════════════════════════════════════════════════════
   Santorini Design Studio — Luxury Furniture Website
   ═══════════════════════════════════════════════════════ */

:root, html, body {
    color-scheme: light only;
    -webkit-color-scheme: light only;
    forced-color-adjust: none;
    -webkit-forced-color-adjust: none;
}

@media (prefers-color-scheme: dark) {
    :root, html, body {
        background-color: #F5F0E8 !important;
        color: #1a1a1a !important;
        filter: none !important;
    }
    * { forced-color-adjust: none; -webkit-forced-color-adjust: none; }
}

:root {
    --navy:       #0E2149;
    --navy-mid:   #162E60;
    --blue:       #1B5FA5;
    --blue-light: #E8F0FA;
    --gold:       #C8A84B;
    --gold-light: #E8D49A;
    --gold-pale:  #FAF4E6;
    --white:      #FFFFFF;
    --cream:      #FAF8F5;
    --text:       #1A2744;
    --text-muted: #6B7897;
    --border:     rgba(200, 168, 75, 0.25);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img, video, iframe { max-width: 100%; height: auto; }
html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: #0E2149;
    overflow-x: hidden;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text);
    background: var(--white);
    padding-bottom: env(safe-area-inset-bottom);
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }

.section-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.62rem, 1.2vw, 0.7rem);
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
    margin: 0.5rem auto 0;
}

.gold-divider {
    width: 55px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-bottom: 2rem;
}
.gold-divider.centered {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    width: 80px;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Navigation ─────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.75rem 2rem;
    transition: all 0.5s ease;
    background: transparent;
}
#navbar.scrolled {
    background: rgba(14, 33, 73, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 2rem;
    min-height: 64px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    line-height: 1;
    text-decoration: none;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.footer-logo-img {
    width: 44px;
    height: 44px;
}
.qp-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}
.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.08em;
}
.logo-sub {
    font-family: 'Jost', sans-serif;
    font-size: 0.48rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.6rem;
}
.nav-links a {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 3px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(200, 168, 75, 0.45);
    color: #fff;
    padding: 0.5rem 1.1rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 0.85rem 2.5rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.35s;
}
.btn-primary:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}
.btn-primary.large { padding: 1rem 3rem; font-size: 0.78rem; }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2.5rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.35s;
}
.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--navy);
    padding: 0.85rem 2.5rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: 1px solid var(--navy);
    cursor: pointer;
    transition: all 0.35s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.large { padding: 1rem 3rem; font-size: 0.78rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    height: 100vh;
    min-height: 720px;
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    background-color: var(--navy);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(14, 33, 73, 0.35) 0%,
        rgba(14, 33, 73, 0.45) 50%,
        rgba(10, 20, 50, 0.65) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-eyebrow {
    font-size: clamp(0.58rem, 1.5vw, 0.68rem);
    font-weight: 500;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.3s forwards;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 8vw, 7.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.0;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
}
.hero-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(0.95rem, 2.2vw, 1.6rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50%       { opacity: 0.9; transform: scaleY(1); }
}

/* ── About ───────────────────────────────────────────────── */
.about {
    padding: clamp(4rem, 8vw, 9rem) 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 7rem);
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    display: block;
}
.about-badge {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    background: var(--navy);
    color: var(--white);
    width: 148px;
    height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid var(--white);
}
.badge-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--gold);
    line-height: 1;
}
.badge-text {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 0.3rem;
    line-height: 1.5;
}
.about-text {
    font-size: clamp(0.88rem, 1.8vw, 0.975rem);
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.about-values {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(200,168,75,0.2);
}
.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--navy);
}
.value-icon { color: var(--gold); font-size: 0.9rem; }

/* ── Collections ─────────────────────────────────────────── */
.collections {
    padding: clamp(4rem, 8vw, 9rem) 0;
    background: var(--cream);
}
.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.collection-card {
    position: relative;
    overflow: hidden;
    height: 720px;
    cursor: pointer;
}
.card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.collection-card:hover .card-image { transform: scale(1.07); }
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 20, 50, 0.92) 0%,
        rgba(10, 20, 50, 0.25) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.75rem;
}
.card-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.card-overlay p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.9rem;
    line-height: 1.5;
}
.card-link {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s, transform 0.35s;
    display: inline-block;
}
.collection-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}

/* ── Process ─────────────────────────────────────────────── */
.process {
    padding: clamp(4rem, 8vw, 9rem) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.process::before {
    content: 'SDS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28vw;
    font-weight: 300;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.3em;
}
.process .section-eyebrow { color: var(--gold); }
.process .section-title   { color: var(--white); }
.process .gold-divider    { background: linear-gradient(to right, transparent, var(--gold), transparent); }

.process-steps {
    display: flex;
    align-items: flex-start;
    margin-top: 4.5rem;
}
.step {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}
.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--gold);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 1.5rem;
}
.step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.step p {
    font-size: 0.84rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
}
.step-connector {
    width: 50px;
    height: 1px;
    background: var(--gold);
    opacity: 0.2;
    flex-shrink: 0;
    margin-top: 3rem;
}

/* ── Quote Section ───────────────────────────────────────── */
.quote-section {
    padding: clamp(4rem, 8vw, 9rem) 0;
    background: var(--white);
}
.quote-wrapper {
    max-width: 880px;
    margin: 0 auto;
}
.form-card {
    background: var(--white);
    border: 1px solid rgba(200, 168, 75, 0.18);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 24px rgba(14, 33, 73, 0.05);
}
.form-card--navy {
    background: var(--navy);
    border-color: rgba(200, 168, 75, 0.25);
}
.form-card--navy .form-card-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.1);
}
.form-card--navy label {
    color: rgba(255,255,255,0.6);
}
.form-card--navy input,
.form-card--navy textarea,
.form-card--navy select {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}
.form-card--navy input::placeholder,
.form-card--navy textarea::placeholder {
    color: rgba(255,255,255,0.25);
}
.form-card--navy input:focus,
.form-card--navy textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}
.form-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--border);
}
.form-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--border);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid #DDE2EC;
    border-bottom: 2px solid #DDE2EC;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0BAD0;
    font-size: 0.85rem;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #C8A84B55;
    background: #FDFBF6;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    border-bottom-color: var(--gold);
    box-shadow: 0 2px 0 0 var(--gold), 0 0 0 3px rgba(200, 168, 75, 0.08);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.65; }
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7897' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Icon-wrapped input (date) */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrap input { padding-right: 2.75rem; cursor: pointer; }
.input-icon {
    position: absolute;
    right: 0.9rem;
    color: #B0BAD0;
    pointer-events: none;
    transition: color 0.25s;
    flex-shrink: 0;
}
.input-icon-wrap input:focus ~ .input-icon { color: var(--gold); }

/* Flatpickr theme override */
.flatpickr-calendar {
    font-family: 'Jost', sans-serif !important;
    border: 1px solid #DDE2EC !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 32px rgba(14,33,73,0.12) !important;
}
.flatpickr-calendar::before,
.flatpickr-calendar::after { display: none !important; }
.flatpickr-months { background: var(--navy) !important; padding: 0.6rem 0; }
.flatpickr-month,
.flatpickr-current-month,
.flatpickr-prev-month,
.flatpickr-next-month { color: #fff !important; fill: #fff !important; }
.flatpickr-current-month input.cur-year { color: #fff !important; }
.flatpickr-weekday {
    color: var(--gold) !important;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em;
}
.flatpickr-day {
    border-radius: 0 !important;
    font-size: 0.84rem !important;
    color: var(--text) !important;
    border: none !important;
}
.flatpickr-day:hover { background: rgba(200,168,75,0.12) !important; color: var(--navy) !important; }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: #fff !important;
}
.flatpickr-day.today { border-bottom: 2px solid var(--gold) !important; font-weight: 600; }
.flatpickr-day.today.selected { border-bottom-color: var(--navy) !important; }

/* form-group full width */
.form-group--full { grid-column: 1 / -1; }

/* Quote item card */
.quote-item-card {
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
}
.qic-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.qic-name {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid #E4E8EF;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    outline: none;
    transition: border-color 0.3s;
}
.qic-name:focus { border-color: var(--gold); }
.qic-desc {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #E4E8EF;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    color: var(--text);
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 0.85rem;
    box-sizing: border-box;
    line-height: 1.6;
}
.qic-desc:focus { border-color: var(--gold); }
.qic-dims-row {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 1.2fr 0.5fr 1fr;
    gap: 0.75rem;
    align-items: end;
}
.qic-field { display: flex; flex-direction: column; gap: 0.3rem; }
.qic-field label {
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.qic-field input {
    padding: 0.6rem 0.75rem;
    border: 1px solid #E4E8EF;
    font-family: 'Jost', sans-serif;
    font-size: 0.84rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}
.qic-field input:focus { border-color: var(--gold); }

.btn-remove-item {
    background: none;
    border: 1px solid #E4E8EF;
    color: #aaa;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.25s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-remove-item:hover { border-color: #E53935; color: #E53935; }

.btn-add-item {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-add-item:hover { background: var(--gold); color: var(--navy); }

/* Totals */
.quote-totals {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: 1.25rem;
    max-width: 340px;
    margin-left: auto;
}
.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.total-row input {
    width: 80px;
    padding: 0.3rem 0.5rem;
    border: 1px solid #E4E8EF;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    text-align: right;
    outline: none;
    transition: border-color 0.3s;
    color: var(--text);
}
.total-row input:focus { border-color: var(--gold); }
.total-final {
    border-top: 1px solid var(--gold);
    margin-top: 0.5rem;
    padding-top: 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--navy) !important;
}
.quote-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
    padding: clamp(4rem, 8vw, 9rem) 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}
.contact-desc {
    font-size: 0.975rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}
.contact-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200,168,75,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 0.1rem;
}
.contact-item strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.contact-form-area .form-card { background: var(--white); }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy); color: var(--white); }
.footer-top { padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}
.footer-logo {
    flex-direction: row;
    align-items: center;
    margin-bottom: 1.1rem;
}
.footer-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}
.footer-desc {
    font-size: 0.84rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2rem;
}
.social-links {
    display: flex;
    gap: 1.5rem;
}
.social-link {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 2px;
}
.social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.social-link:hover { color: var(--gold); }
.social-link:hover::after { transform: scaleX(1); }
.social-link--instagram {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-size: .72rem;
    padding: .5rem 1.1rem;
    border: 1px solid rgba(200,168,75,.45);
    letter-spacing: .14em;
    transition: all .3s;
}
.social-link--instagram:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.social-link--instagram::after { display: none; }

.footer-nav-col h4,
.footer-contact-col h4 {
    font-family: 'Jost', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
}
.footer-nav-col ul { list-style: none; }
.footer-nav-col ul li { margin-bottom: 0.8rem; }
.footer-nav-col ul a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-nav-col ul a:hover { color: rgba(255,255,255,0.9); }

.footer-contact-col p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.6rem;
    line-height: 1.6;
}
.footer-flags {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: .9;
    flex-shrink: 0;
}
.footer-flags svg {
    border-radius: 1.5px;
    box-shadow: 0 0 0 .5px rgba(255,255,255,.15);
}
.footer-badge {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(200, 168, 75, 0.25);
}
.footer-badge span:first-child {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}
.footer-badge span:last-child {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}
.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem !important;
    color: rgba(200, 168, 75, 0.5) !important;
    letter-spacing: 0.03em;
}

/* ── Modal ───────────────────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.modal.hidden { display: none; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 50, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-content {
    position: relative;
    background: var(--white);
    max-width: 820px;
    width: 100%;
    max-height: 78vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.modal-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

/* ── Quote Print ─────────────────────────────────────────── */
.quote-print { padding: 2.5rem 3rem; font-family: 'Jost', sans-serif; }

.qp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gold);
}
/* Header */
.qp-logo .logo-text { color: var(--navy); }
.qp-logo .logo-sub  { color: var(--gold); }
.qp-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.qp-s-icon {
    width: 44px; height: 44px;
    background: var(--navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600;
    letter-spacing: -0.02em;
}
.qp-ref-num {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Client block */
.qp-client-block {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}
.qp-client-block p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.8;
}
.qp-client-block p strong {
    color: var(--gold);
    font-weight: 600;
}

/* Item blocks */
.qp-item-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}
.qp-item-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}
.qp-item-desc-area { flex: 1; }
.qp-section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.qp-item-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.qp-item-desc-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.qp-dims-section { margin-top: 0.85rem; }
.qp-dims-section p {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.7;
}

/* Value box — matches PDF dark block */
.qp-item-value-box {
    background: var(--navy);
    color: var(--white);
    padding: 1.1rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    flex-shrink: 0;
    text-align: center;
}
.qp-value-label {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.3rem;
}
.qp-value-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}
.qp-value-unit {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.2rem;
}

/* Grand total (multi-item) */
.qp-grand-total {
    max-width: 280px;
    margin-left: auto;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}
.qp-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.qp-total-final {
    border-top: 2px solid var(--gold);
    padding-top: 0.6rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: var(--navy) !important;
}

/* Payment & delivery */
.qp-payment-block,
.qp-delivery-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #EEEEEE;
}
.qp-payment-block p,
.qp-delivery-block p {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.75;
}
.qp-notes {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
}

/* Footer */
.qp-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #EEEEEE;
}
.qp-footer-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.65;
    text-align: right;
}

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: calc(2rem + env(safe-area-inset-bottom));
    right: calc(2rem + env(safe-area-inset-right));
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 1500;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* ── Scroll Animations ───────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Toast ───────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 1.75rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    z-index: 3000;
    border-left: 3px solid var(--gold);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.35s ease;
    max-width: 360px;
    line-height: 1.5;
}
@keyframes slideIn {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
    @page { size: A4 portrait; margin: 0; }

    body > *:not(#quote-modal):not(#print-modal) { display: none !important; }
    #quote-modal, #print-modal {
        position: static !important;
        padding: 0 !important;
        display: block !important;
    }
    .modal-overlay, .modal-actions,
    .print-overlay, .print-actions { display: none !important; }
    .modal-content, .print-content {
        max-height: none !important;
        box-shadow: none !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .quote-print {
        padding: 1.2cm 1.4cm !important;
        font-size: 8.5pt !important;
        page-break-inside: avoid;
        overflow: hidden;
    }

    /* Scale down all text proportionally */
    .qp-header { margin-bottom: 0.7rem !important; padding-bottom: 0.7rem !important; }
    .nav-logo-img, .qp-logo-img { width: 36px !important; height: 36px !important; }
    .logo-text { font-size: 1.1rem !important; }
    .logo-sub  { font-size: 0.5rem !important; }
    .qp-ref-num { font-size: 0.7rem !important; }

    .qp-client-block { margin-bottom: 0.75rem !important; padding-bottom: 0.75rem !important; }
    .qp-client-block p { font-size: 8.5pt !important; line-height: 1.5 !important; }

    .qp-item-block { margin-bottom: 0.75rem !important; padding-bottom: 0.75rem !important; }
    .qp-section-label { font-size: 6.5pt !important; margin-bottom: 0.2rem !important; }
    .qp-item-name { font-size: 10pt !important; margin-bottom: 0.2rem !important; }
    .qp-item-desc-text { font-size: 8pt !important; line-height: 1.5 !important; margin-bottom: 0.4rem !important; }
    .qp-dims-section { margin-top: 0.4rem !important; }
    .qp-dims-section p { font-size: 8pt !important; line-height: 1.5 !important; }

    .qp-item-value-box { padding: 0.6rem 1.1rem !important; min-width: 120px !important; }
    .qp-value-label { font-size: 6pt !important; }
    .qp-value-amount { font-size: 11pt !important; }

    .qp-grand-total { margin-bottom: 0.75rem !important; padding-bottom: 0.75rem !important; }
    .qp-total-row { font-size: 8pt !important; padding: 0.15rem 0 !important; }
    .qp-total-final { font-size: 9pt !important; }

    .qp-payment-block,
    .qp-delivery-block { margin-bottom: 0.65rem !important; padding-bottom: 0.65rem !important; }
    .qp-payment-block p,
    .qp-delivery-block p { font-size: 8pt !important; line-height: 1.5 !important; }

    .qp-footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0.5rem 1.4cm !important;
        background: #fff !important;
        border-top: 1px solid #EEEEEE !important;
    }
    .qp-footer-info {
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0.2rem 1rem !important;
    }
    .qp-footer-info p { font-size: 7pt !important; line-height: 1.5 !important; text-align: left !important; }
    .quote-print { padding-bottom: 2.5cm !important; }
}

/* ── Hamburger (base — hidden on desktop) ───────────────── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.nav-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 50, 0.6);
    z-index: 999;
}
.nav-menu-overlay.open { display: block; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .collections-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    /* Container */
    .container { padding: 0 1.5rem; }

    /* Hamburger menu */
    .nav-hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 200px;
        height: 100vh;
        height: 100dvh;
        background: var(--navy);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transform: none;
        left: auto;
        pointer-events: auto;
        transition: right 0.35s ease;
        z-index: 1000;
    }
    .nav-links.open { right: 0; display: flex; }
    .nav-links a {
        padding: 1rem 0;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.8);
        border-bottom: 1px solid rgba(255,255,255,0.07);
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .nav-cta {
        font-size: 0;
        letter-spacing: 0;
        padding: 0.5rem;
        border: none;
        margin-right: 0.5rem;
    }
    .nav-cta svg { width: 20px; height: 20px; margin: 0 !important; }

    /* Hero */
    .hero {
        min-height: 100svh;
        min-height: 520px;
    }
    .hero-content { padding: 1.5rem; }
    .hero-scroll { display: none; }
    .hero-title { font-size: clamp(2.4rem, 10vw, 5rem); }
    .hero-actions { flex-direction: column; align-items: center; }

    /* About */
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-badge { display: none; }
    .about-image img { max-height: 400px; }

    /* Collections */
    .collections-grid { grid-template-columns: 1fr; }
    .collection-card { height: 280px; }
    .card-overlay { padding: 1.5rem 1.25rem; }
    .section-header { margin-bottom: 2.5rem; }

    /* Process */
    .process-steps { flex-direction: column; align-items: center; gap: 1.5rem; }
    .step-connector { width: 1px; height: 24px; margin: 0; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }

    /* Forms */
    .form-grid { grid-template-columns: 1fr; }
    .qic-dims-row { grid-template-columns: 1fr 1fr; }

    /* Quote print */
    .qp-item-body { flex-direction: column; }
    .qp-item-value-box { width: 100%; min-width: unset; }

    /* Buttons — touch targets */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 1rem 2.5rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero { min-height: 480px; }
    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .collection-card { height: 240px; }
    .step { padding: 0 1rem; }
    .form-card { padding: 1.5rem; }
    .card-overlay { padding: 1.25rem; }
    .footer-badge { padding: 1rem; }
    .modal-content { margin: 0.5rem; }
    .modal { padding: 0.5rem; }
}
