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

:root {
  --honey: #ffba08;
  --honey-light: #ffd166;
  --honey-glow: #fff0c1;
  --amber: #e8960c;
  --amber-deep: #b86f04;
  --cream: #fffbf0;
  --cream-alt: #fff6e0;
  --birch-dark: #1f1a14;
  --dark: #2b2118;
  --dark-soft: #4a3728;
  --brown: #5c4028;
  --white: #ffffff;
  --line-warm: #edd9a8;
  --line-dark: rgba(255, 209, 102, 0.24);
  --shadow-soft: 0 4px 22px rgba(31, 26, 20, 0.08);
  --shadow-medium: 0 10px 34px rgba(31, 26, 20, 0.13);
  --shadow-lift: 0 18px 48px rgba(31, 26, 20, 0.2);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-full: 999px;
  --font-display: "Avenir Next", "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--font-body);
  color: var(--birch-dark);
  background: var(--cream);
  line-height: 1.68;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 240, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--line-warm);
  box-shadow: 0 4px 18px rgba(31, 26, 20, 0.06);
}

.main-nav {
  overflow: visible !important;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--birch-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--birch-dark);
  color: var(--honey);
  border: 2px solid var(--honey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 900;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-soft);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--birch-dark);
  background: var(--honey-glow);
}

.nav-links > li > a.nav-cta {
  background: var(--honey);
  color: var(--birch-dark);
  font-weight: 800;
  padding: 9px 18px;
  box-shadow: 0 3px 12px rgba(232, 150, 12, 0.28);
}

.nav-links > li > a.nav-cta:hover {
  background: var(--amber);
  color: var(--birch-dark);
}

.has-submenu:hover .submenu-panel,
.has-submenu:focus-within .submenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 330px;
  background: var(--birch-dark);
  border: 1px solid rgba(255, 186, 8, 0.35);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.submenu-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.35;
  transition: background 0.18s ease, color 0.18s ease;
}

.submenu-panel a:hover {
  background: rgba(255, 186, 8, 0.16);
  color: var(--honey-light);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--amber-deep);
  background: var(--honey-glow);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-label .dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  color: var(--birch-dark);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: 1.03rem;
  color: var(--brown);
  max-width: 680px;
  line-height: 1.75;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--cream) 0%, var(--cream-alt) 62%, #fbeac2 100%);
  padding: 64px 0 76px;
  border-bottom: 1px solid var(--line-warm);
}

.hero-honeycomb {
  position: absolute;
  top: 0;
  right: 0;
  width: 440px;
  height: 440px;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cpath d='M28 0L56 14 28 28 0 14z' fill='none' stroke='%231F1A14' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 28px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--line-warm);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-soft);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.hero-badge .status-dot {
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--birch-dark);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-name .highlight {
  color: var(--birch-dark);
  background: linear-gradient(180deg, transparent 58%, var(--honey-light) 58%);
  padding: 0 4px;
}

.hero-tagline {
  font-size: 1.06rem;
  color: var(--dark-soft);
  line-height: 1.74;
  margin-bottom: 26px;
}

.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.hero-metric-pill {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.hero-metric-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--birch-dark);
  white-space: nowrap;
}

.hero-metric-pill span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary {
  background: var(--honey);
  color: var(--birch-dark);
  box-shadow: 0 6px 20px rgba(232, 150, 12, 0.3);
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--birch-dark);
  color: var(--cream);
  border: 1.5px solid var(--birch-dark);
}

.btn-secondary:hover {
  background: var(--dark-soft);
  transform: translateY(-2px);
}

.btn-outline-warm {
  background: var(--white);
  color: var(--birch-dark);
  border: 2px solid var(--honey);
}

.btn-outline-warm:hover {
  background: var(--honey-glow);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 225px 225px;
  gap: 14px;
}

.hero-img-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--white);
  background: var(--birch-dark);
}

.hero-img-card:nth-child(1) {
  grid-row: 1 / 3;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-sticker {
  position: absolute;
  bottom: -14px;
  left: 22px;
  background: var(--birch-dark);
  color: var(--honey);
  border: 2px solid var(--honey);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-medium);
  z-index: 4;
  white-space: nowrap;
}

