
/* =================================
   MEGA SAM REFORMAS
   DISEÑO GENERAL
================================= */

:root {
    --primary: #b01728;
    --primary-dark: #870f1e;
    --accent: #e99c2d;
    --brand-blue: #1d98d5;
    --background: #faf9f7;
    --surface: #ffffff;
    --ink: #1a1a18;
    --muted: #67625e;
    --divider: #e7e1da;
    --deep: #1a1a18;

    --font-body: 'Inter', sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    --shadow: 0 12px 35px rgba(28,22,15,.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    background: var(--background);
    color: var(--ink);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.section-padding {
    padding: 105px 0;
}

.eyebrow {
    color: var(--primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    display: inline-block;
    margin-bottom: 20px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -1.5px;
}

/* BOTONES */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: .9rem;
    transition: .3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.65);
}

.btn-outline:hover {
    background: white;
    color: var(--ink);
}

/* NAVEGACIÓN */

.header {
    height: 106px;
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--divider);
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

.logo--image {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.logo--image img {
    width: 230px;
    height: auto;
    max-height: 96px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 31px;
    list-style: none;
    font-size: .82rem;
    font-weight: 600;
}

.nav-links a:not(.nav-button):hover {
    color: var(--primary);
}

.nav-button {
    background: var(--primary);
    color: white;
    padding: 12px 19px;
    border-radius: 4px;
}

.nav-button:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--primary);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: white;
    transition: transform .3s, opacity .2s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* PORTADA */

.hero {
    min-height: 690px;
    height: calc(100vh - 106px);
    max-height: 850px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=90") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,18,15,.88), rgba(20,18,15,.56) 55%, rgba(20,18,15,.12));
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp .9s ease both;
}

.hero .eyebrow {
    color: #f5bd69;
}

.hero h1 {
    font-size: clamp(2.8rem, 6.2vw, 5.8rem);
    letter-spacing: -3px;
    line-height: 1.08;
    max-width: 900px;
}

.hero h1 span {
    font-family: var(--font-serif);
    color: #f5bd69;
    font-weight: 600;
}

.hero-content > p {
    max-width: 560px;
    margin: 27px 0 35px;
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
}

.hero .hero-slogan {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-style: italic;
    line-height: 1.3;
    color: #ffd08a;
    margin: 20px 0 0;
    max-width: 740px;
}

.hero-content > .hero-slogan + p {
    margin-top: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    font-size: .85rem;
    color: rgba(255,255,255,.8);
}

.note-line {
    width: 42px;
    height: 1px;
    background: var(--brand-blue);
}

.scroll-down {
    position: absolute;
    bottom: 25px;
    left: 50%;
    color: white;
    font-size: 27px;
    animation: bounce 2s infinite;
}

/* INTRODUCCIÓN */

.intro {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 90px;
    align-items: center;
}

.intro h2 {
    max-width: 600px;
}

.intro-text p {
    color: var(--muted);
    margin-bottom: 25px;
}

.text-link {
    font-weight: 800;
    color: var(--primary);
    font-size: .9rem;
}

/* ENCABEZADOS DE SECCIÓN */

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 17px;
}

/* PROCESO */

.process {
    background: #f3f0eb;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.process-card {
    background: white;
    padding: 38px 32px;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: .35s;
}

.process-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--primary);
    box-shadow: var(--shadow);
}

.step-number {
    color: #d8d1c7;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
}

.process-icon {
    color: var(--brand-blue);
    font-size: 2rem;
    margin: 22px 0;
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 13px;
}

.process-card p {
    color: var(--muted);
    font-size: .9rem;
}

