/*
 * Brahma Serie Delta "New Arrivals" landing, /campana/SerieDelta (#310).
 * View: app/views/pages/serieDeltaLanding.scala.html.
 *
 * The client's design is a 1920 px artboard. From 1024 px up the page reproduces it, scaled to the page
 * width: every length is artboard px times --u (1px at 1920 wide). Below that the sections stack into a
 * phone layout of our own on a 390 px artboard, lengths times --m.
 *
 * Text is placed by its baseline. Prompt's baseline sits 0.834em below the top of a line-height:1 box.
 */

@font-face { font-family: 'Prompt'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/prompt/Prompt-Light.woff2') format('woff2'); }
@font-face { font-family: 'Prompt'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/prompt/Prompt-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Prompt'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/prompt/Prompt-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Prompt'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/prompt/Prompt-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Prompt'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/prompt/Prompt-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Prompt'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/prompt/Prompt-Black.woff2') format('woff2'); }
@font-face { font-family: 'Prompt'; font-weight: 900; font-style: italic; font-display: swap; src: url('../fonts/prompt/Prompt-BlackItalic.woff2') format('woff2'); }
/* The design sets the poster's lines and the terms bar in Elza Condensed (Adobe Fonts). Where those are live
   text, the site's own condensed face stands in for it. */
@font-face { font-family: 'Avenir Next Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/AvenirNextCondensed-DemiBold.woff2') format('woff2'), url('../fonts/AvenirNextCondensed-DemiBold.woff') format('woff'); }

body {
  margin: 0;
  background: #000;
}

.sd {
  container-type: inline-size;
}

.sd-page {
  --u: calc(min(100cqw, 1920px) / 1920);
  --m: calc(100cqw / 390);
  --ink: #333333;
  --red: #c20e1f;
  --teal: #009391;
  --cream: #f5f2e0;
  --condensed: 'Avenir Next Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;

  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--ink);
  /* The design's sand wall: flat behind the cards, then lightening down to the terms */
  background: linear-gradient(#cbc8b6 0, #cbc8b6 43%, #f5f3e0 96%);
  font-family: 'Prompt', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Resets inside :where(), which adds no specificity: every class rule below wins over them */
:where(.sd-page) :where(*, *::before, *::after) {
  box-sizing: border-box;
}

:where(.sd-page) :where(h1, h2, p, ul, li) {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  list-style: none;
}

:where(.sd-page) :where(a) {
  color: inherit;
  text-decoration: none;
}

.sd-page a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

:where(.sd-page) :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

.sd-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sd-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

a.sd-button:hover,
.sd-card-link:hover .sd-button {
  background: #a50b19;
}

/* ---- Logo bars ------------------------------------------------------------------------------ */

.sd-bar {
  height: calc(287 * var(--u));
  padding-top: calc(100 * var(--u));
  background: #000;
}

.sd-bar-foot {
  height: calc(187 * var(--u));
  padding-top: calc(34 * var(--u));
}

.sd-bar-logo {
  display: block;
  width: calc(853 * var(--u));
  margin: 0 auto;
}

.sd-logo {
  width: calc(853 * var(--u));
  margin: 0 auto;
}

/* ---- Hero ----------------------------------------------------------------------------------- */

.sd-hero {
  position: relative;
  height: calc(1004 * var(--u));
  color: #fff;
  background: #615f55;
}

.sd-hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.sd-hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.sd-desde,
.sd-new {
  position: absolute;
  left: 0;
  width: 100%;
  font-weight: 300;
  font-size: calc(54.9 * var(--u));
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* letter-spacing also trails the last letter; the matching indent keeps the word centred */
.sd-desde {
  top: calc(13.2 * var(--u));
  letter-spacing: 0.716em;
  text-indent: 0.716em;
}

.sd-new {
  top: calc(668.2 * var(--u));
  letter-spacing: 0.733em;
  text-indent: 0.733em;
}

.sd-tagline {
  position: absolute;
  top: calc(744.2 * var(--u));
  left: 0;
  width: 100%;
  font-weight: 900;
  font-style: italic;
  font-size: calc(35.7 * var(--u));
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.sd-button-hero {
  position: absolute;
  top: calc(846 * var(--u));
  left: calc(749 * var(--u));
  width: calc(422 * var(--u));
  height: calc(93 * var(--u));
  padding-top: calc(7 * var(--u));
  border-radius: calc(9 * var(--u));
  font-size: calc(39.8 * var(--u));
  letter-spacing: -0.015em;
}

/*
 * The price. The design has it as a rendered 3D image, which could only ever say $349.900. Here it is
 * type, so it shows the catalogue's lowest price: a metal face (::after, a gradient clipped to the
 * glyphs) over a block of stepped shadows. As in the render, the block recedes to the left: upwards
 * behind the first line and downwards behind the second, which sits a little larger and behind it.
 * --fit shrinks a price with more figures than the design's five per line.
 */
.sd-price {
  --size: calc(calc(326 * var(--u)) * var(--fit, 1));
  /* one extrusion step, at the size's scale */
  --e: calc(var(--size) / 300);

  position: absolute;
  top: calc(86 * var(--u));
  left: 0;
  width: 100%;
  font-weight: 900;
  font-size: var(--size);
  line-height: 0.83;
  letter-spacing: -0.035em;
  color: #6f706f;
  transform: perspective(calc(2400 * var(--u))) rotateY(7deg) rotateX(3deg);
  transform-origin: 50% 50%;
}

.sd-price-len-6 { --fit: 0.84; }
.sd-price-len-7 { --fit: 0.73; }
.sd-price-len-8 { --fit: 0.64; }
.sd-price-len-9 { --fit: 0.57; }

.sd-price-line {
  display: block;
  position: relative;
  z-index: 1;
  /* the face sits right of the block behind it */
  left: calc(var(--e) * 14);
  text-shadow: calc(var(--e) * -1.00) calc(var(--e) * -0.52) 0 #7e7e7c,
    calc(var(--e) * -2.00) calc(var(--e) * -1.04) 0 #7d7d7b,
    calc(var(--e) * -3.00) calc(var(--e) * -1.56) 0 #7b7b79,
    calc(var(--e) * -4.00) calc(var(--e) * -2.08) 0 #7a7a78,
    calc(var(--e) * -5.00) calc(var(--e) * -2.60) 0 #787876,
    calc(var(--e) * -6.00) calc(var(--e) * -3.12) 0 #777775,
    calc(var(--e) * -7.00) calc(var(--e) * -3.64) 0 #757573,
    calc(var(--e) * -8.00) calc(var(--e) * -4.16) 0 #747472,
    calc(var(--e) * -9.00) calc(var(--e) * -4.68) 0 #727270,
    calc(var(--e) * -10.00) calc(var(--e) * -5.20) 0 #70706e,
    calc(var(--e) * -11.00) calc(var(--e) * -5.72) 0 #6f6f6d,
    calc(var(--e) * -12.00) calc(var(--e) * -6.24) 0 #6d6d6b,
    calc(var(--e) * -13.00) calc(var(--e) * -6.76) 0 #6c6c6a,
    calc(var(--e) * -14.00) calc(var(--e) * -7.28) 0 #6a6a68,
    calc(var(--e) * -15.00) calc(var(--e) * -7.80) 0 #696967,
    calc(var(--e) * -16.00) calc(var(--e) * -8.32) 0 #676765,
    calc(var(--e) * -17.00) calc(var(--e) * -8.84) 0 #666664,
    calc(var(--e) * -18.00) calc(var(--e) * -9.36) 0 #646462,
    calc(var(--e) * -19.00) calc(var(--e) * -9.88) 0 #626260,
    calc(var(--e) * -20.00) calc(var(--e) * -10.40) 0 #61615f,
    calc(var(--e) * -21.00) calc(var(--e) * -10.92) 0 #5f5f5d,
    calc(var(--e) * -22.00) calc(var(--e) * -11.44) 0 #5e5e5c,
    calc(var(--e) * -23.00) calc(var(--e) * -11.96) 0 #5c5c5a,
    calc(var(--e) * -24.00) calc(var(--e) * -12.48) 0 #5b5b59,
    calc(var(--e) * -25.00) calc(var(--e) * -13.00) 0 #595957,
    calc(var(--e) * -26.00) calc(var(--e) * -13.52) 0 #585856,
    calc(var(--e) * -27.00) calc(var(--e) * -14.04) 0 #565654,
    calc(var(--e) * -28.00) calc(var(--e) * -14.56) 0 #555553,
    calc(var(--e) * -29.00) calc(var(--e) * -15.08) 0 #535351,
    calc(var(--e) * -30.00) calc(var(--e) * -15.60) 0 #51514f,
    calc(var(--e) * -31.00) calc(var(--e) * -16.12) 0 #50504e,
    calc(var(--e) * -32.00) calc(var(--e) * -16.64) 0 #4e4e4c,
    calc(var(--e) * -33.00) calc(var(--e) * -17.16) 0 #4d4d4b,
    calc(var(--e) * -34.00) calc(var(--e) * -17.68) 0 #4b4b49,
    calc(var(--e) * -35.00) calc(var(--e) * -18.20) 0 #4a4a48,
    calc(var(--e) * -36.00) calc(var(--e) * -18.72) 0 #484846,
    calc(var(--e) * -37.00) calc(var(--e) * -19.24) 0 #474745,
    calc(var(--e) * -38.00) calc(var(--e) * -19.76) 0 #454543,
    calc(var(--e) * -14) calc(var(--e) * 20) calc(var(--e) * 24) rgba(34, 32, 24, 0.5);
}

.sd-price-line + .sd-price-line {
  z-index: 0;
  left: calc(var(--e) * 20);
  font-size: 1.07em;
  text-shadow: calc(var(--e) * -1.00) calc(var(--e) * 0.46) 0 #6a6a68,
    calc(var(--e) * -2.00) calc(var(--e) * 0.92) 0 #696967,
    calc(var(--e) * -3.00) calc(var(--e) * 1.38) 0 #676765,
    calc(var(--e) * -4.00) calc(var(--e) * 1.84) 0 #656563,
    calc(var(--e) * -5.00) calc(var(--e) * 2.30) 0 #646462,
    calc(var(--e) * -6.00) calc(var(--e) * 2.76) 0 #626260,
    calc(var(--e) * -7.00) calc(var(--e) * 3.22) 0 #60605e,
    calc(var(--e) * -8.00) calc(var(--e) * 3.68) 0 #5f5f5d,
    calc(var(--e) * -9.00) calc(var(--e) * 4.14) 0 #5d5d5b,
    calc(var(--e) * -10.00) calc(var(--e) * 4.60) 0 #5b5b59,
    calc(var(--e) * -11.00) calc(var(--e) * 5.06) 0 #595957,
    calc(var(--e) * -12.00) calc(var(--e) * 5.52) 0 #585856,
    calc(var(--e) * -13.00) calc(var(--e) * 5.98) 0 #565654,
    calc(var(--e) * -14.00) calc(var(--e) * 6.44) 0 #545452,
    calc(var(--e) * -15.00) calc(var(--e) * 6.90) 0 #535351,
    calc(var(--e) * -16.00) calc(var(--e) * 7.36) 0 #51514f,
    calc(var(--e) * -17.00) calc(var(--e) * 7.82) 0 #4f4f4d,
    calc(var(--e) * -18.00) calc(var(--e) * 8.28) 0 #4e4e4c,
    calc(var(--e) * -19.00) calc(var(--e) * 8.74) 0 #4c4c4a,
    calc(var(--e) * -20.00) calc(var(--e) * 9.20) 0 #4a4a48,
    calc(var(--e) * -21.00) calc(var(--e) * 9.66) 0 #494947,
    calc(var(--e) * -22.00) calc(var(--e) * 10.12) 0 #474745,
    calc(var(--e) * -23.00) calc(var(--e) * 10.58) 0 #454543,
    calc(var(--e) * -24.00) calc(var(--e) * 11.04) 0 #444442,
    calc(var(--e) * -25.00) calc(var(--e) * 11.50) 0 #424240,
    calc(var(--e) * -26.00) calc(var(--e) * 11.96) 0 #40403e,
    calc(var(--e) * -27.00) calc(var(--e) * 12.42) 0 #3f3f3d,
    calc(var(--e) * -28.00) calc(var(--e) * 12.88) 0 #3d3d3b,
    calc(var(--e) * -29.00) calc(var(--e) * 13.34) 0 #3b3b39,
    calc(var(--e) * -30.00) calc(var(--e) * 13.80) 0 #393937,
    calc(var(--e) * -31.00) calc(var(--e) * 14.26) 0 #383836,
    calc(var(--e) * -32.00) calc(var(--e) * 14.72) 0 #363634,
    calc(var(--e) * -33.00) calc(var(--e) * 15.18) 0 #343432,
    calc(var(--e) * -34.00) calc(var(--e) * 15.64) 0 #333331,
    calc(var(--e) * -35.00) calc(var(--e) * 16.10) 0 #31312f,
    calc(var(--e) * -36.00) calc(var(--e) * 16.56) 0 #2f2f2d,
    calc(var(--e) * -37.00) calc(var(--e) * 17.02) 0 #2e2e2c,
    calc(var(--e) * -38.00) calc(var(--e) * 17.48) 0 #2c2c2a,
    calc(var(--e) * -14) calc(var(--e) * 20) calc(var(--e) * 24) rgba(34, 32, 24, 0.5);
}

.sd-price-line::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: transparent;
  background: linear-gradient(168deg, #d9d9d7 6%, #c6c6c4 40%, #b4b5b3 66%, #c9c9c7 94%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  -webkit-text-stroke: calc(var(--e) * 0.8) rgba(255, 255, 255, 0.4);
}

/* ---- Section headings ----------------------------------------------------------------------- */

.sd-eyebrow {
  display: flex;
  align-items: flex-end;
  font-weight: 500;
  font-size: calc(38.6 * var(--u));
  line-height: 1;
  letter-spacing: 0.75em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* The rule runs from the heading to the right margin, on the text's baseline */
.sd-eyebrow::after {
  content: '';
  flex: 1;
  height: calc(4 * var(--u));
  margin: 0 0 calc(0.166em - calc(1 * var(--u))) calc(166 * var(--u));
  background: var(--ink);
}

.sd-eyebrow-walk::after {
  margin-left: calc(18 * var(--u));
}

.sd-title {
  margin-top: calc(20.7 * var(--u));
  font-weight: 700;
  font-size: calc(73 * var(--u));
  line-height: 1;
  letter-spacing: -0.016em;
  text-transform: uppercase;
}

/* ---- Product cards -------------------------------------------------------------------------- */

.sd-catalog {
  padding: calc(80.8 * var(--u)) calc(97 * var(--u)) 0 calc(99 * var(--u));
}

.sd-cards {
  display: grid;
  /* minmax(0, ...): a bare 1fr lets a wide card stretch its column */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(16 * var(--u)) calc(12 * var(--u));
  margin-top: calc(44.9 * var(--u));
}

.sd-card {
  display: flex;
  background: #fff;
}

.sd-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: calc(31 * var(--u)) calc(61 * var(--u)) calc(34 * var(--u)) calc(60 * var(--u));
}

.sd-card-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(#cfcdbb, #e0decc);
}

/* Catalogue photos are on white; multiply lets the tile's sand show through it */
.sd-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.06);
  transition: transform 0.25s ease;
}

.sd-card-link:hover .sd-card-photo img {
  transform: scale(1.12);
}

.sd-card-ref,
.sd-card-name,
.sd-card-price {
  display: block;
  /* the design lets a long name run past the photo's edge, into the card's margin */
  margin-right: calc(-44 * var(--u));
}

.sd-card-ref {
  margin-top: calc(24.2 * var(--u));
  font-weight: 700;
  font-size: calc(26.1 * var(--u));
  line-height: 1;
  letter-spacing: -0.044em;
  text-transform: uppercase;
}

.sd-card-name {
  margin-top: calc(0.3 * var(--u));
  font-weight: 300;
  font-size: calc(23.3 * var(--u));
  line-height: 1;
  letter-spacing: -0.043em;
  text-transform: uppercase;
}

.sd-card-price {
  margin: calc(2.9 * var(--u)) 0 calc(24.8 * var(--u));
  font-weight: 700;
  font-size: calc(25.4 * var(--u));
  line-height: 1;
  letter-spacing: -0.022em;
}

.sd-card-price s {
  margin-right: 0.25em;
  font-weight: 400;
  font-size: 0.8em;
  opacity: 0.65;
}

.sd-button-card {
  width: calc(209 * var(--u));
  height: calc(47 * var(--u));
  margin: auto auto 0;
  padding-top: calc(1 * var(--u));
  border-radius: calc(7 * var(--u));
  font-size: calc(20.6 * var(--u));
  letter-spacing: -0.05em;
}

/* ---- The walk ------------------------------------------------------------------------------- */

.sd-walk {
  padding: calc(108.8 * var(--u)) calc(97 * var(--u)) calc(48 * var(--u)) calc(99 * var(--u));
}

.sd-title-walk {
  margin-top: calc(22.5 * var(--u));
  font-size: calc(65 * var(--u));
  line-height: calc(78 * var(--u));
  letter-spacing: 0;
}

.sd-lead {
  max-width: calc(1040 * var(--u));
  margin-top: calc(30.5 * var(--u));
  font-size: calc(33.2 * var(--u));
  line-height: calc(40 * var(--u));
}

.sd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, calc(855 * var(--u))));
  gap: calc(12 * var(--u));
  margin-top: calc(52.6 * var(--u));
}

