:root {
  --navy: #0A2342;
  --navy-2: #123465;
  --navy-3: #08192f;
  --orange: #FF6A13;
  --orange-2: #FF8C3C;
  --green: #1E9E62;
  --bg: #F6F8FA;
  --white: #FFFFFF;
  --text: #101820;
  --muted: #5B6B79;
  --border: #E4E9EE;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 35, 66, .08);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --hero-bg: #0A2342;
  --header-bg: #FFFFFF;
  --section-alt-bg: #EEF2F6;
  --trust-bg: #0A2342;
  --footer-bg: #08192f;
  --header-text: #101820;
  --hero-text: #FFFFFF;
  --section-a-text: #0A2342;
  --section-b-text: #0A2342;
  --trust-text: #FFFFFF;
  --footer-text: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 2.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--orange);
  background: rgba(255, 106, 19, .1);
  padding: .35em .9em;
  border-radius: 999px;
  margin-bottom: 1em;
}

.tag-light {
  background: rgba(255, 255, 255, .12);
  color: var(--trust-text);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.light-sub {
  color: var(--trust-text);
  opacity: .78;
}

.light {
  color: var(--trust-text);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .9em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 106, 19, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 106, 19, .45);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  transition: background .3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: .4em;
  font-family: var(--font-head);
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.logo-mark {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .02em;
}

.logo-text {
  color: var(--header-text);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--header-text);
  opacity: .85;
  font-weight: 500;
  font-size: .92rem;
  transition: opacity .2s;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: .6em 1.3em;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--orange-2);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 170px 0 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--hero-text);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.3;
}

.hero-media-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-media-item.is-active {
  opacity: .5;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 106, 19, .25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30, 158, 98, .2), transparent 40%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0px, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  padding-bottom: 110px;
}

.hero-inner .eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  color: var(--orange-2);
  font-weight: 600;
  margin-bottom: 1em;
}

.hero h1 {
  color: var(--hero-text);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--hero-text);
  opacity: .8;
  max-width: 600px;
}

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

.hero-stats {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 24px;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange-2);
}

.stat-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .72);
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}

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

.section:not(.section-alt):not(.trust):not(.dna) h1,
.section:not(.section-alt):not(.trust):not(.dna) h2,
.section:not(.section-alt):not(.trust):not(.dna) h3,
.section:not(.section-alt):not(.trust):not(.dna) h4,
.section:not(.section-alt):not(.trust):not(.dna) p {
  color: var(--section-a-text);
}

.section-alt h1,
.section-alt h2,
.section-alt h3,
.section-alt h4,
.section-alt p {
  color: var(--section-b-text);
}

.cta-banner,
.cta-banner h2,
.cta-banner p {
  color: #fff !important;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: start;
}

.two-col.reverse {
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
}

.pull-quote {
  background: var(--navy);
  color: #fff;
  padding: 2.2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  border-left: 5px solid var(--orange);
  margin: 0;
}

.pull-quote span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  margin-top: 1em;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  gap: 1.6rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 35, 66, .12);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(10, 35, 66, .08);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-icon.orange {
  background: rgba(255, 106, 19, .12);
  color: var(--orange);
}

/* ===== DNA ===== */
.dna {
  background: var(--trust-bg);
  text-align: center;
}

.dna-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.dna-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  color: var(--trust-text);
  font-family: var(--font-head);
  font-weight: 600;
}

.dna-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dna-icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange-2);
}

.dna-line {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, .25);
}

/* ===== JOURNEY ===== */
.journey {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.journey-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow);
  min-width: 150px;
}

.journey-index {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: .4em;
}

.journey-step h4 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.journey-arrow {
  font-size: 1.6rem;
  color: var(--muted);
}

/* ===== TECH ===== */
.tech-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  width: 100%;
}

.tech-badge svg {
  width: 56px;
  height: 56px;
  color: var(--green);
}