.section-pad { padding: 84px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-cream-alt { background: var(--cream-alt); }
.bg-birch-dark { background: var(--birch-dark); color: var(--cream); }

.bg-birch-dark .section-label {
  background: rgba(255, 186, 8, 0.16);
  color: var(--honey-light);
}

.bg-birch-dark .section-title { color: var(--white); }
.bg-birch-dark .section-desc { color: rgba(255, 251, 240, 0.78); }

.synergy-band {
  padding: 72px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line-warm);
}

.synergy-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}

.synergy-photo-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 3px solid var(--honey-glow);
  background: var(--cream);
}

.synergy-photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.synergy-caption {
  padding: 14px 18px;
  background: var(--birch-dark);
  color: var(--honey-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.synergy-body p {
  color: var(--dark-soft);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.76;
}

.stat-row-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.stat-item {
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--line-warm);
  border-radius: 16px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--birch-dark);
  display: block;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brown);
  display: block;
  margin-top: 3px;
}

.edu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.edu-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-warm);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.edu-card-img {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: var(--birch-dark);
}

.edu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-card-year {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--honey);
  color: var(--birch-dark);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.edu-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.edu-card-place {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber-deep);
  margin-bottom: 6px;
}

.edu-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--birch-dark);
  margin-bottom: 10px;
  line-height: 1.28;
}

.edu-card-desc {
  font-size: 0.93rem;
  color: var(--dark-soft);
  line-height: 1.66;
  margin-bottom: 14px;
}

.edu-card-spec {
  font-size: 0.84rem;
  color: var(--brown);
  background: var(--cream);
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: auto;
  margin-bottom: 14px;
  border: 1px solid var(--line-warm);
}

.card-arrow-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--amber-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-arrow-link:hover {
  color: var(--birch-dark);
}

.une-workbench {
  background: var(--birch-dark);
  color: var(--cream);
  border-radius: 28px;
  border: 2px solid rgba(255, 186, 8, 0.36);
  padding: 36px;
  box-shadow: var(--shadow-lift);
  margin-top: 34px;
}

.workbench-step-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--honey-light);
  margin-bottom: 12px;
  display: block;
}

.talla-tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

.talla-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: left;
  color: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.talla-tile:hover {
  border-color: var(--honey-light);
  transform: translateY(-2px);
}

.talla-tile.is-selected {
  background: rgba(255, 186, 8, 0.16);
  border-color: var(--honey);
  box-shadow: 0 0 0 2px rgba(255, 186, 8, 0.25);
}

.talla-color-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  white-space: nowrap;
}

.color-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.talla-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--white);
  margin-bottom: 3px;
}

.talla-tile small {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 251, 240, 0.72);
  line-height: 1.35;
}

.workbench-controls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  margin-bottom: 26px;
}

.wb-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--honey-light);
  margin-bottom: 8px;
}

.wb-field input,
.wb-field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #2b231b;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
}

.wb-field input:focus,
.wb-field select:focus {
  outline: none;
  border-color: var(--honey);
}

.wb-field-hint {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 251, 240, 0.62);
  margin-top: 5px;
}

.workbench-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wb-output-card {
  background: #292119;
  border: 1px solid rgba(255, 186, 8, 0.24);
  border-radius: 16px;
  padding: 16px 18px;
}

.wb-output-card.wb-highlight {
  background: linear-gradient(135deg, rgba(255, 186, 8, 0.2), rgba(232, 150, 12, 0.1));
  border-color: var(--honey);
}

.wb-out-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 251, 240, 0.68);
  display: block;
  margin-bottom: 6px;
}

.wb-out-val {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--honey);
  display: block;
  white-space: nowrap;
}

.wb-out-sub {
  font-size: 0.8rem;
  color: rgba(255, 251, 240, 0.78);
  display: block;
  margin-top: 4px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 42px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 24px;
  overflow: hidden;
  background: #292119;
  border: 1px solid rgba(255, 209, 102, 0.18);
  box-shadow: var(--shadow-medium);
}

