@import url("fonts.css");

/* MiamiTorco PetroOil LLC — Paleta Grafito / Ámbar */
:root {
  /* Tokens principales */
  --void: #0A0A0A;
  --graphite: #2D2D2D;
  --graphite-mid: #1A1A1A;
  --graphite-light: #3A3A3A;
  --graphite-soft: #454545;
  --amber: #FFB800;
  --amber-dark: #CC9300;
  --amber-light: #FFD24D;
  --amber-glow: rgba(255, 184, 0, 0.35);
  --ui: #E0E0E0;
  --ui-muted: rgba(224, 224, 224, 0.55);

  /* Aliases (compatibilidad) */
  --bg-dark: var(--void);
  --bg-mid: var(--graphite-mid);
  --bg-deep: var(--graphite);
  --bg-card: rgba(45, 45, 45, 0.92);
  --bg-elevated: rgba(58, 58, 58, 0.55);
  --accent: var(--amber);
  --accent-hover: var(--amber-light);
  --accent-light: var(--ui-muted);
  --gold: var(--amber);
  --gold-dark: var(--amber-dark);
  --gold-light: var(--amber-light);
  --gold-bg: linear-gradient(135deg, rgba(255, 184, 0, 0.22) 0%, rgba(204, 147, 0, 0.1) 100%);
  --gold-border: rgba(255, 184, 0, 0.45);
  --intertorco-blue: var(--amber);
  --lead-dark: var(--void);
  --lead-mid: var(--graphite);
  --lead-light: var(--graphite-light);
  --lead-silver: var(--ui-muted);
  --text: var(--ui);
  --text-muted: var(--ui-muted);
  --border: rgba(224, 224, 224, 0.12);
  --border-soft: rgba(224, 224, 224, 0.06);
  --gradient-body: linear-gradient(165deg, #0A0A0A 0%, #1A1A1A 30%, #2D2D2D 55%, #1A1A1A 80%, #0A0A0A 100%);
  --gradient-hero: linear-gradient(145deg, #0A0A0A 0%, #2D2D2D 40%, #3A3A3A 65%, #1A1A1A 100%);
  --gradient-section-a: linear-gradient(180deg, rgba(45, 45, 45, 0.65) 0%, rgba(10, 10, 10, 0.5) 100%);
  --gradient-section-b: linear-gradient(180deg, rgba(58, 58, 58, 0.5) 0%, rgba(26, 26, 26, 0.55) 100%);
  --gradient-section-c: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #3A3A3A 100%);
  --gradient-footer: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-sans: var(--font-body);
  --font-display: var(--font-mono);
  --white: #ffffff;
  --on-accent: #1a1b1e;
  --header-bg: rgba(42, 44, 48, 0.88);
  --surface-glass: rgba(255, 255, 255, 0.06);
  --surface-glass-strong: rgba(255, 255, 255, 0.08);
  --surface-accent-soft: rgba(255, 184, 0, 0.08);
  --surface-accent-muted: rgba(255, 184, 0, 0.05);
  --text-on-dark: #ffffff;
  --shadow-soft: rgba(0, 0, 0, 0.25);
  --radius: 12px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 48px var(--amber-glow);
}

/* Paleta Grafito/Ámbar — referencia rápida:
   void #0A0A0A | graphite #2D2D2D | amber #FFB800 | ui #E0E0E0 */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--gradient-body);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--amber-light);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 700;
}

p, li, label, .section__desc, .hero__lead, .hero__heritage,
.hero__commitment, .nav__link, .form-group label, .form-note {
  font-family: var(--font-body);
  font-weight: 400;
}

.figure-card__value,
.logo__ein,
.sec-route-bar__iso,
.sec-route-bar__level,
.sec-protocol__id,
.iso-pdca__steps li,
.hero__title,
.section__title {
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  min-width: 0;
}

.logo picture,
.hero__banner-visual picture,
.footer__brand picture {
  display: contents;
}

.logo__img {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.4);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.logo__name {
  display: none;
}