/* SERVICIOS */

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--divider);
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card img {
    height: 310px;
    transition: transform .6s;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-content {
    padding: 27px 30px 32px;
}

.service-content span {
    font-size: .7rem;
    font-weight: 800;
    color: #9d610c;
    letter-spacing: 2px;
}

.service-content h3 {
    font-size: 1.55rem;
    margin: 12px 0;
}

.service-content p {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 20px;
}

.service-content a {
    color: var(--primary);
    font-weight: 800;
    font-size: .85rem;
}

/* PRESUPUESTO */

.budget {
    background: #f3f0eb;
}

.budget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.budget-image {
    position: relative;
}

.budget-image img {
    height: 540px;
}

.image-label {
    border-left: 4px solid var(--accent);
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 14px 19px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.budget-content h2 {
    margin-bottom: 23px;
}

.budget-content > p {
    color: var(--muted);
    margin-bottom: 25px;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    padding: 8px 0;
    font-weight: 600;
}

.check-list li::first-letter {
    color: var(--primary);
}

/* OPINIONES */

.reviews {
    background: white;
}

.google-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 46px;
    font-size: .9rem;
    color: var(--muted);
}

.google-rating strong {
    color: var(--ink);
}

.google-stars {
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 1rem;
}


/* CARRUSEL */

.reviews-carousel {
    max-width: 930px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.reviews-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.reviews-track {
    display: flex;
    width: 100%;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.review-slide {
    min-width: 100%;
    width: 100%;
    padding: 48px 55px;
    background: var(--background);
    border: 1px solid var(--divider);
    text-align: center;
    box-sizing: border-box;
}


/* ESTRELLAS */

.review-slide .stars {
    color: var(--accent);
    font-size: 1.35rem;
    letter-spacing: 4px;
    margin-bottom: 25px;
}


/* TEXTO */

.review-slide p:not(.review-author) {
    max-width: 720px;
    margin: 0 auto 28px;

    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.45;

    color: var(--ink);
}


/* AUTOR */

.review-author {
    font-size: .8rem;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: .5px;
}


/* FLECHAS DEL CARRUSEL */

.review-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
    border: 1px solid var(--divider);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}

.review-arrow svg { width: 21px; height: 21px; }

.review-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* PUNTOS */

.review-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
}

.review-dot {
    width: 8px;
    height: 8px;

    padding: 0;
    border: 0;

    border-radius: 50%;

    background: #d8d1c7;

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}

.review-dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--primary);
}


/* ENLACE GOOGLE */

.reviews-google-link {
    text-align: center;
    margin-top: 27px;
}

.reviews-google-link a {
    display: inline-block;

    color: var(--primary);

    font-size: .85rem;
    font-weight: 800;

    border-bottom: 1px solid transparent;

    transition: .25s ease;
}

.reviews-google-link a:hover {
    border-bottom-color: var(--primary);
}


/* MÓVIL */

@media (max-width: 700px) {

    .google-rating {
        margin: 0 auto 30px;
        font-size: .8rem;
        text-align: center;
    }

    .reviews-carousel {
        gap: 8px;
    }

    .review-slide {
        padding: 35px 24px 38px;
    }

    .review-slide p:not(.review-author) {
        font-size: 1.35rem;
        line-height: 1.5;
    }

    .review-slide .stars {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .reviews-google-link {
        margin-top: 22px;
    }
}

/* CONTACTO */

.contact {
    background: #f3f0eb;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 65px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #eaf6fc;
    color: var(--brand-blue);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--muted);
    font-size: .9rem;
}

.btn-whatsapp {
    background: #198754;
    color: white;
    width: fit-content;
}

.btn-whatsapp:hover {
    background: #146c43;
}

