/* Fuentes auto-allotjades (evita l'enviament de la IP del visitant a Google — RGPD) */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Barlow-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Barlow-Bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/Barlow-ExtraBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('fonts/Barlow-Black.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 200 500;
    font-display: swap;
    src: url('fonts/DMSans.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 300 400;
    font-display: swap;
    src: url('fonts/DMSans-Italic.woff2') format('woff2');
}

/* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black:  #0c0c0c;
    --white:  #ffffff;
    --cream:  #f6f4f0;
    --stone:  #e8e5df;
    --gray:   #8a8780;
    --border: rgba(0,0,0,0.1);
    --font-serif: 'Barlow', sans-serif;
    --font-sans:  'DM Sans', sans-serif;
    --nav-h: 66px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

/* ── Shared Utilities ──────────────────────────────────────── */
.logo-link { text-decoration: none; display: inline-flex; align-items: center; transition: opacity .25s; }
.logo-link:hover { opacity: .6; }
.logo-img { height: 34px; width: auto; display: block; object-fit: contain; }

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.65rem; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gray);
    display: block; margin-bottom: 1rem;
}

.section-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800; line-height: 1.0;
}

/* Buttons */
.btn-primary {
    display: inline-block; padding: .9rem 2.2rem;
    background: var(--white); color: var(--black);
    font-family: var(--font-sans); font-size: 0.8rem;
    font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; text-decoration: none;
    transition: all .3s; border: 1.5px solid var(--white);
    border-radius: 2px;
}
.btn-primary:hover { background: transparent; color: var(--white); }

.btn-ghost {
    display: inline-block; padding: .9rem 2.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.55);
    font-family: var(--font-sans); font-size: 0.8rem;
    font-weight: 400; letter-spacing: 1.5px;
    text-transform: uppercase; text-decoration: none;
    transition: all .3s; border-radius: 2px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); color: var(--white); }

.btn-outline {
    display: inline-block; padding: .85rem 2rem;
    border: 1.5px solid rgba(0,0,0,0.2);
    color: rgba(0,0,0,0.65);
    font-family: var(--font-sans); font-size: 0.78rem;
    font-weight: 400; letter-spacing: 1.5px;
    text-transform: uppercase; text-decoration: none;
    transition: all .3s; border-radius: 2px;
}
.btn-outline:hover { border-color: var(--black); color: var(--black); background: rgba(0,0,0,0.04); }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: var(--black);
    z-index: 1000;
    display: flex; align-items: center;
    padding: 0 clamp(1.5rem, 5vw, 3.5rem);
    justify-content: space-between;
}

.nav-links { display: flex; list-style: none; gap: 2.8rem; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.78rem; letter-spacing: 1.5px;
    text-transform: uppercase; font-weight: 400;
    transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white) !important;
    font-size: 0.73rem !important;
    transition: all .25s; border-radius: 2px;
}
.nav-cta:hover { background: var(--white); color: var(--black) !important; border-color: var(--white); }

.nav-back {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.73rem; letter-spacing: 1.5px;
    text-transform: uppercase; font-weight: 400;
    transition: color .2s;
    display: flex; align-items: center; gap: 6px;
}
.nav-back:hover { color: var(--white); }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
    display: block; width: 24px; height: 1.5px;
    background: var(--white); transition: all .3s; transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Sections base ─────────────────────────────────────────── */
section { padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 4.5rem); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    background: var(--black);
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: var(--nav-h);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    align-items: stretch;
}

.hero-left {
    display: flex; flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 4.5rem);
    position: relative; z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.68rem; letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.8rem;
    animation: fadeUp .8s ease both;
}

.hero-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 800; line-height: 1.0;
    color: var(--white); margin-bottom: 2rem;
    animation: fadeUp .8s .08s ease both;
}

.hero-highlight {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--white);
    max-width: 500px;
    margin-bottom: 1.3rem;
    animation: fadeUp .8s .16s ease both;
}

.hero-desc {
    font-size: clamp(0.88rem, 1.5vw, 1rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,0.45);
    max-width: 380px;
    margin-bottom: 3rem;
    animation: fadeUp .8s .16s ease both;
}

.hero-desc {
    font-size: clamp(0.88rem, 1.5vw, 1rem);
    font-weight: 300; line-height: 1.75;
    color: rgba(255,255,255,0.45);
    max-width: 380px; margin-bottom: 3rem;
    animation: fadeUp .8s .16s ease both;
}

