/* ===== Variables ===== */
:root {
  --blue-light: #5eb8e8;
  --blue-mid: #1a9fd4;
  --blue-dark: #0b6fa8;
  --blue-hero: #1a8fc4;
  --blue-card: #d4eaf8;
  --blue-card-deep: #a8d4ef;
  --white: #ffffff;
  --black: #1a1a1a;
  --grey-overlay: rgba(45, 52, 58, 0.72);
  --whatsapp: #25d366;
  --font: 'Montserrat', system-ui, sans-serif;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  --radius-pill: 999px;
  --radius-btn: 6px;
  --radius-card: 16px;
  --header-h: 88px;
  --topbar-h: 36px;
  --about-navy: #0c3d6b;
  --about-blue: #6eb5d8;
  --about-grey: #9aa8b2;
  --about-card-text: #3d4a54;
  --products-navy: #1a2644;
  --products-navy-deep: #141d35;
  --accent-blue: #2aabdb;
  --input-bg: #e8f7fc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1280px, 92vw);
  margin-inline: auto;
}

/* ===== Top bar ===== */
.top-bar {
  background: linear-gradient(90deg, #4aa8d8 0%, #7ec8eb 45%, #b5dff5 100%);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-bar__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-bar__social .social-icon,
.top-bar__social a {
  display: flex;
  color: var(--white);
  opacity: 0.95;
}

.top-bar__social .social-icon {
  cursor: default;
}

.top-bar__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.top-bar__nav {
  display: flex;
  gap: 28px;
}

.top-bar__nav a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.top-bar__nav a:hover {
  opacity: 0.85;
}

/* ===== Main header ===== */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 100;
}

.main-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo__img {
  height: 64px;
  width: auto;
}

.logo__img--clinitech {
  height: 76px;
  max-width: 300px;
  object-fit: contain;
}

.header-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--black);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.header-whatsapp:hover {
  color: var(--blue-mid);
}

.header-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: var(--whatsapp);
  flex-shrink: 0;
}

.header-whatsapp__label {
  font-weight: 600;
}

.header-whatsapp__number {
  font-weight: 500;
}

.main-header__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
}

