﻿:root {
  --bg: #f4f1ea;
  --bg-soft: #ece7de;
  --paper: rgba(255, 253, 249, 0.92);
  --paper-solid: #fbf8f2;
  --ink: #1a1f1f;
  --muted: #58615f;
  --line: rgba(26, 31, 31, 0.1);
  --line-strong: rgba(18, 22, 22, 0.18);
  --deep: #1f2b2c;
  --accent: #8e2f2f;
  --accent-soft: rgba(142, 47, 47, 0.08);
  --shadow: 0 14px 34px rgba(34, 31, 26, 0.06);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1200px;
  --header-offset: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Noto Sans JP", "Manrope", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #f4f0e8 0%, #efe9de 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(142, 47, 47, 0.05), transparent 20%),
    radial-gradient(circle at left center, rgba(31, 43, 44, 0.04), transparent 28%),
    linear-gradient(135deg, rgba(26, 31, 31, 0.02), transparent 26%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 96px), rgba(18, 22, 22, 0.03) calc(100% - 96px), rgba(18, 22, 22, 0.03) calc(100% - 95px), transparent calc(100% - 95px));
  z-index: -1;
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding-bottom: 30px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 0;
  padding: 14px 20px;
  background: rgba(251, 248, 242, 0.94);
  border: 0;
  border-bottom: 1px solid rgba(26, 31, 31, 0.08);
  outline: 1px solid rgba(18, 22, 22, 0.08);
  outline-offset: -1px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(34, 31, 26, 0.045);
  backdrop-filter: blur(22px);
  transition:
    top 0.24s ease,
    padding 0.24s ease,
    border-radius 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease,
    border-color 0.24s ease;
}

.topbar.is-scrolled {
  padding: 10px 18px;
  background: rgba(251, 248, 242, 0.985);
  border-bottom-color: rgba(26, 31, 31, 0.1);
  outline-color: rgba(18, 22, 22, 0.1);
  box-shadow: 0 8px 22px rgba(34, 31, 26, 0.06);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, #243435, #1f2b2c);
  color: #f9f6ef;
  font-family: "Manrope", sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(236, 231, 222, 0.42);
  border: 1px solid rgba(26, 31, 31, 0.04);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(31, 43, 44, 0.05);
}

.site-nav a.is-current {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(18, 22, 22, 0.06),
    0 4px 10px rgba(34, 31, 26, 0.04);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(236, 231, 222, 0.7);
  border: 1px solid rgba(26, 31, 31, 0.05);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-button[data-lang="ja"] {
  position: relative;
  gap: 7px;
  padding-left: 12px;
}

.lang-button[data-lang="ja"]::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #d7263d 0 4px, transparent 4.2px),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(18, 22, 22, 0.08);
  flex: 0 0 auto;
}

.lang-button.is-active {
  background: var(--paper-solid);
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(18, 22, 22, 0.06),
    0 4px 10px rgba(34, 31, 26, 0.05);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(251, 248, 242, 0.95);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease;
  transform: translateX(-50%);
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateX(-50%) translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateX(-50%) translateY(-4px) rotate(-45deg);
}

.section {
  padding: 72px 0;
  scroll-margin-top: var(--header-offset);
  position: relative;
}

.section + .section {
  margin-top: 28px;
}

.section + .section::before {
  content: "";
  position: absolute;
  left: 0;
  top: -14px;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 22, 22, 0.22), rgba(18, 22, 22, 0));
}

.hero {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 34px;
  align-items: start;
  min-height: calc(100vh - 160px);
  padding-top: 34px;
  position: relative;
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
}

.hero-copy,
.hero-panel,
.intro,
.profile-table,
.profile-note,
.contact-card,
.info-card,
.service-card,
.region-card,
.timeline-item,
.stat-card,
.trust-band span {
  background: var(--paper);
  border: 1px solid rgba(18, 22, 22, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-copy,
.hero-panel,
.intro,
.profile-table,
.profile-note,
.contact-card {
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.hero-panel::before,
.intro::before,
.profile-table::before,
.profile-note::before,
.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 22, 22, 0.22), rgba(18, 22, 22, 0));
  pointer-events: none;
}

.hero-copy {
  padding: 54px 52px 42px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 245, 238, 0.92));
  border-left: 1px solid rgba(18, 22, 22, 0.24);
  border-top: 1px solid rgba(18, 22, 22, 0.12);
  border-radius: 26px 14px 24px 24px;
}

.hero-panel {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  transform: none;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
  hyphens: manual;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
  font-family: "Noto Serif JP", Georgia, serif;
}