.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeUp .8s .24s ease both;
}

/* ── FIX: hero-right ocupa toda la altura y la foto llena sin negro ── */
.hero-right {
    position: relative;
    overflow: hidden;
    align-self: stretch;
}
.hero-right img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    display: block;
    opacity: 0.55;
}
.hero-right::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, var(--black) 0%, transparent 40%);
    pointer-events: none;
}

.hero-stat-strip {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(12,12,12,0.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.h-stat {
    flex: 1; padding: 1.4rem clamp(1rem, 2vw, 2rem);
    border-right: 1px solid rgba(255,255,255,0.07);
    display: flex; flex-direction: column; gap: 3px;
}
.h-stat:last-child { border-right: none; }

.h-stat-val {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--white); line-height: 1;
}

.h-stat-label {
    font-family: var(--font-sans);
    font-size: 0.62rem; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* ── Per a qui ────────────────────────────────────────────── */
.forwho {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.forwho-inner {
    position: relative;
    z-index: 2;
}

.forwho .eyebrow {
    color: var(--gray);
}

.forwho .section-title {
    color: var(--black);
}

.forwho-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.forwho-intro {
    max-width: 380px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(0,0,0,0.55);
    font-weight: 300;
}

.forwho-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.for-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: clamp(1.8rem, 2.5vw, 2.4rem);
    transition: box-shadow .3s ease, transform .3s ease;
}

.for-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.for-num {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gray);
    display: block;
    margin-bottom: 1.2rem;
}

.for-card h3 {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: .9rem;
}

.for-card p {
    font-size: 0.88rem;
    line-height: 1.75;
    font-weight: 300;
    color: rgba(0,0,0,0.55);
}

/* ── Services — new card with photo ───────────────────────── */
.services { background: var(--white); }

.services-top {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 2rem;
    margin-bottom: clamp(3rem, 5vw, 4.5rem); flex-wrap: wrap;
}

.services-note {
    max-width: 360px; font-size: 0.95rem; line-height: 1.75;
    color: rgba(0,0,0,0.5); font-weight: 300;
}

.services-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* New card: photo on top, content below */
.svc-card-new {
    display: flex; flex-direction: column;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow .3s;
}
.svc-card-new:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.1); }

/* Video slot in service card */
/* Video slot in service card */
.svc-video {
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
    background: var(--black);
    position: relative;
    flex-shrink: 0;
}

.svc-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder shown while video loads or if no src */
.svc-video-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .6rem;
    background: #111;
}
.svc-video-placeholder span {
    font-size: 0.6rem; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,0.2);
}

/* Content area */
.svc-content {
    padding: clamp(1.8rem, 3vw, 2.5rem);
    display: flex; flex-direction: column; flex: 1;
}

.svc-num {
    font-family: var(--font-sans);
    font-size: 0.6rem; letter-spacing: 3.5px;
    text-transform: uppercase; color: var(--gray);
    display: block; margin-bottom: 1rem;
}

.svc-name {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 0;
}

.svc-body {
    font-size: 0.93rem; line-height: 1.8; font-weight: 300;
    color: rgba(0,0,0,0.55);
}

.svc-line {
    height: 1px; background: rgba(0,0,0,0.08); margin: 1.5rem 0;
}

.svc-sub { margin-bottom: 1.1rem; }
.svc-sub:last-of-type { margin-bottom: 0; }

.svc-sub-name {
    font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 500; display: block; margin-bottom: .3rem;
}

.svc-sub-desc {
    font-size: 0.84rem; line-height: 1.7; color: rgba(0,0,0,0.5);
}

.svc-cta {
    display: inline-block; margin-top: auto; padding-top: 1.5rem;
    font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; color: var(--black);
    border-bottom: 1px solid rgba(0,0,0,0.25);
    align-self: flex-start; transition: opacity .2s;
}
.svc-cta:hover { opacity: .5; }

/* ── About ─────────────────────────────────────────────────── */
.about { background: var(--cream); }

.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem); align-items: center;
}

.about-img { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-img-tag {
    position: absolute; bottom: 1.5rem; left: 1.5rem;
    font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.4); padding: .4rem .9rem;
}

.about-text .section-title { margin-bottom: 1.5rem; }

.about-body {
    font-size: 1rem; line-height: 1.85; font-weight: 300;
    color: rgba(0,0,0,0.6); margin-bottom: 2.5rem;
}

.pillars { list-style: none; border-top: 1px solid var(--border); }