.project-card.light-surface {
  background: var(--white);
  border-color: var(--line-warm);
}

.project-card-img {
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--birch-dark);
  background: var(--honey);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.24;
}

.project-card.light-surface .project-title {
  color: var(--birch-dark);
}

.project-desc {
  font-size: 0.96rem;
  color: rgba(255, 251, 240, 0.82);
  line-height: 1.74;
  margin-bottom: 18px;
}

.project-card.light-surface .project-desc {
  color: var(--dark-soft);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-stack-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--honey-light);
  border: 1px solid rgba(255, 209, 102, 0.22);
  white-space: nowrap;
}

.project-card.light-surface .project-stack-pill {
  background: var(--cream);
  color: var(--brown);
  border-color: var(--line-warm);
}

.project-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--honey);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-card.light-surface .project-link {
  color: var(--amber-deep);
}

.exp-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.exp-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.exp-card-img {
  position: relative;
  min-height: 240px;
}

.exp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-card-duration {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--birch-dark);
  color: var(--honey);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.exp-card-body {
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exp-card-period {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 5px;
}

.exp-card-role {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--birch-dark);
  margin-bottom: 6px;
}

.exp-card-company {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}

.exp-card-desc {
  font-size: 0.94rem;
  color: var(--dark-soft);
  line-height: 1.72;
  margin-bottom: 14px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--cream);
  color: var(--birch-dark);
  border: 1px solid var(--line-warm);
  white-space: nowrap;
}

.page-hero-band {
  padding: 52px 0 58px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-alt) 100%);
  border-bottom: 1px solid var(--line-warm);
}

.page-hero-band.dark-band {
  background: linear-gradient(135deg, #1f1a14 0%, #2e241b 100%);
  color: var(--cream);
  border-bottom-color: rgba(255, 186, 8, 0.28);
}

.page-hero-band.dark-band h1 { color: var(--white); }
.page-hero-band.dark-band p { color: rgba(255, 251, 240, 0.82); }

.breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 18px;
}

.page-hero-band.dark-band .breadcrumb-bar {
  color: var(--honey-light);
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
}

.split-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.split-showcase.img-left {
  grid-template-columns: 0.95fr 1.05fr;
}

.showcase-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--line-warm);
  background: var(--birch-dark);
}

.showcase-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--birch-dark);
  margin-bottom: 16px;
}

.lead-paragraph {
  font-size: 1.05rem;
  line-height: 1.76;
  color: var(--dark-soft);
  margin-bottom: 22px;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.telemetry-box {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  padding: 14px 16px;
}

.page-hero-band.dark-band .telemetry-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 186, 8, 0.25);
}

.telemetry-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--birch-dark);
  white-space: nowrap;
}

.page-hero-band.dark-band .telemetry-box strong {
  color: var(--honey);
}

.telemetry-box span {
  font-size: 0.78rem;
  color: var(--brown);
  display: block;
  margin-top: 2px;
}

.page-hero-band.dark-band .telemetry-box span {
  color: rgba(255, 251, 240, 0.76);
}

.norma-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line-warm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  margin-top: 26px;
}

.norma-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.norma-table th {
  background: var(--birch-dark);
  color: var(--honey-light);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 15px 18px;
}

.norma-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-warm);
  font-size: 0.92rem;
  color: var(--dark-soft);
  vertical-align: top;
}

.norma-table tr:last-child td {
  border-bottom: none;
}

.norma-table tr:nth-child(even) td {
  background: #fffdf7;
}

.spec-tabs {
  margin-top: 30px;
}

.tab-buttons-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: var(--radius-full);
  background: var(--cream-alt);
  border: 1.5px solid var(--line-warm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dark-soft);
  transition: all 0.2s ease;
}

.tab-btn.is-active {
  background: var(--birch-dark);
  color: var(--honey);
  border-color: var(--birch-dark);
}

.tab-pane {
  display: none;
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.tab-pane.is-active {
  display: block;
}

.tab-pane h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--birch-dark);
  margin-bottom: 12px;
}