.logo__ein {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--gold-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn__flag {
  display: flex;
  line-height: 0;
  flex-shrink: 0;
}

.lang-flag {
  display: block;
  width: 1.25rem;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.lang-btn__code {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--gold);
  color: #1a1b1e;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 104px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(42, 44, 48, 0.92) 0%, rgba(50, 52, 56, 0.75) 45%, rgba(58, 60, 64, 0.55) 100%),
    var(--gradient-hero);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 184, 0, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(255, 184, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__banner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  min-height: min(58vh, 560px);
  padding: 3.5rem 0 2rem;
}

.hero-compliance {
  position: relative;
  z-index: 1;
  padding: 0 0 2.5rem;
  scroll-margin-top: 104px;
}

.hero-compliance__header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.hero-compliance__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.hero-compliance__title {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-compliance__intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0.75rem auto 0;
  text-align: center;
}

.hero-compliance__tag--secondary {
  margin-left: 0.5rem;
  opacity: 0.85;
}

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

.compliance__ofac--hero,
.compliance__icc--hero {
  margin-bottom: 0;
  padding: 1.25rem 1.35rem;
}

.compliance__ofac--hero .compliance__ofac-title {
  font-size: 1.1rem;
}

.compliance__icc--hero .compliance__icc-title {
  font-size: 1.05rem;
}

.compliance__ofac--hero .compliance__ofac-text,
.compliance__icc--hero .compliance__icc-text {
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero__banner-text {
  max-width: 640px;
}

.hero__expertise-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.2) 0%, rgba(255, 184, 0, 0.06) 100%);
  border: 1px solid var(--gold-border);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 0 24px rgba(255, 184, 0, 0.12);
}

.hero__tagline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: none;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 1.25rem;
}

.hero__commitment {
  font-style: normal;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  text-align: center;
}

.hero__commitment--banner {
  text-align: left;
  margin: 0 0 1.75rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.hero__commitment strong {
  color: var(--gold-light);
  font-weight: 700;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.2s, border-color 0.2s;
}

.hero__link:hover {
  color: #fff;
  border-color: var(--gold-light);
}

.hero__banner-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  width: min(320px, 90vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 184, 0, 0.25);
}

.hero-stories {
  position: relative;
  z-index: 1;
  padding: 0 0 4rem;
  margin-top: -1rem;
}

.hero-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.story-card--accent {
  background: linear-gradient(160deg, rgba(255, 184, 0, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 184, 0, 0.25);
}

.story-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.story-card__title {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.story-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.story-card__link {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s;
}

.story-card__link:hover {
  color: #fff;
}

.hero-pillars {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(42, 44, 48, 0.6) 0%, rgba(50, 52, 56, 0.85) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.hero-pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.hero-pillar__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lead-silver);
  margin-bottom: 1rem;
}

.hero-pillar__keywords {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-pillar__text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

.hero-pillar__text strong {
  color: #FFB800;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 184, 0, 0.45);
}

.hero-pillar__link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 184, 0, 0.4);
  padding-bottom: 0.15rem;
  transition: color 0.2s;
}

.hero-pillar__link:hover {
  color: #fff;
}

.hero__heritage-block {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 4rem;
}

.hero__heritage {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 72ch;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  line-height: 1.65;
  text-align: center;
}

.hero__heritage strong {
  color: #FFB800;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 184, 0, 0.45);
}

/* Shell-inspired home sections */
.home-spotlight {
  background: linear-gradient(135deg, #0A0A0A 0%, #2D2D2D 50%, #1A1A1A 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--gold-border);
  padding: 4rem 0;
}

.home-spotlight__inner {
  max-width: 800px;
}

.home-spotlight__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.home-spotlight__title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.home-spotlight__stat {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 55ch;
}

.home-spotlight__link {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
  transition: color 0.2s;
}

.home-spotlight__link:hover {
  color: #fff;
}

.home-section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.home-featured {
  padding: 4.5rem 0;
  background: var(--gradient-section-a);
}

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

.featured-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-height: 200px;
}

.featured-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.featured-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.featured-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.featured-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.home-help {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(50, 52, 56, 0.9) 0%, rgba(42, 44, 48, 0.95) 100%);
}

.home-help__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.help-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.help-card:hover {
  background: rgba(255, 184, 0, 0.08);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.help-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.help-card__label {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.home-interests {
  padding: 4rem 0 5rem;
  background: var(--gradient-section-b);
  border-bottom: 1px solid var(--border-soft);
}

.home-interests__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.interest-link {
  display: block;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.interest-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-border);
  background: rgba(255, 184, 0, 0.06);
}

/* Repsol-inspired: solvency & trust */
.home-trust {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(42, 44, 48, 0.95) 0%, rgba(58, 60, 64, 0.4) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.home-trust__belief {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  max-width: 28ch;
  margin: 0 auto 4rem;
  color: var(--text);
  quotes: none;
}

.home-trust__belief::before,
.home-trust__belief::after {
  content: none;
}

.home-figures {
  text-align: center;
  margin-bottom: 4.5rem;
}

.home-figures__title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.home-figures__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.home-figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.figure-card {
  padding: 2rem 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  text-align: center;
}

.figure-card__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.figure-card__unit {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lead-silver);
  margin-bottom: 0.75rem;
}

.figure-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.home-figures__link {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 184, 0, 0.4);
  padding-bottom: 0.15rem;
  transition: color 0.2s;
}

