/* ============================================================
   THE FOOTWEAR LAB — CSS COMPLETO
   ============================================================ */

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

:root {
  --navy: #0D1B3E;
  --royal: #2D35C2;
  --carbon: #232323;
  --gray-light: #F5F5F7;
  --gray-mid: #E8E8E8;
  --white: #ffffff;
  --font: 'Inter', sans-serif;
  --container: 1200px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--carbon);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--royal);
  color: var(--white);
  border-color: var(--royal);
}
.btn--primary:hover { background: #2228a8; border-color: #2228a8; }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); }
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.10); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__logo img {
  height: 52px;
  width: auto;
  border-radius: 6px;
  display: block;
}
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.navbar__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.navbar__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--royal); }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 20px;
  padding: 3px 10px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--carbon);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--navy); color: var(--white); border-radius: 10px; }
.lang-sep { color: var(--gray-mid); font-size: 0.8rem; }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background-color: #0D1B3E;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,62,0.92) 0%, rgba(13,27,62,0.78) 50%, rgba(13,27,62,0.45) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  width: 100%;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #2D35C2;
  border-radius: 2px;
  flex-shrink: 0;
}
.hero__title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  color: #6b77f0;
  display: block;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 480px;
  border-left: 3px solid #2D35C2;
  padding-left: 1.25rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__stats-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2rem;
}
.hero__stats-card-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #6b77f0;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__stats-card-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #6b77f0;
  border-radius: 2px;
  flex-shrink: 0;
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero__stat {
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  cursor: default;
}
.hero__stat:hover {
  background: rgba(45,53,194,0.2);
  border-color: rgba(45,53,194,0.4);
  transform: translateY(-2px);
}
.hero__stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.hero__markets-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.hero__markets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 0;
  border-top: none;
}
.hero__market-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s ease;
  cursor: default;
}
.hero__market-tag:hover {
  background: rgba(45,53,194,0.3);
  border-color: rgba(45,53,194,0.5);
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero__visual { display: none; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
}

.carousel-nav-mobile { display: none; }

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 1rem;
}
.section-eyebrow,
.about-teaser__eyebrow,
.process-block__eyebrow,
.portfolio-intro__eyebrow .section-eyebrow,
.svc-banner .svc-banner__eyebrow,
.portfolio-cta-block__eyebrow {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-header p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

.services-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  max-width: 100%;
  margin: 0 0 2rem;
}
.services-section .section-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0D1B3E;
  margin: 0;
}
.services-section .section-header p {
  max-width: 400px;
  margin: 0;
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
}
.services-section .section-eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

/* SERVICES */
.services-section {
  padding: 7rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Foto_Vector_2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
.services-section .container {
  position: relative;
  z-index: 1;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 2rem;
  position: relative;
  z-index: 2;
}
.svc-card {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid #e0e0e0;
  border-top: 3px solid transparent;
  transition: all 0.3s ease;
  cursor: default;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Foto_Vector_2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}
.svc-card > * {
  position: relative;
  z-index: 1;
}
.svc-card:nth-child(1)::after { opacity: 0.05; filter: hue-rotate(0deg); }
.svc-card:nth-child(2)::after { opacity: 0.05; filter: hue-rotate(40deg); }
.svc-card:nth-child(3)::after { opacity: 0.05; filter: hue-rotate(80deg); }
.svc-card:nth-child(4)::after { opacity: 0.05; filter: hue-rotate(180deg); }
.svc-card:nth-child(5)::after { opacity: 0.05; filter: hue-rotate(220deg); }
.svc-card:last-child { border-right: none; }
.svc-card:hover {
  border-top-color: #2D35C2;
  background: #FAFBFF;
  box-shadow: inset 0 -4px 0 0 #2D35C2;
}
.svc-card__icon {
  width: 52px;
  height: 52px;
  background: #EEF0FF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.svc-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: #2D35C2;
}
.svc-card__header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.svc-card__header h3 {
  margin-bottom: 0;
}
.svc-card__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #2D35C2;
  flex-shrink: 0;
}
.svc-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0D1B3E;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  min-height: 2.6rem;
}
.svc-card p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.75;
}

