/* Estética de hotelesmares.com: VAG Rounded Light, gris pizarra y dorado */
@font-face {
    font-family: "VAGRoundedStd-Light";
    src: url("fonts/334505_3_0.woff2") format("woff2"),
         url("https://hotelesmares.com/fonts/VAGRound/334505_3_0.woff2") format("woff2"),
         url("https://hotelesmares.com/fonts/VAGRound/334505_3_0.woff") format("woff");
    font-display: swap;
}

:root {
    --slate: #303e48;
    --slate-soft: #5b6670;
    --gold: #8d7249;
    --gold-soft: #b59f7c;
    --sand: #f6f3ee;
    --line: #e2dbcf;
    --white: #ffffff;
    --error: #a94442;
    --font: "VAGRoundedStd-Light", "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
    font-family: var(--font);
    color: var(--slate);
    background: var(--sand);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

/* ---------- Cabecera ---------- */
.top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 32px;
    background: var(--white);
}
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    letter-spacing: .65px;
}
.logo__name     { font-size: 36px; line-height: 32px; color: var(--slate); }
.logo__activity { font-size: 29px; line-height: 30px; color: var(--gold); }
.logo__location { font-size: 22px; line-height: 24px; color: var(--gold); }

.top__nav { display: flex; gap: 28px; padding-top: 6px; }
.top__nav a {
    color: var(--slate);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .5px;
}
.top__nav a:hover { color: var(--gold); }

/* ---------- Tarjeta ---------- */
.wrap {
    flex: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 16px 64px;
}
.card {
    background: var(--white);
    padding: 44px 48px 36px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 1px 2px rgba(48, 62, 72, .06), 0 12px 32px rgba(48, 62, 72, .06);
}
.eyebrow {
    margin: 0 0 4px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}
h1 {
    margin: 0 0 24px;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: .65px;
}
.declaration {
    margin: 0 0 28px;
    padding: 14px 18px;
    background: var(--sand);
    border-left: 3px solid var(--gold);
    font-size: 16px;
}

/* ---------- Campos ---------- */
.field { margin-bottom: 20px; }
.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--slate-soft);
    letter-spacing: .3px;
}
.field input {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    color: var(--slate);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(141, 114, 73, .15);
}
.has-error input { border-color: var(--error); }
.error { display: block; margin-top: 6px; font-size: 13px; color: var(--error); }

.note {
    margin: 8px 0 24px;
    font-size: 13px;
    color: var(--slate-soft);
}

/* ---------- No soy un robot ---------- */
.robot { margin-bottom: 24px; }
.robot__box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 14px;
    border: 1px solid var(--line);
    background: #fafafa;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
}
.robot__box input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.robot__check {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: var(--white);
    position: relative;
    transition: border-color .2s, background .2s;
}
.robot__check::after {
    content: "";
    position: absolute;
    left: 6px; top: 1px;
    width: 7px; height: 13px;
    border: solid var(--white);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .15s ease-out;
}
.robot__box input:checked + .robot__check { background: var(--gold); border-color: var(--gold); }
.robot__box input:checked + .robot__check::after { transform: rotate(45deg) scale(1); }
.robot__box input:focus-visible + .robot__check { box-shadow: 0 0 0 3px rgba(141, 114, 73, .3); }
.robot.has-error .robot__box { border-color: var(--error); }

/* ---------- Botón ---------- */
.btn {
    display: inline-block;
    width: 100%;
    padding: 15px 24px;
    font: inherit;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    background: var(--slate);
    border: 1px solid var(--slate);
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--ghost { width: auto; color: var(--slate); background: transparent; margin-top: 12px; }
.btn--ghost:hover { color: var(--white); }

.legal { margin: 16px 0 0; font-size: 12px; color: var(--slate-soft); text-align: center; }

.alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    color: var(--error);
    background: #fbeeee;
    border: 1px solid #ebcccc;
}

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Éxito ---------- */
.success { text-align: center; }
.success svg { width: 64px; height: 64px; margin: 8px auto 12px; display: block; }
.success circle { fill: none; stroke: var(--gold); stroke-width: 2; }
.success path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success h2 { font-weight: 400; font-size: 22px; margin: 0 0 12px; }
.success p { margin: 0 0 10px; }
.ref { color: var(--slate-soft); font-size: 13px; }

/* ---------- Pie ---------- */
.foot {
    padding: 20px 32px;
    background: var(--white);
    font-size: 12px;
    color: var(--slate);
}
.foot p { margin: 0 0 4px; }
.foot a { color: var(--slate); text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* ---------- Móvil ---------- */
@media (max-width: 600px) {
    .top { padding: 16px; }
    .top__nav { display: none; }
    .logo__name { font-size: 30px; line-height: 28px; }
    .logo__activity { font-size: 24px; line-height: 26px; }
    .logo__location { font-size: 18px; line-height: 20px; }
    .wrap { padding: 24px 16px 40px; }
    .card { padding: 28px 20px 24px; }
    h1 { font-size: 24px; }
    .foot { padding: 16px; }
}
