/* Remo Clock — layout inspired by Connecteam-style marketing (clean SaaS: light surfaces, purple primary, generous spacing) */

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

:root {
  /* Connecteam-like: white / cool gray / strong purple CTA */
  --color-bg: #ffffff;
  --color-bg-muted: #f3f4f6;
  --color-bg-dark: #111827;
  --color-text: #374151;
  --color-text-muted: #6b7280;
  --color-heading: #111827;
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-primary-soft: rgba(99, 102, 241, 0.12);
  --color-accent: #ea580c;
  --color-border: rgba(17, 24, 39, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 40px rgba(17, 24, 39, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --container: min(1180px, calc(100% - 2.5rem));
  --container-header-mobile: min(1180px, calc(100% - 1rem));
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  /* Altura de referencia (logo + tagline + padding); evita recorte con sticky */
  --header-h: 100px;
  /* Dark header (top bar) */
  --header-bg: linear-gradient(165deg, #0b1020 0%, #151b33 45%, #1a1f35 100%);
  --header-border: rgba(255, 255, 255, 0.09);
  --header-nav: #cbd5e1;
  --header-nav-hover: #f8fafc;
  --header-accent-soft: rgba(129, 140, 248, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding-block: 0.65rem;
}

@media (max-width: 959px) {
  .site-header .header-inner {
    width: var(--container-header-mobile);
    gap: 0.4rem;
  }
}

/* CTAs + burger: pegado a la derecha; el burger es el último hijo */
.header-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}

@media (max-width: 959px) {
  .header-end {
    gap: 0.3rem;
  }
}

/* Logo plano sobre barra oscura (sin caja ni borde) */
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  padding: 0;
  line-height: 0;
}

.logo-link:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.8);
  outline-offset: 3px;
  border-radius: 4px;
}

.logo-link img {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* Marca: logo + leyenda debajo, alineados a la izquierda */
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  flex-shrink: 0;
}

.site-tagline {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.25;
  text-align: left;
  max-width: 14rem;
}

.site-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.site-nav.is-open {
  display: flex;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: linear-gradient(180deg, #151b33 0%, #0f1419 100%);
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: none;
    box-shadow: none;
    gap: 0.15rem;
    align-self: center;
  }
}

.site-header .site-nav a {
  color: var(--header-nav);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.site-header .site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--header-nav-hover);
  text-decoration: none;
}

.site-header .site-nav a[aria-current='page'] {
  background: var(--header-accent-soft);
  color: #e0e7ff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  flex-shrink: 1;
  min-width: 0;
}

.header-actions-top,
.header-actions-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Log In: plain text link on dark header, no button chrome */
.header-login {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.1rem 0.2rem;
  transition: color 0.15s;
  white-space: nowrap;
}

.header-login:hover {
  color: #f8fafc;
  text-decoration: none;
}

@media (max-width: 959px) {
  .header-actions {
    gap: 0.1rem;
  }
  .header-actions-top,
  .header-actions-bottom {
    gap: 0.3rem;
  }
}

/* Desktop-only header actions (Log In, Demo) */
.header-cta-desktop {
  display: none;
}

@media (min-width: 960px) {
  .header-cta-desktop {
    display: inline-flex;
  }
}

@media (max-width: 360px) {
  .header-brand .logo-link img {
    height: 40px;
  }

  .site-tagline {
    font-size: 0.58rem;
    max-width: 11rem;
  }

  .header-end {
    gap: 0.2rem;
  }
}

.site-header .nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-right: -0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.site-header .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (min-width: 960px) {
  .site-header .nav-toggle {
    display: none;
    margin-right: 0;
  }
}

/* Botones del header: contraste alto sobre barra oscura, misma familia indigo */
.site-header .header-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.site-header .header-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header .header-actions .btn-primary {
  background: linear-gradient(180deg, #a5b4fc 0%, #6366f1 48%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 16px rgba(79, 70, 229, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-header .header-actions .btn-primary:hover {
  filter: brightness(1.07);
  color: #ffffff;
}

/* Language selector (ES/EN) */
.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.35rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.38rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.is-active {
  color: #ffffff;
  background: rgba(129, 140, 248, 0.35);
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.45);
}