.sd-fact {
  position: relative;
  height: calc(189 * var(--u));
  background: var(--teal);
  color: #fff;
}

/* The icons are stock SVGs drawn in black; the design has them white */
.sd-fact img {
  position: absolute;
  max-width: none;
  filter: brightness(0) invert(1);
}

.sd-fact p {
  position: absolute;
  font-size: calc(29 * var(--u));
  line-height: calc(31 * var(--u));
  white-space: nowrap;
}

/* line-height 0 keeps the larger label from pushing its line apart from the next */
.sd-fact strong {
  font-weight: 800;
  font-size: calc(47 * var(--u));
  line-height: 0;
}

.sd-fact-sendero img { top: calc(20 * var(--u)); left: calc(126 * var(--u)); width: calc(132 * var(--u)); }
.sd-fact-sendero p { top: calc(49.8 * var(--u)); left: calc(296 * var(--u)); }

.sd-fact-direccion img { top: calc(24 * var(--u)); left: calc(75.5 * var(--u)); width: calc(124 * var(--u)); }
.sd-fact-direccion p { top: calc(63.8 * var(--u)); left: calc(244 * var(--u)); line-height: calc(47 * var(--u)); }

.sd-fact-duracion img { top: calc(33 * var(--u)); left: calc(127 * var(--u)); width: calc(129 * var(--u)); }
.sd-fact-duracion p { top: calc(88.8 * var(--u)); left: calc(296 * var(--u)); }

