:root {
    --paper: #FBF7F1;
    --ink: #2A2622;
    --muted: #6B635A;
    --amber: #D98E32;
    --amber-dark: #BE7826;
    --sage: #5B8A72;
    --terracota: #B3503D;
    --card: #FFFFFF;
    --shadow: 0 6px 24px rgba(42,38,34,.08);
    --radius: 16px;
    --font-size-base: 19px;
    --line-height-base: 1.65;
}

body {
    font-family: 'Nunito Sans', sans-serif, Arial, Helvetica, serif;
    color: var(--ink);
    background-color: var(--paper);
    line-height: var(--line-height-base);
    margin: 0;
    padding: 0;
    font-size: var(--font-size-base);
}

header.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .logo {
    display: inline-flex;
    align-items: center;
}
header .logo img {
    display: block;
    height: 48px;
    width: auto;
}

/* logo grande del hero, con el lema debajo */
.hero-logo {
    display: block;
    height: 124px;
    width: auto;
    margin: 0 auto 1rem;
}
@media (max-width: 600px) {
    .hero-logo { height: 92px; margin-left: 0; }
    header .logo img { height: 42px; }
    .hero h1 { font-size: 2.2rem; }
}

/* barra legal superior (legislación irlandesa: legal/privacidad/cookies visibles) */
.topbar {
    background: var(--ink);
    color: var(--paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .4rem 1.25rem;
    font-size: .82rem;
    flex-wrap: wrap;
}
.topbar .legal-links a { color: var(--paper); text-decoration: none; margin-left: 1rem; opacity: .85; }
.topbar .legal-links a:hover { opacity: 1; text-decoration: underline; }
.topbar-co { opacity: .8; }

/* footer empresa */
.footer-brand { color: var(--ink); margin-bottom: .5rem; }
.footer-links a { color: var(--muted); }

/* banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 640px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid rgba(42,38,34,.15);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2000;
}
.cookie-banner p { margin: 0; font-size: .9rem; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; text-align: center; } }

nav a {
    margin-right: 1rem;
    text-decoration: none;
    color: var(--ink);
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--amber);
}

.btn-primary {
    background-color: var(--amber);
    color: var(--ink);
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--amber-dark);
}

.btn-primary:focus-visible, .link-secondary:focus-visible, nav a:focus-visible, .faq summary:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 2px;
}

.btn-primary.small {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-primary.large {
    font-size: 1.25rem;
    padding: 1rem 2rem;
}

.link-secondary {
    color: var(--amber);
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.link-secondary:hover {
    color: var(--amber-dark);
}

.hero {
    background-color: var(--paper);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero .eyebrow {
    font-family: 'Fraunces', serif;
    color: var(--sage);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.25;
    max-width: 20ch;
    margin: 0 auto .75rem;
    text-wrap: balance;
}
.hero-lead {
    font-size: 1.2rem;
    max-width: 60ch;
    margin: 0 auto 2rem;
    color: var(--muted);
}

.hero p {
    max-width: 68ch;
    margin: 0 auto 2rem;
}

.problem, .how-it-works, .plans, .voice, .trust, .faq, .cta {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.problem h2, .how-it-works h2, .plans h2, .voice h2, .trust h2, .faq h2, .cta h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin-bottom: 2rem;
}

.problem h2 {
    font-size: 2.5rem;
}

.how-it-works h2 {
    font-size: 2.3rem;
}

.plans h2 {
    font-size: 2.1rem;
}

.voice h2, .trust h2, .faq h2, .cta h2 {
    font-size: 2rem;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    width: min(420px, 100%);
    text-align: left;
    border: 1px solid rgba(42,38,34,.08);
}

.card .number {
    font-family: 'Fraunces', serif;
    color: var(--amber);
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card p, .card ul {
    margin-bottom: 1rem;
}

.card.recommended {
    position: relative;
}

.card.recommended {
    border: 2px solid var(--amber);
    box-shadow: 0 12px 36px rgba(217,142,50,.18);
}
.card.recommended .badge {
    background-color: var(--amber);
    color: var(--ink);
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    position: absolute;
    top: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
}

/* precio grande */
.price { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600; margin-bottom: .25rem; }
.price span { color: var(--muted); font-size: 1rem; font-weight: 400; }
.plan-tag { color: var(--sage); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: 1rem; }
.plans-sub { color: var(--muted); margin-top: -1rem; margin-bottom: 2.5rem; }
.per-day { color: var(--muted); font-style: italic; font-size: .95rem; border-top: 1px solid rgba(42,38,34,.1); padding-top: 1rem; }
.card ul { list-style: none; padding-left: 0; }
.card ul li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; }
.card ul li::before { content: "·"; color: var(--amber); font-weight: 700; position: absolute; left: .4rem; }

.price {
    font-weight: 600;
    margin-bottom: 1rem;
}

.price span {
    color: var(--muted);
    font-size: 0.875rem;
}

.trust ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.faq details {
    margin-bottom: 1rem;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
}

.cta {
    background-color: rgba(217, 142, 50, 0.3);
    color: var(--ink);
    padding: 4rem 2rem;
    text-align: center;
}

.voice {
    background-color: rgba(91, 138, 114, 0.1);
    color: var(--ink);
    padding: 4rem 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

footer {
    background-color: var(--paper);
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--muted);
}

footer a {
    color: var(--ink);
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--amber);
}

.language-selector {
    display: inline-block;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    header.sticky-header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        display: flex;
        justify-content: space-around;
        margin-top: 1rem;
    }

    .hero {
        padding: 2.5rem;
        text-align: left;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .problem, .how-it-works, .plans, .voice, .trust, .faq, .cta {
        padding: 2.5rem;
    }
}
/* formulario de contacto */
.contact { background: rgba(91,138,114,.10); border-radius: var(--radius); }
.contact-lead { max-width: 56ch; margin: 0 auto 2rem; color: var(--muted); }
.contact-form { max-width: 480px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; font-weight: 600; gap: .35rem; }
.contact-form input, .contact-form textarea {
    font-family: inherit; font-size: 1rem; padding: .7rem .9rem;
    border: 1px solid rgba(42,38,34,.2); border-radius: 10px; background: var(--card); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.consent-row { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .9rem; }
.consent-row input { width: auto; margin-top: .2rem; }
.contact-form button { margin-top: .5rem; }

/* planes 3-up + anual + Fundador */
.plans .card { width: min(340px, 100%); }
.price-annual { color: var(--sage); font-weight: 600; font-size: .92rem; margin-top: -.15rem; margin-bottom: 1rem; }
.card.founder { border: 2px solid var(--sage); box-shadow: 0 12px 36px rgba(91,138,114,.18); position: relative; }
.badge-founder { background-color: var(--sage) !important; color: var(--paper) !important; }

/* selector de idioma en el header */
.lang-switch { margin-left: 1rem; font-size: .85rem; white-space: nowrap; }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--amber); }
.lang-switch strong { color: var(--amber); }
