/* Mudanzas Virgen de los Reyes - Design tokens from reference */
:root {
    --background: #fafafb;
    --foreground: #1a1a2e;
    --primary: #1e3a6e;
    --primary-dark: #152a52;
    --primary-foreground: #ffffff;
    --secondary: #f4f4f6;
    --accent: #F2A619;
    --accent-hover: #d99212;
    --accent-foreground: #1a1a2e;
    --muted: #f4f4f6;
    --muted-foreground: #6b7280;
    --card: #ffffff;
    --border: #e5e7eb;
    --ring: #1e3a6e;
    --whatsapp: #25d366;
    --call: #c62828;
    --call-hover: #a61f1f;
    --radius: 0.75rem;
    --shadow: 0 4px 24px rgba(30, 58, 110, 0.08);
    --shadow-lg: 0 12px 40px rgba(30, 58, 110, 0.12);
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --header-height: 72px;
    --mobile-bar-height: 56px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --page-gutter: clamp(2rem, 7vw, 2.5rem);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    padding-bottom: calc(var(--mobile-bar-height) + var(--safe-bottom));
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

/* Top bar */
.top-bar {
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.8125rem;
    display: none;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    gap: 1rem;
}

.top-bar__contacts {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar a:hover { opacity: 0.85; }

/* Header - mobile first */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: var(--header-height);
    padding: 0.625rem 0;
    gap: 0.625rem;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
    justify-self: start;
}

.logo img {
    width: auto;
    height: 48px;
    max-width: min(52vw, 220px);
    object-fit: contain;
    object-position: left center;
}

.logo__text { display: none; }

.main-nav {
    display: none;
    gap: 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.main-nav a:hover { color: var(--primary); }

.main-nav a.is-active { color: var(--primary); font-weight: 600; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-cta {
    display: inline-flex;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    min-height: 42px;
    white-space: nowrap;
}

.header-cta__long { display: none; }

.header-cta__short { display: inline; }

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 0.5rem var(--page-gutter) 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
}

.main-nav.is-open a {
    display: flex;
    align-items: center;
    padding: 0.875rem 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
}

.main-nav.is-open a:last-child { border-bottom: none; }

.header-phone {
    display: none;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

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

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

.btn--accent {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn--accent:hover { background: var(--accent-hover); }

.btn--outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--outline:hover { background: rgba(255, 255, 255, 0.1); }

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

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

.btn--full { width: 100%; }

/* Section utilities */
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-title--long {
    font-size: clamp(1.25rem, 4.5vw, 2rem);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header .section-subtitle { margin: 0 auto; }

section { padding: 2.75rem 0; }

/* Hero - mobile first */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 110, 0.92) 0%, rgba(30, 58, 110, 0.75) 50%, rgba(30, 58, 110, 0.5) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem 0 2.25rem;
}

.hero__text {
    padding: 0;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 0.75rem;
    color: #fff;
    backdrop-filter: blur(4px);
    line-height: 1.3;
}

.badge--brand {
    margin-bottom: 0.5rem;
    background: rgba(242, 166, 25, 0.2);
    border-color: rgba(242, 166, 25, 0.45);
}

.badge--sub { margin-bottom: 1rem; }

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.625rem, 7vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}

.hero__desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.hero__actions .btn { width: 100%; }

.hero__checks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero__checks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__checks svg { color: var(--accent); flex-shrink: 0; }

/* Quote form - mobile first */
.quote-form {
    background: var(--card);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.375rem;
    box-shadow: var(--shadow-lg);
}

.quote-form__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.quote-form__title,
.quote-form h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.quote-form__badge {
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
}

.quote-form > p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select {
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 16px;
    font-family: inherit;
    background: var(--card);
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 48px;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 110, 0.15);
}

.form-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.75rem;
    text-align: center;
}

.form-note a { color: var(--primary); text-decoration: underline; }

