@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');


:root {

  --ink: #07111c;

  --blue: #087ff5;

  --cyan: #13cfe1;

  --muted: #64727e;

  --line: #dfe7ed;

  --soft: #f5f9fc;

}


/* =========================
   RESET
========================= */

* {

  box-sizing: border-box;

}


html {

  scroll-behavior: smooth;

}


body {

  margin: 0;

  font-family: Inter, Arial, sans-serif;

  color: var(--ink);

  background: #fff;

}


body,
button,
a {

  -webkit-tap-highlight-color: transparent;

}


a {

  text-decoration: none;

  color: inherit;

}


button {

  font-family: inherit;

}


.container {

  width: min(
    1080px,
    calc(100% - 40px)
  );

  margin: 0 auto;

}


/* =========================
   ANIMACIONES
========================= */

.reveal {

  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;

}


.reveal.visible {

  opacity: 1;

  transform: translateY(0);

}


/* =========================
   HEADER
========================= */

.header {

  position: sticky;

  top: 0;

  z-index: 50;

  background: rgba(
    255,
    255,
    255,
    0.96
  );

  backdrop-filter: blur(12px);

  border-bottom:
    1px solid var(--line);

  box-shadow:
    0 4px 18px
    rgba(
      0,
      20,
      40,
      0.07
    );

}


.nav {

  min-height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

}


/* =========================
   LOGO
========================= */

.brand {

  width: auto;

  height: 62px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  color: #000;

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.02em;

  white-space: nowrap;

  flex-shrink: 0;

}


.brand img {

  width: 72px;

  height: 52px;

  object-fit: contain;

}


.brand span {

  display: block;

}


/* =========================
   MENÚ
========================= */

.main-menu {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 24px;

}


.main-menu a {

  font-size: 11px;

  font-weight: 600;

  color: #34434f;

  transition:
    color 0.2s ease,
    transform 0.2s ease;

}


.main-menu a:hover {

  color: var(--blue);

  transform: translateY(-1px);

}


/* =========================
   BOTONES
========================= */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 21px;

  border-radius: 28px;

  background:
    linear-gradient(
      100deg,
      var(--blue),
      var(--cyan)
    );

  color: #fff;

  font-size: 12px;

  font-weight: 800;

  border: 0;

  cursor: pointer;

  box-shadow:
    0 9px 22px
    rgba(
      8,
      127,
      245,
      0.18
    );

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

}


.btn:hover {

  transform: translateY(-2px);

  box-shadow:
    0 13px 28px
    rgba(
      8,
      127,
      245,
      0.25
    );

}


.btn-small {

  padding: 11px 16px;

  white-space: nowrap;

}


.outline {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 13px 20px;

  border:
    1px solid #aab9c4;

  border-radius: 28px;

  font-size: 12px;

  font-weight: 700;

  background: #fff;

  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;

}


.outline:hover {

  border-color: var(--blue);

  color: var(--blue);

  transform: translateY(-2px);

}


/* =========================
   MENÚ CELULAR
========================= */

.menu-toggle {

  display: none;

  width: 42px;

  height: 42px;

  border: 1px solid var(--line);

  border-radius: 12px;

  background: #fff;

  color: var(--ink);

  font-size: 18px;

  cursor: pointer;

}


/* =========================
   HERO
========================= */

.hero {

  position: relative;

  overflow: hidden;

  padding: 82px 0 65px;

  background: #fff;

}


.hero-grid {

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

}


.hero-grid > div {

  width: 100%;

  max-width: 900px;

}


.tech-side {

  position: absolute;

  top: 150px;

  width: 70px;

  height: 220px;

  background-image:
    radial-gradient(
      var(--blue) 1.3px,
      transparent 1.3px
    );

  background-size: 9px 9px;

  opacity: 0.5;

}


.tech-side.left {

  left: 0;

}


.tech-side.right {

  right: 0;

}


.eyebrow {

  margin: 0 0 16px;

  color: var(--blue);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.28em;

}


.hero h1,
h2 {

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  letter-spacing: -0.05em;

}