.pillar {
    display: flex; gap: 1.2rem;
    padding: 1.3rem 0; border-bottom: 1px solid var(--border);
}

.pillar-n {
    font-size: 0.6rem; letter-spacing: 2px;
    color: var(--gray); min-width: 26px; padding-top: 3px;
}

.pillar-t strong {
    display: block; font-weight: 500; font-size: 0.88rem;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: .3rem;
}

.pillar-t span { font-size: 0.87rem; line-height: 1.65; color: rgba(0,0,0,0.5); }

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

.testimonials .eyebrow { color: rgba(255,255,255,0.28); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-title em { color: rgba(255,255,255,0.3); }

.testi-header {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap;
}

.testi-note {
    max-width: 360px; font-size: 0.92rem; line-height: 1.75;
    color: rgba(255,255,255,0.35); font-weight: 300;
}

.testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.testi-card { display: flex; flex-direction: column; }

.testi-video-wrap {
    position: relative; aspect-ratio: 9/16;
    background: #1a1a1a; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
}
.testi-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

.testi-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1rem;
}

.testi-placeholder-icon {
    width: 52px; height: 52px;
    border: 1.5px solid rgba(255,255,255,0.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.testi-placeholder-icon svg { fill: rgba(255,255,255,0.25); margin-left: 4px; }

.testi-placeholder-text {
    font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.2); text-align: center; padding: 0 1.5rem;
}

.testi-info { padding: 1.2rem 0 0; display: flex; flex-direction: column; gap: .3rem; }

.testi-name {
    font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500;
    color: rgba(255,255,255,0.75); letter-spacing: .3px;
}

.testi-role {
    font-size: 0.75rem; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.25);
}

/* ── Schedule ──────────────────────────────────────────────── */
.schedule { background: var(--stone); }

