/* Mazda Ecuador Theme — Main Stylesheet */

/* 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
*/

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

*, *: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.)
*/

@font-face
{
	font-family: "Mazda Type";
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Regular.eot");
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Regular.eot#amocristalab") format("embedded-opentype"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Regular.woff") format("woff"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face
{
	font-family: "Mazda Type Italic";
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Italic.eot");
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Italic.eot#amocristalab") format("embedded-opentype"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Italic.woff") format("woff"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Italic.ttf") format("truetype");
  font-display: swap;
}
@font-face
{
	font-family: "Mazda Type Medium";
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Medium.eot");
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Medium.eot#amocristalab") format("embedded-opentype"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Medium.woff") format("woff"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Medium.ttf") format("truetype");
  font-display: swap;
}
@font-face
{
	font-family: "Mazda Type Medium Italic";
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-MediumItalic.eot");
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-MediumItalic.eot#amocristalab") format("embedded-opentype"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-MediumItalic.woff") format("woff"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-MediumItalic.ttf") format("truetype");
  font-display: swap;
}
@font-face
{
	font-family: "Mazda Type Bold";
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Bold.eot");
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Bold.eot#amocristalab") format("embedded-opentype"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Bold.woff") format("woff"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-Bold.ttf") format("truetype");
  font-display: swap;
}
@font-face
{
	font-family: "Mazda Type Bold Italic";
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-BoldItalic.eot");
	src: url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-BoldItalic.eot#amocristalab") format("embedded-opentype"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-BoldItalic.woff") format("woff"),
		url("https://4560037.fs1.hubspotusercontent-na1.net/hubfs/4560037/MAZDA/Imagen%20de%20Marca/Tipografia/Mazda%20Type/MazdaType-BoldItalic.ttf") format("truetype");
  font-display: swap;
}

body {
  font-family: "Mazda Type", sans-serif;
}
\n/* 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;
}

/* 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;
}


/* 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
*/

/* ==========================================================================
   Header — Mazda Theme
   ========================================================================== */

/* Reset any boilerplate header styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #000000;
}

/* Utility bar (top) */
.mazda-header__utility {
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mazda-header__utility-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 36px;
}

.mazda-header__utility-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mazda-header__utility-links a {
  font-family: 'Mazda Type', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.mazda-header__utility-links a:hover {
  color: #ffffff;
}

.mazda-header__utility-search {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.mazda-header__utility-search:hover {
  color: #ffffff;
}

.mazda-header__utility-search svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.mazda-header__utility-search span {
  font-family: 'Mazda Type', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main navigation */
.mazda-header__main {
  background-color: #000000;
  position: relative;
}

.mazda-header__main-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo */
.mazda-header__logo {
  flex-shrink: 0;
}

.mazda-header__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mazda-header__logo img {
  height: 40px;
  width: auto;
}

/* Nav */
.mazda-header__nav {
  display: flex;
  align-items: center;
}

.mazda-header__nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mazda-header__nav-item {
  position: relative;
}

.mazda-header__nav-item--has-mega {
  position: static;
}

.mazda-header__nav-link {
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-family: 'Mazda Type', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.3s ease;
}

.mazda-header__nav-link:hover {
  color: #ffffff;
  border-bottom: 2px solid #B11226;
  text-decoration: none;
}

/* Mobile toggle */
.mazda-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.mazda-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mazda-header__toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mazda-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mazda-header__toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mega Menu — styling lives in modules/mega-menu.module/module.css
   (keeping a second, conflicting copy here caused it to render broken
   and to be force-hidden on mobile) */

/* Mobile styles */
@media (max-width: 1024px) {
  .mazda-header__utility-inner {
    padding: 0 20px;
  }

  .mazda-header__main-inner {
    padding: 0 20px;
    height: 60px;
  }

  .mazda-header__nav-link {
    padding: 0 16px;
    font-size: 16px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 767px) {
  .mazda-header__utility {
    display: none;
  }

  .mazda-header__toggle {
    display: flex;
  }

  .mazda-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #000000;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .mazda-header__nav.is-open {
    right: 0;
  }

  .mazda-header__nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .mazda-header__nav-link {
    height: auto;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
  }

  .mazda-header__nav-link::after {
    display: none;
  }

  .mazda-header__nav-link.is-active {
    color: #ffffff;
  }

  /* Overlay */
  .mazda-header__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .mazda-header__overlay.is-visible {
    display: block;
  }
}
/* ==========================================================================
   Footer — Mazda Theme
   ========================================================================== */

.mazda-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 90px 0 0;
}

.mazda-footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}

/* Footer top — columns grid */
.mazda-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  /* Wider newsletter and slogan columns */
  gap: 40px;
  padding-bottom: 70px;
}

/* Slogan Column */
.mazda-footer__column--slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mazda-footer__logo-wrap {
  margin-bottom: 24px;
}

.mazda-footer__logo {
  max-height: 60px;
  width: auto;
  display: block;
}

.mazda-footer__logo-svg {
  display: block;
}

.mazda-footer__slogan {
  font-family: 'Mazda Type', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
}

.mazda-footer__slogan-divider {
  width: 60px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Column headings */
.mazda-footer__heading {
  font-family: 'Mazda Type', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #ffffff;
  margin: 0 0 28px;
}

/* Footer links */
.mazda-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mazda-footer__links li {
  margin-bottom: 14px;
}

.mazda-footer__links a {
  font-family: 'Mazda Type', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 1.5px;
}

.mazda-footer__links a:hover {
  color: #ffffff;
}

/* Newsletter column */
.mazda-footer__newsletter-text {
  font-family: 'Mazda Type', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 0 24px;
  letter-spacing: 1.5px;
}

.mazda-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  width: 100%;
}

.mazda-footer__newsletter-input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  color: #ffffff;
  font-family: 'Mazda Type', sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-sizing: border-box;
  width: 100%;
}