.hero h1 {

  font-size:
    clamp(
      44px,
      5.6vw,
      73px
    );

  line-height: 1;

  margin:
    0 auto 24px;

  text-transform: uppercase;

  max-width: 900px;

}


.hero h1 span,
h2 span {

  color: var(--blue);

}


.lead {

  max-width: 680px;

  margin: 0 auto;

  color: var(--muted);

  font-size: 17px;

  line-height: 1.7;

}


.actions {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 30px;

}


.pillars {

  display: flex;

  justify-content: center;

  margin-top: 48px;

}


.pillars > div {

  padding:
    0 28px;

  border-right:
    1px solid #cdd9e1;

  display: flex;

  flex-direction: column;

  gap: 5px;

}


.pillars > div:last-child {

  border: 0;

}


.pillars b {

  font-size: 12px;

  letter-spacing: 0.08em;

}


.pillars small {

  font-size: 10px;

  color: var(--muted);

}


/* =========================
   PROMOCIÓN
========================= */

.promo-section {

  padding:
    25px 0 70px;

}


.promo {

  display: flex;

  align-items: center;

  gap: 25px;

  padding: 28px 32px;

  border-radius: 22px;

  background:
    linear-gradient(
      110deg,
      #f2f9ff,
      #f5fdff
    );

  border:
    1px solid #d8eaf5;

  box-shadow:
    0 12px 35px
    rgba(
      8,
      80,
      130,
      0.07
    );

}


.promo-icon {

  width: 60px;

  height: 60px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--cyan)
    );

  color: #fff;

  font-size: 24px;

  box-shadow:
    0 8px 20px
    rgba(
      8,
      127,
      245,
      0.2
    );

}


.promo-content {

  flex: 1;

}


.promo-label {

  display: block;

  color: var(--blue);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.2em;

  margin-bottom: 5px;

}


.promo h2 {

  margin: 0 0 7px;

  font-size: 28px;

  letter-spacing: -0.04em;

}


.promo h2 span {

  color: var(--blue);

}


.promo p {

  margin: 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.6;

}


.promo-btn {

  flex-shrink: 0;

}


/* =========================
   SECCIONES
========================= */

.section {

  padding:
    94px 0;

}


.section > .container {

  text-align: center;

}


.section h2,
.why h2,
.contact h2 {

  font-size:
    clamp(
      36px,
      4.5vw,
      56px
    );

  margin:
    0 0 12px;

}


.section-lead {

  max-width: 700px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.7;

  margin:
    0 auto 38px;

}


/* =========================
   SERVICIOS
========================= */

.cards {

  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 14px;

}


.cards article {

  min-height: 245px;

  border:
    1px solid var(--line);

  border-radius: 18px;

  padding: 24px;

  background: #fff;

  box-shadow:
    0 8px 25px
    rgba(
      10,
      40,
      70,
      0.05
    );

  text-align: left;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

}


.cards article:hover {

  transform:
    translateY(-5px);

  box-shadow:
    0 15px 32px
    rgba(
      10,
      40,
      70,
      0.1
    );

}


.cards article > b {

  font-size: 9px;

  color: var(--blue);

  letter-spacing: 0.15em;

}


.cards h3 {

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 19px;

  margin:
    34px 0 10px;

}


.cards p,
.why p,
.steps p,
.dentist-card p {

  color: var(--muted);

  font-size: 13px;

  line-height: 1.65;

}


/* =========================
   ODONTÓLOGOS
========================= */

.dentist-section {

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f7fbfd
    );

}


.dentist-header {

  max-width: 800px;

  margin:
    0 auto;

}


.dentist-grid {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 15px;

  max-width: 900px;

  margin:
    42px auto 30px;

}


.dentist-card {

  display: flex;

  align-items: flex-start;

  gap: 20px;

  padding: 25px;

  text-align: left;

  background: #fff;

  border:
    1px solid var(--line);

  border-radius: 18px;

  box-shadow:
    0 8px 25px
    rgba(
      10,
      40,
      70,
      0.05
    );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

}