.contact-form {
    background: white;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.contact-form > label:not(.privacy-label) {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    margin: 17px 0 7px;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    background: #faf9f7;
    border: 1px solid var(--divider);
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    border-radius: 3px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .75rem;
    color: var(--muted);
    margin: 20px 0;
}

.privacy-label input {
    margin-top: 5px;
}

.form-submit {
    width: 100%;
    border: 0;
    font-family: inherit;
}

.form-note,
.form-status {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 13px;
}

/* FOOTER */

.footer {
    background: var(--deep);
    color: white;
    padding: 65px 0 30px;
    text-align: center;
}

.footer .logo--image {
    width: fit-content;
    margin: 0 auto;
    padding: 10px 17px;
    background: #fff;
    border-radius: 4px;
}

.footer .logo--image img {
    width: 270px;
    max-height: none;
}

.footer-content > p {
    color: #aaa39b;
    font-size: .85rem;
    margin-top: 18px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px 0;
    font-size: .8rem;
}

.footer-links a:hover {
    color: #f5bd69;
}

.copyright {
    padding-top: 25px;
    border-top: 1px solid #39342e;
}

/* WHATSAPP FLOTANTE */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    z-index: 900;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
    transition: .3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 3px;
}

/* ANIMACIONES */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVEGACIÓN EN TABLETS Y MÓVILES */

@media (max-width: 1030px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 6% 26px;
        background: #fff;
        border-top: 1px solid var(--divider);
        box-shadow: 0 20px 35px rgba(0, 0, 0, .12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity .3s, transform .3s, visibility .3s;
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li { width: 100%; }

    .nav-links a:not(.nav-button) {
        display: block;
        padding: 17px 8px;
        font-size: .95rem;
        font-weight: 600;
        color: var(--ink);
        border-bottom: 1px solid var(--divider);
        transition: color .2s, padding-left .2s;
    }

    .nav-links a:not(.nav-button):hover {
        color: var(--primary);
        padding-left: 15px;
    }

    .nav-links .nav-button {
        display: block;
        margin-top: 20px;
        padding: 16px 20px;
        border-radius: 7px;
        color: #fff;
        text-align: center;
        font-weight: 700;
    }
}

/* TABLETS */

@media (max-width: 900px) {
    .intro-grid,
    .budget-grid {
        gap: 40px;
    }

    .contact-grid {
        gap: 30px;
    }

    .section-padding {
        padding: 80px 0;
    }
}

/* MÓVILES */

@media (max-width: 700px) {
    html { scroll-padding-top: 88px; }

    .header { height: 82px; }

    .logo--image img { width: 165px; max-height: 71px; }
    .hero .hero-slogan { font-size: 1.22rem; margin-top: 15px; }
    .footer .logo--image img { width: min(250px, 68vw); }
    .review-arrow { width: 38px; height: 38px; flex-basis: 38px; }
    .review-arrow svg { width: 18px; height: 18px; }

    .hero {
        height: 690px;
        min-height: 580px;
        background-position: 60% center;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 11vw, 4rem);
        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: .95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
    }

    .hero-note {
        margin-top: 35px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .intro-grid,
    .budget-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 250px;
    }

    .budget-image img {
        height: 350px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .footer-links {
        gap: 15px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        right: 15px;
        bottom: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.form-status {
    margin-top: 16px;
    font-size: .85rem;
    line-height: 1.5;
}

.form-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Servicios adicionales */

.more-services {
    margin-top: 35px;
}

.more-services-toggle {
    width: fit-content;
    min-height: 50px;
    margin: 0 auto;
    padding: 13px 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 1px solid var(--primary);
    border-radius: 6px;

    background: transparent;
    color: var(--primary);

    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;

    cursor: pointer;
    list-style: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.more-services-toggle::-webkit-details-marker {
    display: none;
}

.more-services-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform .3s ease;
}

.more-services-toggle:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.more-services-toggle:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 4px;
}

.more-services-open {
    display: none;
}

.more-services[open] .more-services-open {
    display: inline;
}

.more-services[open] .more-services-closed {
    display: none;
}

.more-services[open] .more-services-toggle svg {
    transform: rotate(45deg);
}

.services-grid-extra {
    margin-top: 35px;
}

.services-grid-extra .service-card {
    height: 100%;
}

.services-grid-extra .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 575px);
    justify-self: center;
}

@media (max-width: 700px) {
    .more-services {
        margin-top: 28px;
    }

    .more-services-toggle {
        width: 100%;
        max-width: 320px;
    }

    .services-grid-extra {
        margin-top: 25px;
    }

    .services-grid-extra .service-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .more-services-toggle,
    .more-services-toggle svg {
        transition: none;
    }
}

