/* =========================================================
   Portafolio Consuelo Riquelme — estilos
   Tokens tomados de Figma ("Pantallas Web Final")
   ========================================================= */
:root {
  --bg: #f4f9ff;
  --white: #ffffff;
  --text: #393939;        /* styles/texto-2 */
  --text-soft: #494949;   /* texto */
  --slate: #475569;
  --slate-2: #64748b;
  --ink: #0f172a;
  --pink: #ff2093;
  --red: #ff0005;
  --grad: linear-gradient(180deg, var(--pink), var(--red));
  --grad-diag: linear-gradient(135deg, var(--pink) 10%, var(--red) 109%);
  --card-border: rgba(15, 82, 186, 0.12);
  --card-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  --container: 1488px;
  --gutter: 120px;
  --font-title: "Gabarito", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- utilidades de texto ---------- */
.text-gradient,
.eyebrow {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-diag {
  background: linear-gradient(100.76deg, var(--pink) 2%, var(--red) 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.titles { display: flex; flex-direction: column; gap: 4px; line-height: 1.05; }
.titles--center { text-align: center; }
.eyebrow { font-family: var(--font-title); font-weight: 600; font-size: 20px; }
.h2 { font-family: var(--font-title); font-weight: 800; font-size: 50px; color: var(--text); }
.body-16 { font-size: 16px; line-height: 1.5; color: var(--text); }

/* ---------- fondo decorativo ---------- */
.page-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.page-bg__inner {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1728px;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0.4;
}
.blob { position: absolute; background: center / 100% 100% no-repeat; }
.blob--e1 { width: 1055px; height: 867px; background-image: url(../assets/img/fondo-e1.svg); transform: rotate(-40.36deg); }
.blob--e2 { width: 1408px; height: 1186px; background-image: url(../assets/img/fondo-e2.svg); transform: rotate(-40.36deg); }
.blob--e3 { width: 1731px; height: 1381px; background-image: url(../assets/img/fondo-e3.svg); transform: rotate(-4.85deg); }
.blob--e4 { width: 947px; height: 697px; background-image: url(../assets/img/fondo-e4.svg); transform: rotate(-4.85deg); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 16px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { opacity: 1; }
.btn--solid {
  color: var(--white);
  background: linear-gradient(136deg, var(--pink) 10%, var(--red) 109%);
}
.btn--solid:hover { box-shadow: 0 6px 18px rgba(255, 32, 147, 0.35); }
.btn--outline {
  border: 1px solid var(--pink);
  width: 100%;
}
.btn--outline span {
  background: linear-gradient(153deg, var(--pink) 10%, var(--red) 109%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   NAV
   ========================================================= */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 50px 72px 0;
  transition: padding 0.3s;
}
.nav {
  max-width: 1584px;
  height: 107px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.14));
  transition: height 0.3s, background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav-wrap.is-scrolled { padding-top: 16px; }
.nav-wrap.is-scrolled .nav {
  height: 80px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.nav__logo { height: 100%; display: flex; align-items: center; }
.nav__logo img { height: 100%; width: auto; }
.nav__options { display: flex; align-items: center; gap: 16px; }
.nav__link {
  padding: 8px;
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text);
  opacity: 0.8;
  border-radius: 4px;
  transition: background 0.2s, opacity 0.2s;
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active {
  background: linear-gradient(136deg, var(--pink) 10%, var(--red) 109%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  opacity: 1;
}
.nav__sep { font-family: var(--font-title); opacity: 0.8; padding: 8px; }
.nav__toggle { display: none; }

/* selector de idioma */
.lang { position: relative; width: 140px; }
.lang__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--pink);
  border-radius: 100px;
  font-family: var(--font-title);
  opacity: 0.8;
}
.lang__btn:hover { opacity: 1; }
.lang__btn img { transition: transform 0.2s; }
.lang.is-open .lang__btn img { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: 0.2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu li { padding: 8px 12px; border-radius: 10px; font-family: var(--font-title); font-size: 15px; }
.lang__menu .is-selected { color: var(--pink); }
.lang__menu .is-disabled { color: #9aa4b2; cursor: not-allowed; }
.lang__menu small { font-size: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 727px; /* 888 (línea) - 157 (nav) - margen */
  padding-top: 167px;
  padding-bottom: 80px;
}
.hero__text { position: relative; z-index: 1; max-width: 736px; display: flex; flex-direction: column; gap: 20px; }
.hero__title { font-family: var(--font-title); font-weight: 800; font-size: 50px; line-height: 1.15; }
.hero__sub { font-family: var(--font-title); font-weight: 500; font-size: 35px; line-height: 1.15; }
.hero__body { max-width: 608px; font-size: 20px; line-height: 1.5; }
.hero__body strong { font-weight: 700; }
.hero__circle {
  position: absolute;
  top: 120px;
  left: calc(50% + 260px);
  width: 760px;   /* más pequeño y más arriba para no cruzar los textos */
  height: 760px;
  pointer-events: none;
}
/* círculo blanco: se dibuja al cargar, empezando donde está el punto */
.hero__ring { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-151deg); }
.hero__ring circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-ring 2.2s 0.3s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes draw-ring { to { stroke-dashoffset: 0; } }

/* punto rosa: gira constantemente sobre el círculo */
.hero__orbit {
  position: absolute;
  inset: 0;
  animation: orbit 22s linear infinite;
}
.hero__dot {
  position: absolute;
  left: 50%;
  top: 0.17%;
  width: 4.2%;    /* ~32px sobre 760px */
  height: auto;
  transform: translate(-50%, -50%);
  animation: dot-in 0.6s 0.3s both, pulse 3s 0.9s ease-in-out infinite;
}
@keyframes orbit {
  from { transform: rotate(-61deg); }
  to { transform: rotate(299deg); }
}
@keyframes dot-in { from { opacity: 0; } }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.25); } }

/* líneas blancas: se dibujan al aparecer en pantalla */
.divider.draw {
  background: linear-gradient(var(--white), var(--white)) no-repeat;
  background-origin: content-box;
  background-clip: content-box;
  background-size: 0% 100%;
  transition: background-size 1.2s cubic-bezier(.65, 0, .35, 1);
}
.divider.draw.is-drawn { background-size: 100% 100%; }
.steps__line.draw {
  transform: translateX(-0.75px) scaleY(0);
  transform-origin: top;
  transition: transform 1.4s 0.4s cubic-bezier(.65, 0, .35, 1);
}
.steps__line.draw.is-drawn { transform: translateX(-0.75px) scaleY(1); }

.divider {
  border: 0;
  height: 1.5px;
  margin-block: 0;
  background: var(--white) content-box;
  position: relative;
  z-index: 1;
}

/* =========================================================
   INTRO / PRODUCT DESIGN
   ========================================================= */
.intro {
  position: relative;
  display: grid;
  grid-template-columns: 607px 1fr;
  column-gap: 65px;
  padding-top: 124px;
  padding-bottom: 127px;
}
.intro__text { display: flex; flex-direction: column; gap: 16px; }
.intro__text .body-16 p { margin: 0; }
.steps { position: relative; padding-top: 136px; }
.steps__line {
  position: absolute;
  left: 6px;
  top: -406px;
  bottom: -46px;
  width: 1.5px;
  background: var(--white);
  transform: translateX(-0.75px);
}
.steps__list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; max-width: 691px; }
.step { display: flex; flex-direction: column; gap: 4px; }
.step__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
}
.step__title img { flex: none; }
.step__body { padding: 0 16px 0 26px; color: var(--text-soft); }

/* =========================================================
   EXPERIENCIA
   ========================================================= */
.exp { padding-top: 83px; padding-bottom: 162px; display: flex; flex-direction: column; align-items: center; }
.exp .titles { width: min(607px, 100%); }

.tabs {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 16px 40px;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.14));
  flex-wrap: wrap;
}
.tab {
  padding: 8px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-soft);
  opacity: 0.8;
  transition: 0.2s;
}
.tab:hover { opacity: 1; }
.tab.is-active {
  padding: 8px 16px;
  color: var(--white);
  background: linear-gradient(160deg, var(--pink) 10%, var(--red) 109%);
}
.tabpanel { width: 100%; display: flex; flex-direction: column; align-items: center; }
.tabpanel[hidden] { display: none; }
main { overflow-x: clip; }
.exp__intro { max-width: 736px; text-align: center; margin-top: 33px; }
.concepts { max-width: 1046px; margin-top: 8px; text-align: center; display: flex; flex-direction: column; gap: 7px; }
.concepts__title { font-family: var(--font-title); font-weight: 600; line-height: 1.05; }
.concepts__list { line-height: 1.5; }
.soon { margin-top: 48px; padding: 48px 24px; text-align: center; color: var(--slate); }