.dentist-card:hover {

  transform:
    translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(
      10,
      40,
      70,
      0.09
    );

}


.dentist-number {

  color: var(--blue);

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 13px;

  font-weight: 700;

  padding-top: 4px;

}


.dentist-card h3 {

  margin:
    0 0 8px;

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 19px;

}


.dentist-card p {

  margin: 0;

}


.dentist-action {

  margin-top: 28px;

}


/* =========================
   PROCESO
========================= */

.dark {

  background: #05080d;

  color: #fff;

  position: relative;

  overflow: hidden;

}


.dark .eyebrow {

  color: var(--cyan);

}


.dark h2 span {

  color: #168bf5;

}


.steps {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 38px;

  margin-top: 42px;

  text-align: left;

}


.steps > div {

  border-top:
    1px solid #2c3c4a;

  padding-top: 22px;

}


.steps b {

  color: var(--cyan);

  font-size: 12px;

}


.steps h3 {

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 25px;

  margin:
    25px 0 8px;

}


.dark .steps p {

  color: #aebac4;

}


/* =========================
   GALERÍA
========================= */

.gallery {

  display: grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap: 18px;

  max-width: 950px;

  margin:
    0 auto;

}


/* FOTOS 01-02-03 */

.photo:nth-child(1),
.photo:nth-child(2),
.photo:nth-child(3) {

  grid-column:
    span 2;

}


/* FOTOS 04-05 CENTRADAS */

.photo:nth-child(4) {

  grid-column:
    2 / span 2;

}


.photo:nth-child(5) {

  grid-column:
    4 / span 2;

}


/* CONTENEDOR */

.photo {

  height: 260px;

  position: relative;

  overflow: hidden;

  border-radius: 20px;

  background: #f5f9fc;

  border:
    1px solid var(--line);

  box-shadow:
    0 8px 25px
    rgba(
      10,
      40,
      70,
      0.07
    );

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

}


/* IMAGEN */

.photo img {

  width: 100%;

  height: 100%;

  display: block;

  object-fit: contain;

  background: #f5f9fc;

  transition:
    transform 0.45s ease;

}


.photo:hover {

  transform:
    translateY(-6px);

  box-shadow:
    0 18px 40px
    rgba(
      10,
      40,
      70,
      0.13
    );

}


.photo:hover img {

  transform:
    scale(1.03);

}


/* OVERLAY */

.photo-overlay {

  position: absolute;

  left: 0;

  right: 0;

  bottom: 0;

  padding:
    35px 18px 17px;

  background:
    linear-gradient(
      to top,
      rgba(
        0,
        0,
        0,
        0.72
      ),
      rgba(
        0,
        0,
        0,
        0
      )
    );

  color: #fff;

  display: flex;

  flex-direction: column;

  gap: 4px;

  opacity: 0;

  transform:
    translateY(8px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

}


.photo:hover .photo-overlay {

  opacity: 1;

  transform:
    translateY(0);

}


.photo-overlay span {

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.15em;

  color: var(--cyan);

}


.photo-overlay b {

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 17px;

}


.gallery-note {

  margin-top: 25px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  color: var(--muted);

  font-size: 11px;

}


.gallery-note i {

  color: var(--blue);

}


.gallery-note strong {

  color: var(--ink);

}


/* =========================
   POR QUÉ DENTIMOL
========================= */

.why {

  background: var(--soft);

  padding:
    90px 0;

}


.why > .container {

  text-align: center;

}


.why-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 15px;

  margin-top: 40px;

}


.why-grid > div {

  background: #fff;

  border:
    1px solid var(--line);

  border-radius: 18px;

  padding: 24px;

  text-align: left;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

}


.why-grid > div:hover {

  transform:
    translateY(-4px);

  box-shadow:
    0 12px 28px
    rgba(
      10,
      40,
      70,
      0.08
    );

}


.why-grid b {

  color: var(--blue);

  font-size: 10px;

}