.process-block {
  background: #0D1B3E;
  border-radius: 20px;
  padding: 4rem;
  margin: 0 0 1.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
}
.process-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Foto_Vector_2.png');
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
}
.process-block__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.process-block__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #6b77f0;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.875rem;
}
.process-block__title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}
.process-block__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0;
  align-self: end;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(8.33% / 2);
  right: calc(8.33% / 2);
  height: 1px;
  background: linear-gradient(90deg, rgba(45,53,194,0.6), rgba(107,119,240,0.6));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step__arrow { display: none; }
.process-step__circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(13,27,62,0.8);
  border: 1.5px solid rgba(45,53,194,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  cursor: default;
}
.process-step__circle:hover {
  background: #2D35C2;
  border-color: #2D35C2;
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(45,53,194,0.2);
}
.process-step__circle svg {
  width: 24px;
  height: 24px;
  stroke: #6b77f0;
}
.process-step__circle:hover svg { stroke: #ffffff; }
.process-step__name {
  font-size: 0.78rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.process-step__label {
  display: none;
}
.process-step__number {
  font-size: 0.65rem;
  font-weight: 700;
  color: #6b77f0;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.svc-banner {
  background: linear-gradient(135deg, #2D35C2 0%, #0D1B3E 100%);
  border-radius: 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.svc-banner__content {
  padding: 3.5rem 4rem;
}
.svc-banner__quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.svc-banner__quote em {
  font-style: normal;
  color: #6b77f0;
}
.svc-banner__img {
  position: relative;
  overflow: hidden;
}
.svc-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card:nth-child(3) { border-right: none; }
  .svc-card:nth-child(n+4) { border-top: 1px solid #e0e0e0; }
  .services-section .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .process-block__header { grid-template-columns: 1fr; gap: 1rem; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card:nth-child(even) { border-right: none; }
  .svc-card:nth-child(n+3) { border-top: 1px solid #e0e0e0; }
  .svc-banner { grid-template-columns: 1fr; }
  .svc-banner__img { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-top: 1px solid #e0e0e0; }
  .svc-card:first-child { border-top: 3px solid transparent; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

/* ABOUT TEASER */
.about-teaser {
  padding: 5rem 0;
  background: #0D1B3E;
  color: #ffffff;
}
.about-teaser__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b77f0;
  margin-bottom: 1.5rem;
}
.about-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-simple-text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.about-simple-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.about-markets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}
.about-market-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.about-stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.25rem;
  transition: background 0.2s ease;
}
.about-stat-item:hover {
  background: rgba(255,255,255,0.10);
}
.about-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.about-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-simple-photo {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.about-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.about-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.about-photo-caption {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0 0.25rem;
}
.about-photo-caption__line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #2D35C2;
  flex-shrink: 0;
  border-radius: 2px;
}
.about-photo-caption__text {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .about-simple-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* PORTFOLIO / CAROUSEL */
.portfolio-preview {
  padding: 1.5rem 0 5rem;
  background: #0D1B3E;
  overflow: hidden;
  position: relative;
}
.portfolio-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Foto_Vector_2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}
.portfolio-preview .container,
.portfolio-preview .carousel-wrapper,
.portfolio-preview .carousel-dots {
  position: relative;
  z-index: 1;
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
  padding: 0 4rem;
}
.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.carousel-card {
  flex: 0 0 calc(25% - 1rem);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,27,62,0.12);
}
.carousel-card__img {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  padding: 1.5rem;
}
.carousel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.carousel-card__img--cover {
  padding: 0;
}
.carousel-card__img--cover img {
  object-fit: cover;
  object-position: center top;
}
.carousel-card__label {
  padding: 0.875rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0D1B3E;
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #0D1B3E;
  background: #ffffff;
  color: #0D1B3E;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 2;
}
.carousel-btn:hover {
  background: #0D1B3E;
  color: #ffffff;
}
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.carousel-dot.active {
  background: #0D1B3E;
  width: 24px;
  border-radius: 4px;
}

/* PORTFOLIO DARK THEME OVERRIDES */
.section-header h2 { color: inherit; }
.portfolio-preview .section-header h2 { color: #ffffff; }
.portfolio-preview .section-header p { color: rgba(255,255,255,0.65); }
.portfolio-preview .section-eyebrow { color: #6b77f0; }
.carousel-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.carousel-card:hover {
  background: rgba(255,255,255,0.10);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.carousel-card__img {
  background: rgba(255,255,255,0.04);
}
.carousel-card__label {
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: transparent;
}
.carousel-btn {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}
.carousel-btn:hover {
  background: #ffffff;
  color: #0D1B3E;
}
.carousel-dot { background: rgba(255,255,255,0.3); }
.carousel-dot.active {
  background: #ffffff;
}
.portfolio-preview .btn--outline-navy {
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.portfolio-preview .btn--outline-navy:hover {
  background: #ffffff;
  color: #0D1B3E;
}

@media (max-width: 1024px) {
  .carousel-card { flex: 0 0 calc(33.33% - 1rem); }
}
@media (max-width: 768px) {
  .carousel-card { flex: 0 0 calc(50% - 1rem); }
  .carousel-wrapper { padding: 0 3rem; }
}
@media (max-width: 480px) {
  .carousel-card { flex: 0 0 calc(100% - 1rem); }
  .carousel-wrapper { padding: 0 2.5rem; }
}

/* CTA BANNER */
.cta-banner {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--royal) 0%, var(--navy) 100%);
  text-align: center;
}
.cta-banner__inner { max-width: 680px; margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.80);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  background: var(--carbon);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: block;
}
.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }
.footer__contact-info a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__contact-info a:hover { color: var(--white); }
.footer__bottom {
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* FADE IN ANIMATIONS */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-teaser__inner { grid-template-columns: 1fr 1fr; }
  .about-teaser__image-wrap { display: none; }
  .services-row--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about-teaser__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-row--three { grid-template-columns: 1fr; }
  .services-row--two { grid-template-columns: 1fr; }
  .navbar__menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .navbar__menu.open { display: flex; }
  .navbar__hamburger { display: flex; }
  .navbar__links { flex-direction: column; gap: 1rem; }
}
@media (max-width: 600px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
}

/* PORTFOLIO INTRO & CTA BLOCK */
.portfolio-intro {
  padding: 1rem 0 3rem;
}
.portfolio-intro__eyebrow {
  margin-bottom: 2rem;
}
.portfolio-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.portfolio-intro__title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.portfolio-intro__lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  border-left: 3px solid #2D35C2;
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.portfolio-intro__shoe-wrap {
  text-align: center;
  margin-top: 1.5rem;
}
.portfolio-intro__shoe {
  width: 85%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(13,27,62,0.3));
}
.portfolio-intro__shoe-caption {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}
.portfolio-intro__specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.portfolio-spec {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.portfolio-spec:hover {
  background: rgba(45,53,194,0.15);
  border-color: rgba(45,53,194,0.4);
}
.portfolio-spec__icon {
  font-size: 1.4rem;
  color: #6b77f0;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  margin-top: 2px;
}
.portfolio-spec__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.portfolio-spec__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.portfolio-cta-block {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
.portfolio-cta-block__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b77f0;
  margin-bottom: 0.75rem;
}
.portfolio-cta-block__title {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.portfolio-cta-block__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}
.portfolio-cta-block__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .portfolio-intro__grid { grid-template-columns: 1fr; }
  .portfolio-cta-block { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {

  /* NAVBAR */
  .navbar__inner { height: 60px; }
  .navbar__logo img { height: 42px; }

  /* HERO */
  .hero { min-height: 100svh; padding-top: 60px; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 0;
    gap: 2rem;
  }
  .hero__content { padding: 0 1.25rem; }
  .hero__title { font-size: 2.4rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; width: 100%; }
  .hero__visual { display: none; }

  /* SERVICES */
  .services-section { padding: 4rem 0; }
  .services-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .services-section .section-header p { max-width: 100%; }
  .svc-grid {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .svc-card {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem;
  }
  .svc-card:first-child { border-top: 3px solid transparent; }
  .svc-card:last-child { border-bottom: none; }

  /* PROCESS BLOCK */
  .process-block { padding: 2rem 1.25rem; }
  .process-block__header {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .process-block__title { font-size: 1.4rem; }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .process-steps::before { display: none; }

  /* BANNER SERVICIOS */
  .svc-banner { grid-template-columns: 1fr; }
  .svc-banner__content { padding: 2rem 1.5rem; }
  .svc-banner__img { display: none; }

  /* ABOUT */
  .about-teaser { padding: 3.5rem 0 1.5rem; }
  .about-simple-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stat-number { font-size: 1.5rem; }
  .about-simple-photo { display: none; }

  /* PORTFOLIO */
  .portfolio-preview { padding: 1.5rem 0 3rem; }
  .portfolio-intro__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .portfolio-intro__title { font-size: 1.5rem; }
  .carousel-wrapper {
    flex-direction: row;
    padding: 0 1rem;
    gap: 0;
  }
  .carousel-btn--prev,
  .carousel-btn--next,
  .carousel-nav-mobile {
    display: none !important;
  }
  .carousel-track-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
  }
  .carousel-track {
    display: flex;
    gap: 0 !important;
    transition: transform 0.4s ease !important;
  }
  .carousel-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px;
  }
  .carousel-card__img {
    aspect-ratio: 1/1;
    padding: 1.5rem !important;
  }
  .portfolio-cta-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .portfolio-cta-block__right { align-items: stretch; }
  .portfolio-cta-block__right .btn { text-align: center; }

  /* CTA BANNER */
  .cta-banner { padding: 3.5rem 0; }
  .cta-banner h2 { font-size: 1.6rem; }

  /* FOOTER */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__tagline { max-width: 100%; }

  /* Quiénes somos - foto como fondo en mobile */
  .about-teaser {
    position: relative;
    overflow: hidden;
  }
  .about-teaser::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/Nosotros_2.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
  }
  .about-teaser .container {
    position: relative;
    z-index: 1;
  }

  /* Banner servicios - foto como fondo en mobile */
  .svc-banner {
    position: relative;
    overflow: hidden;
  }
  .svc-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/Enfermera_corriendo.png');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
  }
  .svc-banner .svc-banner__content {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .carousel-card { flex: 0 0 calc(100% - 0.5rem); }
}

.hero__visual {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero__visual.visible {
  opacity: 1;
  transform: translateX(0);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(255,255,255,0.4);
}
.footer__contact-item a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__contact-item a:hover { color: #ffffff; }
.footer__linkedin {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: inline-flex;
}
.footer__linkedin:hover { color: #0A66C2; }

.about-desc-main {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.founder-accordion {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.founder-accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}
.founder-accordion__btn:hover {
  background: rgba(45,53,194,0.2);
  border-color: rgba(45,53,194,0.4);
}
.founder-accordion__btn.open {
  border-radius: 10px 10px 0 0;
  background: rgba(45,53,194,0.2);
  border-color: rgba(45,53,194,0.4);
}
.founder-accordion__arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  stroke: #6b77f0;
}
.founder-accordion__btn.open .founder-accordion__arrow {
  transform: rotate(180deg);
}
.founder-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: rgba(45,53,194,0.1);
  border: 1px solid rgba(45,53,194,0.4);
  border-top: none;
  border-radius: 0 0 10px 10px;
}
.founder-accordion__content.open {
  max-height: 300px;
  padding: 1.25rem;
}
.founder-accordion__content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin: 0;
}