/* Trust bar */
.trust-bar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1.375rem 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.trust-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 0.625rem;
    background: rgba(30, 58, 110, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card h3 a:hover { color: var(--primary); }

.service-card p {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.service-card__link:hover {
    text-decoration: underline;
}

.section-cta-center {
    text-align: center;
    margin-top: 2rem;
}

.municipios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.municipio-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.municipio-card h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.municipio-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin: 0;
}

.page-layout--single {
    grid-template-columns: 1fr;
    max-width: 48rem;
}

.provincia-block {
    padding: 2.5rem 0;
}

.provincia-block--primary {
    background: var(--background);
}

.provincia-block--secondary {
    background: var(--muted);
    border-top: 1px solid var(--border);
    padding: 2rem 0 2.75rem;
}

.provincia-block--secondary .content-prose h2 {
    font-size: 1.375rem;
}

.provincia-block__note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(30, 58, 110, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.provincia-block__note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

@media (min-width: 640px) {
    .municipios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .municipios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .page-layout--single {
        max-width: 56rem;
    }
}

/* Guardamuebles section */
.guardamuebles {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 2.75rem 0;
}

.guardamuebles__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.guardamuebles .section-label { color: var(--accent); }
.guardamuebles .section-title { color: #fff; }

.guardamuebles__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 1.5rem 0;
}

.guardamuebles__price span:first-child { font-size: 1rem; opacity: 0.8; }
.guardamuebles__price strong { font-size: 3rem; font-weight: 800; font-family: var(--font-display); }
.guardamuebles__price span:last-child { font-size: 1.125rem; opacity: 0.8; }

.guardamuebles__list {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.guardamuebles__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.guardamuebles__list svg { color: var(--accent); flex-shrink: 0; }

.guardamuebles__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.guardamuebles__actions .btn { width: 100%; }

.guardamuebles__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.guardamuebles__image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* Stats */
.stats {
    background: var(--secondary);
    padding: 3rem 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

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

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.375rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.feature-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    background: rgba(242, 166, 25, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Instalaciones */
.instalaciones-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.instalaciones-header .btn { width: 100%; }

.stats--inline {
    background: transparent;
    padding: 1.5rem 0 0;
}

.instalaciones-photo {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.instalaciones-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.instalaciones-year {
    text-align: center;
    margin-top: 1.25rem;
}

.instalaciones-year .stat-item strong {
    font-size: 2.5rem;
}

.instalaciones-header .section-title { margin-bottom: 0; text-align: left; }

.instalaciones-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.instalacion-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
}

.instalacion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.instalacion-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 110, 0.9) 0%, rgba(30, 58, 110, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
}

.instalacion-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.instalacion-card p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.instalacion-card a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.instalacion-card a:hover { text-decoration: underline; }

/* Why us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.375rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.why-item__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.why-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.why-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Testimonials */
.testimonials { background: var(--secondary); }

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.testimonial-card__stars {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
}

.testimonial-card span {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

/* Zones */
.zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}

.zone-tag {
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.zone-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    color: var(--foreground);
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
}

.faq-item button svg {
    flex-shrink: 0;
    transition: transform 0.2s;
    color: var(--muted-foreground);
}

.faq-item.is-open button svg { transform: rotate(180deg); }

.faq-item__answer {
    display: none;
    padding: 0 1.25rem 1.125rem;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.faq-item.is-open .faq-item__answer { display: block; }

/* CTA */
.cta {
    background: var(--primary);
    color: var(--primary-foreground);
    text-align: center;
}

.cta .section-title { color: #fff; }
.cta .section-subtitle { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; }

.cta__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    align-items: stretch;
}

.cta__actions .btn { width: 100%; }

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 calc(1.5rem + var(--safe-bottom));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    margin: 1rem 0;
    line-height: 1.7;
    opacity: 0.85;
}

.logo--footer .logo__text { color: #fff; }

.logo--footer img {
    background: #fff;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255, 255, 255, 0.1); }

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-col li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
}

.footer-col svg { color: var(--accent); flex-shrink: 0; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8125rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a:hover { color: #fff; }

/* Mobile bar - sticky CTA */
.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    background: var(--card);
    border-top: 1px solid var(--border);
    min-height: var(--mobile-bar-height);
    padding-bottom: var(--safe-bottom);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-bar__call,
.mobile-bar__whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    min-height: var(--mobile-bar-height);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s;
}

.mobile-bar__call {
    background: var(--call);
    color: #fff;
}

.mobile-bar__call:active { background: var(--call-hover); }

.mobile-bar__whatsapp { background: var(--whatsapp); color: #fff; }

/* Tablet and up */
@media (min-width: 480px) {
    .hero__checks {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero__checks li { font-size: 0.875rem; }

    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__actions .btn { width: auto; }

    .guardamuebles__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .guardamuebles__actions .btn { width: auto; }

    .cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta__actions .btn { width: auto; }

    .quote-form__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .instalaciones-photo img { height: 260px; }
}

@media (min-width: 400px) {
    .logo img {
        height: 50px;
        max-width: min(56vw, 240px);
    }
}

@media (min-width: 640px) {
    .logo img { height: 52px; max-width: 240px; }

    .header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 640px) {
    section { padding: 3.5rem 0; }

    .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(4, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    :root {
        --page-gutter: 1.5rem;
    }

    body { padding-bottom: 0; }

    .mobile-bar { display: none; }
    .top-bar { display: block; }

    .site-header__inner {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
    }

    .main-nav { display: flex; gap: 1.25rem; font-size: 0.875rem; }
    .header-phone { display: block; }
    .header-cta {
        display: inline-flex;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-height: auto;
    }
    .header-cta__short { display: none; }
    .header-cta__long { display: inline; }
    .menu-toggle { display: none; }

    section { padding: 4rem 0; }

    .section-header { margin-bottom: 3rem; }

    .hero {
        min-height: 85vh;
        align-items: center;
    }

    .hero__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem 0;
        align-items: center;
    }

    .hero__text { padding: 0; }
    .quote-form { padding: 1.75rem; }

    .hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
    .hero__desc { font-size: 1.0625rem; }

    .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
    .trust-item { font-size: 0.875rem; }
    .trust-item__icon { width: 40px; height: 40px; }

    .guardamuebles__grid { grid-template-columns: 1fr 1fr; }
    .instalaciones-grid { grid-template-columns: repeat(3, 1fr); }
    .instalaciones-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 2.5rem;
    }
    .instalaciones-header .btn { width: auto; }
    .instalaciones-photo img { height: 300px; }
    .instalaciones-year .stat-item strong { font-size: 3rem; }

    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .site-footer { padding: 3rem 0 1.5rem; }
}

@media (min-width: 1024px) {
    :root {
        --page-gutter: 1.25rem;
    }

    .main-nav { gap: 1.75rem; font-size: 0.9375rem; }

    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .page-layout { grid-template-columns: 1fr 360px; }
}
.page-hero {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 2.25rem 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    font-size: 0.8125rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span { opacity: 0.6; }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.page-hero__lead {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.92;
    max-width: 640px;
}

.page-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.page-hero__actions .btn { width: 100%; }

.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.75rem 0;
}

.content-prose {
    min-width: 0;
}

.content-prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--foreground);
}

.content-prose h2:first-child { margin-top: 0; }

.content-prose h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}

.content-prose p {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.content-prose strong { color: var(--foreground); }

.service-checklist {
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0 1.75rem;
}

.service-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    padding: 1rem 1.125rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.service-checklist svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.material-tag {
    padding: 0.625rem 1rem;
    background: var(--secondary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem;
    box-shadow: var(--shadow);
}

.sidebar-card--accent {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sidebar-card p,
.sidebar-card li {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
}

.sidebar-card ul { display: flex; flex-direction: column; gap: 0.5rem; }

.sidebar-card a { text-decoration: underline; }

.sidebar-card--accent .btn { width: 100%; margin-top: 0.75rem; }

.sidebar-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0.5rem 0 1rem;
}

.sidebar-price strong {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
}

.page-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.page-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .content-prose,
    .page-sidebar,
    .section-header,
    .instalaciones-header,
    .faq-list,
    .page-hero .container > :not(.page-hero__actions) {
        padding-inline: 0.5rem;
    }

    .content-prose h2,
    .content-prose p,
    .section-title,
    .section-subtitle,
    .page-hero h1,
    .page-hero__lead,
    .breadcrumb {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .page-image {
        margin-inline: 0.5rem;
    }
}

@media (min-width: 480px) {
    .page-hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .page-hero__actions .btn { width: auto; }

    .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .page-hero { padding: 3rem 0; }

    .page-layout {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
        padding: 3.5rem 0;
        align-items: start;
    }

    .page-image img { height: 320px; }

    .materials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .page-layout { grid-template-columns: 1fr 360px; }
}

/* Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.pricing-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem;
    text-align: center;
}

.pricing-card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.pricing-card__badge {
    position: absolute;
    top: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.pricing-card__size {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.pricing-card__price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
}

.pricing-card__price strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--accent);
}

/* Process steps */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.process-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem;
}

.process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 800;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Contact page */
.contact-section {
    padding: 2.75rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-info h2,
.contact-form-wrap h2 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-info__lead,
.contact-form-wrap__desc {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.contact-cards {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    background: rgba(30, 58, 110, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover { text-decoration: underline; }

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-height: 260px;
}

.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form textarea {
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 16px;
    font-family: inherit;
    background: var(--card);
    resize: vertical;
    min-height: 120px;
    width: 100%;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 110, 0.15);
}

.form-group--checkbox { margin-top: 0.25rem; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.checkbox-label a { color: var(--primary); text-decoration: underline; }

.form-alert {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.form-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (min-width: 768px) {
    .contact-section { padding: 3.5rem 0; }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }

    .contact-card:first-child,
    .contact-card:nth-child(2) {
        grid-column: span 1;
    }

    .contact-map iframe { height: 320px; }
    .contact-map { min-height: 320px; }

    .contact-form-wrap { padding: 1.75rem; }
}

/* Presupuesto page */
.quote-page-top {
    padding: 1.25rem 0 2rem;
    background: linear-gradient(180deg, rgba(30, 58, 110, 0.04) 0%, var(--background) 100%);
    border-bottom: 1px solid var(--border);
}

.quote-page-top .breadcrumb {
    margin-bottom: 1rem;
}

.quote-form-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.quote-form-section__main {
    margin: 0;
}

.quote-form-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.quote-form-card__lead {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.page-layout--quote {
    grid-template-columns: 1fr;
    max-width: 48rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.page-hero--quote .page-hero__actions {
    display: none;
}

@media (min-width: 768px) {
    .page-hero--quote .page-hero__actions {
        display: flex;
    }

    .quote-page-top {
        padding: 1.5rem 0 2.5rem;
    }

    .quote-form-section {
        grid-template-columns: 1fr 280px;
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .quote-form-section {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 1.5rem;
    }

    .page-layout--quote {
        max-width: 56rem;
    }
}

.page-layout--quote .page-sidebar {
    align-self: start;
}

@media (max-width: 1023px) {
    .page-layout--quote .page-sidebar { order: -1; }
}

.quote-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.quote-form .btn { margin-top: 0.25rem; }

.quote-form textarea,
.form-group textarea {
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 16px;
    font-family: inherit;
    background: var(--card);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    resize: vertical;
    min-height: 96px;
}

.quote-form textarea:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 110, 0.15);
}

.form-grid--compact {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .form-grid--compact { grid-template-columns: 1fr 1fr; }
}

.form-fieldset {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.875rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-fieldset legend {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0 0.25rem;
}

.zones-grid--inline {
    margin-bottom: 1.25rem;
}

.sidebar-card--accent .form-alert {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .quote-form-section__aside .sidebar-card {
        position: sticky;
        top: calc(var(--header-height) + 1rem);
    }
}

/* Legal pages */
.page-hero--legal {
    padding-bottom: 1.5rem;
}

.page-hero--legal .page-hero__actions {
    display: none;
}

.legal-prose {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 0 3.5rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

.legal-prose h2,
.legal-prose h3,
.legal-prose h4 {
    font-family: var(--font-display);
    color: var(--foreground);
    margin: 2rem 0 0.75rem;
}

.legal-prose h2:first-child,
.legal-prose h3:first-child { margin-top: 0; }

.legal-prose h2 { font-size: 1.375rem; }
.legal-prose h3 { font-size: 1.125rem; }
.legal-prose h4 { font-size: 1rem; }

.legal-prose p,
.legal-prose li { margin-bottom: 0.75rem; }

.legal-prose ol,
.legal-prose ul {
    margin: 0 0 1rem 1.25rem;
}

.legal-prose a { color: var(--primary); text-decoration: underline; }

.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--border);
    padding: 0.625rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: var(--secondary);
    font-weight: 600;
    color: var(--foreground);
    width: 28%;
}

.legal-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 200;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    padding: 1rem 0 calc(1rem + var(--safe-bottom));
}

body.cookie-banner-open {
    padding-bottom: calc(var(--mobile-bar-height) + var(--safe-bottom) + 8rem);
}

.cookie-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

.cookie-banner__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.cookie-banner__text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 0.875rem;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.cookie-banner__legal {
    font-size: 0.8125rem;
}

.cookie-banner__legal a { color: var(--primary); text-decoration: underline; }

.cookie-settings {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    max-height: 50vh;
    overflow-y: auto;
}

.cookie-settings__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cookie-settings__intro {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cookie-category {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.875rem;
    margin-bottom: 0.625rem;
}

.cookie-category__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.375rem;
    color: var(--foreground);
}

.cookie-category p {
    font-size: 0.8125rem;
    line-height: 1.55;
    margin: 0;
    color: var(--muted-foreground);
}

.cookie-category__badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.cookie-settings__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.footer-legal__btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.footer-legal__btn:hover { color: #fff; }

@media (min-width: 768px) {
    body.cookie-banner-open {
        padding-bottom: calc(7rem + var(--safe-bottom));
    }

    .cookie-banner {
        padding-bottom: 1.25rem;
    }
}