.why-grid h3 {

  font-family:
    "Space Grotesk",
    Arial,
    sans-serif;

  font-size: 19px;

  margin:
    30px 0 8px;

}


/* =========================
   CONTACTO
========================= */

.contact {

  background: #fff;

  padding:
    92px 0;

  text-align: center;

  border-top:
    1px solid var(--line);

}


.contact-inner {

  max-width: 900px;

  margin:
    0 auto;

  text-align: center;

}


.contact h2 {

  margin-bottom: 10px;

}


.contact > .container > p:not(.eyebrow) {

  color: var(--muted);

  font-size: 15px;

  max-width: 650px;

  margin:
    0 auto;

}


/* =========================
   INFORMACIÓN CONTACTO
========================= */

.contact-info {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 15px;

  margin:
    40px auto 35px;

  max-width: 850px;

}


.contact-item {

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 18px;

  border:
    1px solid var(--line);

  border-radius: 16px;

  text-align: left;

  background: #fff;

}


.contact-icon {

  width: 42px;

  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 12px;

  background: var(--soft);

  color: var(--blue);

  font-size: 18px;

}


.contact-item b {

  display: block;

  font-size: 10px;

  color: var(--blue);

  margin-bottom: 5px;

}


.contact-item a,
.contact-item span {

  font-size: 11px;

  color: var(--muted);

  line-height: 1.5;

}


.contact-item a:hover {

  color: var(--blue);

}


/* =========================
   REDES
========================= */

.socials {

  display: flex;

  justify-content: center;

  align-items: flex-start;

  gap: 58px;

  margin:
    45px auto 20px;

  flex-wrap: wrap;

}


.social {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 8px;

  min-width: 70px;

}


.social i {

  font-size: 32px;

  color: var(--ink);

  transition:
    color 0.25s ease,
    transform 0.25s ease;

}


