/* Madrid landing: approved V6 identity, scoped to this template. */
.cm-madrid{--m-paper:oklch(98% .006 80);--m-ink:oklch(26% .009 80);--m-stone:oklch(94% .008 80);background:var(--m-paper);color:var(--m-ink)}
.cm-madrid #main{padding-top:0}.cm-madrid-section{padding:clamp(64px,7.5vw,118px) var(--gutter)}.cm-madrid #main h2{font-size:clamp(2.25rem,4vw,3.875rem);max-width:18ch}.cm-madrid #main h3{font-size:1.4375rem;letter-spacing:-.025em}.cm-madrid #main p{max-width:70ch}.cm-madrid-index{padding:25px var(--gutter);display:flex;gap:34px;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:0.8125rem}.cm-madrid-index a:hover{color:var(--brand);text-decoration:underline;text-underline-offset:5px}.cm-madrid-intro{display:grid;grid-template-columns:1fr 1.1fr;gap:8vw}.cm-madrid-intro .text-link{margin-top:32px}.cm-madrid-prose p+p{margin-top:22px}.cm-madrid-prose{font-size:1.0625rem;line-height:1.9;color:var(--muted)}.cm-madrid-prose strong{color:var(--m-ink);font-weight:500}.cm-madrid-uses{background:var(--m-stone)}.cm-madrid-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:7vw;margin-bottom:50px}.cm-madrid-section-head>p,.cm-madrid-section-head>div:last-child:not(:first-child){max-width:40ch;color:var(--muted);line-height:1.8}.cm-madrid-use-list{border-top:1px solid var(--line)}.cm-madrid-use-list>a{display:grid;grid-template-columns:65px 1fr 40px;align-items:center;gap:20px;padding:30px 0;border-bottom:1px solid var(--line)}.cm-madrid-use-list>a>span:first-child{color:var(--brand);font-size:0.8125rem}.cm-madrid-use-list>a>span:last-child{font-size:1.6875rem}.cm-madrid-use-list p{color:var(--muted);margin-top:8px}.cm-madrid-use-list a:hover h3{color:var(--brand)}.cm-madrid-fleet-note{margin:40px 0 10px;color:var(--muted);font-size:0.8125rem}.cm-madrid-why{display:grid;grid-template-columns:.85fr 1.15fr;gap:8vw;background:var(--m-stone)}.cm-madrid-why-photo{position:relative;align-self:start}.cm-madrid-why-photo img{width:100%;height:690px;object-fit:cover}.cm-madrid-why-photo>span{display:block;padding:22px 0;font:italic 1.625rem Georgia,serif}.cm-madrid-why h2+p{margin-top:30px;line-height:1.85;color:var(--muted)}.cm-madrid-reasons article{display:grid;grid-template-columns:30px 1fr;gap:20px;padding:28px 0;border-bottom:1px solid var(--line)}.cm-madrid-number{font-size:0.75rem;color:var(--brand);padding-top:5px}.cm-madrid-reasons h3{font-size:1.25rem;line-height:1.35}.cm-madrid-reasons p{margin-top:12px;color:var(--muted);font-size:0.9375rem;line-height:1.85}.cm-madrid-why .text-link{margin-top:22px}.cm-madrid-offer{display:grid;grid-template-columns:1fr 1fr;gap:8vw}.cm-madrid-offer>div>p{margin-top:30px;line-height:1.8;color:var(--muted)}.cm-madrid-offer ul{list-style:disc;padding-left:22px}.cm-madrid-offer li{padding-left:10px;margin-bottom:24px;line-height:1.85;color:var(--muted)}.cm-madrid-offer li::marker{color:var(--brand)}.cm-madrid-offer strong{color:var(--m-ink);font-weight:500}.cm-madrid-towns h3{font:400 clamp(2rem,3.8vw,3.625rem)/1.1 Georgia,serif;letter-spacing:-.04em;max-width:21ch}.cm-madrid-towns h3+div{display:flex;flex-wrap:wrap;gap:12px;margin:36px 0}.cm-madrid-towns h3+div a{padding:13px 18px;border:1px solid var(--line);font-size:0.875rem}.cm-madrid-towns h3+div a:hover{border-color:var(--brand);color:var(--brand)}.cm-madrid-towns>p{color:var(--muted);line-height:1.8}.cm-madrid-towns>.text-link{margin-top:20px}.cm-madrid-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw;background:var(--m-stone)}.cm-madrid-faq .faq-list{margin-top:0}.cm-madrid-faq .faq-list summary{font-size:1.1875rem}.cm-madrid-faq .faq-list p{font-size:0.9375rem}.cm-madrid-last{padding-top:70px;padding-bottom:70px}.cm-madrid-last h2{max-width:23ch}.cm-madrid-last p{margin:24px 0 30px;line-height:1.85;color:var(--muted)}.cm-madrid-last .text-link{margin-left:28px}.cm-madrid :is(section,[id=reserva],[id=presupuesto]){scroll-margin-top:110px}
@media(max-width:1000px){.cm-madrid-why-photo img{height:600px}.cm-madrid-why,.cm-madrid-intro{gap:40px}}
@media(max-width:700px){.cm-madrid #main{padding-top:0}.cm-madrid-index{gap:14px 22px;padding:24px;font-size:0.75rem}.cm-madrid-section{padding:60px var(--gutter)}.cm-madrid-intro,.cm-madrid-why,.cm-madrid-offer,.cm-madrid-faq{grid-template-columns:1fr;gap:32px}.cm-madrid-section-head{display:block;margin-bottom:32px}.cm-madrid-section-head>p,.cm-madrid-section-head>div:last-child:not(:first-child){margin-top:24px}.cm-madrid-prose{font-size:1rem}.cm-madrid-use-list>a{grid-template-columns:25px 1fr 20px;gap:12px;padding:24px 0}.cm-madrid-use-list h3{font-size:1.3125rem}.cm-madrid-use-list p{font-size:0.875rem}.cm-madrid-why-photo{order:2}.cm-madrid-why-photo img{height:380px}.cm-madrid-towns h3+div{gap:10px}.cm-madrid-towns h3+div a{padding:11px 13px;font-size:0.8125rem}.cm-madrid-last .text-link{margin-left:0;margin-top:16px}.cm-madrid-faq .faq-list summary{font-size:1.125rem}.cm-madrid-faq .faq-list p{font-size:0.875rem}}
@media(max-width:420px){}@media(max-width:700px){}

@media(max-width:700px){.cm-madrid .date-field>svg{display:none}.cm-madrid .date-field{padding-inline:8px}.cm-madrid .date-field>div{width:100%;min-width:0}.cm-madrid .date-field input{width:100%;min-width:0;padding:0;font-size:1rem}}

/* Full cover uses the same hero and calculator primitives as the home. */
.cm-madrid-cover{min-height:860px;height:100svh;max-height:1050px}
.cm-madrid-cover .hero-image{object-position:65% 50%}
.cm-madrid-cover .hero-shade{background:linear-gradient(90deg,#080909d9,#08090955 65%,#08090922),linear-gradient(0deg,#080909ed,transparent 55%,#08090955)}
.cm-madrid-breadcrumb{position:absolute;top:125px;left:var(--gutter);display:flex;gap:12px;font-size:0.6875rem;color:#e0dfdc}
.cm-madrid-breadcrumb a:hover{text-decoration:underline}
.cm-madrid-cover .hero-content{top:23%;width:65%;max-width:850px}
.cm-madrid-cover .hero-description{max-width:52ch;margin-top:24px;font-size:1rem;line-height:1.7;color:#efeeeb}
.cm-madrid-cover .hero-content .eyebrow{color:#e5e0d7}
.cm-madrid-cover h1{font-size:clamp(4rem,6.65vw,6.75rem)}
.cm-madrid-fleet{background:#f1f0ed;overflow:hidden}
.cm-madrid-fleet .eyebrow{margin-bottom:22px;color:var(--muted)}
.cm-madrid-fleet-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 0 12px;scroll-padding-inline:0}
.cm-madrid-fleet-track::-webkit-scrollbar{display:none}
.cm-madrid-car.fleet-card{flex:0 0 calc((100% - 48px)/3);min-width:0;padding:24px;scroll-snap-align:start;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:6px}
.cm-madrid-car>img{width:100%;height:230px;object-fit:cover;border-radius:3px}
.cm-madrid-car>div{padding-top:24px;display:flex;flex-direction:column;flex:1}
.cm-madrid-car>div>span{font-size:0.625rem;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}
.cm-madrid-car h3{font-size:1.625rem;margin:12px 0 16px}
.cm-madrid-car p{color:var(--muted);font-size:0.875rem;line-height:1.8;margin-bottom:24px}
.cm-madrid-car .text-link{margin-top:auto;justify-content:space-between;width:100%;font-size:0.8125rem}
@media(max-width:1000px){.cm-madrid-cover{min-height:930px}.cm-madrid-cover .hero-content{top:190px;width:75%}.cm-madrid-car.fleet-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:700px){.cm-madrid-cover{height:auto;min-height:0;max-height:none;padding:158px var(--gutter) 74px}.cm-madrid-breadcrumb{top:112px;font-size:0.6875rem;gap:9px}.cm-madrid-cover .hero-content{position:relative;top:auto;left:auto;width:100%}.cm-madrid-cover h1{font-size:clamp(3.0625rem,12vw,4.75rem)}.cm-madrid-cover .hero-description{font-size:0.875rem;line-height:1.75;max-width:45ch}.cm-madrid-cover .booking-shell{position:relative;inset:auto;margin-top:36px;width:100%}.cm-madrid-cover .hero-image{object-position:63% center}.cm-madrid-cover .hero-shade{background:linear-gradient(90deg,#080909db,#08090965),linear-gradient(0deg,#080909f0 12%,#08090955 70%,#08090944)}.cm-madrid-car.fleet-card{flex-basis:88%;padding:20px}.cm-madrid-fleet-track{gap:16px;margin-right:calc(var(--gutter)*-1);padding-right:var(--gutter)}.cm-madrid-car>img{height:210px}.cm-madrid-car h3{font-size:1.5625rem}.cm-madrid-fleet .cm-carousel-footer{align-items:start}.cm-madrid-fleet .cm-carousel-footer>p{max-width:32ch}}
/* Destination photography: retain contrast near copy and reveal the scene on mobile. */
@media(max-width:700px){.cm-madrid .cm-madrid-cover .hero-shade{background:linear-gradient(180deg,rgba(8,9,9,.68) 0%,rgba(8,9,9,.48) 25%,rgba(8,9,9,.12) 48%,rgba(8,9,9,.3) 70%,rgba(8,9,9,.85) 100%)}.cm-madrid-cover .hero-image[src*="destino-toledo-"]{object-position:76% center}.cm-madrid-cover .hero-image[src*="destino-madrid-"]{object-position:70% center}}
