/* FUENTES LOCALES — similares a la referencia Light / Oblique / Bold */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-light-oblique.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-oblique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-bold-oblique.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* IDENTIDAD OFICIAL — paleta suministrada por DEALERNEW */
:root {
  --brand-red: #CE242B;
  --brand-blue: #0075B2;
  --brand-gray: #CFD6D3;
  --red-hover: #AA1D23;
  --blue-hover: #005D8E;
  --red-soft: #FCF0F1;
  --blue-soft: #EEF6FB;
  --deep-blue: #06334B;
  --ink: #231F20;
  --black: var(--ink);
  --white: #fff;
  --muted: #596361;
  --gray: var(--muted);
  --light: #F3F6F5;
  --line: var(--brand-gray);
  --font-title: 'Roboto', Arial, sans-serif;
  --font-subtitle: 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --width: 1260px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

img {
  display: block;
  width: 100%;
  object-fit: cover
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent
}

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 5px
}

::selection {
  background: var(--brand-blue);
  color: var(--white)
}

.wrap {
  width: min(var(--width), calc(100% - 88px));
  margin: auto
}

.section {
  padding: 100px 0
}

.tag {
  font-family: var(--font-subtitle);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--brand-blue);
}

.tag:before {
  content: '';
  height: 2px;
  width: 28px;
  background: var(--brand-red);
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.7px;
  text-transform: uppercase;
  font-style: normal;
}

h2 {
  font-size: clamp(32px, 4.2vw, 58px)
}

h3 {
  font-family: var(--font-subtitle);
  letter-spacing: -.3px;
  line-height: 1.25;
  font-weight: 400;
  font-style: italic;
}

p {
  font-size: 18px
}

.brand-highlight {
  color: var(--brand-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 54px;
  padding: 15px 22px;
  font-family: var(--font-subtitle);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: uppercase;
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 12px;
  transition: transform .25s, background .25s;
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--blue-hover);
}

.btn span {
  font-size: 20px
}

.outline {
  background: transparent;
  border-color: #ffffff66;
  color: var(--white);
}

.outline:hover {
  background: var(--white);
  color: var(--brand-blue);
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 2px solid var(--brand-blue);
  padding: 15px 0;
  background: transparent;
  font-family: var(--font-subtitle);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px
}

.textlink span {
  font-size: 22px
}

.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px
}

.heading>p {
  max-width: 330px;
  color: var(--muted)
}

.skip {
  position: fixed;
  left: 10px;
  top: 10px;
  background: var(--brand-blue);
  padding: 12px;
  z-index: 200;
  transform: translateY(-200%)
}

.skip:focus {
  transform: none
}

/* HEADER */
header {
  position: fixed;
  inset: 0 0 auto;
  background: var(--white);
  z-index: 100;
  transition: box-shadow .3s
}

header.scrolled {
  box-shadow: 0 3px 18px #00000012
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.logo {
  width: 260px;
  flex-shrink: 0
}

.logo img {
  height: 74px;
  object-fit: contain
}

nav {
  display: flex;
  gap: 25px
}

nav a {
  padding: 10px 0;
  font-family: var(--font-subtitle);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative
}

nav a:after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width .3s
}

nav a:hover:after,
nav a.active:after {
  width: 100%
}

.header-btn {
  min-height: 44px;
  padding: 10px 16px;
  gap: 18px
}

.menu {
  display: none;
  background: transparent;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line)
}

.menu i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto
}

/* PORTADA */
.hero {
  background: var(--deep-blue);
  color: var(--white);
  padding-top: 88px;
  position: relative;
  overflow: hidden
}

.hero-inner {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 55px;
  padding-top: 65px;
  padding-bottom: 65px
}

.hero h1 {
  font-size: clamp(48px, 6vw, 86px);
  letter-spacing: -1.2px;
  font-style: italic;
  font-weight: 700;
}

.hero .intro {
  max-width: 570px;
  margin: 25px 0 32px;
  color: var(--brand-gray);
  font-size: 19px
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-image {
  position: relative;
  height: 515px
}

.hero-image>img {
  height: 100%;
  filter: saturate(.85)
}

.hero-image:after {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--brand-blue);
  border-right: 3px solid var(--brand-blue)
}

.photo-note {
  position: absolute;
  left: -22px;
  bottom: 22px;
  background: var(--brand-blue);
  color: var(--white);
  padding: 22px 30px;
  max-width: 285px
}

.photo-note strong {
  font-size: 14px;
  display: block
}

.photo-note p {
  font-size: 14px;
  margin-top: 5px
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff25;
  padding: 23px 0;
  color: var(--brand-gray);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px
}

.hero-bottom b {
  color: var(--brand-gray);
}

.hero-bottom a {
  color: var(--white)
}

.hero-bottom span {
  margin-left: 18px
}