.social b {

  font-size: 10px;

  font-weight: 700;

  color: var(--blue);

  opacity: 0;

  transform:
    translateY(-5px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;

}


.social:hover i {

  color: var(--blue);

  transform:
    translateY(-3px)
    scale(1.08);

}


.social:hover b {

  opacity: 1;

  transform:
    translateY(0);

}


.email {

  display: block;

  text-align: center;

  font-size: 12px;

  color: var(--muted);

  margin-top: 12px;

}


/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp-float {

  position: fixed;

  right: 22px;

  bottom: 22px;

  width: 58px;

  height: 58px;

  z-index: 100;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #25d366;

  color: #fff;

  font-size: 30px;

  box-shadow:
    0 10px 25px
    rgba(
      0,
      0,
      0,
      0.18
    );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

}


.whatsapp-float:hover {

  transform:
    scale(1.08);

  box-shadow:
    0 14px 30px
    rgba(
      0,
      0,
      0,
      0.25
    );

}


.whatsapp-tooltip {

  position: absolute;

  right: 70px;

  white-space: nowrap;

  background: #05080d;

  color: #fff;

  font-size: 10px;

  font-weight: 600;

  padding:
    9px 13px;

  border-radius: 8px;

  opacity: 0;

  pointer-events: none;

  transform:
    translateX(5px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

}


.whatsapp-float:hover
.whatsapp-tooltip {

  opacity: 1;

  transform:
    translateX(0);

}


/* =========================
   FOOTER
========================= */

footer {

  background: #05080d;

  color: #fff;

  padding:
    25px 0;

}


.footer {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 30px;

  font-size: 11px;

  text-align: center;

}


.footer strong {

  color: #9fb0bc;

}


/* =========================
   TABLET
========================= */

@media (max-width: 980px) {


  .container {

    width:
      min(
        900px,
        calc(100% - 40px)
      );

  }


  .main-menu {

    display: none;

  }


  .header-btn {

    display: none;

  }


  .menu-toggle {

    display: flex;

    align-items: center;

    justify-content: center;

  }


  .cards {

    grid-template-columns:
      repeat(2, 1fr);

  }


  .steps,
  .why-grid {

    grid-template-columns:
      1fr 1fr;

  }


  .gallery {

    grid-template-columns:
      repeat(2, 1fr);

  }


  .photo:nth-child(1),
  .photo:nth-child(2),
  .photo:nth-child(3),
  .photo:nth-child(4),
  .photo:nth-child(5) {

    grid-column:
      auto;

  }


  .contact-info {

    grid-template-columns:
      1fr;

    max-width: 600px;

  }


  /* MENÚ ABIERTO */

  .main-menu.active {

    display: flex;

    position: absolute;

    top: 82px;

    left: 0;

    right: 0;

    padding: 20px;

    background: #fff;

    border-bottom:
      1px solid var(--line);

    box-shadow:
      0 10px 25px
      rgba(
        0,
        20,
        40,
        0.08
      );

    flex-direction: column;

    gap: 18px;

  }


}


/* =========================
   CELULAR
========================= */

@media (max-width: 600px) {


  .container {

    width:
      calc(100% - 28px);

  }


  .nav {

    min-height: 72px;

    justify-content:
      space-between;

  }


  .brand {

    height: 60px;

    gap: 7px;

    font-size: 9px;

    white-space: normal;

    line-height: 1.1;

  }


  .brand img {

    width: 58px;

    height: 45px;

  }


  .main-menu.active {

    top: 72px;

  }


  .hero {

    padding:
      55px 0;

  }


  .hero h1 {

    font-size: 43px;

  }


  .lead {

    font-size: 15px;

  }


  .actions {

    flex-direction: column;

  }


  .actions .btn,
  .actions .outline {

    width: 100%;

    max-width: 300px;

  }


  .pillars {

    flex-wrap: wrap;

    justify-content: center;

    gap: 18px;

  }


  .pillars > div {

    padding:
      0 15px;

  }


  .pillars > div:first-child {

    padding-left: 15px;

  }


  .pillars > div:last-child {

    border: 0;

  }


  /* PROMOCIÓN */

  .promo {

    flex-direction: column;

    text-align: center;

    padding:
      25px 20px;

  }


  .promo-content {

    text-align: center;

  }


  .promo h2 {

    font-size: 25px;

  }


  .promo-btn {

    width: 100%;

  }


  /* SERVICIOS */

  .cards {

    grid-template-columns: 1fr;

  }


  .cards article {

    text-align: center;

  }


  /* ODONTÓLOGOS */

  .dentist-grid {

    grid-template-columns: 1fr;

  }


  .dentist-card {

    text-align: center;

    flex-direction: column;

    align-items: center;

  }


  /* PROCESO */

  .steps {

    grid-template-columns: 1fr;

  }


  .steps > div {

    text-align: center;

  }


  /* GALERÍA */

  .gallery {

    grid-template-columns:
      1fr;

    gap: 15px;

  }


  .photo:nth-child(1),
  .photo:nth-child(2),
  .photo:nth-child(3),
  .photo:nth-child(4),
  .photo:nth-child(5) {

    grid-column: 1;

  }


  .photo {

    height: 280px;

  }


  /* EN CELULAR SIEMPRE MOSTRAR EL NOMBRE */

  .photo-overlay {

    opacity: 1;

    transform:
      translateY(0);

  }


  /* POR QUÉ */

  .why-grid {

    grid-template-columns: 1fr;

  }


  .why-grid > div {

    text-align: center;

  }


  /* CONTACTO */

  .contact {

    padding:
      75px 0;

  }


  .contact-item {

    text-align: left;

  }


  /* REDES */

  .socials {

    gap: 38px;

  }


  .social i {

    font-size: 30px;

  }


  /* WHATSAPP */

  .whatsapp-float {

    right: 16px;

    bottom: 16px;

    width: 55px;

    height: 55px;

    font-size: 28px;

  }


  .whatsapp-tooltip {

    display: none;

  }


  /* FOOTER */

  .footer {

    flex-direction: column;

    gap: 10px;

  }


  .footer strong {

    width: 100%;

  }


  .tech-side {

    opacity: 0.2;

  }

}