/* XIAING look, page by page (body.xx). Our photos and words, their layout, sizes and type. */
.xx {
  --x-bg: #EFEBE5; --x-card: #F7F4EF; --x-ink: #1C1512; --x-ink-2: #2A201C; --x-muted: #6E645E; --x-line: rgba(28, 21, 18, .14);
  --x-accent: #8A2B3A; --x-accent-ink: #B5475A; --x-r: 14px; --x-sans: "Inter Tight", "Inter Tight Fallback", Arial, sans-serif; --x-serif: "DM Serif Display", "DM Serif Display Fallback", Georgia, serif;
  background: var(--x-bg); color: var(--x-ink); font-family: var(--x-sans);
}
.xx main { background: var(--x-bg); }
.xx .h1, .xx .h2, .xx h3 { font-family: var(--x-sans); text-transform: none; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.xx .script { font-family: var(--x-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.xx .g-tag { display: none; }

/* header: one capsule, dark glass over the hero, light after it */
.xx .site-header { position: fixed; left: 0; right: 0; }
html.is-hover .xx .bar { width: min(100% - 2 * var(--gutter), 1100px); height: 66px; padding: 0 8px 0 18px; border-radius: 999px; background: rgba(28, 21, 18, .38); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); }
html.is-hover .xx.is-home:not(.x-past-hero) .nav-link, html.is-hover .xx.is-home:not(.x-past-hero) .nav-trigger, html.is-hover .xx.is-home:not(.x-past-hero) .lang button { color: #fff; }
html.is-hover .xx.is-home:not(.x-past-hero) .logo-img { filter: brightness(0) invert(1); }
html.is-hover .xx.x-past-hero .bar, html.is-hover .xx:not(.is-home) .bar { background: rgba(239, 235, 229, .82); border-color: var(--x-line); }
.xx .site-header .header-cta { border-radius: 999px; background-color: var(--x-ink) !important; color: #fff !important; height: 48px; padding: 0 22px; }
.xx .header-cta::after { content: "→"; margin-left: 10px; }
html:not(.is-hover) .xx .bar { background: rgba(247, 244, 239, .92); backdrop-filter: blur(14px); }

/* layout primitives */
.xx .x-wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.xx .x-sec { padding-block: clamp(96px, 11vw, 160px); counter-increment: xsec; }
.xx main { counter-reset: xsec; }
.xx .x-sec--dark { background: var(--x-ink); color: #F3EEE8; }
.xx .x-sec--tint { background: var(--x-card); }
.xx .x-sec--flush { padding-bottom: 0; }
.xx .x-head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px clamp(40px, 7vw, 120px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.xx .x-head--solo { grid-template-columns: 1fr; }
.xx .x-label { display: block; width: min(100%, 420px); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid currentColor; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.xx .x-label::before { content: "/ " counter(xsec, decimal-leading-zero); }
.xx .x-head .h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; }
.xx .x-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right; }
.xx .x-head-side .section-intro { margin: 0; max-width: 430px; font-size: 17px; line-height: 1.55; color: var(--x-muted); }
.xx .x-sec--dark .x-head-side .section-intro { color: #B9AEA7; }
.xx .intro-link { display: block; margin-top: 10px; color: var(--x-accent); text-decoration: underline; }

/* pills */
.xx .x-pill, .xx main .btn, .xx .band .btn, .xx .pillars-link a, .xx .link-dark { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; box-shadow: none; border: 0; }
.xx .x-pill--dark, .xx .pillars-link a, .xx .link-dark { background: var(--x-ink); color: #fff !important; }
.xx .x-pill--dark::after, .xx .pillars-link a::after, .xx .link-dark::after { content: "→"; }
.xx .x-pill--dark:hover, .xx .pillars-link a:hover, .xx .link-dark:hover { background: var(--x-accent); }
.xx .x-sec--dark .x-pill--dark { background: #F3EEE8; color: var(--x-ink) !important; }

/* hero: framed, rounded, photo/video behind, text bottom-left, floating card bottom-right */
.xx .x-hero { position: relative; margin: 10px; height: calc(100svh - 20px); min-height: 640px; border-radius: 18px; overflow: hidden; color: #fff; display: flex; align-items: center; padding: 0; }
.xx .x-hero .hh-media { position: absolute; inset: 0; }
.xx .x-hero .hh-media img, .xx .x-hero .hh-media video { width: 100%; height: 100%; object-fit: cover; }
.xx .x-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 12, .72), rgba(20, 14, 12, .25) 60%, rgba(20, 14, 12, .05)); pointer-events: none; }
.xx .x-hero-inner { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; padding-top: 70px; }
.xx .x-hero .h1 { max-width: 760px; font-size: clamp(46px, 5.4vw, 82px); line-height: 1; color: #fff; }
.xx .x-hero .h1 .hh-l { display: inline; }
.xx .x-hero .h1 .script { color: #EADCD3; font-size: 1.04em; }
.xx .hh-lead { max-width: 500px; margin-top: 22px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.xx .hh-search { display: flex; align-items: center; gap: 10px; width: min(500px, 100%); height: 62px; margin-top: 34px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(12px); }
.xx .hh-search .ic { color: rgba(255, 255, 255, .8); }
.xx .hh-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; outline: none; }
.xx .hh-search input::placeholder { color: rgba(255, 255, 255, .65); }
.xx .hh-search .btn { height: 50px; background: #fff; color: var(--x-ink); }
.xx .x-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px; }
.xx .x-hero-links .btn { height: 46px; background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.xx .x-hero-links .btn::after { content: "→"; }
.xx .hh-alt { font-size: 14px; color: rgba(255, 255, 255, .75); margin: 0; }
.xx .hh-alt a { color: #fff; text-decoration: underline; }
.xx .hh-pause { position: absolute; z-index: 2; left: 24px; bottom: 24px; }
.xx .x-float { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; width: 330px; padding: 14px; border-radius: 16px; background: rgba(28, 21, 18, .5); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); color: #fff; }
.xx .x-float .card-img { grid-row: 1 / 4; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; }
.xx .x-float .card-img img { width: 100%; height: 100%; object-fit: cover; }
.xx .x-float .card-name { font-size: 19px; font-weight: 500; }
.xx .x-float .card-meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #D8C2B8; }
.xx .x-float::after { grid-column: 1 / -1; margin-top: 14px; justify-self: start; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--x-ink); text-decoration: none; font-size: 14px; }

/* families: rounded photo cards, staggered, with a cut-out tab */
.xx .families { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; }
.xx .families li:nth-child(5n+2) { margin-top: 26px; } .xx .families li:nth-child(5n+3) { margin-top: 52px; } .xx .families li:nth-child(5n+4) { margin-top: 26px; }
.xx .families a { position: relative; display: grid; }
.xx .families .arch { grid-area: 1 / 1; aspect-ratio: 3 / 4; border-radius: var(--x-r) !important; overflow: hidden; margin: 0; }
.xx .families .arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.xx .families a:hover .arch img { transform: scale(1.05); }
.xx .families a::after { grid-area: 1 / 1; align-self: end; justify-self: end; z-index: 1; margin: 0; padding: 13px 18px; border-radius: 14px 0 0 0; background: var(--x-bg); color: var(--x-accent); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.xx .families b { margin-top: 14px; font-size: 20px; font-weight: 500; }
.xx .families span:not(.arch) { grid-area: 1 / 1; align-self: start; justify-self: start; z-index: 1; margin: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(28, 21, 18, .55); color: #fff; font-size: 12px; backdrop-filter: blur(6px); }

/* scenes: full-screen photos that stack as you scroll */
.xx .x-scenes { position: relative; }
.xx .x-scene { position: sticky; top: 0; display: flex; align-items: center; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.xx .x-scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xx .x-scene::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20, 14, 12, .42); }
.xx .x-scene-inner { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.xx .x-scene-label { display: flex; align-items: center; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .35); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.xx .x-scene-n::after { content: " /"; }
.xx .x-tag { padding: 7px 14px; border-radius: 999px; background: var(--x-accent); letter-spacing: .06em; }
.xx .x-scene-title { display: block; max-width: 820px; margin: 36px 0 0 clamp(0px, 13vw, 200px); font-size: clamp(40px, 5vw, 76px); font-weight: 500; letter-spacing: -.035em; line-height: 1.03; }
.xx .x-scene::after { content: "Ver más \2192"; position: absolute; z-index: 2; right: clamp(24px, 4vw, 64px); bottom: clamp(24px, 6vh, 64px); display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--x-ink); font-size: 15px; font-weight: 500; }
html[lang^="en"] .xx .x-scene::after { content: "See more \2192"; } html[lang^="pt"] .xx .x-scene::after { content: "Ver mais \2192"; }

/* collection: dark, 4 columns, rounded photos, name + origin */
.xx .x-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; }
.xx .x-products .card-link { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.xx .x-products .card-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--x-r); overflow: hidden; margin-bottom: 12px; }
.xx .x-products .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.xx .x-products .card-link:hover img { transform: scale(1.05); }
.xx .x-products .card-name { font-size: 21px; font-weight: 500; }
.xx .x-products .card-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--x-accent-ink); font-weight: 600; }
.xx .x-products .card-link::after { margin-top: 8px; color: #B9AEA7; text-decoration-color: rgba(255, 255, 255, .3); }
.xx .c-also { margin-top: 48px; color: #B9AEA7; font-size: 15px; }
.xx .c-also a { color: #F3EEE8; text-decoration: underline; }

/* process: three cards with photo and a number tag */
.xx .x-sec .route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; }
.xx .x-sec .route::before { display: none; }
.xx .x-sec .route li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.xx .x-sec .route-img { order: -1; aspect-ratio: 4 / 3; border-radius: var(--x-r); overflow: hidden; margin-bottom: 14px; }
.xx .x-sec .route-img img { width: 100%; height: 100%; object-fit: cover; }
.xx .x-sec .route-n { position: absolute; top: 14px; left: 14px; width: auto; height: auto; padding: 6px 12px; border-radius: 999px; background: var(--x-ink); color: #fff; font-size: 12px; box-shadow: none; margin: 0; }
.xx .x-sec .route b { font-size: 21px; font-weight: 500; }
.xx .x-sec .route li > span:last-child { color: var(--x-muted); font-size: 15px; line-height: 1.55; }

/* numbers */
.xx .x-numbers { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--x-line); }
.xx .home-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; }
.xx .home-stats b, .xx .rating b { display: block; font-size: clamp(64px, 8vw, 128px); font-weight: 600; letter-spacing: -.05em; line-height: .95; color: var(--x-accent); }
.xx .home-stats span, .xx .rating span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-accent); max-width: 280px; }
.xx .rating-box { justify-self: end; text-align: right; }
.xx .rating { display: block; }
.xx .rating .stars { color: var(--x-accent); font-size: 18px; letter-spacing: .1em; }
.xx .rating-box .link-dark { margin-top: 18px; }
.xx .x-invest { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-top: clamp(48px, 6vw, 80px); }
.xx .x-invest figure { margin: 0; }
.xx .x-invest .age-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--x-r); overflow: hidden; }
.xx .x-invest .age-img img { width: 100%; height: 100%; object-fit: cover; }
.xx .x-invest figcaption { margin-top: 12px; color: var(--x-muted); font-size: 14px; }
.xx .x-invest .btn { justify-self: start; background: var(--x-ink); color: #fff; }
.xx .x-invest .btn::after { content: "→"; }

/* the two service cards */
.xx .ct-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.xx .ct-card { padding: 22px; border-radius: 20px; background: var(--x-card); border: 0; box-shadow: none; }
.xx .ct-card .guar-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--x-r); overflow: hidden; margin-bottom: 22px; }
.xx .ct-card .guar-img img { width: 100%; height: 100%; object-fit: cover; }
.xx .ct-card h3 { font-size: 26px; }
.xx .ct-card p { margin-top: 10px; color: var(--x-muted); line-height: 1.55; }
.xx .ct-card .btn { margin-top: 20px; background: var(--x-ink); color: #fff; }
.xx .ct-card--dark { background: var(--x-ink); color: #F3EEE8; }
.xx .ct-card--dark p { color: #B9AEA7; }
.xx .ct-card--dark .btn { background: #F3EEE8; color: var(--x-ink); }

/* reviews as cards */
.xx .reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.xx .reviews li { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 26px; border-radius: 18px; background: var(--x-bg); border: 0; }
.xx .reviews blockquote { font-size: 19px; line-height: 1.45; letter-spacing: -.01em; }
.xx .reviews cite { font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--x-accent); font-weight: 600; }

/* faq */
.xx .x-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.xx .x-faq .x-head { margin: 0; }
.xx .faq details { border-top: 1px solid var(--x-line); }
.xx .faq summary { padding-block: 26px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }
.xx .faq p { color: var(--x-muted); }

/* ticker + footer in the XIAING dark */
.xx .ticker { background: var(--x-ink); border: 0; }
.xx .ticker-track li::after { background: var(--x-accent-ink); }
.xx .band { background: var(--x-ink-2); padding-block: clamp(110px, 12vw, 180px); }
.xx .band .h2 { text-transform: none; font-family: var(--x-sans); font-weight: 500; letter-spacing: -.035em; }
.xx .band .btn { border-radius: 999px; background: #F3EEE8; color: var(--x-ink); }
.xx .site-footer { background: var(--x-ink); }

@media (max-width: 899px) {
  .xx .x-head { grid-template-columns: 1fr; }
  .xx .x-head-side { align-items: flex-start; text-align: left; }
  .xx .families { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xx .families li { margin-top: 0 !important; }
  .xx .x-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xx .x-sec .route, .xx .ct-split, .xx .x-faq, .xx .x-invest, .xx .x-numbers { grid-template-columns: 1fr; }
  .xx .reviews { grid-template-columns: 1fr 1fr; }
  .xx .home-stats { grid-template-columns: 1fr 1fr; }
  .xx .rating-box { justify-self: start; text-align: left; }
  .xx .x-hero { height: auto; min-height: 100svh; padding-block: 110px 40px; flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .xx .x-float { position: relative; right: auto; bottom: auto; width: auto; margin: 28px var(--gutter) 0; }
  .xx .x-scene-title { margin-left: 0; }
  .xx .families a::after { padding: 9px 12px; font-size: 11px; }
}
@media (max-width: 599px) { .xx .reviews { grid-template-columns: 1fr; } }
.xx .x-float::after { content: "Ver piedra \2192"; }
html[lang^="en"] .xx .x-float::after { content: "See stone \2192"; } html[lang^="pt"] .xx .x-float::after { content: "Ver pedra \2192"; }

html.is-hover .xx .bar { grid-template-columns: auto minmax(0, 1fr) auto; }
html.is-hover .xx.is-home:not(.x-past-hero) .lang button, html.is-hover .xx.is-home:not(.x-past-hero) .lang > * { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }

/* Quality section on home: photo left, numbers and button right, no empty corners */
.xx .x-sec[aria-labelledby="inversion"] .x-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "head head" "fig nums" "fig btn"; column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.xx .x-sec[aria-labelledby="inversion"] .x-head { grid-area: head; }
.xx .x-sec[aria-labelledby="inversion"] .x-invest { display: contents; }
.xx .x-sec[aria-labelledby="inversion"] .x-invest figure { grid-area: fig; }
.xx .x-sec[aria-labelledby="inversion"] .x-invest .age-img { aspect-ratio: 4 / 3; }
.xx .x-sec[aria-labelledby="inversion"] .x-invest .btn { grid-area: btn; align-self: start; margin-top: 32px; }
.xx .x-sec[aria-labelledby="inversion"] .x-numbers { grid-area: nums; display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; }
.xx .x-numbers .home-stats { display: flex; flex-direction: column; gap: 0; }
.xx .x-numbers .home-stats li, .xx .x-numbers .rating-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: center; padding: 26px 0; border-top: 1px solid var(--x-line); }
.xx .x-numbers .home-stats b, .xx .x-numbers .rating b { font-size: clamp(48px, 5vw, 80px); }
.xx .x-numbers .home-stats span { margin: 0; max-width: none; }
.xx .x-numbers .rating-box { justify-self: stretch; text-align: left; border-bottom: 1px solid var(--x-line); }
.xx .x-numbers .rating { display: flex; flex-direction: column; gap: 6px; }
.xx .x-numbers .rating span { margin: 0; }
.xx .x-numbers .rating-box .link-dark { margin: 0; justify-self: start; }
@media (max-width: 899px) {
  .xx .x-sec[aria-labelledby="inversion"] .x-wrap { grid-template-columns: 1fr; grid-template-areas: "head" "fig" "nums" "btn"; }
  .xx .x-numbers .home-stats li, .xx .x-numbers .rating-box { grid-template-columns: 1fr; }
}

/* =========================================================
   The same look on the other unique pages: generic components restyled under body.xx
   ========================================================= */
.xx:not(.is-home) main { padding-top: 92px; }
.xx .breadcrumb { color: var(--x-muted); }
.xx .breadcrumb [aria-current] { color: var(--x-ink); }
.xx .h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1; }
.xx .h2 { font-size: clamp(36px, 4.2vw, 62px); line-height: 1.03; }
.xx .lead { color: var(--x-muted); line-height: 1.55; }
.xx .section-intro { color: var(--x-muted); }

/* sections */
.xx .section { padding-block: clamp(96px, 11vw, 160px); counter-increment: xsec; background: var(--x-bg); border-top: 0 !important; }
.xx .section--tone { background: var(--x-card); }
.xx .section--dark { background: var(--x-ink); color: #F3EEE8; }
.xx .section--dark .section-intro, .xx .section-intro--dark { color: #B9AEA7; }
.xx .section > .container, .xx .section > .wide { width: min(100% - 2 * var(--gutter), 1240px); }
.xx .section > .container > .sec-head:first-child, .xx .section > .wide > .sec-head:first-child, .xx .section > .container.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0 clamp(40px, 7vw, 120px); align-items: end; border-top: 0; padding-top: 0; margin-bottom: clamp(48px, 6vw, 80px);
}
.xx .sec-head:first-child::before, .xx .section > .container.sec-head::before {
  content: "/ " counter(xsec, decimal-leading-zero); grid-column: 1 / -1; display: block; width: min(100%, 420px);
  padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid currentColor; font-size: 13px; letter-spacing: .08em; opacity: .6;
}
.xx .sec-head:first-child > .h2, .xx .sec-head--row > div:first-child { grid-column: 1; }
.xx .sec-head:first-child > .section-intro { grid-column: 2; justify-self: end; text-align: right; margin: 0; max-width: 430px; font-size: 17px; line-height: 1.55; }
.xx .sec-head--row > div:first-child .section-intro { margin-top: 18px; text-align: left; }
.xx .sec-head--row > :last-child:not(:first-child) { grid-column: 2; justify-self: end; }
.xx .sec-head:first-child > :not(.h2):not(.section-intro):not(div) { grid-column: 1 / -1; }

/* buttons */
.xx main .btn { border-radius: 999px; height: 52px; padding: 0 26px; font-weight: 500; }
.xx main .btn--lg { height: 58px; padding: 0 30px; }
.xx main .btn:not([href*="wa.me"]):not([type="submit"]):not(.car-btn):not(.btn--sm)::after { content: "→"; margin-left: 10px; }
.xx main .btn:not([href*="wa.me"]):not(.btn--secondary):not(.btn--ghost-light) { background: var(--x-ink); color: #fff; }
.xx main .btn:not([href*="wa.me"]):not(.btn--secondary):not(.btn--ghost-light):hover { background: var(--x-accent); }
.xx main .btn--secondary { background: transparent; color: var(--x-ink); box-shadow: inset 0 0 0 1px var(--x-ink); }
.xx main .btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.xx .pillars-link { margin-top: 32px; }

/* page heroes with a photo: rounded framed panel, text on the photo (desktop) */
@media (min-width: 900px) {
  .xx .cat-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: auto; margin: 14px 10px 0; min-height: min(84vh, 800px); padding: 140px max(var(--gutter), calc((100vw - 1240px) / 2)) 64px; border-radius: 18px; overflow: hidden; color: #fff; }
  .xx .cat-hero .cat-figure { position: absolute; inset: 0; margin: 0; z-index: 0; display: block; }
  .xx .cat-hero .cat-figure .cat-img { position: absolute; inset: 0; height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 0; }
  .xx .cat-hero .cat-figure .cat-img img { width: 100%; height: 100%; object-fit: cover; }
  .xx .cat-hero .cat-figure figcaption { position: absolute; right: 104px; bottom: 28px; z-index: 2; max-width: 320px; margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(20, 14, 12, .72); backdrop-filter: blur(12px); color: #fff; font-size: 13px; line-height: 1.45; }
  .xx .cat-hero .cat-figure figcaption a { color: #fff; }
  .xx .cat-hero .cat-figure::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 14, 12, .82), rgba(20, 14, 12, .45) 55%, rgba(20, 14, 12, .08)), linear-gradient(0deg, rgba(20, 14, 12, .45), transparent 50%); pointer-events: none; }
  .xx .cat-hero > :not(.cat-figure) { position: relative; z-index: 1; max-width: 720px; }
  .xx .cat-hero .cat-title { padding-top: 0; }
  .xx .cat-hero .h1 { color: #fff; font-size: clamp(44px, 5vw, 78px); }
  .xx .cat-hero .script { color: #EADCD3; }
  .xx .cat-hero .lead { color: rgba(255, 255, 255, .85); max-width: 580px; }
  .xx .cat-hero .lead a { color: #fff; }
  .xx .cat-hero .stats { border-top-color: rgba(255, 255, 255, .3); }
  .xx .cat-hero .stats, .xx .cat-hero .stats b, .xx .cat-hero .stats .ic { color: #fff; }
  .xx .cat-hero .stats span { color: rgba(255, 255, 255, .75); }
  .xx .cat-hero .spec-row { border-top-color: rgba(255, 255, 255, .3); }
  .xx .cat-hero .spec-row b, .xx .cat-hero .spec-row .ic { color: #fff; }
  .xx .cat-hero .spec-row span { color: rgba(255, 255, 255, .82); }
  .xx .cat-hero .btn--secondary { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
  .xx .cat-hero .btn:not([href*="wa.me"]):not(.btn--secondary), .xx main .cat-hero .btn:not([href*="wa.me"]):not([href*="whatsapp"]):not(.btn--secondary) { background: #fff; color: var(--x-ink, #1C1512) !important; }
}
@media (max-width: 899px) {
  .xx .cat-img { border-radius: var(--x-r); overflow: hidden; }
}

/* text-only heroes */
.xx .hub-hero, .xx .q-hero, .xx .ct-top, .xx .ct-hero, .xx .blog-head, .xx .qc-hero { padding-top: clamp(40px, 6vw, 88px); }
.xx .hub-hero .h1, .xx .q-hero .h1, .xx .ct-hero .h1, .xx .blog-head .h1, .xx .qc-hero .h1 { max-width: 980px; }

/* photos and cards: rounded */
.xx .card-img, .xx .car-img, .xx .guar-img, .xx .route-img, .xx .q-img, .xx .age-img, .xx .blog-card-img, .xx .blog-feature-img, .xx .lista-photo img, .xx .post-hero img, .xx .exo img, .xx .sw-row img { border-radius: var(--x-r); overflow: hidden; }
.xx .card-name { font-size: 20px; font-weight: 500; margin-top: 12px; }
.xx .card-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--x-accent); font-weight: 600; }
.xx .section--dark .card-meta { color: var(--x-accent-ink); }
.xx .guides a, .xx .svc-grid > li, .xx .pa-grid > li, .xx .exo-grid > li, .xx .qc-verdicts li, .xx .blog-services a, .xx .tests li, .xx .pillars li, .xx .guar-list li, .xx .checklist, .xx .tariff, .xx .map, .xx .qc-form, .xx .lista-form, .xx .ct-panel, .xx .ct-info {
  border-radius: 18px; border: 0; border-top: 0; box-shadow: none;
}
.xx .guides a, .xx .svc-grid > li, .xx .pa-grid > li, .xx .exo-grid > li, .xx .qc-verdicts li, .xx .blog-services a, .xx .tariff, .xx .map { background: var(--x-card); padding: 26px; }
.xx .section--tone .guides a, .xx .section--tone .svc-grid > li, .xx .section--tone .pa-grid > li, .xx .section--tone .qc-verdicts li, .xx .section--tone .tariff, .xx .section--tone .map { background: var(--x-bg); }
.xx .section--dark .guides a, .xx .section--dark .svc-grid > li, .xx .section--dark .pa-grid > li, .xx .section--dark .exo-grid > li { background: var(--x-ink-2); color: #F3EEE8; }
.xx .guides a::after, .xx .pa-grid a::after, .xx .exo-grid a::after { color: var(--x-accent); }
/* Exotic stones on a dark band: no card, the slab photo is the card; name and link in light ink, one line each. */
.xx .section--dark .exo-grid > li { background: none; padding: 0; }
.xx .exo-grid span { margin-top: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #F3EEE8; }
.xx .section--dark .exo-grid a::after { color: rgba(243, 238, 232, .72); }
.xx .section--dark .exo-grid a:hover::after { color: #FFFFFF; }

/* timelines without photos: numbered stops in the accent */
.xx .route .route-n { background: var(--x-accent); box-shadow: 0 0 0 6px var(--x-bg); }
.xx .section--tone .route .route-n { box-shadow: 0 0 0 6px var(--x-card); }
.xx .section--dark .route .route-n { background: #F3EEE8; color: var(--x-ink); box-shadow: 0 0 0 6px var(--x-ink); }
.xx .route--photo .route-n { box-shadow: none; }

/* reviews / faq / numbers anywhere */
.xx .stats b, .xx .home-stats b { color: var(--x-accent); font-weight: 600; letter-spacing: -.045em; }
.xx .cat-hero .stats b { color: #fff; }
.xx .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 7vw, 120px); }

/* the map and country lists */
.xx .map-svg .m-served { fill: #C8A4A0; }
.xx .map-svg .m-hub, .xx .map-svg .m-dot-hub { fill: var(--x-accent); }
.xx .map-svg .m-arc { stroke: var(--x-accent); }
.xx .countries h3 { border-bottom-color: var(--x-line); }

/* container list and contact */
.xx .lista { background: var(--x-ink); }
.xx .lista-kicker { background: var(--x-accent); color: #fff; }
.xx .lista-tag { background: #F3EEE8; color: var(--x-ink); border-radius: 999px; }
.xx .lista-form .btn, .xx .qc-form .btn { background: var(--x-accent) !important; color: #fff !important; }
.xx .lista-field input, .xx .lista-field select, .xx .ct-field input, .xx .ct-field textarea, .xx .ct-field select { border-radius: 12px; background: var(--x-bg); border-color: var(--x-line); }
.xx .ct-card--dark, .xx .ct-info { background: var(--x-ink); color: #F3EEE8; border-radius: 18px; }

/* blog hub */
.xx .blog-cat { border-radius: 999px; background: transparent; border-color: var(--x-line); }
.xx .blog-cat[aria-pressed="true"] { background: var(--x-ink); color: #fff; border-color: var(--x-ink); }
.xx .blog-card-cat { color: var(--x-accent); }

@media (max-width: 899px) {
  .xx .section > .container > .sec-head:first-child, .xx .section > .wide > .sec-head:first-child, .xx .section > .container.sec-head { grid-template-columns: 1fr; }
  .xx .sec-head:first-child > .section-intro, .xx .sec-head--row > :last-child:not(:first-child) { grid-column: 1; justify-self: start; text-align: left; margin-top: 18px; }
  .xx .faq-wrap { grid-template-columns: 1fr; }
}

/* Fix: a link inside a sentence stays a text link (only a link that is the whole line becomes a pill) */
.xx .pillars-link a { display: inline; height: auto; padding: 0; border-radius: 0; background: none !important; color: var(--x-accent) !important; text-decoration: underline !important; text-underline-offset: .2em; }
.xx .pillars-link a::after { content: " \2192"; }
.xx .pillars-link a:hover { color: var(--x-ink) !important; }
.xx .x-head-side .pillars-link { margin: 0; }
.xx .x-head-side .pillars-link a { display: inline-flex; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--x-ink) !important; color: #fff !important; text-decoration: none !important; }

/* Catalog (desktop): full screen width like the XIAING shop, sidebar left, 3 large cards per row */
@media (min-width: 1100px) {
  .xx .catalog { width: auto; margin-inline: clamp(24px, 3vw, 56px); grid-template-columns: 280px minmax(0, 1fr); gap: 56px; border-top: 1px solid var(--x-line); }
  .xx .catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
  .xx .catalog .card-img { aspect-ratio: 6 / 5; }
  .xx .catalog .card-img img { width: 100%; height: 100%; object-fit: cover; }
  .xx .catalog .card-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .xx .catalog .card-img { grid-column: 1 / -1; }
  .xx .catalog .card-name { font-size: 21px; }
  .xx .catalog .card-meta { grid-column: 1; }
  .xx .catalog .card-link::after { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
  .xx .hub-hero { width: auto; margin-inline: clamp(24px, 3vw, 56px); }
}
.xx .catalog-side input[type="search"], .xx .search input { border-radius: 999px; background: var(--x-card); border-color: var(--x-line); }
.xx .check-box { border-radius: 5px; }
.xx .catalog-side .check.on .check-label, .xx .catalog-side [aria-pressed="true"] { color: var(--x-accent); }

/* Stone pages */
.xx .stone-hero { padding-top: clamp(20px, 3vw, 40px); }
.xx .gallery, .xx .gallery .g-main, .xx .gallery img { border-radius: 18px; }
.xx .gallery .g-thumbs img, .xx .gallery button img { border-radius: 10px; }
.xx .sh-info .h1 { font-size: clamp(42px, 4.4vw, 70px); }
.xx .sh-info .sh-meta, .xx .sh-origin { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--x-accent); font-weight: 600; }
.xx .facts { border-radius: 18px; background: var(--x-card); border: 0; }
.xx .stone-hero .btn { border-radius: 999px; }

/* =========================================================
   Black and white version: no accent color. Dark brown and black do the highlighting,
   the stone photos bring the color, and WhatsApp green is the only color on the page.
   ========================================================= */
.xx {
  --x-accent: #1C1512; --x-accent-ink: #E9E2DA;
  --vino: #1C1512; --vino-hover: #3A2E29; --vino-scuro: #1C1512; --on-dark-script: #E9E2DA;
}
.xx .x-pill--dark:hover, .xx .pillars-link a:hover, .xx .link-dark:hover,
.xx main .btn:not([href*="wa.me"]):not(.btn--secondary):not(.btn--ghost-light):hover { background: #3A2E29; }
.xx .x-hero .h1 .script, .xx .cat-hero .script { color: #fff; }
.xx .script { font-size: 1.04em; }

/* labels and categories: small caps in muted ink instead of a color */
.xx .card-meta, .xx .xi-stone-cat, .xx .blog-card-cat, .xx .x-products .card-meta { color: var(--x-muted); }
.xx .x-sec--dark .card-meta, .xx .section--dark .card-meta { color: #B9AEA7; }
.xx .reviews cite { color: var(--x-muted); }

/* tags on photos: white with dark text */
.xx .x-tag { background: #fff; color: var(--x-ink); }
.xx .families a::after { color: var(--x-ink); }

/* big numbers in ink; stars in ink */
.xx .home-stats b, .xx .rating b, .xx .stats b { color: var(--x-ink); }
.xx .home-stats span, .xx .rating span { color: var(--x-muted); }
.xx .rating .stars { color: var(--x-ink); }

/* timeline stops: black dots */
.xx .route .route-n { background: var(--x-ink); color: #fff; }

/* map: grays only */
.xx .map-svg .m-served { fill: #BEB5AD; }
.xx .map-svg .m-land { fill: #E2DCD5; }
.xx .map-svg .m-hub, .xx .map-svg .m-dot-hub { fill: #1C1512; }
.xx .map-svg .m-origin, .xx .map-svg .m-dot { fill: #5A4E48; }
.xx .map-svg .m-arc { stroke: #1C1512; }
.xx .k-served::before { background: #BEB5AD; } .xx .k-hub::before { background: #1C1512; } .xx .k-origin::before { background: #5A4E48; }

/* ticker: white dots */
.xx .ticker-track li::after { background: #E9E2DA; }

/* texture instead of color: the dark closing band sits on real black marble */
.xx .band { background: linear-gradient(rgba(20, 14, 12, .82), rgba(20, 14, 12, .9)), url(/assets/img/catalogo/marmol-negro-marquina.webp) center / cover; }
.xx .x-sec--dark { background: linear-gradient(rgba(28, 21, 18, .94), rgba(28, 21, 18, .94)), url(/assets/img/catalogo/marmol-negro-marquina.webp) center / cover; }

/* the container list and post links follow */
.xx .lista-kicker { background: #fff; color: var(--x-ink); }
.xx .post-body a, .xx .pillars-link a { color: var(--x-ink) !important; }
.xx .blog-cat[aria-pressed="true"] { background: var(--x-ink); }
.xx main .btn--2l { height: auto; min-height: 60px; padding-block: 10px; flex-direction: column; gap: 2px; line-height: 1.25; } .xx main .btn--2l::after { display: none; } .xx main .btn--2l span:first-child { font-size: 13px; color: var(--x-muted); }

/* ---------- Round of fixes, 2026-11-16 ---------- */

/* 1. Family tiles on one level (no stagger) */
.xx .families li { margin-top: 0 !important; }

/* 2. Highlighted words in the Italian flag colors: green, white, red */
.xx .script {
  background: linear-gradient(90deg, #009246 0%, #009246 30%, var(--x-flag-mid, #CFC8BF) 42%, var(--x-flag-mid, #CFC8BF) 58%, #CE2B37 70%, #CE2B37 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  padding-right: .06em;
}
.xx .x-hero, .xx .cat-hero, .xx .section--dark, .xx .x-sec--dark, .xx .band, .xx .lista, .xx .x-scene { --x-flag-mid: #FFFFFF; }
.xx .x-hero .h1 .script, .xx .cat-hero .script { color: transparent; }

/* 4. Text links: a color of their own (deep Italian red), underline appears on hover */
.xx { --x-link: #B3262E; --x-link-hover: #8C1D24; }
.xx .post-body a, .xx .pillars-link a, .xx .section-intro a, .xx .faq a, .xx .lead a, .xx .facts a, .xx .avail a, .xx .perf-tip a, .xx .c-also a, .xx .intro-link, .xx .hh-alt a, .xx .post-meta a, .xx .post-author a, .xx .note a, .xx .cat-figure figcaption a, .xx .look a, .xx .tariff-foot a {
  color: var(--x-link) !important; text-decoration: none !important; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color .2s ease, background-size .3s cubic-bezier(.2, .8, .2, 1);
}
.xx .post-body a:hover, .xx .pillars-link a:hover, .xx .section-intro a:hover, .xx .faq a:hover, .xx .lead a:hover, .xx .facts a:hover, .xx .avail a:hover, .xx .perf-tip a:hover, .xx .c-also a:hover, .xx .intro-link:hover, .xx .hh-alt a:hover, .xx .post-meta a:hover, .xx .post-author a:hover, .xx .note a:hover, .xx .cat-figure figcaption a:hover, .xx .look a:hover, .xx .tariff-foot a:hover {
  color: var(--x-link-hover) !important; background-size: 100% 1px;
}
/* on dark or photo backgrounds the red would disappear: keep them light there */
.xx .x-hero a:not(.btn):not(.x-float), .xx .cat-hero .lead a, .xx .section--dark .section-intro a, .xx .x-sec--dark .c-also a, .xx .cat-hero figcaption a { color: #F6C9CC !important; }
/* the pill links next to section titles stay pills */
.xx .x-head-side .pillars-link a { color: #fff !important; background-image: none; }

/* 5. Stone pages: the four-point strip gets proper padding and sits close to the gallery */
.xx .stone-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.xx .stone-hero .facts--row { padding: 22px 28px; margin-top: 6px; border-top: 0; background: var(--x-card); border-radius: 18px; gap: 0 32px; }
.xx .stone-hero .facts--row li { padding: 0; align-items: flex-start; }
.xx .stone-hero .facts .ic { color: var(--x-ink); flex: none; }
@media (max-width: 899px) {
  .xx .stone-hero .facts--row { padding: 6px 20px; gap: 0; }
  .xx .stone-hero .facts--row li { padding: 14px 0; border-top: 1px solid var(--x-line); }
  .xx .stone-hero .facts--row li:first-child { border-top: 0; }
}

/* Flag highlight on photos and dark blocks: brighter green and red plus a soft shadow, so the word stands out (option C) */
.xx .x-hero .script, .xx .cat-hero .script, .xx .section--dark .script, .xx .x-sec--dark .script, .xx .band .script, .xx .lista .script, .xx .x-scene .script {
  background-image: linear-gradient(90deg, #2BD47A 0%, #2BD47A 30%, #FFFFFF 42%, #FFFFFF 58%, #FF5C66 70%, #FF5C66 100%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)) drop-shadow(0 0 12px rgba(0, 0, 0, .25));
}

/* Buttons are not text links: keep their own colors (fix for the red link color reaching buttons) */
.xx a.btn[href*="wa.me"]:not(.btn--secondary):not(.btn--ghost-light) { color: #fff !important; }
.xx a.btn[href*="wa.me"]:not(.btn--secondary):not(.btn--ghost-light) svg { color: #fff; }
.xx a.btn--secondary, .xx a.btn--secondary:hover { color: var(--x-ink) !important; }
.xx a.btn--2l span:last-child { color: var(--x-ink); }
.xx a.btn:not(.btn--secondary):not(.btn--ghost-light):not([href*="wa.me"]) { color: #fff !important; }

/* Buttons stay in place: no lift, no shadow. The hover happens inside: a darker fill sweeps in from the left
   and the arrow slides; pressing darkens it a step. */
.xx .btn, .xx .x-pill, .xx .link-dark, .xx .header-cta, .xx .blog-cat, .xx .x-head-side .pillars-link a, .xx .hh-search .btn, .xx .lista-form .btn, .xx .qc-form .btn {
  transform: none !important; --sweep: rgba(255, 255, 255, .14);
  background-image: linear-gradient(var(--sweep), var(--sweep)) !important; background-repeat: no-repeat !important;
  background-size: 0% 100% !important; background-position: left center !important;
  transition: background-size .4s cubic-bezier(.65, 0, .35, 1), color .3s ease !important;
}
.xx .btn:hover, .xx .x-pill:hover, .xx .link-dark:hover, .xx .header-cta:hover, .xx .blog-cat:hover, .xx .x-head-side .pillars-link a:hover, .xx .hh-search .btn:hover, .xx .lista-form .btn:hover, .xx .qc-form .btn:hover {
  transform: none !important; background-size: 100% 100% !important;
}
.xx .btn:active, .xx .x-pill:active, .xx .link-dark:active, .xx .header-cta:active, .xx .blog-cat:active, .xx .x-head-side .pillars-link a:active, .xx .hh-search .btn:active {
  transform: none !important; --sweep: rgba(255, 255, 255, .26);
}
/* light buttons (white on photos, cream outlines): the sweep is dark */
.xx .btn--secondary, .xx .blog-cat, .xx .hh-search .btn, .xx .x-sec--dark .x-pill--dark, .xx .cat-hero .btn:not([href*="wa.me"]):not(.btn--secondary) { --sweep: rgba(28, 21, 18, .08); }
.xx .btn--secondary:active, .xx .blog-cat:active, .xx .hh-search .btn:active { --sweep: rgba(28, 21, 18, .16); }
/* arrow and icons move inside the button */
.xx .btn::after, .xx .x-pill::after, .xx .link-dark::after, .xx .header-cta::after { display: inline-block; transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
.xx .btn:hover::after, .xx .x-pill:hover::after, .xx .link-dark:hover::after, .xx .header-cta:hover::after { transform: translateX(5px); }
.xx .btn svg { transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
.xx .btn:hover svg { transform: rotate(-8deg) scale(1.08); }

/* Header CTA: same inside fill as every button (its old background shorthand blocked it) */
.xx .site-header .header-cta { --sweep: rgba(255, 255, 255, .16); }

/* Stone cards on dark sections: the name keeps its color on hover */
.xx .card-link:hover .card-name { color: inherit; }

/* Home hero: darker at the bottom so the links read; outline button and the line next to it in white, centered */
.xx .x-hero::after { background: linear-gradient(0deg, rgba(20, 14, 12, .6), rgba(20, 14, 12, 0) 45%), linear-gradient(90deg, rgba(20, 14, 12, .72), rgba(20, 14, 12, .25) 60%, rgba(20, 14, 12, .05)); }
.xx .x-hero-links { align-items: center; }
.xx .x-hero-links a.btn--secondary { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); --sweep: rgba(255, 255, 255, .16); }
.xx .x-hero-links .hh-alt { margin: 0 !important; line-height: 1.4; font-size: 15px; color: rgba(255, 255, 255, .92); }
.xx .x-hero .hh-alt a:not(.btn):not(.x-float) { color: #fff !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: .2em; }
/* Category heroes over a photo: outline buttons stay white too */
@media (min-width: 900px) {
  .xx .cat-hero a.btn--secondary, .xx .cat-hero a.btn--secondary:hover { color: #fff !important; --sweep: rgba(255, 255, 255, .16); }
}

/* Home hero: Google reviews card, fixed size, one review at a time */
.xx .x-rev { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: flex; flex-direction: column; width: 360px; height: 228px; padding: 20px 22px; border-radius: 16px; background: rgba(28, 21, 18, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; }
.xx .x-rev-top { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; }
.xx .x-rev-top .stars { color: #fff; letter-spacing: .12em; font-size: 15px; }
.xx .x-rev-score { color: rgba(255, 255, 255, .75); }
.xx .x-rev-list { position: relative; flex: 1; margin: 12px 0 14px; padding: 0; list-style: none; }
.xx .x-rev-list li { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.xx .x-rev-list li.is-on { opacity: 1; transform: none; pointer-events: auto; }
.xx .x-rev-list blockquote { margin: 0; font-size: 17px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xx .x-rev-list cite { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.xx .x-hero .x-rev a.x-rev-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background-color: #fff; color: var(--x-ink) !important; font-size: 14px; font-weight: 500; text-decoration: none !important;
  --sweep: rgba(28, 21, 18, .1); background-image: linear-gradient(var(--sweep), var(--sweep)) !important; background-repeat: no-repeat; background-position: left center; background-size: 0% 100% !important; transition: background-size .4s cubic-bezier(.65, 0, .35, 1); }
.xx .x-hero .x-rev a.x-rev-btn:hover { background-size: 100% 100% !important; }
.xx .x-hero .x-rev a.x-rev-btn:active { --sweep: rgba(28, 21, 18, .18); }
.xx .x-rev-btn::after { content: "\2192"; display: inline-block; transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
.xx .x-rev-btn:hover::after { transform: translateX(5px); }
@media (max-width: 899px) {
  .xx .x-rev { position: relative; right: auto; bottom: auto; width: auto; margin: 28px var(--gutter) 0; }
}

/* Nosotros: Milo's story */
.xx .milo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.xx .milo-fig { position: sticky; top: 110px; margin: 0; }
.xx .milo-img { display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; }
.xx .milo-img img { width: 100%; height: 100%; object-fit: cover; }
.xx .milo-fig figcaption { margin-top: 12px; font-size: 14px; color: var(--x-muted); }
.xx .milo-text { max-width: 660px; }
.xx .milo-text p { font-size: 17px; line-height: 1.65; margin: 0 0 18px; }
.xx .milo-text .milo-lead { font-size: 21px; line-height: 1.5; }
.xx .milo-text .h3 { margin: 40px 0 14px; font-size: 24px; font-weight: 500; }
.xx .milo-text .milo-key { margin: 28px 0; padding: 22px 26px; border-radius: 16px; background: var(--x-card); font-size: 22px; font-weight: 500; line-height: 1.35; }
.xx .milo-sub { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--x-muted); }
.xx .milo-pieces { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.xx .milo-pieces a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--x-card); color: var(--x-ink) !important; font-size: 15px; text-decoration: none !important;
  --sweep: rgba(28, 21, 18, .08); background-image: linear-gradient(var(--sweep), var(--sweep)) !important; background-repeat: no-repeat; background-size: 0% 100% !important; background-position: left center; transition: background-size .4s cubic-bezier(.65, 0, .35, 1); }
.xx .milo-pieces a:hover { background-size: 100% 100% !important; }
.xx .milo-do { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xx .milo-close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 80px); }
.xx .milo-close p { font-size: 18px; line-height: 1.6; color: #E6DED7; }
.xx .milo-close .h2 { margin-bottom: 16px; }
.xx .milo-sign { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .15); }
.xx .milo-sign .milo-name { margin: 8px 0 24px; font-family: var(--x-serif); font-style: italic; font-size: 34px; color: #fff; }
.xx .milo-sign-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.xx .milo-sign-cta .rating { margin: 0; color: #fff; }
@media (max-width: 899px) {
  .xx .milo-grid, .xx .milo-close-grid { grid-template-columns: 1fr; }
  .xx .milo-fig { position: static; max-width: 440px; }
  .xx .milo-do { grid-template-columns: 1fr; }
}
@media (min-width: 900px) and (max-width: 1099px) { .xx .milo-do { grid-template-columns: 1fr 1fr; } }
.xx .x-hero-links .hh-cat { margin: 0 !important; }
.xx .milo-text .h2 { margin-bottom: 22px; }
.xx .milo-text .milo-press { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--x-line); font-size: 15px; color: var(--x-muted); }
/* Envíos map: thin arcs to every port we name, always moving */
.xx .map-svg .m-arc { stroke: var(--x-ink); stroke-width: 1.1; stroke-opacity: .55; animation: map-dash 1.6s linear infinite !important; }
.xx .map-svg .m-port { fill: var(--x-ink); stroke: var(--x-card); stroke-width: 1.5; }

/* Hairline figures: one line drawing above a timeline, in the site's ink on the section's ground */
.hl-fig { width: min(100%, 520px); margin: 8px auto 36px; --hairline-plate: var(--x-bg, #EFEBE5); --hairline-hi: #1C1512; --hairline-edge: #5F5650; --hairline-mid: #8F857E; --hairline-lo: #BFB6AE; --hairline-stroke: 1.35; }
.section--tone .hl-fig { --hairline-plate: var(--x-card, #F7F4EF); }
.xx .hl-steps > li { transition: opacity .3s ease; }
.xx .hl-steps:has(> li.is-hl) > li:not(.is-hl) { opacity: .55; }
/* Long timelines (8 steps): on desktop the drawing stays in view on the left while the steps scroll on the right */
@media (min-width: 1100px) {
  .xx .hl-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .xx .hl-split .hl-fig { position: sticky; top: 120px; width: 100%; margin: 0; }
  .xx .hl-split .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Step cards with a line drawing instead of a photo */
.route-img--hl, .xx .route-img--hl { display: block; aspect-ratio: 5 / 4; height: auto; border-radius: 16px; background: var(--x-card, #F7F4EF);
  --hairline-plate: var(--x-card, #F7F4EF); --hairline-hi: #1C1512; --hairline-edge: #5F5650; --hairline-mid: #8F857E; --hairline-lo: #BFB6AE; --hairline-stroke: 1.25; }
.section--tone .route-img--hl { background: var(--x-bg, #FFFFFF); --hairline-plate: var(--x-bg, #FFFFFF); }

/* Nosotros: one real slab photo, full width, with its caption */
.xx .slab-real { margin: 0; }
.xx .slab-real-img { display: block; aspect-ratio: 4 / 3; max-height: 760px; border-radius: 18px; overflow: hidden; background: var(--x-card, #F7F4EF); }
.xx .slab-real-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xx .slab-real figcaption { margin-top: 12px; font-size: 14px; color: var(--x-muted); }

/* Product pages (mesas, cocina, lavabos...): the stone cards and thumbnails in the restyled look. */
.xx .pick { border: 0; border-radius: 18px; overflow: hidden; background: var(--x-card); }
.xx .section--tone .pick { background: var(--x-bg); }
.xx .pick a { color: var(--x-ink, #1C1512); }
.xx .sm-img, .xx .similar--sel .sel-img { border: 0; border-radius: var(--x-r); }
/* Section numbers count only the sections that show one, so they never skip. */
.xx .section { counter-increment: none; }
.xx .sec-head:first-child, .xx .section > .container.sec-head { counter-increment: xsec; }

/* Blog hub, laid out like the XIAING blog: centred title, three featured articles, a thin filter bar (text tabs and search) over the grid. */
.xx .blog-head--center { text-align: center; padding-bottom: clamp(40px, 5vw, 72px); }
.xx .blog-head--center .h1 { margin-inline: auto; }
.xx .blog-head--center .lead { margin: 18px auto 0; max-width: 640px; }
.xx .blog-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--x-accent); margin: 0 0 22px; }
.xx .blog-label::before { content: "/ "; }
.xx .blog-featured .blog-grid { margin-top: 0; }
.xx .blog-list { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(72px, 9vw, 128px); }
.xx .blog-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--x-line); margin-bottom: clamp(28px, 3.5vw, 44px); }
.xx .blog-bar .blog-cats { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; }
.xx .blog-bar .blog-cat, .xx .blog-bar .blog-cat:hover, .xx .blog-bar .blog-cat:active { padding: 6px 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--x-muted); font-size: 15px; --sweep: transparent; }
.xx .blog-bar .blog-cat:hover { color: var(--x-ink); }
.xx .blog-bar .blog-cat[aria-pressed="true"] { background: none; color: var(--x-ink); box-shadow: inset 0 -1px 0 currentColor; }
.xx .blog-bar .blog-cat[hidden] { display: none; }
.xx .blog-search input { width: 220px; height: 40px; padding: 0 14px; border: 1px solid var(--x-line); border-radius: 10px; background: var(--x-card); font: inherit; font-size: 15px; color: var(--x-ink); }
.xx .blog-search input:focus { outline: 2px solid var(--x-ink); outline-offset: 1px; }
.xx .blog-list .blog-grid { margin-top: 0; row-gap: clamp(36px, 4vw, 56px); }
.xx .blog-grid a { display: flex; flex-direction: column; gap: 8px; }
.xx .blog-grid .blog-card-img { aspect-ratio: 4 / 3; margin-bottom: 8px; }
.xx .blog-grid .blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.xx .blog-grid .blog-card-cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--x-accent); }
.xx .blog-grid b { font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.xx .blog-grid a > span:not([class]) { font-size: 15px; line-height: 1.5; color: var(--x-muted); }
.xx .blog-grid .blog-card-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--x-muted); }
.xx .blog-grid .blog-card-meta span { color: var(--x-ink); font-weight: 600; }
@media (max-width: 899px) {
  .xx .blog-bar { flex-direction: column; align-items: stretch; }
  .xx .blog-bar .blog-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .xx .blog-bar .blog-cat { white-space: nowrap; }
  .xx .blog-search input { width: 100%; }
  .xx .blog-featured .blog-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; }
  .xx .blog-featured .blog-grid > li { flex: 0 0 82%; scroll-snap-align: start; }
}
.xx .blog-grid .more { margin-top: 6px; }

/* =========================================================
   The four structures that were never designed for body.xx:
   colour pages, material families, country pages and the two
   older guides (2026-11-17). One block per structure, appended;
   everything above stays as it is.
   ========================================================= */

/* ---------- Shared by all four: in-sentence links use the site's red link ---------- */
.xx .feature-list a, .xx .c-more, .xx .ports-more a, .xx .faq-aside a, .xx .checks span a {
  color: var(--x-link) !important; text-decoration: none !important;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color .2s ease, background-size .3s cubic-bezier(.2, .8, .2, 1);
}
.xx .feature-list a:hover, .xx .c-more:hover, .xx .ports-more a:hover, .xx .faq-aside a:hover, .xx .checks span a:hover {
  color: var(--x-link-hover) !important; background-size: 100% 1px;
}
/* the resistance tip inside the dark panels: light, like every other link on dark */
.xx .section--dark .perf-tip a, .xx .x-sec--dark .perf-tip a { color: #F6C9CC !important; }
.xx .section--dark .perf-tip a:hover, .xx .x-sec--dark .perf-tip a:hover { color: #FFFFFF !important; }

/* ---------- 1. Colour pages (/materiales/marmol-blanco and the 13 others) ---------- */
/* Colour chips become pills like every other chip: no border, card ground, sweep on hover. */
.xx .color-index a { border: 0; border-radius: 999px; background-color: var(--x-card); --sweep: rgba(28, 21, 18, .08);
  background-image: linear-gradient(var(--sweep), var(--sweep)); background-repeat: no-repeat; background-size: 0% 100%; background-position: left center;
  transition: background-size .4s cubic-bezier(.65, 0, .35, 1); }
.xx .color-index a:hover { border-color: transparent; background-size: 100% 100%; }
.xx .color-index a:active { --sweep: rgba(28, 21, 18, .16); }
.xx .color-index b { color: var(--x-ink); }
/* "Los 63 mármoles blancos" reads like every other block title */
.xx .color-page .c-group-head h2 { font-weight: 500; letter-spacing: -.035em; }
/* The three "how to choose" items use the card-title weight */
.xx .feature-list b { font-weight: 500; }

/* ---------- 2. Material families (/materiales/marmol, the short /arenisca and the 7 others) ---------- */
/* Scene photos get the rounded corners every other photo has (colour pages use the same grid) */
.xx .scene-img { border-radius: var(--x-r); }
/* Finishes: light hairlines like the rest of the page, titles in the card-title weight */
.xx .gloss li { border-top-color: var(--x-line); }
.xx .gloss b { font-weight: 500; }
.xx .gloss-meter i { background: rgba(28, 21, 18, .18); }
.xx .gloss-meter i.on { background: var(--x-ink); }
.xx .gloss-n { border-top-color: var(--x-line); }
/* Guide cards: title weight matches every other card title */
.xx .guides b { font-weight: 500; }

/* ---------- 3. Shipping to a country (/envios/mexico and the 8 others) ---------- */
.xx .ports b { font-weight: 500; }
/* Phones: the hero sits on the light ground, so the stats and the photo caption link
   go back to ink (they are white only over the desktop photo panel) */
@media (max-width: 899px) {
  .xx .cat-hero .stats b { color: var(--x-ink); }
  .xx .cat-hero .stats span { color: var(--x-muted); }
  .xx .cat-hero .cat-figure figcaption a { color: var(--x-link) !important; }
  .xx .stats--text { grid-template-columns: 1fr; border-top: 0; }
  .xx .stats--text li { padding: 14px 0 0; border-top: 1px solid var(--x-line); }
  .xx .stats--text li:first-child { border-top: 0; padding-top: 0; }
  .xx .stats--text b { font-weight: 500; margin-bottom: 4px; }
}

/* ---------- 4. The two older guides (/guias/precio-del-marmol, /guias/marmol-o-granito) ---------- */
/* Price factors and steps use the card-title weight like every other block */
.xx .checks b, .xx .tl b { font-weight: 500; }
/* The two quartzite swatches get the rounded corners every other photo has */
.xx .mg-swatches img { border-radius: var(--x-r); }
.xx .mg-swatches span { font-weight: 500; }
.xx .look-img { border-radius: var(--x-r); overflow: hidden; }
/* Contrast (Lighthouse 2026-11-17): the "see also" line on light sections, and struck-through figures, in the muted ink */
.xx .section:not(.section--dark) .c-also, .xx .x-sec:not(.x-sec--dark) .c-also { color: var(--x-muted); }
.xx main s { color: var(--x-muted); }
/* The "see also" line is light only on dark bands; on light grounds it uses the muted ink */
.xx .c-also { color: var(--x-muted); }
.xx :is(.section--dark, .x-sec--dark, .band) .c-also { color: #B9AEA7; }