.tab-pane p {
  color: var(--dark-soft);
  margin-bottom: 14px;
  line-height: 1.74;
}

.ergo-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.matrix-feature-card {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-left: 5px solid var(--honey);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.matrix-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--birch-dark);
  margin-bottom: 10px;
}

.matrix-feature-card p {
  font-size: 0.94rem;
  color: var(--dark-soft);
  line-height: 1.72;
}

.vitrificado-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.step-node {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 18px;
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.step-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--honey);
  color: var(--birch-dark);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step-node h3 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--birch-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-node p {
  font-size: 0.86rem;
  color: var(--dark-soft);
  line-height: 1.62;
}

.layer-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.layer-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layer-bar-item {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.layer-bar-item strong {
  font-family: var(--font-display);
  color: var(--birch-dark);
  font-size: 0.98rem;
}

.layer-bar-item span {
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--honey-glow);
  color: var(--amber-deep);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.acoustic-sim-box {
  background: var(--birch-dark);
  color: var(--cream);
  border-radius: 24px;
  padding: 32px;
  border: 2px solid rgba(255, 186, 8, 0.34);
  margin-top: 28px;
}

.acoustic-sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.locker-mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.locker-mod-card {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.locker-mod-card .mod-code {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--birch-dark);
  color: var(--honey);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  white-space: nowrap;
}

.locker-mod-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--birch-dark);
}

.locker-mod-card p {
  font-size: 0.88rem;
  color: var(--dark-soft);
  line-height: 1.65;
}

.test-bench-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.test-card {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-top: 4px solid var(--amber);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.test-card .clause-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--amber-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.test-card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--birch-dark);
  margin-bottom: 8px;
}

.test-card p {
  font-size: 0.9rem;
  color: var(--dark-soft);
  line-height: 1.66;
}

.tender-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.timeline-step-card {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.timeline-week {
  display: inline-block;
  background: var(--honey-glow);
  color: var(--amber-deep);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  white-space: nowrap;
}

.timeline-step-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--birch-dark);
  margin-bottom: 8px;
}

.timeline-step-card p {
  font-size: 0.9rem;
  color: var(--dark-soft);
  line-height: 1.66;
}

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--birch-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--honey-glow);
  color: var(--birch-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--honey);
}

.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-warm);
  font-size: 0.94rem;
  color: var(--dark-soft);
  line-height: 1.74;
}

.prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 26px;
}

.prose-block h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--birch-dark);
  margin-bottom: 10px;
}

.prose-block p {
  font-size: 0.96rem;
  color: var(--dark-soft);
  line-height: 1.76;
  margin-bottom: 14px;
}

.prose-block ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.prose-block li {
  font-size: 0.94rem;
  color: var(--dark-soft);
  margin-bottom: 8px;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 16px;
}

.contact-method.light-card {
  background: var(--white);
  border-color: var(--line-warm);
  box-shadow: var(--shadow-soft);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 186, 8, 0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--honey);
  font-weight: 800;
}

.contact-method.light-card .contact-method-icon {
  background: var(--honey-glow);
  color: var(--birch-dark);
}

.contact-method-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--honey-light);
  margin-bottom: 3px;
}

.contact-method.light-card .contact-method-label {
  color: var(--amber-deep);
}

.contact-method-value {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
}

.contact-method.light-card .contact-method-value {
  color: var(--birch-dark);
}

.rfq-form-card {
  background: #282018;
  border: 1.5px solid rgba(255, 186, 8, 0.28);
  border-radius: 24px;
  padding: 32px;
  color: var(--cream);
}

.rfq-form-card.light-form {
  background: var(--white);
  border-color: var(--line-warm);
  color: var(--birch-dark);
  box-shadow: var(--shadow-medium);
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--honey-light);
}

.rfq-form-card.light-form .form-group label {
  color: var(--birch-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.94rem;
}

.rfq-form-card.light-form .form-group input,
.rfq-form-card.light-form .form-group select,
.rfq-form-card.light-form .form-group textarea {
  background: var(--cream);
  border-color: var(--line-warm);
  color: var(--birch-dark);
}

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

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

.rgpd-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 251, 240, 0.82);
}