html[lang="es"] h1,
html[lang="es"] h2,
html[lang="es"] h3,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  font-family: "Spectral", Georgia, serif;
  letter-spacing: -0.035em;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 15ch;
  font-size: clamp(1.95rem, 3vw, 3rem);
}

h3 {
  font-size: 1.55rem;
}

html[lang="es"] h1,
html[lang="en"] h1 {
  max-width: 16ch;
  font-size: clamp(2.05rem, 3.45vw, 3.95rem);
  line-height: 1.04;
}

html[lang="es"] h2,
html[lang="en"] h2 {
  max-width: 22ch;
  font-size: clamp(1.66rem, 2.12vw, 2.24rem);
  line-height: 1.12;
}

html[lang="es"] h3,
html[lang="en"] h3 {
  font-size: 1.34rem;
  line-height: 1.22;
}

html[lang="es"] .hero-card-large h2,
html[lang="en"] .hero-card-large h2 {
  max-width: 11ch;
  font-size: clamp(1.5rem, 1.9vw, 2.1rem);
}

html[lang="ja"] .hero-card-large h2 {
  max-width: 8ch;
  font-size: clamp(2.45rem, 3.2vw, 3.45rem);
  line-height: 1.03;
}

html[lang="es"] .lead,
html[lang="en"] .lead,
html[lang="es"] .profile-table strong,
html[lang="en"] .profile-table strong,
html[lang="es"] .stat-card p,
html[lang="en"] .stat-card p {
  line-height: 1.65;
}

html[lang="es"] .site-nav a,
html[lang="en"] .site-nav a {
  font-size: 0.88rem;
}

html[lang="es"] .hero,
html[lang="en"] .hero {
  grid-template-columns: 1.18fr 0.82fr;
  gap: 24px;
}

html[lang="es"] .hero-copy,
html[lang="en"] .hero-copy {
  padding: 38px;
}

html[lang="es"] .lead,
html[lang="en"] .lead {
  max-width: 54ch;
  font-size: 1rem;
}

html[lang="es"] .hero-highlights,
html[lang="en"] .hero-highlights {
  gap: 8px;
}

html[lang="es"] .hero-highlights li,
html[lang="en"] .hero-highlights li {
  font-size: 0.98rem;
  line-height: 1.62;
}

html[lang="es"] .stat-card p,
html[lang="en"] .stat-card p {
  font-size: 0.95rem;
}

html[lang="es"] .profile-table strong,
html[lang="en"] .profile-table strong {
  font-size: 0.97rem;
}

html[lang="es"] .profile-note h3,
html[lang="en"] .profile-note h3 {
  font-size: clamp(1.5rem, 1.95vw, 1.95rem);
}

.lead,
.hero-card p,
.stat-card p,
.intro-grid p,
.info-card p,
.service-card p,
.region-card p,
.profile-table strong,
.profile-note p,
.timeline-item p,
.contact-card p,
.site-nav a,
.button {
  line-height: 1.8;
}

.lead {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(145deg, #243435, #1d292a);
  color: #fbf8f2;
  box-shadow: 0 12px 26px rgba(31, 43, 44, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.button-secondary {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(18, 22, 22, 0.12);
}

.hero-highlights {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid rgba(18, 22, 22, 0.12);
}

.hero-highlights li {
  position: relative;
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid rgba(18, 22, 22, 0.08);
  font-size: 0.98rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.stat-card,
.info-card,
.service-card,
.region-card,
.timeline-item {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 22, 22, 0.08);
}

.hero-card {
  padding: 32px 30px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(248, 244, 237, 0.9));
}

.hero-card-large {
  background: linear-gradient(155deg, rgba(29, 40, 41, 0.98), rgba(44, 58, 59, 0.94));
  color: #f7f3ec;
  border-color: rgba(18, 22, 22, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 34px rgba(20, 26, 27, 0.14);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px 30px 18px 18px;
}

.hero-card-large h2,
.hero-card-large p,
.hero-card-large .panel-label {
  color: inherit;
}

.hero-card-large h2 {
  min-height: 4.3em;
}

.hero-card-large p {
  max-width: 24ch;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 26px 22px 24px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(248, 244, 237, 0.88));
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 3px;
  background: rgba(142, 47, 47, 0.75);
}

.metric {
  display: block;
  margin-bottom: 14px;
  font-family: "Manrope", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 34px;
  padding-left: 18px;
  position: relative;
  max-width: 920px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(18, 22, 22, 0.28), rgba(18, 22, 22, 0.04));
}

.section-heading h2 {
  text-wrap: balance;
}

.intro {
  padding: 38px 36px;
  border-radius: 28px 28px 18px 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.visual-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: stretch;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(18, 22, 22, 0.08);
  background: #182021;
  box-shadow: 0 18px 38px rgba(34, 31, 26, 0.1);
  isolation: isolate;
}

.section.visual-story {
  padding: 0;
}

.visual-story-media {
  position: relative;
  min-height: 430px;
  height: 100%;
}

.visual-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 22, 22, 0.18), rgba(18, 22, 22, 0)),
    linear-gradient(180deg, rgba(18, 22, 22, 0), rgba(18, 22, 22, 0.18));
  pointer-events: none;
}

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