.btn--productos {
  background: linear-gradient(180deg, #2aabdb 0%, #1a9fd4 100%);
}

.btn--catalogo {
  background: linear-gradient(180deg, #0d7ab5 0%, #0b6fa8 100%);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-h) - var(--header-h));
  min-height: calc(100dvh - var(--topbar-h) - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grey-overlay);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0 80px;
  width: min(1280px, 92vw);
  margin-inline: auto;
}

.hero__text {
  flex: 1;
  max-width: 560px;
  color: var(--white);
}

.hero__badge {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  opacity: 0.95;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-hero--light {
  background: var(--white);
  color: var(--black);
}

.btn-hero--blue {
  background: linear-gradient(180deg, #2aabdb 0%, #1a8fc4 100%);
  color: var(--white);
}

/* ===== Event card ===== */
.event-card {
  flex-shrink: 0;
  width: min(340px, 38vw);
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: cardFloat 0.8s ease-out;
}

@keyframes cardFloat {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card__header {
  background: var(--white);
  padding: 20px 24px 12px;
  display: flex;
  justify-content: center;
}

.event-card__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.event-card__logo--clinitech {
  max-width: 260px;
  width: 100%;
  height: auto;
  max-height: 88px;
}

.event-card__body {
  background: linear-gradient(180deg, var(--blue-card) 0%, var(--blue-card-deep) 100%);
  padding: 16px 20px 22px;
  text-align: center;
}

.event-card__invite {
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 12px;
}

.event-card__phone {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.phone-mockup {
  width: 140px;
  background: #1a1a2e;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.phone-mockup__screen {
  background: linear-gradient(160deg, #1a8fc4 0%, #0b5a82 100%);
  border-radius: 12px;
  padding: 14px 10px;
  color: var(--white);
  text-align: center;
}

.phone-mockup__brand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  opacity: 0.9;
}

.phone-mockup__title {
  font-size: 0.7rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.phone-mockup__title strong {
  font-size: 0.85rem;
  display: block;
  margin-top: 2px;
}

.phone-mockup__list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.58rem;
  line-height: 1.5;
  opacity: 0.95;
}

.phone-mockup__list li::before {
  content: "• ";
  font-weight: 700;
}

.phone-mockup__cta {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.phone-mockup__cta:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.event-card__location {
  color: var(--blue-dark);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

.event-card__location strong {
  font-weight: 800;
  font-size: 1.05rem;
}

/* ===== Floating actions ===== */
.fab-informes {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 200;
  background: var(--white);
  color: var(--black);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-informes:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* ===== Mobile menu (open state) ===== */
.main-header.is-open .main-header__actions,
.main-header.is-open .header-whatsapp {
  display: flex;
}

.main-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.main-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.main-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 100px;
  }

  .event-card {
    width: 100%;
    max-width: 320px;
    align-self: center;
  }

  .header-whatsapp {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .top-bar__nav {
    gap: 16px;
  }

  .top-bar__nav a {
    font-size: 0.72rem;
  }

  .main-header__inner {
    flex-wrap: wrap;
  }

  .header-whatsapp {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 4px;
  }

  .main-header__actions {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    padding: 12px 0 8px;
    border-top: 1px solid #eee;
  }

  .main-header.is-open .main-header__actions {
    display: flex;
  }

  .main-header.is-open .header-whatsapp {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .btn {
    width: 100%;
    padding: 14px;
  }

  .hero__content {
    padding: 40px 0 120px;
  }

  .fab-informes {
    bottom: 90px;
    right: 16px;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  .fab-whatsapp {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .top-bar__nav {
    display: none;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }
}

/* ===== About (Acerca de nosotros) ===== */
.about {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}

.about__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about__bg-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cpath d='M0 120 Q200 80 400 120 T800 120 M0 240 Q200 200 400 240 T800 240 M0 360 Q200 320 400 360 T800 360 M0 480 Q200 440 400 480 T800 480' fill='none' stroke='%23e8ecef' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.about__bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(180deg, #7ec0e3 0%, var(--about-blue) 35%, #5aa8cf 100%);
}

.about__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1;
}

.about__container {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
}

.about__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

.about__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--about-navy);
  line-height: 1.2;
}

.about__intro {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.65;
  color: var(--about-grey);
  font-weight: 400;
  max-width: 520px;
  justify-self: end;
  padding-top: 8px;
}

.about__body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.about__card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 36px 32px 32px;
  margin-top: 8px;
  transform: translateY(48px);
  position: relative;
  z-index: 3;
}

.about__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--about-card-text);
  margin-bottom: 28px;
}

.about__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  background: linear-gradient(180deg, #2aabdb 0%, var(--blue-mid) 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-btn);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 159, 212, 0.4);
}

.about__figure {
  position: relative;
  margin: 0;
  transform: translateY(24px);
  z-index: 3;
}

.about__figure-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

.about__figure-logo {
  position: absolute;
  left: 20px;
  bottom: 20px;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.about__figure-logo img,
.about__figure-logo-img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .about__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about__intro {
    justify-self: start;
    max-width: none;
  }

  .about__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__card,
  .about__figure {
    transform: none;
  }

  .about__card {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .about {
    padding-top: 48px;
  }

  .about__container {
    padding-bottom: 56px;
  }

  .about__card {
    padding: 28px 24px;
  }

  .about__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Services (Nuestros servicios) ===== */
.services {
  position: relative;
  padding: 80px 0 100px;
  background-color: #f4f6f8;
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cpath d='M0 120 Q200 80 400 120 T800 120 M0 240 Q200 200 400 240 T800 240 M0 360 Q200 320 400 360 T800 360 M0 480 Q200 440 400 480 T800 480' fill='none' stroke='%23e0e4e8' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.9;
  pointer-events: none;
}

.services__container {
  position: relative;
  z-index: 1;
}

.services__header {
  text-align: center;
  margin-bottom: 52px;
}

.services__subtitle {
  font-size: 0.95rem;
  color: var(--about-grey);
  margin-bottom: 12px;
  font-weight: 400;
}

.services__title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--about-navy);
  line-height: 1.2;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin-inline: auto;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 48px 36px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--about-navy);
  margin-bottom: 18px;
  line-height: 1.3;
}

.service-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--about-grey);
  margin-bottom: 28px;
  flex: 1;
  max-width: 420px;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 28px;
  border: 2px solid var(--about-navy);
  border-radius: var(--radius-btn);
  color: var(--about-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--white);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.service-card__btn:hover {
  background: var(--about-navy);
  color: var(--white);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .services {
    padding: 56px 0 72px;
  }

  .service-card {
    padding: 40px 28px 32px;
  }
}

/* ===== Products (Nuestros productos) ===== */
.products {
  background: linear-gradient(180deg, var(--products-navy-deep) 0%, var(--products-navy) 100%);
  padding: 72px 0 80px;
  color: var(--white);
}

.products__header {
  margin-bottom: 48px;
}

.products__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.products__title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

/* Carrusel de productos */
.products-carousel {
  --carousel-gap: 32px;
  --per-view: 3;
  position: relative;
  margin-bottom: 40px;
  padding: 0 52px;
}

.products-carousel__viewport {
  overflow: hidden;
}

.products-carousel__track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.product-item {
  flex: 0 0 calc((100% - var(--carousel-gap) * (var(--per-view) - 1)) / var(--per-view));
  min-width: 0;
  text-align: center;
}

.products-carousel__arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
}

.products-carousel__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
}

.products-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.products-carousel__arrow--prev {
  left: 0;
}

.products-carousel__arrow--next {
  right: 0;
}

.products-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.products-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.products-carousel__dot.is-active {
  background: var(--white);
  transform: scale(1.15);
}

.products-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.product-item__visual {
  display: block;
  position: relative;
  background: var(--white);
  border-radius: 8px;
  padding: 20px 16px 16px;
  margin-bottom: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-item__visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.product-item__sku {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-mid);
  z-index: 2;
}

.product-item__img-wrap {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-item__img-wrap::before {
  content: '';
  position: absolute;
  inset: 4%;
  background: url('../img/a8bc28f1-a3d0-4371-9182-f909ef7f518d.png') center / 75% auto no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.product-item__img-wrap img {
  position: relative;
  z-index: 1;
  max-height: 200px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.product-item__name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  max-width: 280px;
  margin-inline: auto;
}

.products__cta {
  text-align: center;
}

.products__btn-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--products-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s;
}

.products__btn-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== Quote (Cotiza con nosotros) ===== */
.quote {
  position: relative;
  padding: 0 0 100px;
  overflow: hidden;
}

.quote__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.quote__bg-navy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: var(--products-navy);
}

.quote__bg-white {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62%;
  background: var(--white);
}

.quote__container {
  position: relative;
  z-index: 1;
  padding-top: 48px;
}

.quote__card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  max-width: 1100px;
  margin-inline: auto;
}