.rfq-form-card.light-form .rgpd-check-row {
  color: var(--dark-soft);
}

.rgpd-check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--honey);
  flex-shrink: 0;
}

.rgpd-check-row a {
  text-decoration: underline;
  font-weight: 700;
  color: var(--honey-light);
}

.rfq-form-card.light-form .rgpd-check-row a {
  color: var(--amber-deep);
}

.yecla-mobiliario-albaran {
  margin-top: 18px;
  background: #fffbf0;
  color: #1f1a14;
  border: 2px solid var(--honey);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}

.yecla-mobiliario-albaran summary {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #1f1a14;
  cursor: pointer;
  margin-bottom: 10px;
}

.yecla-mobiliario-albaran ol {
  padding-left: 20px;
  margin-top: 8px;
}

.yecla-mobiliario-albaran li {
  font-size: 0.88rem;
  color: #4a3728;
  line-height: 1.6;
  margin-bottom: 6px;
}

.cta-strip-box {
  background: linear-gradient(135deg, #1f1a14 0%, #33271d 100%);
  color: var(--cream);
  border-radius: 26px;
  padding: 40px;
  border: 2px solid rgba(255, 186, 8, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 44px;
}

.cta-strip-box h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-strip-box p {
  color: rgba(255, 251, 240, 0.8);
  max-width: 620px;
  font-size: 0.96rem;
}

.legal-dossier {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow-soft);
}

.legal-dossier h2 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  color: var(--birch-dark);
  margin: 28px 0 12px;
}

.legal-dossier h2:first-child {
  margin-top: 0;
}

.legal-dossier p {
  font-size: 0.96rem;
  color: var(--dark-soft);
  line-height: 1.76;
  margin-bottom: 14px;
}

.legal-dossier ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-dossier li {
  font-size: 0.94rem;
  color: var(--dark-soft);
  line-height: 1.68;
  margin-bottom: 8px;
}

.site-footer {
  background: #17130e;
  color: rgba(255, 251, 240, 0.78);
  padding: 64px 0 34px;
  border-top: 4px solid var(--honey);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 209, 102, 0.16);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.68;
  color: rgba(255, 251, 240, 0.7);
  margin-bottom: 14px;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--honey-light);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.87rem;
  color: rgba(255, 251, 240, 0.76);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--honey);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.83rem;
  color: rgba(255, 251, 240, 0.64);
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .talla-tiles-grid { grid-template-columns: repeat(3, 1fr); }
  .workbench-controls-grid { grid-template-columns: repeat(2, 1fr); }
  .vitrificado-steps { grid-template-columns: repeat(2, 1fr); }
  .locker-mod-grid { grid-template-columns: repeat(2, 1fr); }
  .tender-timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 959px) {
  .site-header {
    position: relative;
  }
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
    min-height: auto;
  }
  .nav-logo {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.25;
  }
  .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100%;
    gap: 6px;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .nav-links > li > a {
    font-size: 0.82rem;
    padding: 7px 12px;
    background: var(--cream-alt);
    border: 1px solid var(--line-warm);
    color: var(--birch-dark);
  }
  .submenu-panel {
    min-width: 270px;
    left: 0;
  }
  .hero { padding: 38px 0 54px; }
  .hero-content,
  .synergy-grid,
  .split-showcase,
  .split-showcase.img-left,
  .layer-stack,
  .prose-columns,
  .contact-grid,
  .project-card,
  .exp-card {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 170px;
  }
  .edu-cards,
  .test-bench-grid,
  .workbench-results-grid,
  .acoustic-sim-grid {
    grid-template-columns: 1fr;
  }
  .stat-row-four,
  .telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-strip-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-metrics-row { grid-template-columns: 1fr; }
  .talla-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .workbench-controls-grid,
  .ergo-matrix-grid,
  .vitrificado-steps,
  .locker-mod-grid,
  .tender-timeline,
  .form-row-two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .une-workbench { padding: 22px 18px; }
  .rfq-form-card { padding: 22px 18px; }
  .legal-dossier { padding: 24px 18px; }
}