.visual-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 42px;
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.98), rgba(239, 232, 221, 0.94));
}

.visual-story-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.12;
}

.visual-story-copy p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.brand-card {
  display: grid;
  grid-template-rows: auto 180px;
  border: 1px solid rgba(18, 22, 22, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(247, 242, 234, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-card-head {
  padding: 30px 30px 24px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 22, 22, 0.08);
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-card h3 {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
}

.brand-card p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.8;
}

.brand-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px;
  border-top: 1px solid rgba(18, 22, 22, 0.08);
  background:
    linear-gradient(180deg, rgba(241, 235, 225, 0.78), rgba(247, 242, 234, 0.92));
  overflow: hidden;
}

.brand-logo-link {
  min-height: 180px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.brand-logo-link::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(18, 22, 22, 0.05);
  border-radius: 18px;
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.brand-logo-link:hover,
.brand-logo-link:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(246, 239, 229, 0.96));
}

.brand-logo-link:hover::after,
.brand-logo-link:focus-visible::after {
  border-color: rgba(142, 47, 47, 0.22);
}

.brand-logo-link img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(82%, 340px);
  max-height: 104px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover img,
.brand-logo-link:focus-visible img {
  transform: translateY(-2px);
}

.brand-logo-store img {
  width: min(76%, 310px);
  max-height: 86px;
}


.cards,
.service-list,
.region-grid,
.timeline,
.trust-band {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.region-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.trust-band {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.info-card,
.service-card,
.region-card,
.timeline-item {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(248, 244, 237, 0.9));
}

.region-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.info-card,
.service-card {
  min-height: 100%;
}

.info-card {
  display: flex;
  flex-direction: column;
}

.info-card h3 {
  min-height: 2.7em;
  margin-bottom: 18px;
}

.info-card p {
  margin-top: 0;
}

.info-card:nth-child(2) {
  transform: none;
}

.service-card:nth-child(2n) {
  transform: none;
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  border-top-left-radius: 90px;
  background: linear-gradient(135deg, transparent, rgba(142, 47, 47, 0.06));
}

.info-card::before,
.service-card::before,
.region-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(18, 22, 22, 0.04);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.trust-band span {
  display: grid;
  place-items: center;
  min-height: 84px;
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(18, 22, 22, 0.08);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(247, 242, 234, 0.88));
}

.region-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(31, 43, 44, 0.07);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

.region-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  background: rgba(142, 47, 47, 0);
  transition: background-color 0.22s ease;
}

.region-card:hover,
.region-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(142, 47, 47, 0.24);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(246, 239, 229, 0.96));
  box-shadow: 0 18px 38px rgba(88, 29, 29, 0.09);
}

.region-card:hover span,
.region-card:focus-within span {
  background: rgba(142, 47, 47, 0.1);
  color: var(--accent);
}

.region-card:hover::after,
.region-card:focus-within::after {
  background: rgba(142, 47, 47, 0.72);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  align-items: start;
}

.profile-table {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(247, 242, 234, 0.9));
  border: 1px solid rgba(18, 22, 22, 0.08);
  overflow: hidden;
  border-radius: 14px 28px 18px 18px;
}

.profile-table div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(26, 31, 31, 0.08);
  align-items: start;
}

.profile-table div:last-child {
  border-bottom: 0;
}

.profile-table span {
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-table strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.9;
}

.profile-note {
  padding: 38px 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(247, 242, 234, 0.9));
  border: 1px solid rgba(18, 22, 22, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 12px 28px 18px 18px;
}

.profile-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(142, 47, 47, 0.14));
}

.profile-note h3 {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  line-height: 1.35;
}

.timeline-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(142, 47, 47, 0.22));
}