/* ===== SERVICES ===== */
.service-block {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.service-block:first-of-type {
  border-top: none;
}

.service-block h3 {
  color: var(--navy);
}

.check-list {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===== TRAININGS ===== */
.nr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.nr-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.nr-item strong {
  color: var(--orange);
  font-family: var(--font-head);
}

.nr-item span {
  color: var(--muted);
  font-size: .9rem;
}

.badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.badge {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  padding: .5em 1.3em;
  border-radius: 999px;
}

/* ===== TRUST ===== */
.trust {
  background: var(--trust-bg);
  text-align: center;
}

.trust-stats {
  padding-top: 2.5rem;
}

.trust .stat-number {
  color: var(--orange-2);
  font-size: 2rem;
}

.trust .stat-label {
  color: var(--trust-text);
  opacity: .75;
}

/* ===== LOGO SLIDER ===== */
.logo-marquee {
  margin-top: 3rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.5rem;
  animation: logo-scroll 32s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-slide {
  flex: 0 0 auto;
  width: 168px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
}

.logo-slide img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-slide .logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}

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

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

/* ===== CONTACT ===== */
.contact-grid {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.contact-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  font-weight: 700;
}

.contact-list a {
  color: var(--navy);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--orange);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8em 1em;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.form-note {
  font-size: .85rem;
  color: var(--green);
  min-height: 1.2em;
  margin: 0;
}

.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo-img {
  height: 48px;
}

.footer-grid h4 {
  color: var(--footer-text);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-grid ul {
  display: grid;
  gap: .7rem;
}

.footer-grid a:hover {
  color: var(--footer-text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.5rem;
  font-size: .85rem;
}

/* ===== NAV ACTIVE ===== */
.main-nav a.active {
  color: var(--header-text);
  opacity: 1;
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
}

.main-nav a.nav-cta.active::after {
  display: none;
}

/* ===== PAGE HERO (subpáginas) ===== */
.page-hero {
  position: relative;
  padding: 150px 0 4rem;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(255, 106, 19, .22), transparent 45%);
  pointer-events: none;
}

.breadcrumb {
  position: relative;
  display: flex;
  gap: .5em;
  align-items: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .8);
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  position: relative;
  color: #fff;
  margin-bottom: .4em;
}

.page-hero p {
  position: relative;
  max-width: 640px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
}

/* ===== TEASER GRID (home) ===== */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

.teaser-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 35, 66, .12);
}

.teaser-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--orange);
  font-size: .9rem;
  margin-top: auto;
}

.teaser-link::after {
  content: " →";
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head .see-all {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--orange);
  font-size: .95rem;
  white-space: nowrap;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner .btn-primary {
  background: var(--navy);
  box-shadow: none;
}

.cta-banner .btn-primary:hover {
  background: var(--navy-2);
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }

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

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

@media(max-width:760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-3);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 24px 1.5rem;
  }

  .main-nav li {
    width: 100%;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-cta {
    display: inline-block;
    margin-top: .7rem;
  }

  .nav-toggle {
    display: flex;
  }

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

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

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

  .journey {
    flex-direction: column;
    align-items: stretch;
  }

  .journey-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

/* ===== THEME CUSTOMIZER ===== */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  border: 2px solid var(--orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(10, 35, 66, .2);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(45deg);
  box-shadow: 0 6px 20px rgba(10, 35, 66, .3);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform .3s ease;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .theme-toggle {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

.theme-panel {
  position: fixed;
  right: -420px;
  top: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 20px rgba(0, 0, 0, .1);
  z-index: 1000;
  transition: right .3s ease;
  overflow-y: auto;
}

.theme-panel.active {
  right: 0;
}

.theme-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
}

.theme-panel-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.theme-panel-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}

.theme-panel-close:hover {
  color: var(--orange);
}

.theme-panel-content {
  padding: 1.5rem;
}

.theme-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.theme-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.theme-group h4 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange);
  margin: 0 0 .75rem;
}

.control-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.control-group {
  margin-bottom: 0;
}

.control-group label {
  display: block;
  margin-bottom: .5rem;
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-head);
}

.color-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s;
}

.color-input:hover {
  border-color: var(--orange);
}

.logo-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.logo-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  transition: border-color .2s;
}

.logo-option img {
  max-width: 100%;
  max-height: 100%;
}

.logo-option.swatch-dark {
  background: var(--navy);
}

.logo-option.swatch-light {
  background: #fff;
}

.logo-option:hover {
  border-color: var(--orange);
}

.logo-option.active {
  border-color: var(--orange);
}

.reset-btn {
  width: 100%;
  padding: .75rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: 1rem;
}

.reset-btn:hover {
  background: var(--navy-2);
}