:root {
  --color-bg: #f2fbff;
  --color-panel: rgba(255, 255, 255, 0.92);
  --color-primary: #0091ff;
  --color-secondary: #6ee0ff;
  --color-text: #06243b;
  --color-muted: #4c7899;
  --shadow: 0 25px 45px rgba(7, 89, 146, 0.18);
  --radius: 18px;
  --gradient: linear-gradient(120deg, #008afc, #4dcdfd 55%, #9af6ff);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: inherit;
  background: linear-gradient(180deg, #f8fdff, #e2f6ff);
  color: var(--color-text);
}

body.projects-page {
  background: linear-gradient(180deg, #f8fdff, #e2f6ff);
  color: var(--color-text);
}

body.projects-page main {
  padding: 2rem clamp(1.5rem, 4vw, 5rem) 4rem;
}

body.projects-page .section-title,
body.projects-page p {
  color: var(--color-text);
}

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

header {
  padding: 2rem clamp(1.5rem, 4vw, 4rem) 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 89, 146, 0.1);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  text-transform: lowercase;
}

.brand-type {
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-plus {
  font-weight: 800;
  color: #7fe5ff;
  font-size: 1.35rem;
  line-height: 1;
}

.hero h1 .brand-plus {
  font-size: 1.35em;
}

nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a.active,
nav a:hover {
  background: rgba(0, 148, 255, 0.12);
  color: var(--color-primary);
}

.cta-outline {
  border: 1px solid rgba(0, 148, 255, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  color: var(--color-primary);
  font-weight: 600;
}

main {
  padding: 0 clamp(1.5rem, 4vw, 4rem) 4rem;
}

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 2rem 0 4rem;
}

.hero-neo {
  padding: clamp(2rem, 4vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}

.hero-neo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 253, 255, 0.5), rgba(242, 251, 255, 0.2));
  opacity: 0.6;
  z-index: 0;
}

.hero-neo::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -120px;
  right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 148, 255, 0.25), transparent 55%);
  filter: blur(12px);
  opacity: 0.75;
  animation: float-glow 12s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-neo > * {
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-panel-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 148, 255, 0.15);
  box-shadow: var(--shadow);
}

.hero-panel-card ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
  color: var(--color-muted);
}

.hero-panel-card li + li {
  margin-top: 0.4rem;
}

.link-arrow {
  color: var(--color-primary);
  font-weight: 600;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-compact {
  min-height: auto;
  padding: 1rem 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #0a92f3, #5ed6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.hero-title .hero-plus {
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.vertical-carousel {
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
}

.vertical-slider {
  width: min(440px, 50vw);
  height: clamp(620px, 70vh, 820px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 148, 255, 0.15);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.85rem;
  box-shadow: 0 20px 45px rgba(6, 36, 59, 0.15);
}

.vertical-track {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  will-change: transform;
}

.vertical-item {
  flex: 0 0 230px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vertical-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vertical-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 148, 255, 0.2);
}

@media (max-width: 900px) {
  .vertical-slider {
    width: 100%;
    height: clamp(520px, 65vh, 720px);
  }
}

.collection-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.collection-intro h1 {
  margin: 1rem auto 0;
  max-width: 620px;
  color: var(--color-text);
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.collection-pill {
  display: inline-flex;
  padding: 0.35rem 1.5rem;
  border-radius: 999px;
  background: rgba(0, 148, 255, 0.12);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-primary);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 900px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
}

.collection-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  padding: 1rem 1rem 0;
  box-shadow: 0 20px 45px rgba(6, 36, 59, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.collection-card img {
  width: 100%;
  border-radius: 24px;
  height: 300px;
  object-fit: contain;
  background: #fff;
}

.collection-card img.collection-img-contain {
  object-fit: contain;
  background: #fff;
}

.collection-header {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.collection-slider {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 148, 255, 0.12);
  background: rgba(0, 148, 255, 0.04);
}

.slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.22rem;
  will-change: transform;
}

.slider-item {
  flex: 0 0 32%;
  max-width: 32%;
  height: 140px;
  overflow: hidden;
  margin: 0; /* quita el margen por defecto de figure */
  transition: transform 0.2s ease;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.slider-item:hover {
  transform: scale(1.04);
}

.slider-item:hover img {
  transform: scale(1.06);
}

.slider-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .slider-item {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 600px) {
  .slider-item {
    flex-basis: 75%;
    max-width: 75%;
  }
}

.collection-card footer {
  display: flex;
  justify-content: center;
  margin: 1rem 0 1.25rem;
}

.collection-card footer span {
  padding: 0.35rem 0.5rem;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
}

.hero-intro {
  position: relative;
  padding: clamp(1rem, 2vw, 2rem);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 148, 255, 0.15);
  box-shadow: var(--shadow);
}

.signal {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: rgba(0, 148, 255, 0.12);
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.signal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  animation: scan 4s infinite;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #f5fbff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(0, 148, 255, 0.12);
  color: var(--color-primary);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 148, 255, 0.25);
  filter: saturate(1.05);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.hero-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-status article {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 148, 255, 0.15);
  background: rgba(0, 148, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(0, 148, 255, 0.1);
}

.hero-status h3 {
  margin: 0;
  font-size: 2rem;
  color: var(--color-primary);
}

.hero-status span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-status .label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-metrics-neo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics-neo article {
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 148, 255, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 30px rgba(0, 148, 255, 0.08);
}

.hero-right {
  align-items: flex-end;
}

.glass-panel {
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 148, 255, 0.15);
  box-shadow: var(--shadow);
}