.schedule-layout {
    display: grid; grid-template-columns: 1fr 1.7fr;
    gap: clamp(3rem, 6vw, 6rem); align-items: start;
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.schedule-side p {
    font-size: 0.95rem; line-height: 1.8;
    color: rgba(0,0,0,0.5); margin-bottom: 2rem;
}

.sched-rows { border: 1px solid rgba(0,0,0,0.1); background: var(--white); }

.sched-row {
    display: flex; align-items: center;
    padding: 1.1rem 1.5rem; gap: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sched-row:last-child { border-bottom: none; }

.sched-val {
    font-family: 'Barlow', sans-serif;
    font-size: 1.25rem; min-width: 90px; color: var(--black);
}

.sched-lbl {
    font-size: 0.68rem; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gray);
}

.sched-img { border: 1px solid rgba(0,0,0,0.08); }
.sched-img img { width: 100%; height: auto; display: block; }

/* ── Contact ───────────────────────────────────────────────── */
.contact { background: var(--white); }

.contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.contact-cards {
    display: flex; flex-direction: column;
    gap: 1px; background: var(--border); border: 1px solid var(--border);
}

.c-card {
    background: var(--white); padding: 1.7rem 2rem;
    display: flex; flex-direction: column; gap: .45rem;
    transition: background .25s;
}
.c-card:hover { background: var(--cream); }
.c-card.hl { background: var(--black); color: var(--white); }
.c-card.hl:hover { background: #1a1a1a; }

.c-label {
    font-size: 0.6rem; letter-spacing: 3.5px;
    text-transform: uppercase; color: var(--gray);
}
.c-card.hl .c-label { color: rgba(255,255,255,0.3); }

.c-val { font-family: 'Barlow', sans-serif; font-size: 1.15rem; font-weight: 700; }

.c-sub { font-size: 0.83rem; color: rgba(0,0,0,0.48); line-height: 1.55; }
.c-card.hl .c-sub { color: rgba(255,255,255,0.45); }

.c-link {
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; color: var(--black);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    display: inline-block; padding-bottom: 1px;
    transition: opacity .2s; align-self: flex-start; margin-top: .3rem;
}
.c-link:hover { opacity: .5; }
.c-card.hl .c-link { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* ── Contact Form ──────────────────────────────────────────── */
.form-wrap h3 {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800; margin-bottom: .5rem;
}

.form-note { font-size: 0.88rem; color: var(--gray); margin-bottom: 2rem; }

.cf { display: flex; flex-direction: column; gap: .9rem; }

.form-input, .form-textarea {
    width: 100%; padding: .95rem 1rem;
    background: transparent; border: none;
    border-bottom: 1.5px solid rgba(0,0,0,0.18);
    font-family: var(--font-sans); font-size: 0.93rem;
    font-weight: 300; color: var(--black);
    transition: border-color .25s, background .25s;
    border-radius: 0; -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus {
    outline: none; border-color: var(--black); background: var(--cream);
}
.form-textarea { min-height: 120px; resize: vertical; }

.submit-btn {
    padding: 1.05rem; background: var(--black); color: var(--white);
    border: 1.5px solid var(--black);
    font-family: var(--font-sans); font-size: 0.85rem;
    font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; transition: all .3s; margin-top: .4rem; border-radius: 2px;
}
.submit-btn:hover { background: transparent; color: var(--black); }
.submit-btn:disabled { opacity: .4; cursor: not-allowed; }

.success-msg {
    display: none; background: var(--black); color: var(--white);
    padding: 1.2rem; text-align: center; font-size: 0.88rem; letter-spacing: 1px;
}
.success-msg.show { display: block; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: var(--black); color: var(--white);
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 6vw, 4.5rem) 0;
}

.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-wrap: wrap;
}

.footer-left {
    display: flex; flex-direction: column; gap: .7rem;
}

.footer-address {
    font-size: 0.75rem; letter-spacing: 1px;
    color: rgba(255,255,255,0.25); font-weight: 300;
}

.footer-center {
    display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
}

.footer-center a {
    color: rgba(255,255,255,0.45); text-decoration: none;
    font-size: 0.8rem; font-weight: 300; letter-spacing: .5px;
    transition: color .2s;
}
.footer-center a:hover { color: var(--white); }

.footer-right {
    display: flex; flex-direction: column; gap: .4rem; align-items: flex-end;
}

.footer-right a {
    color: rgba(255,255,255,0.45); text-decoration: none;
    font-size: 0.8rem; font-weight: 300; letter-spacing: .5px;
    transition: color .2s;
}
.footer-right a:hover { color: var(--white); }

.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
    padding: 1.4rem 0;
}

.f-copy { font-size: 0.7rem; color: rgba(255,255,255,0.18); }

.f-legal { display: flex; gap: 1.8rem; }
.f-legal a {
    color: rgba(255,255,255,0.18); text-decoration: none;
    font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
    transition: color .2s;
}
.f-legal a:hover { color: rgba(255,255,255,.5); }

/* ── Horari page ───────────────────────────────────────────── */
.page-body { background: var(--black); min-height: 100svh; }

.page-wrapper {
    min-height: 100svh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: calc(var(--nav-h) + 3rem) clamp(1.2rem, 5vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

.page-header { text-align: center; margin-bottom: 2.5rem; }

.page-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.62rem; letter-spacing: 4px;
    text-transform: uppercase; color: rgba(255,255,255,0.25);
    display: block; margin-bottom: .7rem;
}

.page-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; color: rgba(255,255,255,0.85);
    font-style: italic;
}

.schedule-image-container {
    position: relative; width: 100%; max-width: 760px;
}

.schedule-image {
    display: block; width: 100%; height: auto;
    border: 1px solid rgba(255,255,255,0.08);
}

.schedule-cta {
    margin-top: 2.5rem; display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: var(--font-sans); font-size: 0.78rem;
    letter-spacing: 2px; text-transform: uppercase;
    transition: all 0.3s ease; border-radius: 2px;
    -webkit-tap-highlight-color: transparent;
}
.schedule-cta:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }

.footer-note {
    margin-top: 2rem;
    font-size: 0.6rem; letter-spacing: 3px;
    color: rgba(255,255,255,0.15); text-transform: uppercase; text-align: center;
}

/* Footer for dark standalone pages (horari, legal) */
.footer-simple {
    background: var(--black); color: var(--white);
    padding: 2rem clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-simple .f-copy { font-size: 0.72rem; color: rgba(255,255,255,0.18); }
.footer-simple .f-legal { display: flex; gap: 1.5rem; }
.footer-simple .f-legal a {
    color: rgba(255,255,255,0.2); text-decoration: none;
    font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
    transition: color .2s;
}
.footer-simple .f-legal a:hover { color: rgba(255,255,255,.5); }

/* ── Legal pages ───────────────────────────────────────────── */
.legal-page { background: var(--white); }

.legal-content {
    margin-top: var(--nav-h);
    padding: clamp(3rem, 8vw, 6rem) clamp(1.4rem, 5vw, 2.5rem) clamp(4rem, 10vw, 8rem);
    max-width: 780px; margin-left: auto; margin-right: auto;
}

.legal-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.65rem; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gray);
    display: block; text-align: center; margin-bottom: .8rem;
}