.quote__media {
  position: relative;
  min-height: 380px;
  background: #f0f4f8;
}

.quote__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.quote__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  padding: 48px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote__badge-tag {
  display: inline-block;
  width: fit-content;
  background: var(--blue-mid);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
}

.quote__badge-text {
  font-size: 0.7rem;
  color: var(--white);
  font-weight: 500;
  opacity: 0.95;
}

.quote__form-wrap {
  padding: 40px 40px 36px;
}

.quote__title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--about-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.quote__subtitle {
  font-size: 0.9rem;
  color: var(--about-grey);
  margin-bottom: 28px;
}

.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.quote-form__row--full {
  grid-template-columns: 1fr;
}

.quote-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  background: var(--input-bg);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--about-card-text);
  transition: box-shadow 0.2s;
  resize: vertical;
}

.quote-form textarea {
  min-height: 80px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #7a8a94;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 171, 219, 0.35);
}

.quote-form__status {
  font-size: 0.88rem;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.45;
}

.quote-form__status--loading {
  color: var(--about-grey);
}

.quote-form__status--success {
  color: #1a7a4a;
  font-weight: 600;
}

.quote-form__status--error {
  color: #c0392b;
  font-weight: 600;
}

.quote-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.quote-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.quote-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  background: var(--about-navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.quote-form__submit:hover {
  background: var(--products-navy-deep);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .products-carousel {
    --per-view: 2;
    padding: 0 44px;
  }

  .quote__card {
    grid-template-columns: 1fr;
  }

  .quote__media {
    min-height: 280px;
  }

  .quote__img {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .products {
    padding: 48px 0 56px;
  }

  .products-carousel {
    --per-view: 1;
    padding: 0 40px;
  }

  .products-carousel__arrow {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .quote__form-wrap {
    padding: 28px 24px;
  }

  .quote-form__row {
    grid-template-columns: 1fr;
  }

  .quote-form__actions {
    justify-content: stretch;
  }

  .quote-form__submit {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, #3a9fd4 0%, #2d8fc4 50%, #2689be 100%);
  color: var(--white);
  padding: 56px 0 120px;
  position: relative;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.site-footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
}

.site-footer__logo {
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__logo--iso {
  max-height: 100px;
  max-width: 120px;
  filter: none;
}

.site-footer__logo--clinitech {
  max-height: 112px;
  max-width: 280px;
  filter: none;
  object-fit: contain;
}

.site-footer__logo--ema {
  max-height: 88px;
  max-width: 140px;
  filter: none;
}

.site-footer__contact {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
  width: 100%;
}

.site-footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__contact-col--center {
  align-items: center;
  text-align: center;
}

.site-footer__contact-col--address {
  align-items: flex-end;
  text-align: right;
}

.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.site-footer__contact-item:hover {
  opacity: 0.85;
}

.site-footer__contact-item img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-footer__contact-item svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  flex-shrink: 0;
}

.site-footer__contact-item--static {
  cursor: default;
}

.site-footer__divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__nav a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.site-footer__nav a:hover {
  opacity: 0.8;
}

.site-footer__social {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.site-footer__social .social-icon,
.site-footer__social a {
  display: flex;
  color: var(--white);
}

.site-footer__social .social-icon {
  cursor: default;
  opacity: 0.85;
}

.site-footer__social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer__legal a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.site-footer__legal a:hover {
  opacity: 0.85;
}

.site-footer__back-top {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.site-footer__back-top:hover {
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
}

@media (max-width: 900px) {
  .site-footer__contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__contact-col,
  .site-footer__contact-col--center,
  .site-footer__contact-col--address {
    align-items: center;
    text-align: center;
  }

  .site-footer__contact-item {
    justify-content: center;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__nav {
    justify-content: center;
  }

  .site-footer__legal {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 140px;
  }

  .site-footer__logos {
    gap: 20px;
  }

  .site-footer__logo--clinitech {
    max-width: 240px;
    max-height: 96px;
  }

  .logo__img--clinitech {
    max-width: 260px;
    height: 64px;
  }

  .event-card__logo--clinitech {
    max-width: 220px;
    max-height: 76px;
  }
}