/* MERCADOS */
.markets {
  border-bottom: 1px solid var(--line);
  background: var(--light)
}

.markets-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0
}

.market {
  padding: 0 24px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px
}

.market:first-child {
  padding-left: 0
}

.market:last-child {
  border: 0
}

.market small {
  display: block;
  color: var(--brand-blue);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 7px
}

/* MARCAS: logos locales, tarjetas y animaciones */
#marcas {
  background: radial-gradient(ellipse at top, var(--blue-soft) 0, var(--light) 48%, var(--white) 100%);
}

.brands-heading {
  display: block;
  text-align: center;
  max-width: 940px;
  margin: 0 auto 58px;
}

.brands-heading .tag {
  justify-content: center;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.brand-card {
  --brand-color: var(--brand-blue);
  --brand-tint: var(--blue-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 540px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 36px #231f2008;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s;
}

.brand-afi {
  --brand-color: var(--brand-red);
  --brand-tint: var(--red-soft);
}

.brand-construell {
  --brand-color: var(--brand-blue);
  --brand-tint: var(--blue-soft);
}

.brand-masterglass {
  --brand-color: var(--deep-blue);
  --brand-tint: var(--blue-soft);
}

.brand-card::before {
  content: '';
  position: absolute;
  inset: 0 24px auto;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--brand-color);
}

.brand-card:hover,
.brand-card:focus-within,
.motion .brand-card.reveal.visible:hover,
.motion .brand-card.reveal.visible:focus-within {
  transform: translateY(-10px);
  border-color: var(--brand-color);
  box-shadow: 0 24px 48px #231f2014;
}

.motion .brand-card.reveal {
  transition: opacity .65s, transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s;
}

.brand-id {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  margin-bottom: 28px;
  padding: 26px;
  border-radius: 17px;
  background: var(--brand-tint);
  overflow: hidden;
}

.brand-id::before {
  content: '';
  position: absolute;
  inset: -60% -100%;
  background: linear-gradient(110deg, transparent 40%, #ffffffa8 50%, transparent 60%);
  transform: translateX(-65%);
  pointer-events: none;
}

.brand-card:hover .brand-id::before,
.brand-card:focus-within .brand-id::before {
  animation: brand-shine .9s ease forwards;
}

.brand-id img {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 115px;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.brand-card:hover .brand-id img,
.brand-card:focus-within .brand-id img {
  transform: scale(1.06) translateY(-3px);
}

.brand-card .mini {
  align-self: flex-start;
  font-family: var(--font-subtitle);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-color);
  background: var(--brand-tint);
  border-radius: 50px;
  padding: 6px 12px;
  margin: 0 0 18px;
}

.brand-card h3 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.3;
}

.brand-card h3 br {
  display: none;
}

.brand-card p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 18px 0 26px;
}

.brand-card .textlink {
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--light);
  color: var(--black);
  text-transform: none;
  transition: color .3s, background .3s, border-color .3s;
}

.brand-card .textlink span {
  transition: transform .3s;
}

.brand-card .textlink:hover,
.brand-card .textlink:focus-visible {
  background: var(--brand-color);
  border-color: var(--brand-color);
  color: var(--white);
}

.brand-card .textlink:hover span {
  transform: translate(3px, -3px);
}

@keyframes brand-shine {
  to { transform: translateX(65%); }
}

/* NOSOTROS */
.about {
  background: var(--light)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center
}

.about-image {
  position: relative;
  height: 485px
}

.about-image img {
  height: 100%
}

.about-image .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--deep-blue);
  color: var(--white);
  padding: 17px 23px;
  font-size: 14px;
  letter-spacing: 1.5px
}

.about-content .lead {
  margin: 28px 0;
  color: var(--muted);
  max-width: 470px;
  border-left: 3px solid var(--brand-red);
  padding-left: 20px;
  font-style: italic;
  font-weight: 300;
}

.locations {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.locations span {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px
}

.locations span:first-child {
  color: var(--brand-blue)
}

.purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 65px
}

.purpose article {
  border-top: 1px solid var(--line);
  padding: 25px 0
}

.purpose h3 {
  font-size: 30px;
  margin-bottom: 15px
}

.purpose p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px
}

/* VENTAJAS */
.advantages {
  background: var(--brand-blue);
  color: var(--white)
}

.advantages .heading>p {
  color: var(--white)
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px
}

.adv-card {
  border-top: 1px solid #ffffff35;
  padding-top: 25px
}

.adv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px
}

.adv-top span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.adv-card img {
  height: 205px;
  margin-bottom: 27px
}

.adv-card h3 {
  font-size: 31px
}

.adv-card p {
  font-size: 17px;
  color: var(--white);
  margin-top: 17px;
  max-width: 340px
}

/* COTIZACIÓN */
.cta {
  background: var(--brand-blue);
  padding: 70px 0;
  color: var(--white);
}

.cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.cta h2 {
  font-size: clamp(32px, 4.2vw, 58px)
}

.cta p {
  margin-top: 15px;
  font-size: 18px
}

.cta .btn {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
  flex-shrink: 0
}

.cta .btn:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* CONTACTO: formulario centrado */
#contacto {
  background: radial-gradient(ellipse at bottom left, var(--blue-soft) 0, var(--light) 45%, var(--white) 100%);
}

.contact-heading {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.contact-heading .tag {
  justify-content: center;
}

.contact-intro {
  max-width: 630px;
  margin: 22px auto 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 800px;
  margin: 44px auto 0;
}

.contact-form {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-red);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 20px 65px #231f200a;
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.form-heading h3 {
  font-size: 23px;
  text-transform: none;
  font-weight: 700;
  font-style: normal;
}

.form-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

.form-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--brand-blue);
}

.form-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.formrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

label {
  display: block;
  font-family: var(--font-subtitle);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 24px;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  display: block;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px #0075b226;
}

textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.form-note {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 24px;
  text-align: center;
  font-weight: 400;
}

.whatsapp-submit {
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
  box-shadow: 0 8px 20px #ce242b1f;
}

.whatsapp-submit:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.whatsapp-submit svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}

.status {
  font-size: 15px;
  margin-top: 18px;
  color: var(--brand-blue);
  text-align: center;
  overflow-wrap: anywhere;
}

.status:empty {
  display: none;
}

.status a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FOOTER */
footer {
  padding: 60px 0 25px;
  background: var(--deep-blue);
  color: var(--white);
  border-top: 4px solid var(--brand-red);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 45px
}

.footer-logo {
  display: block;
  background: var(--white);
  padding: 8px 10px;
  width: min(300px, 100%);
  border-radius: 12px;
}

.footer-logo img {
  height: 86px;
  object-fit: contain
}

.footer-slogan {
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 25px
}

.footer-links {
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-title {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #ffffff25;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--brand-gray)
}

.social-caption {
  max-width: 300px;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--brand-gray);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff38;
  border-radius: 14px;
  background: #ffffff0a;
  color: var(--white);
  transition: transform .3s, color .3s, background .3s, border-color .3s;
}

.social-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-5px);
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.credits {
  font-size: 14px;
  color: #999;
  margin-top: 8px
}

/* DIALOGOS Y MOVIMIENTO */
dialog {
  width: min(650px, calc(100% - 32px));
  max-height: 85svh;
  border: 0;
  margin: auto;
  padding: 45px;
  background: var(--white);
  color: var(--ink)
}

dialog::backdrop {
  background: #000000b0
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--brand-blue);
  width: 36px;
  height: 36px;
  border: 0;
  font-size: 24px;
  color: var(--white);
}

dialog h2 {
  font-size: 44px
}

dialog p {
  margin: 20px 0;
  color: var(--muted);
  font-size: 14px
}

.reveal {
  opacity: 1
}

.motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s, transform .65s
}

.motion .reveal.visible {
  opacity: 1;
  transform: none
}

.menu-open {
  overflow: hidden
}

@media(max-width:1100px) {
  .wrap {
    width: calc(100% - 60px)
  }

  .logo {
    width: 220px
  }

  nav {
    gap: 16px
  }

  .header-inner {
    gap: 18px
  }

  .hero-inner {
    gap: 35px
  }

  .brand-card {
    padding: 25px
  }

  .contact-grid {
    gap: 50px
  }
}

@media(max-width:1100px) {
  .header-inner {
    height: 78px
  }

  .hero {
    padding-top: 78px
  }

  .menu {
    display: block;
    flex-shrink: 0
  }

  .header-btn {
    margin-left: auto
  }

  nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 20px 30px 35px;
    background: var(--white);
    border-top: 1px solid var(--line);
    max-height: calc(100svh - 78px);
    overflow: auto
  }

  nav.open {
    display: flex
  }

  nav a {
    font-size: 14px;
    padding: 15px 0
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    min-height: 610px
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 76px)
  }

  .hero-image {
    height: 450px
  }

  .brand-grid {
    gap: 12px
  }

  .brand-id strong {
    font-size: 44px
  }

  .about-grid {
    gap: 40px
  }

  .contact-grid {
    gap: 35px
  }

  .adv-grid {
    gap: 20px
  }

  .section {
    padding: 80px 0
  }
}