.legal-h1 {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; text-align: center;
    font-style: italic; margin-bottom: .5rem;
}

.legal-date {
    text-align: center; font-size: 0.82rem;
    color: var(--gray); letter-spacing: 1px;
    padding-bottom: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.legal-h2 {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    margin-top: 2.5rem; margin-bottom: .9rem;
    font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
}

.legal-h3 {
    font-family: var(--font-sans);
    font-size: 0.88rem; margin-top: 1.5rem; margin-bottom: .6rem;
    font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
    color: #555;
}

.legal-content p {
    margin-bottom: 1rem; font-size: 0.95rem;
    font-weight: 300; color: #2a2a2a; line-height: 1.8;
}

.legal-content ul {
    margin: 0 0 1.2rem 1.5rem;
}
.legal-content ul li {
    font-size: 0.93rem; font-weight: 300;
    color: #2a2a2a; margin-bottom: .4rem; line-height: 1.7;
}

.data-box {
    background: var(--cream);
    border-left: 2px solid var(--black);
    padding: 1.4rem 1.8rem; margin: 1.8rem 0;
}
.data-box p { margin-bottom: .35rem; font-size: 0.92rem; }
.data-box p:last-child { margin-bottom: 0; }

.info-box {
    background: var(--cream);
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 2px solid var(--gray);
    padding: 1.4rem 1.8rem; margin: 1.8rem 0;
}
.info-box p { margin-bottom: .35rem; font-size: 0.92rem; }
.info-box p:last-child { margin-bottom: 0; }

/* Footer for light legal pages */
.footer-legal-page {
    background: var(--black); color: var(--white);
    padding: 2rem clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-legal-page .f-copy { font-size: 0.72rem; color: rgba(255,255,255,0.18); }
.footer-legal-page .f-legal { display: flex; gap: 1.5rem; }
.footer-legal-page .f-legal a {
    color: rgba(255,255,255,0.2); text-decoration: none;
    font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
    transition: color .2s;
}
.footer-legal-page .f-legal a:hover { color: rgba(255,255,255,.5); }

/* ── Testimonials carousel (mobile) ───────────────────────── */
.testi-carousel-wrap {
    display: none;
}

.testi-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testi-carousel::-webkit-scrollbar { display: none; }

.testi-carousel .testi-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: center;
}

/* Dots indicator */
.testi-dots {
    display: flex; justify-content: center; gap: .5rem;
    margin-top: 1.5rem;
}
.testi-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none; cursor: pointer; padding: 0;
    transition: background .25s, transform .25s;
}
.testi-dot.active {
    background: rgba(255,255,255,0.7);
    transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP — Hero más compacto (botones visibles sin scroll)
══════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
    .hero {
        min-height: 100svh;
        height: 100svh;
    }
    .hero-left {
        padding-top: clamp(1rem, 2vw, 1.8rem);
        padding-bottom: clamp(1rem, 2vw, 1.8rem);
    }
    .hero-eyebrow { margin-bottom: .9rem; font-size: 0.62rem; }
    .hero-title {
        font-size: clamp(2rem, 3.4vw, 3.4rem);
        margin-bottom: .9rem;
    }
    .hero-highlight {
        font-size: clamp(1rem, 1.4vw, 1.3rem);
        margin-bottom: .7rem;
    }
    .hero-desc {
        font-size: clamp(0.8rem, 1.2vw, 0.92rem);
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .testi-grid { grid-template-columns: 1fr 1fr; }
    .forwho-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root { --nav-h: 58px; }

    /* ── Nav ── */
    .hamburger { display: flex; }

    .nav-links {
        position: fixed; top: 58px; left: 0; right: 0;
        background: var(--black);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-direction: column; gap: 0;
        max-height: 0; overflow: hidden;
        transition: max-height .35s ease;
    }
    .nav-links.open { max-height: 300px; padding: .6rem 0; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: .9rem; font-size: 0.85rem; }
    .nav-cta {
        margin: .4rem auto .6rem;
        display: inline-block; width: auto;
        padding: .55rem 2rem !important;
    }

    /* ── Hero ── */
    .hero {
        grid-template-columns: 1fr;
        min-height: 100svh;
        position: relative;
    }
    .hero::before {
        content: ''; position: absolute; inset: 0; z-index: 0;
        background: url('Sala.jpeg') center 30%/cover no-repeat;
        opacity: .15;
    }
    .hero-right { display: none; }
    .hero-left {
        position: relative; z-index: 1;
        padding: 2.5rem 1.4rem 1.5rem;
        min-height: calc(100svh - var(--nav-h));
        justify-content: flex-end;
    }
    .hero-eyebrow { margin-bottom: 1.2rem; font-size: 0.6rem; }
    .hero-title { font-size: clamp(2.6rem, 11vw, 3.5rem); margin-bottom: 1.2rem; line-height: .95; }
    .hero-desc { font-size: 0.9rem; margin-bottom: 2rem; max-width: 100%; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        text-align: center; padding: 1rem;
        font-size: 0.82rem;
    }
    .hero-stat-strip {
        position: relative; z-index: 1;
        display: grid; grid-template-columns: 1fr 1fr;
    }
    .h-stat { padding: 1.1rem 1rem; }
    .h-stat-val { font-size: 1.4rem; }
    .h-stat-label { font-size: 0.58rem; letter-spacing: 1.5px; }

    /* ── Sections spacing ── */
    section { padding: 3.5rem 1.4rem; }

    .eyebrow { font-size: 0.6rem; letter-spacing: 3px; margin-bottom: .8rem; }
    .section-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }

    /* ── Per a qui ── */
    .forwho-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    .forwho-intro { max-width: 100%; font-size: 0.88rem; }
    .forwho-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .for-card { padding: 1.5rem; }
    .for-card h3 { font-size: 1.4rem; }

    /* ── Services ── */
    .services-top { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    .services-note { max-width: 100%; font-size: 0.88rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .svc-video { aspect-ratio: 16/9; }
    .svc-content { padding: 1.5rem; }
    .svc-name { font-size: 1.7rem; }

    /* ── About ── */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-img { aspect-ratio: 4/3; }
    .about-body { font-size: 0.93rem; }
    .about-text .section-title { margin-bottom: 1rem; }

    /* ── Testimonials — CAROUSEL ── */
    .testimonials { padding-left: 0; padding-right: 0; }
    .testimonials .testi-header { padding: 0 1.4rem; }
    .testi-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    .testi-note { max-width: 100%; font-size: 0.88rem; }

    /* Hide desktop grid, show carousel */
    .testi-grid { display: none; }
    .testi-carousel-wrap { display: block; padding: 0 1.4rem; }
    .testi-carousel { padding-left: 0; padding-right: 1.4rem; }
    .testi-carousel .testi-card { flex: 0 0 72vw; max-width: 260px; }

    /* ── Schedule ── */
    .schedule-layout { grid-template-columns: 1fr; gap: 2rem; }
    .schedule-side p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .sched-val { font-size: 1.1rem; min-width: 80px; }
    .sched-lbl { font-size: 0.62rem; }
    .sched-row { padding: .95rem 1.2rem; }

    /* ── Contact ── */
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .c-card { padding: 1.4rem 1.2rem; }
    .c-val { font-size: 1.05rem; }
    .form-wrap h3 { font-size: 1.5rem; }
    .form-note { font-size: 0.83rem; margin-bottom: 1.5rem; }
    .form-input, .form-textarea { font-size: 16px; padding: .85rem .8rem; }
    .submit-btn { font-size: 0.82rem; padding: 1rem; }

    /* ── Footer ── */
    .footer { padding: 2.5rem 1.4rem 0; }
    .footer-inner { flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
    .footer-left { align-items: center; }
    .footer-center { justify-content: center; gap: 1.2rem; }
    .footer-right { align-items: center; }
    .footer-address { font-size: 0.7rem; }
    .footer-bottom { flex-direction: column; text-align: center; align-items: center; gap: .6rem; padding: 1.2rem 0; }

    .footer-simple { flex-direction: column; text-align: center; gap: .8rem; }
    .footer-legal-page { flex-direction: column; text-align: center; gap: .8rem; }

    /* ── Legal pages ── */
    .legal-content { padding: 2.5rem 1.4rem 4rem; }
    .legal-h1 { font-size: 1.9rem; }
}


@media (max-width: 390px) {
    .hero-title { font-size: 2.4rem; }
    .testi-carousel .testi-card { flex: 0 0 82vw; }
    .h-stat-val { font-size: 1.25rem; }
}