.glass-panel h3 {
  margin-top: 0.25rem;
}

.orbit-panel {
  width: min(360px, 90vw);
}

.orbit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.orbit-cards article {
  padding: 1rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 148, 255, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 25px rgba(0, 148, 255, 0.08);
}

.follow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
}

.follow-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-muted);
}

.follow-actions p {
  margin: 0;
  font-weight: 600;
}

.dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 148, 255, 0.3);
}

.client-logos {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.client-logos img {
  height: 28px;
  opacity: 0.7;
}

.travel-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.destination-grid article {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(0, 148, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.destination-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.destination-grid article:hover img {
  transform: scale(1.02);
}

.destination-grid div {
  padding: 1rem;
}

.destination-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7, 89, 146, 0.18);
  border-color: rgba(0, 148, 255, 0.25);
}

.journey-panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 148, 255, 0.15);
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.journey-grid article {
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 148, 255, 0.12);
  background: rgba(0, 148, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.journey-card-main {
  background: var(--gradient);
  color: #f5fbff;
}

.journey-card-main .link-arrow {
  color: #fff;
}

.journey-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(7, 89, 146, 0.16);
  border-color: rgba(0, 148, 255, 0.2);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
  perspective: 1200px;
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(6, 36, 59, 0.18);
  min-height: clamp(160px, 28vh, 220px);
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-lg {
  grid-column: span 2;
  min-height: clamp(220px, 38vh, 320px);
}

.hero-photo-wide {
  grid-column: span 2;
  min-height: clamp(160px, 26vh, 200px);
}

@keyframes float-glow {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(30px) scale(1.08);
  }
}

.holo-panel {
  position: relative;
  overflow: hidden;
}

.holo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 148, 255, 0.15), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.holo-panel > * {
  position: relative;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.system-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 148, 255, 0.18);
  background: rgba(0, 148, 255, 0.08);
  box-shadow: inset 0 0 40px rgba(0, 148, 255, 0.06);
  backdrop-filter: blur(6px);
}

.system-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.system-card h3 {
  margin: 0 0 0.5rem;
}

.panel {
  background: var(--color-panel);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}

.panel.panel-compact {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.panel-narrow {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
}

.metrics,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.metric h3 {
  margin: 0;
  font-size: 2rem;
}

.metric p {
  color: var(--color-muted);
  margin: 0.35rem 0 0;
}

.cards .card {
  background: rgba(111, 219, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0, 148, 255, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cards .card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 148, 255, 0.35);
}

.logo-carousel {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 148, 255, 0.15);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  box-shadow: 0 15px 35px rgba(6, 36, 59, 0.12);
}

.logo-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.22rem;
  align-items: center;
  will-change: transform;
}

.logo-item {
  flex: 0 0 clamp(220px, 28vw, 360px);
  height: clamp(160px, 24vw, 240px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(6, 36, 59, 0.12);
  margin: 0; /* quita el margen por defecto de figure */
  transition: transform 0.2s ease;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  background: #fff;
}

.lightbox-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.lightbox-nav {
  position: static;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}
body.lightbox-open {
  overflow: hidden;
}

.carousel-highlight {
  outline: 3px solid rgba(0, 145, 255, 0.85);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-item:hover {
  transform: scale(1.04);
}

.logo-item:hover img {
  transform: scale(1.06);
}

.logo-carousel-sm .logo-track {
  animation-duration: 28s;
}

.logo-carousel-sm {
  width: 100%;
  margin: 0;
}

.logo-carousel-sm .logo-item {
  flex-basis: clamp(100px, 16vw, 160px);
  height: clamp(80px, 12vw, 120px);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(150%);
  }
}

.rich-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-muted);
  margin: 0;
  text-align: center;
}

.rich-text p + p {
  margin-top: 1.25rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-caption {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 148, 255, 0.12);
  color: var(--color-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline {
  border-left: 2px solid rgba(0, 148, 255, 0.25);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  position: absolute;
  left: -1.75rem;
  top: 0.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery figure {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery figcaption {
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form input,
.form textarea,
.form select {
  border-radius: 12px;
  border: 1px solid rgba(0, 148, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.form textarea {
  resize: vertical;
  min-height: 160px;
}

.offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.offices article {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 148, 255, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

footer {
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(0, 138, 252, 0.15), rgba(0, 212, 255, 0.12));
  border-top: 1px solid rgba(0, 148, 255, 0.2);
  color: var(--color-text);
}

footer section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .hero-photo-lg,
  .hero-photo-wide {
    grid-column: span 1;
    min-height: clamp(180px, 32vh, 260px);
  }
}
.text-center {
  text-align: center;
}

.text-center .section-title {
  text-align: center;
}

.section-title-sm {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}
