/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/
:root {
  --primary-color: #F18F04;
  --secondary-color: #1F140F;
  --accent-color: #F3B762;
  --primary-color-black: #a05f04;
  --text-color: #1F140F;
  --heading-color: #1F140F;
  --legal-color: #8B929F;
  --font-family-base: 'BwModelica', 'Roboto', sans-serif;
  --font-size-base: 16px;
  --font-size-disclaimer:10px;
  --font-size-heading: clamp(30px, 1.9vw, 40px);
  --font-size-heading-big: clamp(1.75rem, 2.5vw, 2.2rem);
  --font-size-subheading: 40px;
  --letter-spacing-base: 5px;
  --font-weight-base: 400;
  --font-weight-thin: 200;
  --font-weight-heading: 500;
  --font-weight-heading-black: 700;
  --padding-btn: 10px 20px;
}

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

/* ============================================================
   BwModelica — Custom font family
   Pesos: Hairline(100) Thin(200) Light(300) Regular(400)
          Medium(500) Bold(700) ExtraBold(800) Black(900)
   ============================================================ */

/* ── Hairline ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 100;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Hairline.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 100;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-HairlineItalic.otf') format('opentype');
}

/* ── Thin ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 200;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Thin.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 200;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-ThinItalic.otf') format('opentype');
}

/* ── Light ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 300;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Light.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 300;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-LightItalic.otf') format('opentype');
}

/* ── Regular ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 400;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Regular.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 400;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-RegularItalic.otf') format('opentype');
}

/* ── Medium ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 500;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Medium.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 500;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-MediumItalic.otf') format('opentype');
}

/* ── Bold ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 700;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Bold.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 700;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-BoldItalic.otf') format('opentype');
}

/* ── ExtraBold ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 800;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-ExtraBold.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 800;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-ExtraBoldItalic.otf') format('opentype');
}

/* ── Black ── */
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: normal;
  font-weight: 900;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-Black.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'BwModelica';
  font-style: italic;
  font-weight: 900;
  src: url('https://20305420.fs1.hubspotusercontent-na1.net/hubfs/20305420/raw_assets/public/real-madeira-theme/fonts/BwModelica-BlackItalic.otf') format('opentype');
}
*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* ── Botón primario ────────────────────────────────────── */

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  font-weight: var(--font-weight-heading-black);
  line-height: 1;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.22s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--secondary-color);
  font-weight: var(--font-weight-heading-black);
  color: #ffffff;
  outline: none;
  text-decoration: none;
}

/* ── Botón outline (fondos oscuros) ────────────────────── */