/* Formulario de presupuestos */

.contact-grid {
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: 50px;
}

.contact-form {
    padding: clamp(25px, 4vw, 45px);
    border: 1px solid var(--divider);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-header {
    margin-bottom: 30px;
}

.form-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.contact-form .form-header h3 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2rem);
    letter-spacing: -.7px;
}

.form-header p {
    max-width: 530px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 8px;
    font-size: .8rem;
    font-weight: 700;
}

.form-field label span,
.required-mark {
    color: var(--primary);
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
    width: 100%;
    min-height: 49px;
    padding: 13px 15px;

    border: 1px solid var(--divider);
    border-radius: 6px;

    background: #faf9f7;
    color: var(--ink);

    font-family: inherit;
    font-size: .88rem;
    line-height: 1.5;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.contact-form .form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(176, 23, 40, .08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #918b85;
}

.field-hint {
    margin-top: 8px;
    color: var(--muted);
    font-size: .73rem;
}

.contact-form .privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 27px 0 22px;
    font-size: .78rem;
    line-height: 1.6;
}

.privacy-label input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: var(--primary);
}

.privacy-label a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
}

.form-submit svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.form-status {
    font-size: .83rem;
    line-height: 1.6;
}

.form-note {
    margin-top: 17px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.6;
}

/* Tablet y móvil */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .contact-form {
        padding: 26px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-submit {
        padding: 15px;
        font-size: .83rem;
    }
}
/* PÃ¡gina de privacidad */

.privacy-back-link {
    color: var(--primary);
    font-weight: 700;
    font-size: .9rem;
}

.privacy-back-link:hover { color: var(--primary-dark); }
.privacy-container { width: min(850px, 90%); }

.privacy-hero {
    padding: clamp(65px, 9vw, 115px) 0 65px;
    background: #f3f0eb;
}

.privacy-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    letter-spacing: -.05em;
    margin-bottom: 20px;
}

.privacy-hero h1 span { color: var(--primary); }
.privacy-hero p { max-width: 660px; color: var(--muted); }
.privacy-updated { font-size: .8rem; margin-top: 18px; }
.privacy-section { padding: 65px 0 100px; background: white; }
.privacy-content { color: var(--muted); }

.privacy-content h2 {
    color: var(--ink);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    letter-spacing: -.02em;
    margin: 38px 0 14px;
}

.privacy-content p { margin: 0 0 17px; line-height: 1.85; }
.privacy-content ul { margin: 0 0 22px 24px; line-height: 1.9; }
.privacy-content li { padding-left: 4px; overflow-wrap: anywhere; }
.privacy-content strong { color: var(--ink); }
.privacy-content a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-content a:not(.btn):hover { color: var(--primary-dark); }

.privacy-summary {
    background: #faf9f7;
    border-left: 4px solid var(--primary);
    padding: clamp(22px, 4vw, 36px);
    border-radius: 6px;
    margin-bottom: 42px;
}

.privacy-summary h2 { margin-top: 0; }
.privacy-summary p:last-child { margin-bottom: 0; }

.privacy-content mark {
    background: #fff1dc;
    color: #7b3c00;
    padding: 2px 5px;
    border-radius: 3px;
}

.privacy-contact-box {
    margin-top: 50px;
    padding: clamp(25px, 4vw, 42px);
    background: #f3f0eb;
    border-radius: 8px;
}

.privacy-contact-box h2 { margin-top: 0; }
.privacy-contact-box .btn { color: white; text-decoration: none; margin-top: 8px; }

@media (max-width: 700px) {
    .privacy-hero { padding: 55px 0 45px; }
    .privacy-section { padding: 45px 0 70px; }
    .privacy-content h2 { margin-top: 30px; }
    .privacy-back-link { font-size: .78rem; white-space: nowrap; }
}