.sd-fact-dificultad img { top: calc(33 * var(--u)); left: calc(61 * var(--u)); width: calc(130 * var(--u)); }
.sd-fact-dificultad p { top: calc(89.8 * var(--u)); left: calc(243 * var(--u)); }

.sd-poster {
  position: relative;
  width: calc(1717 * var(--u));
  margin: calc(15 * var(--u)) 0 0 calc(4 * var(--u));
}

.sd-poster-photo {
  width: 100%;
}

.sd-poster-copy {
  display: none;
}

/* The QR code is part of the artwork; on a screen it is also the link it encodes */
.sd-poster-qr {
  position: absolute;
  top: calc(272 * var(--u));
  left: calc(53 * var(--u));
  width: calc(521 * var(--u));
  height: calc(522 * var(--u));
}

.sd-terms {
  width: calc(1717 * var(--u));
  margin-left: calc(4 * var(--u));
  padding: calc(51.2 * var(--u)) 0 calc(64.8 * var(--u));
  background: var(--cream);
  color: #3aaeb0;
  font-size: calc(23.8 * var(--u));
  line-height: calc(27 * var(--u));
  text-align: center;
}

.sd-terms-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(1719 * var(--u));
  height: calc(105 * var(--u));
  margin: calc(-16 * var(--u)) 0 0 calc(1 * var(--u));
  padding-top: calc(7.8 * var(--u));
  background: var(--teal);
  color: #fff;
  font-family: var(--condensed);
  font-weight: 600;
  font-size: calc(52.5 * var(--u));
  line-height: 1;
  transition: background-color 0.15s ease;
}