.timeline-item::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(18, 22, 22, 0.04);
  border-radius: 14px;
  pointer-events: none;
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.95), rgba(246, 241, 233, 0.9));
  border: 1px solid rgba(18, 22, 22, 0.08);
}

.contact-actions {
  justify-content: flex-end;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 4px 0;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  border-top: 1px solid rgba(18, 22, 22, 0.08);
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

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

.cards .info-card:nth-child(1),
.service-list .service-card:nth-child(1),
.stats-grid .stat-card:nth-child(1),
.region-grid .region-card:nth-child(1),
.timeline .timeline-item:nth-child(1) {
  transition-delay: 0.01s;
}

.cards .info-card:nth-child(2),
.service-list .service-card:nth-child(2),
.stats-grid .stat-card:nth-child(2),
.region-grid .region-card:nth-child(2),
.timeline .timeline-item:nth-child(2) {
  transition-delay: 0.05s;
}

.cards .info-card:nth-child(3),
.service-list .service-card:nth-child(3),
.stats-grid .stat-card:nth-child(3),
.region-grid .region-card:nth-child(3),
.timeline .timeline-item:nth-child(3) {
  transition-delay: 0.09s;
}

.service-list .service-card:nth-child(4),
.stats-grid .stat-card:nth-child(4),
.region-grid .region-card:nth-child(4),
.timeline .timeline-item:nth-child(4) {
  transition-delay: 0.13s;
}

@media (max-width: 1120px) {
  .hero,
  .intro-grid,
  .visual-story,
  .brands-grid,
  .cards-3,
  .service-list,
  .region-grid,
  .profile-grid,
  .timeline,
  .trust-band,
  .contact-card {
    grid-template-columns: 1fr;
  }

  html[lang="es"] .hero,
  html[lang="en"] .hero {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .info-card:nth-child(2),
  .service-card:nth-child(2n),
  .hero-panel {
    transform: none;
  }

  .hero-card-large {
    min-height: 0;
  }

  .visual-story {
    grid-template-columns: 1fr;
  }

  .visual-story-media {
    height: 320px;
    min-height: 0;
  }

  .visual-story img {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .topbar {
    align-items: center;
    padding: 12px 14px;
  }

  .topbar-actions {
    margin-left: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(251, 248, 242, 0.96);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 16px 32px rgba(34, 31, 26, 0.08);
    border: 1px solid rgba(26, 31, 31, 0.06);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 0;
    min-height: 32px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a.is-current {
    background: transparent;
    color: var(--accent);
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .section-heading {
    padding-left: 14px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-copy {
    border-radius: 24px 18px 24px 24px;
  }

  .hero-panel {
    border-radius: 18px 24px 24px 24px;
  }

  .hero-copy,
  .hero-panel,
  .intro,
  .profile-note,
  .contact-card {
    padding: 24px;
  }

  .brand-card {
    grid-template-rows: auto 150px;
  }

  .visual-story {
    border-radius: 22px;
  }

  .visual-story-copy {
    padding: 28px;
  }

  .brand-card-head {
    padding: 24px 24px 20px;
  }

  .profile-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 52px 0;
  }

  .section + .section {
    margin-top: 20px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .brand-copy span:last-child {
    font-size: 0.78rem;
  }

  .lang-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .lang-button {
    flex: 1 1 0;
    padding: 0 8px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 3.4rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  html[lang="es"] h1,
  html[lang="en"] h1 {
    max-width: none;
    font-size: clamp(1.82rem, 7vw, 2.7rem);
    line-height: 1.05;
  }

  html[lang="es"] h2,
  html[lang="en"] h2 {
    max-width: none;
    font-size: clamp(1.46rem, 5.6vw, 1.9rem);
  }

  html[lang="es"] .hero-card-large h2,
  html[lang="en"] .hero-card-large h2 {
    font-size: clamp(1.46rem, 5.8vw, 2rem);
  }

  html[lang="es"] .hero-copy,
  html[lang="en"] .hero-copy {
    padding: 20px;
  }

  html[lang="es"] .lead,
  html[lang="en"] .lead {
    font-size: 0.96rem;
  }

  html[lang="es"] .hero-highlights li,
  html[lang="en"] .hero-highlights li {
    font-size: 0.94rem;
  }

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

  .button {
    width: 100%;
  }

  .hero-highlights li {
    padding: 14px 0 14px 22px;
    font-size: 0.93rem;
  }

  .brand-logo-link {
    min-height: 150px;
    padding: 22px;
  }

  .brand-logo-link img {
    width: min(90%, 300px);
  }

  .footer {
    flex-direction: column;
  }
}