.mazda-footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 16px;
}

.mazda-footer__newsletter-input:focus {
  border-color: rgba(255, 255, 255, 0.8);
}

.mazda-footer__newsletter-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 2px;
  font-family: 'Mazda Type', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 24px;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.mazda-footer__newsletter-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Footer bottom */
.mazda-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 0 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Social icons without borders or background circles */
.mazda-footer__social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.mazda-footer__social-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mazda-footer__social-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.mazda-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Meta section (Legal + Copyright) on the right */
.mazda-footer__meta {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: 'Mazda Type', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mazda-footer__meta a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.mazda-footer__meta a:hover {
  color: #ffffff;
}

.mazda-footer__copyright {
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  padding: 0;
  border: none;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

/* Responsive */
@media (max-width: 1024px) {
  .mazda-footer {
    padding: 70px 0 0;
  }

  .mazda-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 50px;
  }

  .mazda-footer__container {
    padding: 0 35px;
  }

  .mazda-footer__bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 30px 0 40px;
  }

  .mazda-footer__meta {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .mazda-footer {
    padding: 50px 0 0;
  }

  .mazda-footer__container {
    padding: 0 20px;
  }

  .mazda-footer__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .mazda-footer__column--slogan {
    align-items: center;
    text-align: center;
  }

  .mazda-footer__newsletter-form {
    max-width: 100%;
  }

  .mazda-footer__heading {
    text-align: center;
    margin-bottom: 18px;
  }

  .mazda-footer__links {
    text-align: center;
  }

  .mazda-footer__newsletter-text {
    text-align: center;
  }
}
/* ==========================================================================
   Animations — Mazda Theme
   ========================================================================== */

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fade in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide in from left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale in */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utility animation classes */
.mazda-animate {
  opacity: 0;
}

.mazda-animate.is-visible {
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mazda-animate.is-visible.fade-in {
  animation-name: fadeIn;
}

.mazda-animate.is-visible.fade-in-up {
  animation-name: fadeInUp;
}

.mazda-animate.is-visible.fade-in-down {
  animation-name: fadeInDown;
}

.mazda-animate.is-visible.slide-in-left {
  animation-name: slideInLeft;
}

.mazda-animate.is-visible.slide-in-right {
  animation-name: slideInRight;
}

.mazda-animate.is-visible.scale-in {
  animation-name: scaleIn;
}

/* Staggered delays */
.mazda-animate.delay-1 { animation-delay: 0.1s; }
.mazda-animate.delay-2 { animation-delay: 0.2s; }
.mazda-animate.delay-3 { animation-delay: 0.3s; }
.mazda-animate.delay-4 { animation-delay: 0.4s; }
.mazda-animate.delay-5 { animation-delay: 0.5s; }

/* Smooth transitions for interactive elements */
.mazda-transition {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mazda-transition-fast {
  transition: all 0.15s ease;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .mazda-animate,
  .mazda-animate.is-visible {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .mazda-transition,
  .mazda-transition-fast {
    transition: none !important;
  }
}
/* 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%;
}
/* ==========================================================================
   Floating Menu — Mazda Theme
   Matches Figma "Botones" (node 237:2047): dark glass pill, desktop = horizontal
   bottom-center bar with labels, mobile = vertical icon-only rail on the right.
   ========================================================================== */

.floating-menu {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background-color: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.floating-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.2s ease;
}

.floating-menu__item:hover {
  opacity: 0.7;
}

.floating-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.floating-menu__icon svg {
  width: 100%;
  height: 100%;
}

.floating-menu__label {
  font-family: "Mazda Type", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Mobile: vertical icon-only rail, fixed to the right edge */

@media (max-width: 767px) {
  .floating-menu {
    left: auto;
    right: 16px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 12px;
    padding: 14px 10px;
    border-radius: 40px;
  }

  .floating-menu__item {
    padding: 0;
  }

  .floating-menu__label {
    display: none;
  }
}

/* ==========================================================================
   Floating Menu — Red variant (vehicle/model pages)
   Matches Figma "Botones" (node 237:2047): single continuous red maroon glass
   pill (WhatsApp included as a regular item, not a separate circle). Used by
   both the auto-inserted /vehiculo/ partial and the floating-menu-model
   module (for pages that need custom per-model links).
   ========================================================================== */

.floating-menu-red {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 900;
}

.floating-menu-red .floating-menu__pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background-color: rgba(158, 27, 50, 0.37);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.floating-menu-red .floating-menu__item {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .floating-menu-red {
    left: auto;
    right: 16px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .floating-menu-red .floating-menu__pill {
    flex-direction: column;
    gap: 12px;
    padding: 14px 10px;
  }

  .floating-menu-red .floating-menu__item {
    padding: 0;
  }

  .floating-menu-red .floating-menu__label {
    display: none;
  }
}

/* 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;
  }
}