.btn-outline {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  font-weight: var(--font-weight-heading-black);
  line-height: 1;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: #ffffff;
  color: var(--secondary-color);
  outline: none;
  text-decoration: none;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* ============================================================
   SITE HEADER
   Estructura: topbar (rojo) + header__main (transparente/blur)
   Comportamiento: fixed, sticky al hacer scroll agrega .is-scrolled
   ============================================================ */

/* ── Accesibilidad: skip link ────────────────────────────── */

.header__skip {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: -9999px;
  width: 1px;
}

.header__skip:focus {
  background: #E0001A;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 0;
  overflow: visible;
  padding: 0.5rem 1rem;
  top: 0;
  width: auto;
  z-index: 9999;
}

/* ── Wrapper principal fijo ──────────────────────────────── */

.site-header {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* ── Topbar ──────────────────────────────────────────────── */

.topbar {
  background-color: var(--primary-color);
}

.topbar__container {
  align-items: center;
  display: flex;
  justify-content: center;
  max-width: 1280px;
  padding-bottom: 0.2rem;
  padding-top: 0.2rem;
}

/* Módulo rich_text dentro del topbar */
.topbar p,
.topbar .hs_cos_wrapper p {
  align-items: center;
  color: var(--secondary-color);
  display: flex;
  font-size: 14px;
  font-weight: 400;
  gap: 0.4rem;
  letter-spacing: 0.01em;
  margin: 0;
}

.topbar svg {
  flex-shrink: 0;
}

.topbar a {
  color: #ffffff;
  font-weight: 400;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

/* ── Header main ─────────────────────────────────────────── */

.header__main {
  background-color: rgba(117, 113, 111, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Estado scrolled: fondo sólido */
.site-header.is-scrolled .header__main {
  background-color: #453d37;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* ── Contenedor principal del header ────────────────────── */

.header__container {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  max-width: 1280px;
  min-height: 70px;
  padding-bottom: 0;
  padding-top: 0;
}

/* ── Logo ────────────────────────────────────────────────── */

.header__logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  max-width: 115px;
}

.header__logo img {
  display: block;
  height: auto;
  max-width: 100%; 
  padding: 5px;
}

/* Texto del logo si no hay imagen */
.header__logo .logo-company-name {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

.menu .menu__link:hover, .menu .menu__link:focus, .header__language-switcher-label-current:hover, .header__language-switcher-label-current:focus, .header__language-switcher .lang_list_class li:hover a, .header__language-switcher .lang_list_class li a:focus,
.menu .menu__link:active, .header__language-switcher-label-current:active, .header__language-switcher .lang_list_class li a:active {
    color: #ffffff !important;
}

/* ── Navegación ──────────────────────────────────────────── */

.header__nav {
  flex: 1;
}

/* Ocultar nav mobile en desktop, mostrar desktop nav */
.header__nav .menu--mobile {
  display: none;
}

/* Estilos de los links del menú en el header */
.header__nav .menu__wrapper {
  align-items: center;
  display: flex;
  gap: 0;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav .menu__item {
  position: relative;
}

.header__nav .menu__link {
  color: rgb(255 255 255 / 79%);
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 0px 10px;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header__nav .menu__link:hover,
.header__nav .menu__link:focus {
  color: var(--accent-color);
}

.header__nav .menu__link--active-link {
  color: var(--accent-color);
}


.header__cta .button{
  background-color: var(--primary-color);
  border-radius: 0px;
  color: #ffffff !important;
  display: inline-block;
  font-size: var(--font-size-base);
  letter-spacing: 0.01em;
  padding: 8px 30px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  border: none;
}

.header__cta .button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  border: none;
}
.header__cta .button:focus {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  border: none;
}


/* Submenú dropdown */
.header__nav .menu__submenu {
  background-color: transparent !important;
  border: none !important;
  border-top: 2px solid #E0001A;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  left: 0;
  list-style: none;
  min-width: 200px;
  opacity: 0;
  padding: 0.5rem 0 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-4px);
  z-index: 100;
}
.menu__submenu .menu__link:hover, .menu__submenu .menu__link:focus, .header__language-switcher .lang_list_class li:hover, .menu__submenu--level-2 > .menu__item:first-child:hover:before, .menu__submenu--level-2 > .menu__item:first-child.focus:before {
    background-color: var(--secondary-color) !important;
}

.header__nav .menu__item--has-submenu:hover > .menu__submenu,
.header__nav .menu__item--has-submenu:focus-within > .menu__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header__nav .menu__submenu .menu__link {
  font-size: 14px;
  padding: 0px 9px;
}

/* ── CTA del header ──────────────────────────────────────── */

.header__cta {
  flex-shrink: 0;
}

.header__cta .button-wrapper {
  text-align: right;
}

.header__cta .button {
  font-weight: 700;
}


/* ── Hamburger (solo mobile) ─────────────────────────────── */

.header__hamburger {
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  padding: 0.5rem;
}

.hamburger__line {
  background-color: #ffffff;
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 24px;
}

/* Estado abierto: animación X */
.header__hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive – Mobile (≤ 767px) ──────────────────────── */

@media (max-width: 767px) {
  .header__hamburger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .header__nav {
    background-color: #152638;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    left: 0;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 100%; /* debajo del site-header completo (topbar + main) */
    transition: max-height 0.35s ease;
    width: 100%;
  }

  .header__nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* En mobile mostrar solo el nav mobile */
  .header__nav .menu--desktop {
    display: none;
  }

  .header__nav .menu--mobile {
    display: block;
  }

  .header__nav .menu__wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .header__nav .menu__link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 14px;
    padding: 0.75rem 1.25rem;
  }

  .header__nav .menu__submenu {
    border-top: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .header__nav .menu__submenu .menu__link {
    padding-left: 2.25rem;
  }

  .header__container {
    min-height: 60px;
    gap: 1rem;
  }

  .header__logo {
    max-width: 100px;
  }
}

/* ── Responsive – Tablet (768px – 1023px) ───────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .header__nav .menu__link {
    font-size: 0.875rem;
    padding: 0.5rem 0.65rem;
  }

  .header__cta .button {
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
  }

  .header__logo {
    max-width: 140px;
  }
}
/* ============================================================
   FOOTER
   Layout: 3 columnas (brand | oficina ventas | quejas+rrss)
   ============================================================ */

.footer {
  background-color: #F5F3EF !important;
  border-top: 1px solid #e2ddd7;
}

.footer__inner {
  padding-top: 40px;
  padding-bottom: 32px;
}

/* ── Grid de 3 columnas ───────────────────────────────────── */

.footer__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Columna 1: Brand ────────────────────────────────────── */

.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Logos lado a lado */
.footer__logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__logos .hs_cos_wrapper {
  display: flex;
  align-items: center;
}

.footer__logos img {
  display: block;
  height: auto;
  object-fit: contain;
}

.footer__logos .footer_logo_madeira img,
.footer__logos [id*="footer_logo_madeira"] img {
  width: 110px;
}

.footer__logos .footer_logo_vinte img,
.footer__logos [id*="footer_logo_vinte"] img {
  width: 120px;
}

/* Dirección y datos legales */
.footer__address {
  font-style: normal;
}

.footer__address p,
.footer__address .hs_cos_wrapper p {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--secondary-color);
  margin: 0 0 10px;
}

.footer__address p:last-child,
.footer__address .hs_cos_wrapper p:last-child {
  margin-bottom: 0;
}

.footer__address strong { font-weight: 700; }

.footer__address a,
.footer__address .hs_cos_wrapper a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer__address a:hover,
.footer__address .hs_cos_wrapper a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ── Columnas 2 y 3: Contenido ───────────────────────────── */

.footer__col--ventas,
.footer__col--quejas {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__col--ventas h4,
.footer__col--ventas .hs_cos_wrapper h4,
.footer__col--quejas h4,
.footer__col--quejas .hs_cos_wrapper h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.footer__col--ventas p,
.footer__col--ventas .hs_cos_wrapper p,
.footer__col--quejas p,
.footer__col--quejas .hs_cos_wrapper p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--secondary-color);;
  margin: 0 0 10px;
}

.footer__col--ventas p:last-child,
.footer__col--ventas .hs_cos_wrapper p:last-child,
.footer__col--quejas p:last-child,
.footer__col--quejas .hs_cos_wrapper p:last-child {
  margin-bottom: 0;
}

.footer__col--ventas a,
.footer__col--ventas .hs_cos_wrapper a,
.footer__col--quejas a,
.footer__col--quejas .hs_cos_wrapper a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer__col--ventas a:hover,
.footer__col--quejas a:hover {
  text-decoration: underline;
}

/* ── Redes sociales (@hubspot/social_follow) ─────────────── */

.footer__col--quejas .hs_cos_wrapper_type_social_follow {
  margin-top: 20px;
}

/* El módulo social_follow de HubSpot genera .hs-social-follow */
.footer__col--quejas .hs-social-follow {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col--quejas .hs-social-follow__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--secondary-color);
  border-radius: 50%;
  color: #ffffff;
  transition: opacity 0.2s;
  text-decoration: none;
}

.footer__col--quejas .hs-social-follow__link:hover {
  opacity: 0.75;
}

.footer__col--quejas .hs-social-follow__link img,
.footer__col--quejas .hs-social-follow__link svg {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* ── Responsive: tablet (2 cols) ─────────────────────────── */

@media (max-width: 1023px) {
  .footer__row {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

/* ── Responsive: mobile (1 col) ──────────────────────────── */

@media (max-width: 599px) {
  .footer__row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}
/* ============================================================
   Inversión — Sección plusvalía
   Valores exactos: Figma node 5895:2
   ============================================================ */

/* ── Wrapper: reference para el absolute de la imagen ─── */

.inversion-content {
  min-height:620px;    /* acomoda la imagen absolute en bottom */
  position: relative;
}

/* ── Columna izquierda: flujo normal, ≈ 45% ────────────── */

.inversion-content__left {
  max-width: 45%;
  position: relative;
  width: 45%;
  z-index: 1;           /* encima de la imagen */
}

.inversion-content__titulo {
  color: var(--secondary-color);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.inversion-content__cuerpo {
  color: var(--text-color);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  margin-bottom: 1.875rem;
}

.inversion-content__cuerpo p {
  margin: 0;
}

/* CTA — Figma: #f18f04, blanco, 277px ancho, ~46px alto */
.inversion-content__cta {
  background-color: var(--primary-color);
  color: #ffffff;
  display: inline-block;
  font-size: 17px;
  font-weight: var(--font-weight-heading-black);
  line-height: 1;
  min-width: 277px;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.22s, color 0.22s;
}

.inversion-content__cta:hover,
.inversion-content__cta:focus {
  background-color: var(--secondary-color);
  color: #ffffff;
  outline: none;
  font-weight: var(--font-weight-heading-black);
}

/* ── Infografía: absolute bottom-right + fade right→left ── */

.inversion-content__infografia {
  bottom: 0;
  display: block;
  height: auto;
  opacity: 0;
  position: absolute;
  right: 0;
  transform: translateX(60px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 80%;
  will-change: opacity, transform;
}

.inversion-content__infografia.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Fila 2: rich_text con extra_classes="inversion__footer"
   Figma: 20px Regular centrado, max-width 900px, lh 1.5
   ─────────────────────────────────────────────────────── */

.dnd-module:has(.inversion__footer) {
  border-top: 1px solid rgba(31, 20, 15, 0.12);
  margin-top: 2.75rem;
  padding-top: 2.5rem;
}

.dnd-module:has(.inversion__footer) h3 {
  color: var(--text-color);
  font-size: 20px;
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

/* ── Tablet (768px – 1023px) ───────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .inversion-content {
    min-height: 420px;
  }

  .inversion-content__left {
    max-width: 50%;
    width: 50%;
  }

  .inversion-content__titulo {
    font-size: 30px;
  }

  .inversion-content__cuerpo {
    font-size: 17px;
  }

  .inversion-content__infografia {
    width: 72%;
  }
}

/* ── Móvil (≤ 767px) ───────────────────────────────────── */

@media (max-width: 767px) {
  .inversion-content {
    min-height: 0;
  }

  .inversion-content__left {
    max-width: 100%;
    width: 100%;
  }

  .inversion-content__titulo {
    font-size: 28px;
  }

  .inversion-content__cuerpo {
    font-size: 17px;
  }

  .inversion-content__cta {
    min-width: 0;
    width: 100%;
  }

  /* En móvil: imagen sale del absolute, flujo normal, animación desactivada */
  .inversion-content__infografia {
    display: block;
    margin-top: 2rem;
    opacity: 1;
    transform: none;
    transition: none;
    position: static;
    width: 100%;
  }

  .dnd-module:has(.inversion__footer) h3 {
    font-size: 17px;
    text-align: left;
  }
}
/* ============================================================
   Amenidades — Slider + Grid de íconos
   ============================================================ */

/* ── Layout: 70% izquierda / 30% derecha ───────────────── */

.amenidades-content {
  align-items: flex-start;
  display: flex;
  gap: 48px;
}

/* ── Columna izquierda 70% ──────────────────────────────── */

.amenidades-content__left {
  display: flex;
  flex: 0 0 calc(70% - 24px);
  flex-direction: column;
  max-width: calc(70% - 24px);
}

/* Eyebrow — "¡+15 Amenidades!" */
.amenidades-content__eyebrow {
  color: var(--primary-color);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: var(--font-weight-heading-black);
  line-height: 1.1;
  margin: 0 0 12px;
}

/* Descripción */
.amenidades-content__titulo {
  color: #f5f3ef;
  font-size: 18px;
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  margin: 0 0 20px;
}

/* ── Slider ────────────────────────────────────────────── */

.amenidades-slider {
  width: 100%;
}

.amenidades-slider__track {
  aspect-ratio: 670 / 420;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.amenidades-slider__slide {
  height: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: opacity 0.5s ease;
  width: 100%;
}

.amenidades-slider__slide.is-active {
  cursor: zoom-in;
  opacity: 1;
  pointer-events: auto;
}

.amenidades-slider__slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ── Fila: nombre de amenidad + nav ─────────────────────── */

.amenidades-nombre-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  min-height: 52px;
}

/* Nombre dinámico actualizado por JS */
.amenidades-nombre-display {
  color: var(--primary-color);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin: 0;
}

/* Nav: botones circulares prev/next — ahora en la fila del nombre */
.amenidades-slider__nav {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.amenidades-slider__btn {
  align-items: center;
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50% !important;
  color: #f5f3ef;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.22s, color 0.22s;
  width: 44px;
}

.amenidades-slider__btn:hover,
.amenidades-slider__btn:focus {
  background-color: var(--primary-color);
  color: #ffffff;
  outline: none;
}

/* CTA */
.amenidades-content__cta {
  align-self: flex-start;
  background-color: var(--primary-color);
  color: #ffffff;
  display: inline-block;
  font-size: 17px;
  font-weight: var(--font-weight-heading-black);
  line-height: 1;
  margin-top: 20px;
  min-width: 182px;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.22s;
}

.amenidades-content__cta:hover,
.amenidades-content__cta:focus {
  background-color: #ffffff;
  color: var(--secondary-color);
  outline: none;
  font-weight: var(--font-weight-heading-black);
}

/* ── Grid derecha 30%: 3 columnas, solo íconos ──────────── */

.amenidades-grid {
  display: grid;
  flex: 0 0 calc(30% - 24px);
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 70px 0;
  padding: 0;
}

/* Cada celda es un cuadrado con el ícono centrado */
.amenidades-grid__item {
  align-items: center;
  aspect-ratio: 1;
  background-color: #352b25;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 0;
  transition: background-color 0.25s ease;
}

.amenidades-grid__item:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.amenidades-grid__item img {
  display: block;
  filter: brightness(0) invert(1);
  height: 36px;
  object-fit: contain;
  width: 36px;
}

/* Estado activo: fondo naranja */
.amenidades-grid__item.is-active {
  background-color: var(--primary-color);
}

/* ── Tablet (768px – 1023px) ───────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .amenidades-content {
    gap: 32px;
  }

  .amenidades-content__left {
    flex: 0 0 calc(65% - 16px);
    max-width: calc(65% - 16px);
  }

  .amenidades-grid {
    flex: 0 0 calc(35% - 16px);
  }

  .amenidades-content__eyebrow {
    font-size: 30px;
  }

  .amenidades-nombre-display {
    font-size: 20px;
  }
}

/* ── Móvil (≤ 767px) ───────────────────────────────────── */

@media (max-width: 767px) {
  .amenidades-content {
    flex-direction: column;
    gap: 2rem;
  }

  .amenidades-content__left {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .amenidades-grid {
    flex: none;
    width: 100%;
  }

  .amenidades-content__eyebrow {
    font-size: 28px;
  }

  .amenidades-content__cta {
    align-self: stretch;
    text-align: center;
  }
}

/* ============================================================
   Amenidades — Lightbox
   ============================================================ */

/* Slide activo: indica que se puede ampliar */
.amenidades-slider__slide.is-active {
  cursor: zoom-in;
}

/* Contenedor del lightbox — posición fixed (cubre toda la pantalla) */
.amenidades-lb {
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 9999;
}

.amenidades-lb[hidden] {
  display: none;
}

/* Overlay para cerrar al hacer clic fuera de la imagen */
.amenidades-lb__overlay {
  inset: 0;
  position: absolute;
}

/* Imagen centrada */
.amenidades-lb__dialog {
  position: relative;
  z-index: 1;
}

.amenidades-lb__img {
  display: block;
  max-height: 88vh;
  max-width: 88vw;
  object-fit: contain;
}

/* Botones compartidos */
.amenidades-lb__close,
.amenidades-lb__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: fixed;
  transition: background 0.2s ease;
  z-index: 2;
  padding:0;
}

.amenidades-lb__close:hover,
.amenidades-lb__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Botón cerrar — esquina superior derecha */
.amenidades-lb__close {
  height: 44px;
  right: 20px;
  top: 20px;
  width: 44px;
}

/* Botones prev / next — centrados en los laterales */
.amenidades-lb__nav {
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
}

.amenidades-lb__prev { left: 20px; }
.amenidades-lb__next { right: 20px; }

/* ── Lightbox móvil ─────────────────────────────────── */
@media (max-width: 767px) {
  .amenidades-lb__img {
    max-height: 80vh;
    max-width: 94vw;
  }

  .amenidades-lb__prev { left: 8px; }
  .amenidades-lb__next { right: 8px; }
}

/* ============================================================
   Ameniades prototipos — Edits para sección de prototipos (íconos + texto)
   ============================================================ */
.amenidades__heading-module h2{
  color: #ffffff;
  font-weight: var(--font-weight-heading);
  line-height: 1.1;
}
.amenidades__heading-module p{
    font-size: var(--font-size-base);
    color: #ffffffff;
}
/* ============================================================
   Prototipos — Slider con fondo dinámico
   Valores exactos: Figma node 5952:2
   ============================================================ */

/* ── Wrapper principal ─────────────────────────────────── */

.prototipos-slider {
  min-height: 815px;
  position: relative;
}

/* ── Layout: dos columnas ──────────────────────────────── */

.prototipos-slider__content {
  align-items: flex-start;
  display: flex;
  gap: 80px;
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}

/* ── Columna izquierda ─────────────────────────────────── */

.prototipos-slider__left {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

/* Título estático: 92px BwModelica Light */
.prototipos-slider__titulo {
  color: #f5f3ef;
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 300;
  line-height: 0.9;
  margin-bottom: 46px;
  margin-top: 0;
}

/* Paneles apilados con CSS Grid */
.prototipos-slider__left-panels {
  display: grid;
  flex: 1;
  min-height: 140px;
}

.prototipos-panel {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.prototipos-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.prototipos-panel__precio {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: var(--font-weight-heading);
  line-height: 1.5;
  margin: 0 0 8px;
}

.prototipos-panel__descripcion {
  color: #f5f3ef;
  font-size: 20px;
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  max-width: 570px;
}

.prototipos-panel__descripcion p {
  margin: 0;
}

/* Nav: botones circulares */
.prototipos-slider__nav {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.prototipos-slider__btn {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(245, 243, 239, 0.5);
  border-radius: 50%;
  color: #f5f3ef;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: border-color 0.22s, color 0.22s;
  width: 44px;
}

.prototipos-slider__btn:hover,
.prototipos-slider__btn:focus,
.prototipos-slider__btn:active {
  border-color: var(--primary-color);
  color: #ffffff;
  outline: none;
  border-radius: 50%;
}

/* ── Columna derecha: tarjetas apiladas ────────────────── */

.prototipos-slider__right {
  display: grid;
  flex: 0 0 460px;
  width: 460px;
}

/* Tarjeta prototipo — ahora es <a> que cubre toda la card */
.prototipos-card {
  background-color: #f6f5f0;
  color: inherit;
  display: flex;
  flex-direction: column;
  grid-area: 1 / 1;
  opacity: 0;
  padding: 20px 20px 0;
  pointer-events: none;
  text-decoration: none;
  transition: opacity 0.5s ease;
}

.prototipos-card.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Nombre del prototipo: 49px Regular */
.prototipos-card__nombre {
  color: #3a3a3a;
  font-size: clamp(32px, 3.4vw, 49px);
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin: 0 0 18px;
}

/* Imagen cover */
.prototipos-card__img-wrap {
  aspect-ratio: 528 / 336;
  overflow: hidden;
  width: 100%;
}

.prototipos-card__img-wrap img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

/* Hover en card activa: sutil zoom en la imagen */
.prototipos-card.is-active:hover .prototipos-card__img-wrap img {
  transform: scale(1.04);
}

/* Footer: feature + detalle + botón */
.prototipos-card__footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 0 20px;
}

.prototipos-card__info {
  flex: 1;
  min-width: 0;
}

/* Característica: 23px Regular #3a3a3a */
.prototipos-card__caracteristica {
  color: #3a3a3a;
  font-size: 17px;
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin: 0 0 4px;
}

/* Detalle: 20px Regular #95785e */
.prototipos-card__detalle {
  color: #95785e;
  font-size: 15px;
  font-weight: var(--font-weight-base);
  line-height: 1.2;
}

.prototipos-card__detalle p {
  margin: 0;
}

/* Botón CTA: 67×67 */
.prototipos-card__cta {
  display: block;
  flex-shrink: 0;
  height: 67px;
  width: 67px;
}

.prototipos-card__cta img {
  display: block;
  height: 100%;
  width: 100%;
}

/* ── Tablet (768px – 1023px) ───────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .prototipos-slider {
    min-height: 640px;
  }

  .prototipos-slider__content {
    gap: 40px;
  }

  .prototipos-slider__right {
    flex: 0 0 380px;
    width: 380px;
  }

  .prototipos-panel__descripcion {
    font-size: 18px;
  }

  .prototipos-card__caracteristica {
    font-size: 19px;
  }

  .prototipos-card__detalle {
    font-size: 17px;
  }
}

/* ── Móvil (≤ 767px) ───────────────────────────────────── */

@media (max-width: 767px) {
  .prototipos-slider {
    min-height: 0;
  }

  .prototipos-slider__content {
    flex-direction: column;
    gap: 2rem;
    padding: 60px 0 50px;
  }

  .prototipos-slider__left {
    width: 100%;
  }

  .prototipos-slider__right {
    flex: none;
    width: 100%;
  }

  .prototipos-panel__descripcion {
    font-size: 17px;
  }

  .prototipos-card__nombre {
    font-size: 32px;
  }

  .prototipos-card__caracteristica {
    font-size: 18px;
  }

  .prototipos-card__detalle {
    font-size: 16px;
  }
}
/* ============================================================
   Ubicación privilegiada — Mapa + Cercanías
   Valores exactos: Figma node 5972:2
   ============================================================ */

/* ── Layout dos columnas ───────────────────────────────── */

.ubicacion-content {
  align-items: center;
  display: flex;
  gap: 80px;
}

/* ── Columna izquierda: mapa ───────────────────────────── */

.ubicacion-content__left {
  flex: 0 0 41%;
  max-width: 41%;
}

/* Contenedor del zoom: overflow hidden para recortar la imagen ampliada */
.ubicacion-mapa__zoom {
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  width: 100%;
}

/*
  Animación fade-up usa `translate` (propiedad CSS individual).
  Zoom usa `scale` (propiedad CSS individual).
  Son independientes: no se pisan en los estados de transición.
*/
.ubicacion-mapa__img {
  display: block;
  height: auto;
  opacity: 0;
  pointer-events: none;        /* evita drag de imagen */
  scale: 1;
  translate: 0 40px;           /* fade-up inicial */
  transition:
    opacity 0.85s ease,
    translate 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    scale 0.45s ease;
  width: 100%;
  will-change: opacity, translate, scale;
}

/* Fade-up completado */
.ubicacion-mapa__img.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* Zoom: escala 2.5× al hacer hover — transform-origin cambia con el cursor (via JS) */
.ubicacion-mapa__zoom:hover .ubicacion-mapa__img.is-visible {
  scale: 3;
}

/* ── Columna derecha ───────────────────────────────────── */

.ubicacion-content__right {
  flex: 1;
  min-width: 0;
}

.ubicacion-content__titulo {
  color: var(--text-color);
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: 0;
}

.ubicacion-content__cuerpo {
  color: var(--text-color);
  font-size: 20px;
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.ubicacion-content__cuerpo p {
  margin: 0;
}

/* ── Grid cercanías (compartido con cercanias-zonas.module) */

.cercanias-grid {
  column-gap: 16px;
  display: grid;
  grid-template-columns: repeat(var(--cercanias-cols, 2), 1fr);
  margin-bottom: 2rem;
  row-gap: 10px;
}

/* Zona card: ícono oscuro + cuerpo claro */
.cercanias-card {
  align-items: stretch;
  display: flex;
}

/* Caja del ícono: 47×47 fondo #1f140f */
.cercanias-card__icon {
  align-items: center;
  background-color: var(--secondary-color);
  display: flex;
  flex-shrink: 0;
  height: 47px;
  justify-content: center;
  width: 47px;
}

.cercanias-card__icon img {
  display: block;
  height: 24px;
  object-fit: contain;
  width: 24px;
}

/* Cuerpo: bg #f5f3ef con borde sutil */
.cercanias-card__body {
  align-items: center;
  background-color: #f5f3ef;
  border: 0.2px solid rgba(31, 20, 15, 0.3);
  display: flex;
  flex: 1;
  justify-content: space-between;
  min-width: 0;
  padding: 4px 12px;
}

.cercanias-card__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

/* Nombre: 15px Regular #1f140f */
.cercanias-card__nombre {
  color: var(--text-color);
  display: block;
  font-size: 15px;
  font-weight: var(--font-weight-base);
  line-height: 1.2;
}

/* Subtítulo: 10px Regular #1f140f */
.cercanias-card__subtitulo {
  color: var(--text-color);
  display: block;
  font-size: 10px;
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin-top: 2px;
}

/* Tiempo: número 25px #95785e + unidad 11px */
.cercanias-card__tiempo {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-left: 8px;
}

.cercanias-card__num {
  color: #95785e;
  display: block;
  font-size: 25px;
  font-weight: var(--font-weight-base);
  line-height: 1;
}

.cercanias-card__unidad {
  color: var(--text-color);
  display: block;
  font-size: 11px;
  font-weight: var(--font-weight-base);
  line-height: 1;
}

/* ── CTA con ícono pin ─────────────────────────────────── */

.ubicacion-cta {
  align-items: center;
  background-color: var(--primary-color);
  color: #ffffff;
  display: inline-flex;
  font-size: 17px;
  font-weight: var(--font-weight-heading-black);
  gap: 10px;
  min-width: 231px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 0.22s;
}

.ubicacion-cta img {
  display: block;
  flex-shrink: 0;
  height: 23px;
  object-fit: contain;
  width: 23px;
}

.ubicacion-cta:hover,
.ubicacion-cta:focus {
  background-color: var(--secondary-color);
  color: #ffffff;
  outline: none;
  font-weight: var(--font-weight-heading-black);
}

/* ── Tablet (768px – 1023px) ───────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .ubicacion-content {
    gap: 40px;
  }

  .ubicacion-content__left {
    flex: 0 0 46%;
    max-width: 46%;
  }

  .ubicacion-content__titulo {
    font-size: 28px;
  }

  .ubicacion-content__cuerpo {
    font-size: 17px;
  }

  .cercanias-card__nombre {
    font-size: 13px;
  }

  .cercanias-card__num {
    font-size: 20px;
  }
}

/* ── Móvil (≤ 767px) ───────────────────────────────────── */

@media (max-width: 767px) {
  .ubicacion-content {
    flex-direction: column;
    gap: 2rem;
  }

  .ubicacion-content__left {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .ubicacion-content__titulo {
    font-size: 26px;
  }

  .ubicacion-content__cuerpo {
    font-size: 17px;
  }

  /* En móvil el grid pasa a 1 columna independientemente del campo cols */
  .cercanias-grid {
    grid-template-columns: 1fr !important;
  }

  .ubicacion-cta {
    justify-content: center;
    width: 100%;
  }
}
/* ============================================================
   Card — Ícono + Título + Texto (módulo reutilizable)
   ============================================================ */

.card-icono-grid {
  display: grid;
  gap: var(--ci-gap, 16px);
  grid-template-columns: repeat(var(--ci-cols, 3), 1fr);
}

.card-icono-item {
  background-color: var(--ci-card-bg, transparent);
  border: var(--ci-borde-px, 0px) solid var(--ci-borde-color, transparent);
  border-radius: var(--ci-borde-r, 0px);
  display: flex;
  flex-direction: column;
  padding: var(--ci-card-pad, 16px);
}

/* Fila superior: ícono + título */
.card-icono-item__top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

/* Contenedor del ícono con pseudo-element para opacidad del fondo */
.card-icono-item__icon-box {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: var(--ci-icono-pad, 16px);
  position: relative;
}

.card-icono-item__icon-box::before {
  background-color: var(--ci-icono-bg, #F18F04);
  content: '';
  inset: 0;
  opacity: var(--ci-icono-a, 1);
  position: absolute;
}

.card-icono-item__icon-box img {
  display: block;
  height: var(--ci-icono-sz, 32px);
  object-fit: contain;
  position: relative;
  width: var(--ci-icono-sz, 32px);
  z-index: 1;
}

.card-icono-item__titulo {
  color: var(--ci-t-color, #1F140F);
  flex: 1;
  font-size: var(--ci-t-size, 20px);
  font-weight: var(--font-weight-heading-black);
  line-height: 1.2;
  margin: 0;
}

.card-icono-item__cuerpo {
  color: var(--ci-c-color, #1F140F);
  font-size: var(--ci-c-size, 16px);
  font-weight: var(--font-weight-base);
  line-height: 1.5;
}

.card-icono-item__cuerpo p {
  margin: 0;
}

/* ── Variantes de posición del ícono ──────────────────── */

/* top-left: ícono encima del título como bloque */
.ci-pos--top-left .card-icono-item__top {
  align-items: flex-start;
  flex-direction: column;
}

/* top-center: ícono centrado encima */
.ci-pos--top-center .card-icono-item__top {
  align-items: center;
  flex-direction: column;
}

/* inline-left (default): ya es row, no override necesario */

/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 767px) {
  .card-icono-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ============================================================
   Certificación EDGE + Oportunidades
   Valores exactos: Figma node 5988:2
   ============================================================ */

/* ── EDGE: título H3 (en @hubspot/rich_text) ──────────── */

.certif-edge-titulo {
  color: #f5f3ef;
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: var(--font-weight-heading-black);
  line-height: 1.2;
  margin: 0 auto 2.5rem;
  max-width: 860px;
  text-align: center;
}

/* ── Oportunidades: efecto dos colores ─────────────────── */

/*
  La sección oportunidades (bg cream #f5f3ef) contiene un .row-fluid
  con bg blanco que sube 166px hacia la zona oscura de arriba.
  Se aplica al dnd-section que contiene .oportunidades-grid
  (extra_class del card-icono.module).
*/
.dnd-section:has(.oportunidades-grid) {
  position: relative;
  z-index: 2;
}

.dnd-section:has(.oportunidades-grid) > .row-fluid {
  background: #ffffff;
  margin-top: -166px;
  padding: 40px 20px;
}

/* ── Columna izquierda (via @hubspot/rich_text) ─────────── */

/* Logo ya manejado por @hubspot/image */

/* H3: 42px Regular */
.oportunidades-titulo {
  color: var(--text-color);
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: var(--font-weight-base);
  line-height: 1.1;
  margin: 0 0 1rem;
}

/* Descripción */
.oportunidades-cuerpo {
  color: var(--text-color);
  font-size: 20px;
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  margin: 0 0 1.75rem;
}

/* CTA botón naranja (link estilizado en rich_text) */
.oportunidades-cta {
  background-color: var(--primary-color);
  color: #ffffff;
  display: inline-block;
  font-size: 17px;
  font-weight: var(--font-weight-heading-black);
  line-height: 1;
  padding: 14px 24px;
  text-decoration: none;
  transition: background-color 0.22s;
}

.oportunidades-cta:hover,
.oportunidades-cta:focus {
  background-color: var(--secondary-color);
  color: #ffffff;
  font-weight: var(--font-weight-heading-black);
  outline: none;
}

/* ── Tablet (768px – 1023px) ───────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .certif-edge-titulo {
    font-size: 28px;
  }

  .oportunidades-titulo {
    font-size: 28px;
  }

  .oportunidades-cuerpo {
    font-size: 17px;
  }
}

/* ── Móvil (≤ 767px) ───────────────────────────────────── */

@media (max-width: 767px) {
  .dnd-section:has(.oportunidades-grid) > .row-fluid {
    margin-top: -80px;
    padding: 30px 16px;
  }

  .oportunidades-cta {
    display: block;
    text-align: center;
    width: 100%;
  }
}
/* ============================================================
   SECCIÓN: CONTACTO
   ============================================================ */

/* ── Overlay sobre imagen de fondo ──────────────────────────── */

.dnd-section:has(.contacto__heading-module) {
  position: relative;
}

.dnd-section:has(.contacto__heading-module) .row-fluid {
  position: relative;
  z-index: 1;
}
.form-title, .submitted-message, form {
    background-color: transparent !important;
    border: none !important;
}
/* ── Columna izquierda ────────────────────────────────────── */

.contacto__heading-module h2 {
  color: #ffffff;
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  line-height: 1.25;
  margin: 0 0 1.25rem;
}
.prototipos-contacto__heading h2{
  color: var(--heading-color);
}

.contacto__desc-module p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
  margin: 0 0 1.75rem;
}
.prototipos-contacto__desc p{
  color: var(--heading-color);
}

/* ── Columna derecha: contenedor del formulario ──────────── */

.contacto__form-label {
  color: var(--primary-color);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0px 0px  15px;
}
.form-title, form label, form legend {
  color: var(--primary-color);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-heading);
  margin: 0px 0px 5px;
}
.hs-form-field {
    margin-bottom: 0.6rem;
}
form .hs-button, form input[type=submit] {
  background-color: var(--primary-color) !important;
  border: none !important;
  border-radius: 0 !important;
  color: #fff !important;
}

.legal-consent-container .hs-richtext {
    font-size: var(--font-size-disclaimer);
    margin: 0px 0px 10px;
}
/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 767px) {
  .dnd-column:has(.contacto__form-module) {
    padding: 0rem;
    margin-top: 2rem;
  }
  .contacto__heading-module h2 {
    margin: 0 0 .25rem;
  }
  .contacto__desc-module p {
    margin: 0 0 .75rem;
  }
}


/* ── Columna derecha: tarjeta del formulario ────────────── */

.contacto__form-module {
  background-color: #F8FAFF;
  border: 1px solid #DADAF0;
  border-radius: 12px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
  padding: 1.5rem 1.5rem;
}

/* Título del formulario ("FORMULARIO DE CONTACTO") */
.contacto__form-module .form-title,
.contacto__form-module h3 {
  color: var(--primary-color, #E0001A);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
  padding: 0px 0px 16px;
  margin-bottom: 0 !important;
}

/* ── Campos ─────────────────────────────────────────────── */

.contacto__form-module .hs-form-field {
  margin-bottom: 10px;
}

.contacto__form-module .hs-form-field > label {
  color: var(--secondary-color, #152638);
  display: block;
  font-size: var(--font-size-base);
  font-weight: 500;
  margin-bottom: 0px;
}

.contacto__form-module input.hs-input,
.contacto__form-module select.hs-input,
.contacto__form-module textarea.hs-input {
  background-color: #F4F5F7;
  border: 1px solid #F4F5F7;
  border-radius: 4px;
  color: var(--text-color, #2D2D2D);
  font-size: var(--font-size-base);
  padding: 5px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100% !important;
}

.contacto__form-module input.hs-input:focus,
.contacto__form-module select.hs-input:focus,
.contacto__form-module textarea.hs-input:focus {
  border-color: var(--secondary-color, #152638);
  box-shadow: 0 0 0 3px rgba(21, 38, 56, 0.08);
  outline: none;
}

form .legal-consent-container .hs-richtext,
form .legal-consent-container .hs-richtext p {
    font-size: 10px;
    margin: 0px 0px 10px;
    line-height: 1.1;
}

/* Dropdown chevron */
.contacto__form-module select.hs-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23152638' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Layout 2 columnas para Nombre+Apellido y Correo+Teléfono */
.contacto__form-module .hs-form .form-columns-2 {
  display: flex;
  gap: 1rem;
}

.contacto__form-module .hs-form .form-columns-2 .hs-form-field {
  flex: 1;
  min-width: 0;
}

/* Checkbox aviso de privacidad */
.contacto__form-module .legal-consent-container,
.contacto__form-module .hs-form-field.hs-fieldtype-booleancheckbox {
  margin-bottom: 1.25rem;
}

.contacto__form-module .hs-form-booleancheckbox-display,
.contacto__form-module .hs-form-booleancheckbox {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.contacto__form-module .hs-form-booleancheckbox input[type="checkbox"],
.contacto__form-module .legal-consent-container input[type="checkbox"] {
  accent-color: var(--primary-color, #E0001A);
  flex-shrink: 0;
  height: 15px;
  width: 17px !important;
  margin: 0;
}
.legal-consent-container .hs-form-booleancheckbox-display>span {
  margin-left: 10px !important;
}

.contacto__form-module .hs-form-booleancheckbox label,
.contacto__form-module .legal-consent-container label,
.contacto__form-module .legal-consent-container p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1;
  margin: 0 !important;
  gap: 0;
}

form .inputs-list > li{margin:0px}

/* ── Botón submit ────────────────────────────────────────── */

.contacto__form-module .hs-submit,
.contacto__form-module .hs_submit {
  margin-top: 0.25rem;
}

.contacto__form-module .hs-button,
.contacto__form-module input[type="submit"] {
  background-color: var(--primary-color, #E0001A);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  transition: background-color 0.2s ease;
  width: 100%;
}

.contacto__form-module .hs-button:hover,
.contacto__form-module input[type="submit"]:hover {
  background-color: #b5001a;
}

/* Mensajes de error */
.contacto__form-module .hs-error-msg {
  color: var(--primary-color, #E0001A);
  font-size:11px;
  margin-top: 0.25rem;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 767px) {
  .contacto__form-module {
    padding: 1.5rem 1.25rem;
  }

  .contacto__form-module .hs-form .form-columns-2 {
    flex-direction: column;
    gap: 0;
  }
}
/* ============================================================
   SECCIÓN: FAQ
   ============================================================ */

.faq__heading-module h2 {
  color: var(--heading-color);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  margin: 0 0 2rem;
}

.faq__module-wrapper {
  margin: 0 auto;
}
/* ============================================================
   Prototipo — Página de detalle
   Sección: prototipo-hero.html
   ============================================================ */

/* ── Sección: overlay oscuro + 90vh mínimo ─────────────── */

.dnd-section:has(.proto-hero-eyebrow) {
  min-height: 90vh;
  position: relative;
}

/* Overlay sobre la imagen de fondo */
.dnd-section:has(.proto-hero-eyebrow)::before {
  background: rgba(12, 6, 2, 0);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

/* Contenido por encima del overlay */
.dnd-section:has(.proto-hero-eyebrow) > .row-fluid {
  position: relative;
  z-index: 1;
}

/* ── Eyebrow H2 ─────────────────────────────────────────── */

.proto-hero-eyebrow {
  text-align: center;
}

.proto-hero-eyebrow h2 {
  color: var(--primary-color);
  font-size: 35px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 60px 0px 0px;
}

/* ── Título H1 ──────────────────────────────────────────── */

.proto-hero-titulo {
  text-align: center;
}

.proto-hero-titulo h1 {
  color: #ffffff;
  font-size: clamp(38px, 3vw, 57px);
  font-weight: var(--font-weight-base);
  line-height: 1.1;
  margin: 30px auto;
  max-width: 900px;
}

/* ── Descripción richtext ───────────────────────────────── */

.proto-hero-cuerpo {
  text-align: center;
}

.proto-hero-cuerpo p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 700px;
}

/* ── Módulo: Precio ─────────────────────────────────────── */

.proto-precio-caract {
  text-align: center;
  margin-top: 15vh;
}

.proto-precio-caract__top {
  padding: 15px 1rem;
}

/* Precio H3 — grande naranja */
.proto-precio-caract__precio {
  color: var(--primary-color);
  font-size: 40px;
  font-weight: var(--font-weight-heading);
  line-height: 1.1;
  margin: 0 0 10px;
}

/* Disclaimer */
.proto-precio-caract__disclaimer {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--font-size-disclaimer);
  font-weight: var(--font-weight-base);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 800px;
}

/* ── Zona blanca con línea naranja ──────────────────────── */

/*
  El .dnd-column tiene padding: 0 1rem (ver _containers-dnd.css).
  Compensamos con margin negativo de -1rem para que el fondo
  blanco y la línea naranja lleguen a los bordes de la sección
  sin usar trucos de 100vw que generan scroll horizontal.
*/
.proto-precio-caract__grid-wrap {
  background: var(--heading-color);
  margin-left: -1rem;
  margin-right: -1rem;
  padding-top: 5px; /* espacio para el ::before naranja */
  position: relative;
}

/* Línea separadora naranja */
.proto-precio-caract__grid-wrap::before {
  background: var(--primary-color);
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* Grid de ítems */
.proto-precio-caract__grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

/* ── Ítem de característica ─────────────────────────────── */

.proto-caract-item {
  align-items: center;
  display: flex;
  gap: 14px;
  padding: 28px 20px;
}

/* Separador vertical entre ítems */
.proto-caract-item:not(:last-child) {
  border-right: 1px solid rgba(31, 20, 15, 0.12);
}

/* Ícono */
.proto-caract-item__icon-wrap {
  flex-shrink: 0;
}

.proto-caract-item__icon {
  display: block;
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%)
          saturate(650%) hue-rotate(350deg) brightness(102%) contrast(102%);
  height: 40px;
  object-fit: contain;
  width: 40px;
}

/* Texto */
.proto-caract-item__texto {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.proto-caract-item__nombre {
  color: #ffffff;
  display: block;
  font-size: 18px;
  font-weight: var(--font-weight-heading);
  line-height: 1.25;
}

.proto-caract-item__subtitulo {
  color: #ffffff;
  display: block;
  font-size: 13px;
  font-weight: var(--font-weight-base);
  line-height: 1.4;
  margin-top: 3px;
  opacity: 0.7;
}

/* ── Tablet (768px – 1023px) ────────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .proto-hero-titulo h1 {
    font-size: 42px;
  }
  .proto-precio-caract__precio {
    font-size: 42px;
  }

  .proto-precio-caract__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proto-caract-item:nth-child(2) {
    border-right: 1px solid rgba(31, 20, 15, 0.12);
  }

  .proto-caract-item:nth-child(even) {
    border-right: none;
  }
}

/* ── Móvil (≤ 767px) ────────────────────────────────────── */

@media (max-width: 767px) {
  .proto-hero-titulo h1 {
    font-size: 34px;
  }
  
  .proto-precio-caract {
    margin-top: 5vh;
  }

  .proto-precio-caract__top {
    padding: 28px 1rem 24px;
  }

  .proto-precio-caract__precio {
    font-size: 36px;
  }

  /* En móvil el column no tiene padding, restauramos margen */
  .proto-precio-caract__grid-wrap {
    margin-left: 0;
    margin-right: 0;
  }

  .proto-precio-caract__grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .proto-caract-item {
    border-bottom: 1px solid rgba(31, 20, 15, 0.12);
    border-right: none !important;
    padding: 16px 20px;
  }

  .proto-caract-item:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   Plano / Distribución — prototipos-plano.html
   Módulos nativos: @hubspot/image + @hubspot/rich_text
   ============================================================ */

/* ── Columna izquierda: imagen con zoom lupa (JS en main.js) ── */

/*
  extra_classes="protoplano-img-zoom" → .dnd-module wrapper.
  JS en main.js: IntersectionObserver fade-up + mousemove scale
  siguiendo el cursor. Overflow hidden en toda la cadena.
*/
.protoplano-img-zoom,
.protoplano-img-zoom > *,
.protoplano-img-zoom > * > * {
  cursor: zoom-in;
  overflow: hidden;
}

.protoplano-img-zoom img {
  display: block;
  width: 100%;
}

/* ── Columna derecha: heading + richtext + botón ─────────── */

/*
  Un solo dnd_row: la imagen flota izquierda (span5), los tres
  módulos del lado derecho (span7 offset5) se apilan verticalmente
  aprovechando el float de Bootstrap. Padding-left compartido
  para alinear el contenido con el gutter de columna.
*/
.protoplano-heading,
.protoplano-content,
.protoplano-cta {
  padding-left: 60px;
}

/* H2 — título */
.protoplano-content h2 {
  color: #ffffff;
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: var(--font-weight-base);
  line-height: 1.2;
  margin: 0;
}
.protoplano-content h4 {
  color: #ffffff;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: var(--font-weight-base);
  line-height: 1.4;
  margin: 15px 0 1rem;
}

/* Párrafos */
.protoplano-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: var(--font-weight-base);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

/* H3 — Planta Baja naranja, Planta Alta blanca */
.protoplano-content h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: var(--font-weight-heading);
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
}

.protoplano-content h3:first-of-type {
  color: var(--primary-color);
}

/* Botón */
.protoplano-cta .btn-primary {
  display: inline-block;
}

/* ── Tablet (768px – 1023px) ─────────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .protoplano-heading,
  .protoplano-content,
  .protoplano-cta {
    padding-left: 32px;
  }

  .protoplano-heading h2 {
    font-size: 28px;
  }

  .protoplano-content h3 {
    font-size: 19px;
  }
}

/* ── Móvil (≤ 767px) ─────────────────────────────────────── */

@media (max-width: 767px) {
  .protoplano-heading,
  .protoplano-content,
  .protoplano-cta {
    padding-left: 0;
    padding-top: 1rem;
  }

  .protoplano-heading h2 {
    font-size: 26px;
  }

  .protoplano-cta .btn-primary {
    display: block;
    text-align: center;
    width: 100%;
  }
}
/* ============================================================
   CTA Footer — módulo cta-footer
   Dos columnas 1/3 (oscura) + 2/3 (imagen fill)
   ============================================================ */

.cta-footer {
  display: flex;
  min-height: 380px;
  overflow: hidden;
  gap:20px;
}

/* ── Columna izquierda 1/3 ───────────────────────────────── */

.cta-footer__izq {
  background-color: #1F140F;
  display: flex;
  flex: 0 0 33.333%;
  flex-direction: column;
  gap: 28px;
  max-width: 33.333%;
  padding: 48px 40px;
}

/* Logo */
.cta-footer__logo {
  display: block;
  height: auto;
  max-width: 180px;
  width: 100%;
}

/* Richtext — crece para empujar el botón al fondo */
.cta-footer__texto {
  flex: 1;
}

.cta-footer__texto p {
  color: #ffffff;
  font-size: 18px;
  font-weight: var(--font-weight-base);
  line-height: 1.3;
  margin: 40px 0px 0px;
}

/* Botón alineado al inicio (izquierda) */
.cta-footer__btn {
  align-self: flex-start;
}
.cta-footer__btn:hover, .cta-footer__btn:focus {
  opacity: 0.85;
  transform: translateY(-2px);
  background-color: var(--primary-color);
  transition: opacity 0.2s ease, transform 0.2s ease;
  
}

/* ── Columna derecha 2/3: imagen fill cover ──────────────── */

.cta-footer__der {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.cta-footer__img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

/* ── Tablet (768px – 1023px) ─────────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .cta-footer__izq {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 36px 28px;
  }

  .cta-footer__texto p {
    font-size: 20px;
  }
}

/* ── Móvil (≤ 767px) ─────────────────────────────────────── */

@media (max-width: 767px) {
  .cta-footer {
    flex-direction: column;
    min-height: 0;
    gap:0px; 
  }

  .cta-footer__izq {
    flex: none;
    max-width: 100%;
    padding: 36px 24px;
  }

  .cta-footer__btn {
    align-self: stretch;
    text-align: center;
  }

  .cta-footer__der {
    min-height: 220px;
  }
  
  .cta-footer__texto p {
    margin: 20px 0px;
  }
}

/* ── Fila con imagen de fondo: esquinas redondeadas ─────── */

.dnd-row:has(.call-to-action-section) {
  border-radius: 20px;
  overflow: hidden;
}

/* ── Contenido centrado ──────────────────────────────────── */

.call-to-action-section h2 {
  color: #ffffff;
    font-weight: var(--font-weight-thin);
    margin: 0px 0px 5px;
}

.call-to-action-section p {
  color: rgb(255 255 255);
  font-size: var(--font-size-base);
  line-height: 1.1;
  margin: 20px auto 15px;
  max-width: 80%;
}
.call-to-action-section__button .button {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000 !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-heading);
  border-radius: 0px;
  margin-top: 30px;
}

.call-to-action-section__button .button:hover,
.call-to-action-section__button .button:focus {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #ffffff !important;
  border-radius: 0px;
}
/* ── Responsive – Mobile (≤ 767px) ──────────────────────── */

@media (max-width: 767px) {
  .dnd-row:has(.call-to-action-section) {
    border-radius: 12px;
  }
}
/* ============================================================
   PROTOTIPO – EDGE
   Sección certificación: logo + heading + descripción centrados
   ============================================================ */

/* ── Logo ────────────────────────────────────────────────── */

.proto-edge__logo-module {
  text-align: center;
  margin-bottom: 1.5rem;
}

.proto-edge__logo-module img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: inline-block;
}

/* ── Heading ─────────────────────────────────────────────── */

.proto-edge__heading-module h2 {
  color: var(--heading-color);
  font-size: var(--font-size-subheading);
  font-weight: var(--font-weight-thin);
  line-height: 1.2;
  margin: 0 0 1rem;
  text-align: center;
}

/* ── Descripción ─────────────────────────────────────────── */

.proto-edge__desc-module p {
  color: var(--text-color);
  font-size: var(--font-size-base);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  margin-bottom: 30px;
}

.proto-edge__desc-module strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ── Responsive – Mobile (≤ 767px) ──────────────────────── */

@media (max-width: 767px) {
  .dnd-section:has(.proto-edge__logo-module) .dnd-column {
    width: 100% !important;
  }

  .proto-edge__logo-module img {
    max-width: 180px;
  }

  .proto-edge__heading-module h2 {
    font-size: 28px;
  }
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */
.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

html {
  scroll-behavior: smooth;
}