@media(max-width:650px) {
  .wrap {
    width: calc(100% - 36px)
  }

  .logo {
    width: 160px
  }

  .logo img {
    height: 50px
  }

  .header-inner {
    gap: 10px
  }

  .header-btn {
    font-size: 14px;
    padding: 9px;
    gap: 8px;
    min-height: 40px
  }

  .menu {
    width: 36px;
    height: 40px
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 55px 0 45px
  }

  .hero h1 {
    font-size: clamp(40px, 10.5vw, 62px)
  }

  .hero .tag {
    font-size: 14px
  }

  .hero-image {
    height: 340px;
    margin-right: 10px
  }

  .hero-image:after {
    right: -10px;
    top: -10px
  }

  .photo-note {
    left: 0;
    bottom: 0;
    padding: 18px 23px
  }

  .hero-bottom {
    font-size: 14px
  }

  .hero-bottom .small-hide {
    display: none
  }

  .markets-inner {
    grid-template-columns: 1fr 1fr;
    gap: 23px 0
  }

  .market {
    padding: 0 15px
  }

  .market:nth-child(3) {
    padding-left: 0
  }

  .market:nth-child(2) {
    border: 0
  }

  .heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px
  }

  .section {
    padding: 65px 0
  }

  .brand-grid,
  .about-grid,
  .purpose,
  .adv-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .brand-card {
    min-height: 360px;
    padding: 30px
  }

  .brand-id {
    height: 160px
  }

  .brand-id strong {
    font-size: 56px
  }

  .about-image {
    height: 380px
  }

  .purpose {
    margin-top: 35px;
    gap: 8px
  }

  .adv-grid {
    gap: 45px
  }

  .adv-card img {
    height: 230px
  }

  .cta .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px
  }

  .cta {
    padding: 60px 0
  }

  .contact-grid {
    gap: 40px
  }

  .formrow {
    grid-template-columns: 1fr;
    gap: 0
  }


  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 35px
  }

  .footer-top>div:first-child {
    grid-column: 1/-1
  }

  .footer-bottom {
    flex-direction: column
  }

  body,
  p,
  .hero .intro,
  .brand-card p,
  .purpose p,
  .adv-card p {
    font-size: 16px;
  }

  .brand-card {
    min-height: auto;
    padding: 26px;
  }

  .brands-heading {
    margin-bottom: 34px;
  }

  .form-heading {
    align-items: flex-start;
    gap: 13px;
  }

  .form-heading h3 {
    font-size: 20px;
  }

  .form-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .whatsapp-submit {
    gap: 9px;
    font-size: 15px;
    padding: 15px 12px;
  }

  dialog {
    padding: 40px 25px
  }
}

@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    gap: 24px;
    margin: 0 auto;
  }

  .brand-card {
    min-height: auto;
  }

  .brand-card h3 {
    font-size: 25px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important
  }

  .motion .reveal {
    opacity: 1;
    transform: none
  }

  .brand-card:hover,
  .brand-card:focus-within,
  .motion .brand-card.reveal.visible:hover,
  .motion .brand-card.reveal.visible:focus-within,
  .brand-card:hover .brand-id img,
  .brand-card:focus-within .brand-id img,
  .brand-card .textlink:hover span,
  .social-icon:hover {
    transform: none;
  }
}

/* BANNER: imágenes automáticas desde la carpeta img */
.hero {
  min-height: 90svh;
  isolation: isolate;
}

.hero .hero-inner {
  display: flex;
  min-height: 690px;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 750px;
}

.banner-slides,
.banner-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.banner-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
  object-fit: cover;
  object-position: center;
}

.banner-slide.is-active {
  opacity: 1;
}

.banner-shade {
  background: linear-gradient(90deg, rgba(6, 51, 75, .94), rgba(6, 51, 75, .65) 60%, rgba(6, 51, 75, .3));
  z-index: 0;
}

.banner-bar {
  position: relative;
  z-index: 2;
  padding: 0 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.banner-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.banner-controls[hidden] {
  display: none;
}

.banner-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #ffffff66;
  background: #06334b99;
  color: white;
  padding: 8px;
}

.banner-controls button:hover {
  background: var(--brand-red);
  color: var(--white);
}

#banner-counter {
  color: var(--white);
  min-width: 50px;
}

@media (max-width: 650px) {
  .hero .hero-inner {
    min-height: 620px;
    padding-top: 60px;
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: clamp(40px, 10.5vw, 62px);
  }

  .banner-bar {
    flex-wrap: wrap;
  }

  .banner-shade {
    background: rgba(6, 51, 75, .83);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide {
    transition: none;
  }
}

/* Contraste y detalles de la identidad DEALERNEW */
header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red) 0 20%, var(--brand-blue) 20% 70%, var(--brand-gray) 70% 100%);
}

.hero .tag {
  color: var(--white);
}

.hero .brand-highlight {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: .055em;
  text-underline-offset: .12em;
}

.advantages .tag,
.advantages .brand-highlight {
  color: var(--white);
}

.advantages .tag::before {
  background: var(--brand-gray);
}

.footer-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-underline-offset: 5px;
}

@media (max-width: 360px) {
  .header-btn span {
    display: none;
  }
}