.home-figures__link:hover {
  color: #fff;
}

.home-solvency__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.home-solvency__intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.home-solvency__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.solvency-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.solvency-card:hover {
  border-color: rgba(255, 184, 0, 0.35);
}

.solvency-card__icon {
  display: block;
  color: #FFB800;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

.solvency-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.solvency-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ISO/IEC 27001 structure */
.iso-sgi {
  background: var(--gradient-section-a);
  border-bottom: 1px solid var(--border-soft);
}

.iso-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.iso-pillar {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-top: 3px solid #FFB800;
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.iso-pillar:hover {
  border-color: rgba(255, 184, 0, 0.35);
  transform: translateY(-2px);
}

.iso-pillar__clause {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFB800;
  margin-bottom: 0.75rem;
}

.iso-pillar h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.iso-pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.iso-pdca {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08) 0%, rgba(255, 184, 0, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.iso-pdca__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.iso-pdca__steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.iso-pdca__steps li {
  padding: 0.5rem 1.25rem;
  background: var(--surface-glass);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.iso-controls {
  background: var(--gradient-section-b);
  border-bottom: 1px solid var(--border-soft);
}

.iso-controls__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.iso-control-card {
  padding: 1.75rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.iso-control-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.iso-control-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(255, 184, 0, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.iso-control-card h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.iso-control-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Security route bar & protocols (ISO 27001) */
.sec-route-bar {
  position: sticky;
  top: 104px;
  z-index: 90;
  background: rgba(8, 12, 20, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.sec-route-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.sec-route-bar__iso {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--intertorco-blue);
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.sec-route-bar__text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  min-width: 200px;
}

.sec-route-bar__level {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.sec-level--public {
  color: #6ee7a8;
  background: rgba(110, 231, 168, 0.1);
  border: 1px solid rgba(110, 231, 168, 0.25);
}

.sec-level--internal {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border: 1px solid rgba(147, 197, 253, 0.25);
}

.sec-level--controlled {
  color: #fcd34d;
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.25);
}

.sec-level--restricted {
  color: #fca5a5;
  background: rgba(252, 165, 165, 0.1);
  border: 1px solid rgba(252, 165, 165, 0.25);
}

.sec-protocols {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255, 184, 0, 0.04) 100%);
}

.sec-protocols__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.sec-protocol {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  scroll-margin-top: 140px;
}

.sec-protocol:hover,
.sec-protocol.sec-route-active {
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sec-protocol__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.sec-protocol__id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.sec-protocol__iso {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--intertorco-blue);
}

.sec-protocol h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.sec-protocol__scope {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sec-protocol__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sec-protocol__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.sec-protocol__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--intertorco-blue);
}

[data-sec-route].sec-route-active {
  outline: 1px solid rgba(255, 184, 0, 0.2);
  outline-offset: 4px;
}

.nav__link--active {
  color: var(--gold);
}

.iso-operation-intro {
  padding-bottom: 2rem;
  background: var(--gradient-section-c);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.btn--primary {
  background: var(--gold);
  color: #1a1b1e;
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

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

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__header--light .section__title,
.section__header--light .section__desc {
  color: var(--text);
}

.section__tag {
  display: inline-block;
  color: #1a1b1e;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(255, 184, 0, 0.2);
}

.section__title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0.55rem 1.25rem;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(232, 197, 71, 0.1);
  display: inline-block;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.roles {
  background: var(--gradient-section-a);
}

/* Historia y visión */
.heritage {
  background: var(--gradient-section-b);
}

.heritage-block {
  max-width: 880px;
  margin: 0 auto 3rem;
}

.heritage-block--accent {
  padding: 2rem;
  background: var(--surface-accent-muted);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
}

.heritage-block__title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.heritage-block__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.heritage-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--gold-border);
}

.heritage-timeline__item {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}

.heritage-timeline__item:last-child {
  padding-bottom: 0;
}

.heritage-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.25);
}

.heritage-timeline__item--current::before {
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.45);
}

.heritage-timeline__year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.heritage-timeline__body h4 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.heritage-timeline__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.heritage-mission {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.heritage-mission__quote {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--accent-light);
  line-height: 1.5;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.heritage-mission__text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

.heritage-pillar {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-top: 3px solid var(--gold);
}

.heritage-pillar h4 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
}

.heritage-pillar p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.heritage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.heritage-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
}

