:root {
    --primary-dark: #232323;
    --background-light: #f7f6f3;
    --accent-brown: #8c6239;
    --text-muted: #666666;
    --white: #ffffff;

    --font-heading: 'Cormorant Garamond', serif;
    --font-subtitle: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-light);
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* background del landing page */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* header y logo */
header {
    padding: 2rem 2rem 0.5rem 2rem;
    display: flex;
    justify-content: flex-start;
}

.logo-wrapper {
    max-width: 180px;
}

.logo {
    width: 80%;
    height: auto;
}

/* hero */
.hero {
    padding: 0.5rem 0 6rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    max-width: 1500px;
    white-space: nowrap;
}

.hero-content {
    max-width: 1000px;
    margin-bottom: 3.5rem;
    text-align: left;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.btn {
    text-decoration: none;
    font-family: var(--font-subtitle);
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* contacto */
.contact-section {
    padding: 8rem 0;
    /* background-color: #f1f0ec; */
}

.form-card {
    background: transparent;
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    font-family: var(--font-subtitle);
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 500;
}

.form-group {
    margin-bottom: 2rem;
}

label,
.label-heading {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid rgba(35, 35, 35, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-brown);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-container {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.radio-container input:checked~.radio-content {
    background: rgba(140, 98, 57, 0.08);
    border-color: rgba(140, 98, 57, 0.3);
}

.radio-container input:checked~.radio-content::before {
    background-color: var(--accent-brown);
}

/* checkbox */
.radio-content::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-submit:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.form-security-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    opacity: 1;
}

.footer {
    padding: 4rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* aniamciones */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content {
    animation-delay: 0.2s;
}

.hero-actions {
    animation-delay: 0.4s;
}

@keyframes revealIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none;
}

.form-feedback {
    margin-top: 2rem;
    text-align: center;
    color: var(--accent-brown);
    font-weight: 600;
    padding: 2rem;
    border: 1px solid var(--accent-brown);
}

/* esto permite que sea responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0 0.25rem;
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 0.25rem 0 4rem;
    }
}