.lang-sep {
  color: rgba(203, 213, 225, 0.65);
  font-size: 0.72rem;
}

@media (max-width: 959px) {
  .lang-selector {
    margin-right: 0;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #818cf8 0%, var(--color-primary) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--color-bg-muted);
  color: var(--color-heading);
}

.btn-ghost:hover {
  background: #e5e7eb;
  color: var(--color-heading);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-soft);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 55%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% -10%, rgba(99, 102, 241, 0.15), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-heading);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-visual {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-muted);
  padding: 1rem;
}

.hero-visual img {
  display: block;
  margin: 0 auto;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--color-bg-muted);
}

.section-title {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-heading);
}

.section-sub {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* Feature grid (Connecteam “all tools” style) */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cards.cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.25);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon .icon-line {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

/* Why section — 4 columns */
.grid-why {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-why {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-why {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--color-heading);
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Split content + image */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split.reverse .split-text {
    order: 2;
  }

  .split.reverse .split-media {
    order: 1;
  }
}

.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prose ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--color-text);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1e1b4b 0%, var(--color-bg-dark) 100%);
  color: #e5e7eb;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: #9ca3af;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  color: #e5e7eb;
  border: 2px solid rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #f3f4f6;
  color: var(--color-primary-hover);
}

/* Contact grid (offices) */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.office-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}

.office-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.office-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff;
}

.office-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.5;
}

.office-card a {
  color: #a5b4fc;
}

/* Footer */
.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-top {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-top a {
  color: var(--color-text);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copy {
  text-align: center;
  font-size: 0.8125rem;
}

.footer-copy img {
  height: 24px;
  vertical-align: middle;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #f9fafb, #fff);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.page-hero p {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--color-text-muted);
}

/* Feature list (product page) */
.feature-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.feature-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: transparent;
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Certifications strip */
.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.certs img {
  height: 56px;
  width: auto;
  opacity: 0.85;
}

/* Brochure link */
.link-brochure {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ accordion */
.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--color-bg);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-heading);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.75rem;
}

.faq details p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.mail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mail-card {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-muted);
}

.mail-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.mail-card a {
  font-weight: 600;
  word-break: break-all;
}

.cta-band .mail-card a {
  color: #c7d2fe;
}

.cta-band .mail-card a:hover {
  color: #fff;
}

/* Geo tracking / long-form marketing */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2rem 0 0;
  opacity: 0.85;
}

.logo-strip img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--color-heading);
  font-size: 0.875rem;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.geo-hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-muted);
}

/* Geo tracking — panel por sector (tabs + carrusel) */
.geo-industry {
  scroll-margin-top: var(--header-h);
}

.geo-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0 auto 1.75rem;
  padding: 0.25rem;
  max-width: 52rem;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.geo-tablist [role='tab'] {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.geo-tablist [role='tab']:hover {
  color: var(--color-heading);
  background: rgba(255, 255, 255, 0.7);
}

.geo-tablist [role='tab'][aria-selected='true'] {
  background: var(--color-bg);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.geo-tablist [role='tab']:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.geo-tab-panels {
  max-width: 1100px;
  margin-inline: auto;
}

.geo-tab-panel[hidden] {
  display: none !important;
}

.geo-tab-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .geo-tab-split {
    grid-template-columns: 1fr minmax(280px, 1fr);
  }
}

.geo-tab-copy ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text);
  line-height: 1.65;
}

.geo-tab-copy li {
  margin-bottom: 0.65rem;
}

.geo-tab-copy li:last-child {
  margin-bottom: 0;
}

.geo-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}

.geo-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.geo-carousel img.is-visible {
  opacity: 1;
  z-index: 1;
}

.geo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.geo-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.geo-carousel-dots button[aria-current='true'] {
  background: var(--color-primary);
  transform: scale(1.15);
}

.media-cap {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