.sd-terms-link:hover {
  background: #007f7d;
}

/* ---- Phones and small tablets: our own stacking, on a 390 px artboard ------------------------- */

@media (max-width: 1023px) {

  .sd-bar {
    height: calc(64 * var(--m));
    padding-top: calc(16 * var(--m));
  }

  .sd-bar-foot {
    height: calc(64 * var(--m));
    padding-top: calc(16 * var(--m));
  }

  .sd-bar-logo,
  .sd-logo {
    width: calc(240 * var(--m));
  }

  /* The two models stand at the foot of the wall; the copy has the wall above them */
  .sd-hero {
    height: auto;
    padding: calc(30 * var(--m)) 0 calc(330 * var(--m));
    /* the photo is taller than the hero and hangs from its foot */
    overflow: hidden;
  }

  .sd-hero-photo {
    top: auto;
    bottom: 0;
    height: auto;
    object-fit: fill;
  }

  .sd-hero-copy {
    position: relative;
    height: auto;
  }

  .sd-hero-copy::before {
    content: '';
    position: absolute;
    top: calc(-20 * var(--m));
    left: 0;
    width: 100%;
    height: calc(330 * var(--m));
    background: radial-gradient(ellipse at 50% 50%, rgba(196, 192, 156, 0.5), rgba(196, 192, 156, 0) 68%);
  }

  .sd-desde,
  .sd-new,
  .sd-tagline {
    position: relative;
    top: auto;
  }

  .sd-desde,
  .sd-new {
    font-size: calc(17 * var(--m));
    letter-spacing: 0.6em;
    text-indent: 0.6em;
  }

  .sd-price {
    --size: calc(calc(112 * var(--m)) * var(--fit, 1));

    position: relative;
    top: auto;
    margin: calc(16 * var(--m)) 0 calc(20 * var(--m));
    transform: perspective(calc(900 * var(--m))) rotateY(7deg) rotateX(3deg);
  }

  .sd-tagline {
    margin-top: calc(12 * var(--m));
    padding: 0 calc(16 * var(--m));
    font-size: calc(12.6 * var(--m));
    letter-spacing: 0;
  }

  .sd-button-hero {
    position: relative;
    top: auto;
    left: auto;
    width: calc(200 * var(--m));
    height: calc(46 * var(--m));
    margin: calc(20 * var(--m)) auto 0;
    padding-top: calc(2 * var(--m));
    border-radius: calc(6 * var(--m));
    font-size: calc(18 * var(--m));
  }

  .sd-eyebrow {
    font-size: calc(14 * var(--m));
    letter-spacing: 0.5em;
  }

  .sd-eyebrow::after,
  .sd-eyebrow-walk::after {
    height: calc(2 * var(--m));
    margin: 0 0 0.15em calc(6 * var(--m));
  }

  .sd-title,
  .sd-title-walk {
    margin-top: calc(10 * var(--m));
    font-size: calc(27 * var(--m));
    line-height: 1.12;
  }

  .sd-title-walk br {
    display: none;
  }

  .sd-catalog {
    padding: calc(34 * var(--m)) calc(16 * var(--m)) 0;
  }

  .sd-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(10 * var(--m));
    margin-top: calc(18 * var(--m));
  }

  .sd-card-link {
    padding: calc(10 * var(--m)) calc(10 * var(--m)) calc(14 * var(--m));
  }

  .sd-card-ref,
  .sd-card-name,
  .sd-card-price {
    margin-right: 0;
  }

  .sd-card-ref {
    margin-top: calc(12 * var(--m));
    font-size: calc(15 * var(--m));
    letter-spacing: -0.02em;
  }

  .sd-card-name {
    margin-top: calc(3 * var(--m));
    font-size: calc(12.5 * var(--m));
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .sd-card-price {
    margin: calc(5 * var(--m)) 0 calc(12 * var(--m));
    font-size: calc(15 * var(--m));
  }

  .sd-button-card {
    width: 100%;
    height: calc(36 * var(--m));
    border-radius: calc(5 * var(--m));
    font-size: calc(13.5 * var(--m));
    letter-spacing: 0;
  }

  .sd-walk {
    padding: calc(40 * var(--m)) calc(16 * var(--m)) calc(24 * var(--m));
  }

  .sd-lead {
    max-width: none;
    margin-top: calc(12 * var(--m));
    font-size: calc(15.5 * var(--m));
    line-height: 1.4;
  }

  .sd-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(8 * var(--m));
    margin-top: calc(22 * var(--m));
  }

  .sd-fact {
    display: flex;
    align-items: center;
    height: auto;
    min-height: calc(84 * var(--m));
    padding: calc(14 * var(--m)) calc(16 * var(--m));
  }

  .sd-fact img,
  .sd-fact-sendero img,
  .sd-fact-direccion img,
  .sd-fact-duracion img,
  .sd-fact-dificultad img {
    position: static;
    flex: none;
    width: calc(52 * var(--m));
    height: calc(52 * var(--m));
    margin-right: calc(16 * var(--m));
    object-fit: contain;
  }

  .sd-fact p,
  .sd-fact-direccion p {
    position: static;
    font-size: calc(15 * var(--m));
    line-height: 1.35;
    white-space: normal;
  }

  .sd-fact p br {
    display: none;
  }

  .sd-fact strong {
    font-size: calc(21 * var(--m));
    line-height: 1;
  }

  .sd-poster {
    width: auto;
    margin: calc(8 * var(--m)) 0 0;
  }

  .sd-poster-copy {
    display: block;
    padding: calc(22 * var(--m)) calc(18 * var(--m)) calc(20 * var(--m));
    background: var(--teal);
    color: var(--cream);
    font-family: var(--condensed);
    font-weight: 600;
    font-size: calc(25 * var(--m));
    line-height: 1.25;
  }

  .sd-button-poster {
    width: calc(210 * var(--m));
    height: calc(46 * var(--m));
    margin-top: calc(14 * var(--m));
    border-radius: calc(6 * var(--m));
    background: var(--cream);
    color: var(--teal);
    font-family: 'Prompt', 'Helvetica Neue', Arial, sans-serif;
    font-size: calc(17 * var(--m));
  }

  a.sd-button-poster:hover {
    background: #fff;
  }

  .sd-poster-qr {
    display: none;
  }

  .sd-terms {
    width: auto;
    margin-left: 0;
    padding: calc(18 * var(--m)) calc(14 * var(--m)) calc(20 * var(--m));
    font-size: calc(11.5 * var(--m));
    line-height: 1.45;
  }

  .sd-terms-link {
    width: auto;
    height: auto;
    min-height: calc(52 * var(--m));
    margin: 0;
    padding: calc(12 * var(--m)) calc(12 * var(--m)) calc(10 * var(--m));
    font-size: calc(21 * var(--m));
    text-align: center;
  }
}
