:root {
    --gold: #c9a96e;
    --gold-light: #e8d5b0;
    --dark: #0f0e0c;
    --cream: #faf7f2;
    --muted: #8a8178;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--cream);
    color: var(--dark);
}

.font-display {
    font-family: "Cormorant Garamond", serif;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 14, 12, 0.15) 0%,
        rgba(15, 14, 12, 0.45) 60%,
        rgba(15, 14, 12, 0.75) 100%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

/* Logo */
.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    animation: fadeDown 0.9s ease both;
}

.logo-icon {
    width: 56px;
    height: 56px;
}

.logo-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: #fff;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.45em;
    color: var(--gold-light);
    text-transform: uppercase;
    font-weight: 300;
}

.divider-gold {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}

.hero-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 0.04em;
    animation: fadeUp 1s 0.3s ease both;
}

.hero-sub {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--gold-light);
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 1.25rem;
    animation: fadeUp 1s 0.5s ease both;
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1.2s 1s ease both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s 1.5s ease-in-out infinite;
}

.scroll-label {
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: var(--gold-light);
    text-transform: uppercase;
}

/* Form Section */
.form-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
}

.section-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    text-align: center;
    color: var(--dark);
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.06em;
    line-height: 1.9;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

/* Input Fields */
.field-group {
    margin-bottom: 2rem;
}

.field-label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.field-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d6cfc4;
    padding: 0.65rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--dark);
    letter-spacing: 0.04em;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    appearance: none;
}

.field-input::placeholder {
    color: #c2bab0;
    font-weight: 300;
}

.field-input:focus {
    border-bottom-color: var(--gold);
}

.field-input:focus ~ .focus-line {
    width: 100%;
}

.input-wrap {
    position: relative;
}

.focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
    pointer-events: none;
}

/* Phone with flag */
.phone-wrap {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    border-bottom: 1px solid #d6cfc4;
    transition: border-color 0.3s ease;
}

.phone-wrap:focus-within {
    border-bottom-color: var(--gold);
}

.country-code {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--muted);
    padding-bottom: 0.65rem;
    white-space: nowrap;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.65rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--dark);
    letter-spacing: 0.04em;
    outline: none;
    appearance: none;
}

.phone-input::placeholder {
    color: #c2bab0;
}

/* Upload Area */
.upload-area {
    border: 1px solid #d6cfc4;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #fdfbf8;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--gold);
    background: #fbf8f2;
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 1rem;
    opacity: 0.5;
}

.upload-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

.upload-hint {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #beb8b0;
    margin-top: 0.5rem;
}

.upload-preview {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #faf7f2;
    border: 1px solid #e0d9ce;
    margin-top: 0.75rem;
}

.preview-icon {
    width: 32px;
    height: 40px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-name {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--dark);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-size {
    font-size: 0.6rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.remove-file {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.remove-file:hover {
    opacity: 0.8;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--dark);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.btn-submit:hover::before {
    transform: scaleX(1);
}

.btn-submit span {
    position: relative;
    z-index: 1;
}

/* Privacy Note */
.privacy-note {
    font-size: 0.58rem;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.8;
    margin-top: 1.75rem;
}

.privacy-note a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.privacy-note a:hover {
    border-bottom-color: var(--gold);
}

/* Success State */
.success-msg {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    width: 56px;
    height: 56px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Footer ornament */
.ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.ornament-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.ornament-line.rev {
    background: linear-gradient(to left, transparent, var(--gold));
}

.ornament-diamond {
    width: 5px;
    height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }
}

.form-animate {
    animation: fadeUp 0.7s ease both;
}

.form-animate:nth-child(1) {
    animation-delay: 0.05s;
}

.form-animate:nth-child(2) {
    animation-delay: 0.15s;
}

.form-animate:nth-child(3) {
    animation-delay: 0.25s;
}

.form-animate:nth-child(4) {
    animation-delay: 0.35s;
}