/* ---------- tarjetas de proyecto ---------- */
.cards {
  width: 100%;
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1); }
.card:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.card__media { position: relative; height: 260px; overflow: hidden; flex: none; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform 0.4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px; color: var(--slate); }
.card__title { font-family: var(--font-title); font-weight: 700; font-size: 30px; line-height: normal; }
.card__dates { font-weight: 700; line-height: 1.6; }
.card__summary { line-height: 1.6; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 14px;
  border-radius: 100px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 12px;
  line-height: normal;
}
.card .btn--outline { margin-top: 0; }
.card:hover .btn--outline { opacity: 1; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact {
  max-width: 847px;
  padding-bottom: 127px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.contact__phones { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 20px; }
.contact__phones a:hover, .contact__mail:hover { color: var(--pink); }
.contact__dash { font-size: 16px; }
.contact__mail { font-weight: 700; font-size: 20px; word-break: break-all; transition: color 0.2s; }
.contact__note { font-style: italic; font-size: 14px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 2px solid var(--white);
  padding: 64px 80px 40px;
  max-width: 1728px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer__main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer__brand { width: 300px; display: flex; flex-direction: column; gap: 16px; }
.footer__brand p { font-size: 14px; color: var(--slate); line-height: normal; }
.footer__logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 700; font-size: 18px; color: var(--ink); }
.footer__links { display: flex; gap: 64px; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; color: var(--slate); }
.footer__col a:hover { color: var(--pink); }
.footer__head { font-family: var(--font-title); font-weight: 700; color: var(--ink); }
.footer__line { width: 100%; margin: 0; border: 0; border-top: 1px solid rgba(15, 82, 186, 0.2); }
.footer__copy { font-size: 12px; color: var(--slate-2); }

/* =========================================================
   MODAL DE PROYECTO
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  padding: 40px 24px;
  overscroll-behavior: contain;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade 0.25s ease;
}
.modal__panel {
  position: relative;
  max-width: 1479px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--white);
  border: 1px solid rgba(15, 82, 186, 0.2);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  outline: none;
  animation: rise 0.35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.m-hero { display: flex; gap: 32px; align-items: flex-start; }
.m-hero__text { flex: 1; display: flex; flex-direction: column; gap: 8px; line-height: normal; }
.m-title { font-family: var(--font-title); font-weight: 800; font-size: 35px; }
.m-subtitle { font-family: var(--font-title); font-weight: 500; font-size: 20px; color: var(--text); }
.m-dates { color: var(--slate); }
.m-close {
  flex: none;
  width: 32px;
  height: 32px;
  margin-top: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.m-close:hover { background: var(--bg); }

.m-content { display: flex; flex-direction: column; gap: 48px; padding-bottom: 80px; }
.m-desc { display: flex; gap: 32px; align-items: stretch; }
.m-desc__media { flex: 1; min-width: 0; position: relative; border-radius: 8px; overflow: hidden; min-height: 300px; }
.m-desc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.m-desc__info { width: 825px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.m-stake { display: flex; gap: 16px; line-height: normal; }
.m-stake > div { display: flex; flex-direction: column; gap: 4px; }
.m-stake > div + div { flex: 1; }
.m-stake__label { font-weight: 700; }
.m-stake__value { color: var(--slate); }

.m-block { display: flex; flex-direction: column; gap: 4px; line-height: normal; }
.m-block--results { gap: 8px; }
.m-block__head { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--text); }
.m-block__text { color: var(--slate); }
.m-block__text p + p { margin-top: 19px; }
.m-note { font-style: italic; font-size: 12px; color: var(--slate); line-height: normal; }
.m-note b { font-weight: 900; }
.m-results { display: flex; gap: 16px; align-items: stretch; }
.m-stat {
  flex: 1;
  min-width: 0;
  padding: 8px 16px 16px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: normal;
}
.m-stat__value { font-family: var(--font-title); font-weight: 600; font-size: 40px; color: var(--text); }
.m-stat__text { color: var(--slate); }

.m-sep { height: 3px; border: 0; margin: 0; background: var(--grad); }
.m-details { display: flex; gap: 32px; align-items: flex-start; }
.m-detail { display: flex; flex-direction: column; gap: 16px; width: 383px; flex: none; }
.m-detail:last-child { flex: 1; width: auto; min-width: 0; }
.m-detail__icon { height: 40px; width: auto; }
.m-detail h3 { font-size: 16px; font-weight: 700; color: var(--text); line-height: normal; margin-bottom: 4px; }
.m-detail p { color: var(--slate); line-height: normal; }
.m-detail p + p { margin-top: 19px; }
.m-detail .m-note { margin-top: 19px; }

/* galería */
.m-gallery { display: flex; flex-direction: column; gap: 8px; }
.m-gallery__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-img { position: relative; border-radius: 8px; overflow: hidden; }
.g-img img { position: absolute; max-width: none; }
.g-img img.cover { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-gallery--worki { display: grid; grid-template-columns: 711fr 696fr; gap: 8px; }
.m-gallery--worki .col { display: flex; flex-direction: column; gap: 8px; }
.m-gallery--worki .tall { aspect-ratio: 696 / 1415; }

/* otros proyectos */
.m-others { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 24px; }
.m-others__line { width: 100%; height: 1px; border: 0; margin: 0; background: var(--grad); }
.m-others .eyebrow { text-align: center; line-height: 1.05; }
.m-others .cards { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-others .card__media { height: 260px; }

/* =========================================================
   ANIMACIÓN DE ENTRADA
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__ring circle, .hero__orbit, .hero__dot { animation: none; stroke-dashoffset: 0; }
  .divider.draw, .steps__line.draw { transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  :root { --gutter: 80px; }
  .hero__circle { left: auto; right: -340px; }
  /* el texto nunca llega hasta el círculo */
  .hero__text { max-width: min(736px, calc(100vw - 460px - var(--gutter))); }
  .m-desc__info { width: 58%; }
  .m-detail { width: calc((100% - 64px) * 0.27); }
}

@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .nav-wrap { padding-inline: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .steps__line { top: -124px; } /* parte en la línea horizontal, sin cruzar el texto de arriba */
  .m-desc { flex-direction: column; }
  .m-desc__media { min-height: 360px; }
  .m-desc__info { width: 100%; }
  .m-details { flex-direction: column; }
  .m-detail, .m-detail:last-child { width: 100%; }
}

@media (max-width: 980px) {
  .nav { height: 80px; padding: 12px 24px; }
  .nav-wrap { padding-top: 16px; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
  }
  .nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__options {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s;
  }
  .nav__options.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link, .nav__link.is-active { text-align: left; padding: 10px 12px; }
  .nav__sep { display: none; }
  .lang { width: 100%; }

  .hero { padding-top: 96px; min-height: 0; }
  .hero__text { max-width: 736px; }
  /* en pantallas chicas el círculo va debajo del texto, sin taparlo */
  .hero__circle { position: relative; top: auto; left: auto; right: auto; width: 320px; height: 320px; margin: 40px -100px -40px auto; }
  .intro { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; row-gap: 48px; }
  .steps { padding-top: 0; padding-left: 0; }
  .steps__line { top: 0; bottom: 0; }
  .exp { padding-top: 64px; padding-bottom: 96px; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 110px; }
  .nav-wrap { padding-inline: 12px; }
  .nav__options { left: 12px; right: 12px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 26px; }
  .hero__body { font-size: 18px; }
  .br-desk { display: none; }
  .hero__circle { width: 240px; height: 240px; margin-right: -70px; }
  .hero__dot { width: 7%; }
  .h2 { font-size: 38px; }
  .eyebrow { font-size: 17px; }
  .step__title { font-size: 18px; align-items: flex-start; }
  .step__title img { margin-top: 8px; }
  .tabs { padding: 8px; gap: 6px; border-radius: 24px; }
  .cards, .m-others .cards { grid-template-columns: 1fr; }
  .card__media { height: 220px; }
  .contact__phones { flex-direction: column; gap: 4px; }
  .contact__dash { display: none; }
  .contact__mail { font-size: 17px; }
  .footer { padding: 48px 16px 32px; }
  .footer__main { flex-direction: column; }
  .footer__brand { width: 100%; }
  .footer__links { gap: 40px; flex-wrap: wrap; }

  .modal { padding: 12px 8px; }
  .modal__panel { padding: 20px 16px; border-radius: 24px; gap: 24px; }
  .m-title { font-size: 28px; }
  .m-subtitle { font-size: 17px; }
  .m-content { gap: 32px; padding-bottom: 32px; }
  .m-desc__media { min-height: 220px; }
  .m-results { flex-wrap: wrap; }
  .m-stat { flex: 1 1 calc(50% - 8px); }
  .m-stat__value { font-size: 32px; }
  .m-stake { flex-direction: column; }
  .m-gallery__row, .m-gallery--worki { grid-template-columns: 1fr; }
}