.heritage-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 0.35rem;
}

.heritage-list strong {
  color: var(--text);
}

.heritage-transparency {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
}

.heritage-transparency p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.heritage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.heritage-badges li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  background: var(--surface-accent-soft);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  color: var(--accent-light);
}

.products {
  background: var(--gradient-section-b);
}

.process {
  background: var(--gradient-section-c);
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.role-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.role-card h3,
.product-card h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.role-card p,
.product-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card__badge {
  display: inline-block;
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-card__specs {
  list-style: none;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.product-card__specs li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.product-card__specs li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.services {
  background: var(--gradient-section-c);
}

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

.service-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-item__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.process-steps {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.compliance {
  background: var(--gradient-section-a);
}

.compliance--details {
  padding-top: 4rem;
}

.compliance__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.compliance__content .section__title {
  text-align: left;
  margin-bottom: 1rem;
}

.compliance__content .section__tag {
  display: inline-block;
  text-align: left;
}

.compliance__ofac {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.12) 0%, rgba(255, 184, 0, 0.04) 100%);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-left: 4px solid #FFB800;
  border-radius: var(--radius);
  box-shadow: 0 0 32px rgba(255, 184, 0, 0.08);
}

.compliance__ofac-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #FFB800;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.35);
}

.compliance__ofac-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFB800;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
}

.compliance__ofac-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.compliance__icc {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.14) 0%, rgba(255, 184, 0, 0.04) 100%);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(255, 184, 0, 0.08);
}

.compliance__icc-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1b1e;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.compliance__icc-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.compliance__icc-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.compliance__content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.compliance__list {
  list-style: none;
}

.compliance__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.compliance__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.compliance__visual {
  display: flex;
  justify-content: center;
}

.shield {
  width: 120px;
  height: 120px;
  color: var(--gold);
  opacity: 0.6;
}

.shield svg {
  width: 100%;
  height: 100%;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__info .section__title {
  text-align: left;
}

.contact__info .section__tag {
  display: block;
  text-align: left;
}

.contact__info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact__link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact__link:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-note {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer {
  background: var(--gradient-footer);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.footer__logo {
  height: 132px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.3);
}

.footer__name {
  display: none;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer__ein {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .heritage-block {
    margin-bottom: 2.25rem;
    padding-inline: 0.25rem;
  }

  .heritage-mission {
    padding: 2rem 1.25rem;
  }

  .heritage-block--accent {
    padding: 1.5rem;
  }

  .heritage-timeline__item {
    padding-left: 1.25rem;
  }

  .nav {
    position: fixed;
    top: 104px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__banner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 0 2rem;
    text-align: center;
  }

  .hero__banner-text {
    max-width: none;
  }

  .hero__lead,
  .hero__commitment--banner {
    max-width: none;
    margin-inline: auto;
    text-align: center;
  }

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

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

  .hero-pillars__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-pillar__text {
    max-width: none;
  }

  .home-help__grid {
    grid-template-columns: 1fr;
  }

  .home-figures__grid,
  .home-solvency__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iso-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .iso-controls__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compliance__inner {
    grid-template-columns: 1fr;
  }

  .compliance__visual {
    order: -1;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .heritage-block__title {
    font-size: 1.05rem;
  }

  .heritage-block__lead,
  .heritage-timeline__body p {
    font-size: 0.9rem;
  }

  .heritage-mission__quote {
    font-size: 1.05rem;
    padding-inline: 0.25rem;
  }

  .heritage-badges li {
    text-align: center;
  }

  .story-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .home-figures__grid,
  .home-solvency__grid {
    grid-template-columns: 1fr;
  }

  .iso-pillars,
  .iso-controls__grid {
    grid-template-columns: 1fr;
  }

  .iso-pdca__steps {
    flex-direction: column;
    align-items: center;
  }

  .hero-compliance__tag--secondary {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .home-trust__belief {
    max-width: none;
  }

  .section {
    padding: 4rem 0;
  }

  .logo__img {
    width: 72px;
    height: 72px;
  }

  .logo__name {
    display: none;
  }
}

@media (min-width: 1400px) {
  .heritage .container {
    width: min(1200px, 90%);
  }

  .heritage-block {
    max-width: 960px;
  }

  .heritage-mission {
    max-width: 860px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
