/*
Theme Name: Pili Sanromà - Massatge oncològic
Author: Pili Sanromà
Description: Web de presentació i contacte inspirada en la identitat del fulletó de Pili Sanromà.
Version: 3.15.3
Text Domain: pili-sanroma
*/

:root {
  --palette-1: #bbbaaf;
  --palette-2: #e5e6df;
  --palette-3: #e6e6e2;
  --palette-4: #e6e6e2;
  --charcoal: #585451;
  --ink: #585451;
  --muted: #585451;
  --sand: #9e9b93;
  --sand-soft: var(--palette-4);
  --blue: #9e9b93;
  --blue-deep: #585451;
  --blue-soft: var(--palette-2);
  --paper: var(--palette-3);
  --olive: #bbbaaf;
  --cream: #e6e6e2;
  --mist: #e5e6df;
  --white: #ffffff;
  --line: rgba(88, 84, 81, .16);
  --shadow: 0 20px 60px rgba(88, 84, 81, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font-family: "DM Sans", "Segoe UI", sans-serif; font-size: 20px; line-height: 1.3; }
p { font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 9999; padding: 12px 18px; background: var(--charcoal); color: white; }
.skip-link:focus { top: 20px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); box-shadow: 0 5px 22px rgba(75,66,64,.08); }
.topbar { background: #9e9b93; color: rgba(255,255,255,.92); font-size: 15px; letter-spacing: .025em; }
.topbar-inner { min-height: 47px; display: flex; align-items: center; gap: 24px; }
.topbar-inner a { text-decoration: none; }
.topbar-inner span { margin-right: auto; color: rgba(255,255,255,.66); }
.topbar-inner .top-instagram { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-soft); font-size: 15px; font-weight: 600; }
.topbar-inner .top-instagram span { margin: 0; color: inherit; text-transform: none; }
.top-instagram svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.top-instagram .fill-dot { fill: currentColor; stroke: none; }
.header-inner { width: min(1280px, calc(100% - 40px)); min-height: 150px; display: flex; flex-wrap: nowrap; align-items: center; gap: 42px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 15px; margin-right: auto; text-decoration: none; }
.brand-name { color: var(--charcoal); font-family: "Montserrat", sans-serif; font-size: 31px; font-weight: 700; line-height: .9; letter-spacing: -1px; }
.brand-service { padding-left: 15px; border-left: 2px solid var(--sand); color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: nowrap; gap: 34px; white-space: nowrap; }
.main-nav a { position: relative; padding: 10px 0; color: var(--charcoal); font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { flex: 0 0 auto; padding: 14px 22px; border: 1px solid var(--sand); color: var(--charcoal); font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--charcoal); color: white; }
.menu-toggle { display: none; width: 48px; height: 44px; padding: 10px; border: 1px solid var(--sand); background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--charcoal); transition: transform .2s; }
.mobile-menu-overlay { position: fixed; inset: 0; z-index: 990; background: rgba(75,66,64,.58); }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000; width: min(390px, 88vw); display: flex; flex-direction: column; padding: 34px; background: var(--charcoal); color: white; box-shadow: -18px 0 50px rgba(0,0,0,.22); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-close { align-self: flex-end; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: white; font-size: 30px; line-height: 1; cursor: pointer; }
.mobile-menu-brand { display: grid; margin: 42px 0 36px; font-family: "Montserrat",sans-serif; font-size: 34px; font-weight: 700; line-height: 1.1; }
.mobile-menu-brand span { margin-top: 8px; color: var(--blue-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: "Montserrat",sans-serif; font-size: 19px; font-weight: 600; text-decoration: none; }
.mobile-menu nav .mobile-menu-cta { margin-top: 22px; padding: 14px 18px; border: 1px solid var(--blue-soft); color: var(--blue-soft); text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mobile-menu-instagram { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: var(--blue-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.mobile-menu-instagram svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mobile-menu-instagram .fill-dot { fill: currentColor; stroke: none; }
body.menu-open { overflow: hidden; }

.hero { position: relative; min-height: 650px; display: grid; overflow: hidden; background: var(--mist); color: var(--charcoal); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(225,226,216,.98) 0%, rgba(225,226,216,.94) 35%, rgba(225,226,216,.68) 53%, rgba(225,226,216,.08) 76%); }
.hero-grid { position: relative; min-height: 650px; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 3; width: min(690px, 58%); padding: 76px 0; }
.hero-visual { position: absolute; top: 0; right: calc((100vw - 100%) / -2); bottom: 0; left: calc((100vw - 100%) / -2); z-index: 0; min-height: 650px; background-image: url("/wp-content/uploads/2026/07/aigua-panoramica.jpg"); background-attachment: fixed; background-size: cover; background-position: center 78%; background-repeat: no-repeat; }
.hero-visual img { display: none; }
.hero-note { display: none; }
.eyebrow { margin: 0 0 20px; color: var(--charcoal); font-family: "DM Sans", sans-serif; font-size: 17px; font-weight: 600; line-height: 22px; letter-spacing: 1.728px; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow { color: var(--charcoal); }
.blog-listing-hero .eyebrow { color: var(--blue-soft); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; text-wrap: balance; }
h1 { max-width: 900px; margin-bottom: 26px; font-size: 55px; font-weight: 500; line-height: 1.135; letter-spacing: -1.5px; }
h2 { margin-bottom: 24px; color: var(--charcoal); font-size: 35px; font-weight: 700; line-height: 1.235; letter-spacing: -1px; }
h3 { margin-bottom: 14px; font-size: 25px; font-weight: 500; line-height: 1.28; letter-spacing: -1.5px; }
.hero-copy { width: min(820px, 62%); }
.hero-lead { max-width: 760px; margin-bottom: 34px; color: var(--charcoal); font-family: "Montserrat", sans-serif; font-size: 30px; font-weight: 600; line-height: 1.175; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; padding: 15px 26px; border: 1px solid transparent; font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--olive); color: var(--charcoal); }
.button-primary:hover { background: var(--charcoal); color: white; }
.button-ghost { border-color: rgba(255,255,255,.65); color: white; }
.button-ghost:hover { background: white; color: var(--charcoal); }

.quote-section { background: var(--sand-soft); }
.quote-inner { display: grid; justify-items: center; padding-block: 42px; text-align: center; }
.quote-mark { display: none; }
blockquote { max-width: 960px; margin: 0 auto; color: var(--charcoal); font-family: "Montserrat", sans-serif; font-size: 35px; font-weight: 600; line-height: 1.235; letter-spacing: -1px; text-align: center; }
.purpose-quote { max-width: 1180px; }
.purpose-quote span { display: block; white-space: nowrap; }

.section { padding: clamp(68px, 8vw, 96px) 0; }
.about { background: white; }
.about-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(58px, 9vw, 120px); align-items: center; }
.portrait-wrap { position: relative; padding: 0 28px 28px 0; }
.portrait-wrap::before { content: ""; position: absolute; inset: 44px 0 0 44px; background: var(--sand-soft); }
.portrait-wrap img { position: relative; width: 100%; max-height: 650px; object-fit: cover; object-position: 50% 18%; filter: none; box-shadow: var(--shadow); }
.portrait-caption { position: absolute; right: -18px; bottom: 0; display: grid; min-width: 235px; padding: 18px 22px; background: var(--olive); color: var(--charcoal); }
.portrait-caption strong { font-family: "Montserrat", sans-serif; font-size: 21px; font-weight: 700; }
.portrait-caption span { color: var(--charcoal); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.about-copy > p:not(.eyebrow):not(.about-highlight) { color: var(--muted); opacity: .9; }
.about-highlight { margin: 30px 0 0; padding: 22px 25px; border-left: 3px solid var(--sand); background: var(--paper); color: var(--charcoal); font-size: 19px; font-weight: 500; }

.indications { background: var(--olive); color: white; }
.indications-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.indications .eyebrow, .indications h2 { color: white; }
.indications-intro p:last-child { max-width: 500px; margin: 0; font-size: 19px; line-height: 1.55; }
.indications-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 34px; margin: 0; padding: 0; list-style: none; }
.indications-list li { position: relative; padding-left: 27px; font-size: 17px; line-height: 1.4; }
.indications-list li::before { content: "·"; position: absolute; top: -.08em; left: 0; font-size: 48px; font-weight: 600; line-height: .55; }

.service { background: var(--paper); }
.section-heading { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.section-heading > p:last-child { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.section-heading .service-goal { max-width: 760px; margin: 26px auto 0; padding: 20px 24px; background: var(--mist); color: var(--charcoal); font-family: "DM Sans", sans-serif; font-size: 17px; font-weight: 400; line-height: 1.55; }
.section-heading .service-goal strong { font-weight: 700; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.benefit-card { position: relative; min-height: 510px; display: grid; grid-template-rows: auto 1fr; align-content: start; overflow: hidden; padding: 30px 32px; border: 0; background: white; box-shadow: 0 14px 35px rgba(75,66,64,.08); }
.card-blue { background: var(--mist); color: var(--charcoal); }
.card-blue .card-number { color: var(--sand); opacity: 1; }
.card-light { background: var(--cream); color: var(--charcoal); }
.card-olive { background: var(--olive); color: var(--charcoal); }
.card-number { display: block; margin-bottom: 22px; color: var(--muted); font-family: "Montserrat", sans-serif; font-size: 48px; font-weight: 500; line-height: 1; opacity: .85; }
.benefit-card h3 { min-height: 64px; display: flex; align-items: flex-start; margin: 0; font-size: 24px; }
.benefit-card p { margin-bottom: 0; font-size: 16px; line-height: 1.65; }
.benefit-text { align-self: start; color: inherit; font-size: 17px !important; line-height: 1.65 !important; }
.card-image-copy { position: relative; z-index: 2; grid-row: 1 / -1; min-height: 0; display: grid; grid-template-rows: auto 1fr; align-content: start; }
.card-image-copy .card-number { margin-bottom: 18px; }
.card-olive .card-number { color: var(--charcoal); }
.card-image-copy h3 { margin: 0; }
.medical-note { max-width: 880px; margin: 30px auto 0; padding: 17px 22px; border: 1px solid rgba(75,66,64,.24); border-left: 4px solid var(--olive); background: var(--palette-3); color: var(--charcoal); font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; box-shadow: 0 8px 24px rgba(75,66,64,.06); }

.hands-story { position: relative; overflow: hidden; padding: 20px 0; background-color: var(--mist); background-image: url("/wp-content/uploads/2026/07/mans-acompanyament.webp"); background-attachment: fixed; background-size: cover; background-position: center center; }
.hands-story::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(225,226,216,.78); }
.hands-story-grid { position: relative; z-index: 1; max-width: 1050px; display: grid; place-items: center; padding: 0; background: transparent; }
.hands-message { width: 100%; display: grid; justify-items: center; padding: 16px 40px; text-align: center; }
.hands-message blockquote { max-width: 900px; font-size: 35px; }
.hands-message > p:last-child { margin: 28px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.blog-section { background: white; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { min-height: 360px; display: flex; flex-direction: column; padding: 30px; border-top: 4px solid #585451; background: var(--paper); box-shadow: 0 14px 35px rgba(88,84,81,.07); transition: transform .22s ease, box-shadow .22s ease; }
.blog-card:nth-child(3n+2), .blog-card:nth-child(3n) { border-top-color: #585451; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(75,66,64,.12); }
.blog-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.blog-card-number { color: var(--charcoal); font-family: "Montserrat", sans-serif; font-size: 40px; font-weight: 500; line-height: 1; }
.blog-card time { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.blog-card h2, .blog-card h3 { margin-bottom: 16px; font-size: 25px; font-weight: 500; line-height: 1.28; }
.blog-card h2 a, .blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card p { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.blog-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--charcoal); font-size: 15px; font-weight: 600; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.blog-read-more span { color: var(--blue); font-size: 18px; transition: transform .2s ease; }
.blog-read-more:hover span { transform: translateX(4px); }
.blog-section-action { display: flex; justify-content: center; margin-top: 38px; }
.button-ghost-dark { border-color: var(--charcoal); color: var(--charcoal); }
.button-ghost-dark:hover { background: var(--charcoal); color: white; }

.blog-listing-page { min-height: 70vh; background: white; }
.blog-listing-hero { padding: clamp(72px, 9vw, 125px) 0; background: var(--blue-deep); color: white; }
.blog-listing-hero h1 { max-width: 900px; margin-bottom: 24px; color: white; font-size: 55px; }
.blog-listing-hero > .container > p:last-child { max-width: 760px; margin: 0; color: rgba(255,255,255,.76); font-size: 19px; }
.blog-listing-content { background: white; }
.blog-grid-all { align-items: stretch; }
.blog-pagination { margin-top: 52px; }
.blog-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.blog-pagination a, .blog-pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--line); color: var(--charcoal); font-size: 13px; font-weight: 600; text-decoration: none; }
.blog-pagination .current, .blog-pagination a:hover { border-color: var(--blue); background: var(--blue); color: white; }
.blog-empty { padding: 44px; background: var(--paper); color: var(--muted); text-align: center; }

.blog-article-page { min-height: 70vh; padding: clamp(68px, 8vw, 110px) 0; background: var(--paper); }
.blog-article { max-width: 850px; }
.article-back { display: inline-block; margin-bottom: 54px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.blog-article h1 { max-width: 800px; margin-bottom: 18px; color: var(--charcoal); font-size: 55px; line-height: 1.135; }
.article-date { margin-bottom: 45px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.article-content { padding: clamp(28px, 5vw, 58px); background: white; box-shadow: 0 14px 40px rgba(75,66,64,.07); }
.article-content h2 { margin: 42px 0 16px; font-size: 35px; }
.article-content h2:first-child { margin-top: 0; }
.article-content p, .article-content li { color: var(--muted); line-height: 1.8; }
.article-content ul { margin: 0 0 24px; padding-left: 22px; }
.article-content a { color: var(--blue-deep); font-weight: 600; }
.article-note { margin-top: 38px; padding: 18px 20px; border-left: 4px solid var(--blue); background: var(--sand-soft); color: var(--charcoal) !important; font-size: 14px; font-weight: 600; }
.article-sources { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

.contact { background: var(--olive); color: var(--charcoal); }
.contact-grid { max-width: 1080px; display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
.contact h2 { color: var(--charcoal); }
.contact-copy { max-width: 1000px; margin-inline: auto; text-align: center; }
.contact-copy > p:not(.eyebrow) { max-width: 760px; margin-inline: auto; color: var(--charcoal); font-size: 18px; }
.contact-sensitive { display: block; margin-top: 2px; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 42px; }
.contact-method { min-height: 145px; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 12px; border: 0; background: transparent; color: var(--charcoal); text-decoration: none; transition: transform .2s, opacity .2s; }
.contact-method:hover { background: transparent; transform: translateY(-3px); opacity: .72; }
.contact-method svg, .contact-method img { width: 40px; height: 40px; margin-bottom: 6px; object-fit: contain; }
.contact-method svg { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.contact-method span { font-size: 15px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.contact-method strong { max-width: 100%; overflow-wrap: anywhere; font-family: "Montserrat", sans-serif; font-size: 25px; font-weight: 500; line-height: 1.28; letter-spacing: -1px; }
.contact-method.contact-email strong { font-size: clamp(18px, 1.55vw, 23px); overflow-wrap: normal; }
.button-whatsapp { border-color: rgba(255,255,255,.72); background: transparent; color: white; }
.button-whatsapp:hover { background: white; color: var(--charcoal); }
/* Temporalment ocult: es pot recuperar eliminant aquesta regla. */
.contact .form-card { display: none; }
.form-card { padding: clamp(28px, 5vw, 50px); background: white; color: var(--ink); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 19px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--charcoal); font-size: 12px; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(75,66,64,.25); border-radius: 0; background: var(--mist); color: var(--ink); font: inherit; padding: 12px 13px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--sand); box-shadow: inset 0 -1px 0 var(--sand); }
.field textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.consent input { margin-top: 3px; accent-color: var(--charcoal); }
.form-submit { justify-self: start; border: 0; background: var(--blue-deep); color: white; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { margin-bottom: 22px; padding: 14px 16px; font-size: 14px; }
.form-message.success { background: #e2efe7; color: #28513a; }
.form-message.error { background: #f5e3e1; color: #713d37; }

.site-footer { padding: 38px 0; background: #9e9b93; color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px 34px; }
.footer-brand { display: grid; }
.footer-brand strong { font-family: "Montserrat", sans-serif; font-size: 25px; font-weight: 600; }
.footer-brand span, .site-footer p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.instagram-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-soft); font-size: 15px; font-weight: 600; text-decoration: none; }
.instagram-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.instagram-link .fill-dot { fill: currentColor; stroke: none; }
.instagram-link { justify-self: end; }
.site-footer p.footer-credit { grid-column: 1 / -1; justify-self: center; margin: 0; color: rgba(255,255,255,.64); font-size: 15px; letter-spacing: normal; text-transform: none; white-space: nowrap; text-align: center; }
.footer-credit a { color: var(--blue-soft); font-weight: 600; text-decoration: none; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.legal-links a { color: rgba(255,255,255,.72); font-size: 16px; letter-spacing: .02em; text-decoration: none; }
.footer-cookie-settings { margin: 0; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.72); font: inherit; font-size: 16px; letter-spacing: .02em; cursor: pointer; }
.legal-links a:hover, .legal-links a:focus-visible, .footer-cookie-settings:hover, .footer-cookie-settings:focus-visible { color: var(--blue-soft); }
.legal-page { min-height: 65vh; padding: clamp(70px, 8vw, 110px) 0; background: var(--paper); }
.legal-wrap { max-width: 920px; }
.legal-page h1 { max-width: none; margin-bottom: 28px; color: var(--charcoal); font-size: 55px; }
.legal-draft-notice { margin-bottom: 46px; padding: 18px 22px; border-left: 4px solid var(--sand); background: var(--sand-soft); color: var(--charcoal); }
.legal-content { display: grid; gap: 28px; margin-bottom: 42px; }
.legal-content section { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 10px; font-size: 25px; }
.legal-content p { margin: 0; color: var(--muted); }
.booking-page { min-height: 70vh; padding: clamp(64px, 8vw, 105px) 0; background: var(--paper); }

.cookie-modal-open { overflow: hidden; }
.cookie-consent[hidden], .cookie-settings[hidden], .cookie-main[hidden] { display: none !important; }
.cookie-consent { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 24px; }
.cookie-consent-backdrop { position: absolute; inset: 0; background: rgba(75,66,64,.72); backdrop-filter: blur(4px); }
.cookie-dialog { position: relative; z-index: 1; width: min(820px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: clamp(30px, 5vw, 48px); border-radius: 20px; background: white; color: var(--charcoal); box-shadow: 0 28px 80px rgba(0,0,0,.3); outline: none; }
.cookie-close { position: absolute; top: 20px; right: 22px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; color: var(--charcoal); font-size: 38px; font-weight: 500; line-height: 1; cursor: pointer; }
.cookie-eyebrow { margin: 0 0 8px; color: var(--blue-deep); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cookie-dialog h2 { margin: 0 50px 22px 0; color: var(--charcoal); font-size: clamp(28px, 4vw, 38px); }
.cookie-dialog p:not(.cookie-eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.65; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.cookie-button { min-height: 54px; padding: 13px 18px; border-radius: 28px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-button-choice { border: 1px solid var(--blue-deep); background: var(--blue-deep); color: white; }
.cookie-button-choice:hover, .cookie-button-choice:focus-visible { background: var(--charcoal); border-color: var(--charcoal); }
.cookie-button-config, .cookie-button-secondary { border: 1px solid var(--line); background: var(--paper); color: var(--charcoal); }
.cookie-button-config:hover, .cookie-button-config:focus-visible, .cookie-button-secondary:hover, .cookie-button-secondary:focus-visible { border-color: var(--sand); background: var(--sand-soft); }
.cookie-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 28px; }
.cookie-legal-links a { color: var(--muted); font-size: 12px; text-underline-offset: 3px; }
.cookie-back { margin: 0 0 20px; padding: 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cookie-categories { display: grid; gap: 10px; margin: 28px 0; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 18px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.cookie-category span { display: grid; gap: 3px; }
.cookie-category strong { color: var(--charcoal); font-size: 15px; }
.cookie-category small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.cookie-category input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--blue-deep); cursor: pointer; }
.cookie-category-required { background: var(--palette-3); cursor: default; }
.cookie-category-required input { cursor: not-allowed; }
.cookie-settings-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1020px) {
  .header-inner { min-height: 110px; gap: 24px; }
  .main-nav { gap: 22px; }
  .brand-service, .header-cta { display: none; }
  .hero, .hero-grid, .hero-visual { min-height: 570px; }
  .hero-copy { width: min(720px, 72%); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 620px; }
  .contact-copy { max-width: 720px; }
}

@media (max-width: 820px) {
  .topbar-inner span { display: none; }
  .topbar-inner a:last-child { margin-left: auto; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .indications-grid { grid-template-columns: 1fr; }
  .hands-message { padding: 24px 28px; }
  .contact-actions { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 0; }
  .benefit-card { min-height: 300px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; }
  .footer-brand, .instagram-link { justify-self: center; text-align: center; }
  .site-footer p.footer-credit { display: block; }
  .site-footer p { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 20px; }
  .container { width: min(100% - 32px, 1180px); }
  .topbar { font-size: 11px; }
  .topbar-inner { min-height: 38px; }
  .header-inner { width: min(100% - 32px, 1280px); min-height: 100px; }
  .brand-name { font-size: 25px; }
  .topbar-inner .top-instagram span { display: none; }
  .hero, .hero-grid, .hero-visual { min-height: 580px; }
  .hero::after { background: linear-gradient(90deg, rgba(225,226,216,.97), rgba(225,226,216,.84)); }
  .hero-visual { right: calc((100vw - 100%) / -2); left: calc((100vw - 100%) / -2); opacity: .5; background-attachment: scroll; background-position: 62% bottom; }
  .hero-copy { width: 100%; padding: 62px 0; }
  .eyebrow { font-size: 15px; line-height: 21px; letter-spacing: 1.4px; }
  h1 { font-size: 40px; line-height: 1.12; }
  h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.5px; }
  h3 { font-size: 23px; }
  blockquote { font-size: 28px; line-height: 1.2; letter-spacing: -.5px; }
  .blog-listing-hero h1, .blog-article h1, .legal-page h1 { font-size: 40px; line-height: 1.12; }
  .article-content h2 { font-size: 28px; }
  .hero-lead { font-size: 24px; line-height: 1.3; }
  .hero-actions { display: grid; }
  .quote-inner { grid-template-columns: 1fr; gap: 5px; padding-block: 44px; }
  .quote-mark { height: 46px; font-size: 82px; }
  .section { padding: 60px 0; }
  .indications-list { grid-template-columns: 1fr; }
  .purpose-quote span { white-space: normal; }
  .hands-story { padding: 14px 0; background-attachment: scroll; }
  .hands-message { padding: 12px 8px; }
  .hands-message blockquote { font-size: 28px; line-height: 1.2; }
  .portrait-wrap { padding-right: 14px; }
  .portrait-caption { right: -4px; min-width: 210px; }
  .benefit-card { min-height: 0; padding: 28px; }
  .benefit-card h3, .card-image-copy { min-height: 0; }
  .article-back { margin-bottom: 38px; }
  .article-content { margin-inline: -4px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { margin-inline: -4px; }
  .form-submit { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .legal-links { justify-content: center; }
  .site-footer p.footer-credit { display: block; }
  .cookie-consent { padding: 12px; align-items: end; }
  .cookie-dialog { max-height: calc(100vh - 24px); padding: 28px 22px 24px; border-radius: 18px 18px 8px 8px; }
  .cookie-close { top: 12px; right: 12px; }
  .cookie-dialog h2 { margin-right: 38px; font-size: 29px; }
  .cookie-dialog p:not(.cookie-eyebrow) { font-size: 14px; }
  .cookie-actions, .cookie-settings-actions { grid-template-columns: 1fr; }
  .cookie-category { padding: 14px; }
  .cookie-legal-links { justify-content: flex-start; }
  .contact-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Identitat cromàtica del díptic definitiu. */
.topbar, .site-footer { background: #9e9b93; }
.blog-card, .blog-card:nth-child(3n+2), .blog-card:nth-child(3n) { border-top-color: #585451; }
.contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) {
  .contact-actions { grid-template-columns: 1fr; }
}

.testimonials-section { background: var(--mist); }
.testimonials-intro { max-width: 760px; margin-bottom: 38px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testimonial-card { display: flex; flex-direction: column; padding: 28px; border-top: 4px solid var(--charcoal); background: var(--white); box-shadow: 0 14px 35px rgba(88,84,81,.07); }
.testimonial-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--charcoal); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.testimonial-avatar { width: 48px; height: 48px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--palette-2); color: var(--charcoal); }
.testimonial-avatar svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.testimonial-card h3 { margin-bottom: 16px; color: var(--charcoal); font-size: 22px; line-height: 1.3; }
.testimonial-card p { margin-bottom: 16px; color: var(--muted); font-size: 16px; line-height: 1.62; }
.testimonial-card p:last-child { margin-bottom: 0; }
@media (max-width: 980px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px; }
}
