:root {
  --adc-blue: #032560;
  --adc-blue-deep: #021c4a;
  --adc-blue-soft: #0a3478;
  --adc-orange: #ff5a0a;
  --adc-orange-light: #ff7b24;
  --adc-ink: #152238;
  --adc-muted: #66758a;
  --adc-line: #dbe4ef;
  --adc-cloud: #f3f7fc;
}

.adc-branch-active #masthead,
.adc-branch-active #colophon,
.adc-branch-active .entry-header,
.adc-branch-active .ast-page-builder-template .entry-header,
.adc-branch-active .sidebar-main { display: none !important; }

.adc-branch-active #page,
.adc-branch-active #content,
.adc-branch-active #primary,
.adc-branch-active .site-content,
.adc-branch-active .ast-container,
.adc-branch-active .site-main,
.adc-branch-active .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.adc-branch-active .site-content > .ast-container { display: block !important; }
.adc-branch-active .entry-content > p:empty { display: none; }

.adc-branch {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--adc-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.adc-branch * { box-sizing: border-box; }
.adc-branch a { color: inherit; text-decoration: none; }
.adc-branch img { display: block; max-width: 100%; }
.adc-branch h1,
.adc-branch h2,
.adc-branch h3,
.adc-branch p { margin-top: 0; }

.adc-branch-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 14px clamp(20px, 5vw, 76px);
  color: #fff;
  background: rgba(3, 37, 96, .97);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}

.admin-bar .adc-branch-header { top: 32px; }
.adc-branch-brand img {
  width: 138px;
  height: auto;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.3);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}

.adc-branch-nav { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 28px); font-size: 14px; font-weight: 700; }
.adc-branch-nav a { color: #fff; transition: color .2s ease; }
.adc-branch-nav a:hover,
.adc-branch-nav a.is-active,
.adc-branch-nav a.is-external { color: var(--adc-orange); }

.adc-branch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 23px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--adc-orange), var(--adc-orange-light));
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(255,90,10,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.adc-branch-button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,90,10,.28); }
.adc-branch-button.is-outline { color: #fff !important; background: transparent; border-color: rgba(255,255,255,.55); box-shadow: none; }
.adc-branch-button.is-blue { background: var(--adc-blue); box-shadow: 0 10px 28px rgba(3,37,96,.2); }
.adc-branch-header-cta { min-height: 44px; padding: 0 18px; background: transparent; border-color: var(--adc-orange); box-shadow: none; }

.adc-branch-menu { display: none; width: 46px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.32); border-radius: 7px; background: transparent; }
.adc-branch-menu span { display: block; width: 21px; height: 2px; margin: 5px auto; background: #fff; }

.adc-branch-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  min-height: 690px;
  padding: 95px clamp(24px, 6vw, 90px);
  color: #fff;
  background: radial-gradient(circle at 82% 20%, rgba(39,101,190,.38), transparent 32%), linear-gradient(145deg, var(--adc-blue) 0%, var(--adc-blue-deep) 100%);
}

.adc-branch-hero-copy { position: relative; z-index: 3; }
.adc-branch-eyebrow { margin: 0 0 20px; color: var(--adc-orange); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.adc-branch-hero h1 { max-width: 780px; margin: 0 0 25px; color: #fff !important; font-size: clamp(44px, 5.4vw, 78px); font-weight: 780; line-height: 1.02; letter-spacing: -.052em; }
.adc-branch-lead { max-width: 680px; margin-bottom: 30px; color: #d4e1f3 !important; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; }
.adc-branch-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.adc-branch-note { max-width: 650px; margin: 26px 0 0; padding-left: 16px; color: #fff !important; border-left: 3px solid var(--adc-orange); font-size: 14px; font-weight: 700; }

.adc-branch-hero-image { position: relative; min-height: 480px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 28px; background: rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.26); }
.adc-branch-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adc-branch-hero-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2,28,74,.38)); }

.adc-device-stage { position: relative; min-height: 490px; border: 1px solid rgba(255,255,255,.24); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.04)); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.adc-device-stage img { position: absolute; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(0,0,0,.28)); }
.adc-device-stage .device-a { width: 52%; height: 78%; left: 3%; bottom: 4%; }
.adc-device-stage .device-b { width: 47%; height: 45%; right: 2%; top: 7%; }
.adc-device-stage .device-c { width: 44%; height: 42%; right: 4%; bottom: 6%; }

.adc-branch-trust { display: grid; grid-template-columns: repeat(4,1fr); padding: 0 clamp(24px,6vw,90px); border-bottom: 1px solid var(--adc-line); background: #fff; }
.adc-branch-trust > div { min-height: 118px; padding: 24px 26px; border-right: 1px solid var(--adc-line); }
.adc-branch-trust > div:first-child { border-left: 1px solid var(--adc-line); }
.adc-branch-trust strong,
.adc-branch-trust span { display: block; }
.adc-branch-trust strong { margin-bottom: 4px; color: var(--adc-blue); font-size: 17px; }
.adc-branch-trust span { color: var(--adc-muted); font-size: 13px; }

.adc-branch-section { padding: 105px clamp(24px,6vw,90px); background: #fff; }
.adc-branch-section.is-soft { background: var(--adc-cloud); }
.adc-branch-section.is-dark { color: #fff; background: var(--adc-blue); }
.adc-branch-heading { max-width: 820px; margin-bottom: 52px; }
.adc-branch-heading.is-centered { margin-inline: auto; text-align: center; }
.adc-branch-heading h2,
.adc-branch-section h2 { margin: 0 0 18px; color: var(--adc-blue); font-size: clamp(36px,4.4vw,62px); line-height: 1.07; letter-spacing: -.042em; }
.adc-branch-heading > p:last-child { color: var(--adc-muted); font-size: 18px; line-height: 1.7; }
.adc-branch-section.is-dark h2,
.adc-branch-section.is-dark h3,
.adc-branch-section.is-dark strong { color: #fff !important; }
.adc-branch-section.is-dark .adc-branch-heading > p:last-child { color: #c8d7ec !important; }

.adc-branch-grid { display: grid; gap: 22px; }
.adc-branch-grid.two { grid-template-columns: repeat(2,1fr); }
.adc-branch-grid.three { grid-template-columns: repeat(3,1fr); }
.adc-branch-grid.four { grid-template-columns: repeat(4,1fr); }
.adc-branch-card { padding: 38px; border: 1px solid var(--adc-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(3,37,96,.07); }
.adc-card-number { display: block; color: var(--adc-orange); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.adc-route-card h3 { margin: 12px 0; color: var(--adc-blue); font-size: 29px; line-height: 1.15; }
.adc-route-card p,
.adc-route-card li { color: var(--adc-muted); }
.adc-route-card ul { margin: 24px 0; padding-left: 21px; }
.adc-route-card li { margin: 8px 0; }
.adc-text-link { color: var(--adc-blue) !important; font-weight: 850; }

.adc-category-grid article { min-height: 205px; padding: 26px; border: 1px solid var(--adc-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 25px rgba(3,37,96,.05); }
.adc-category-grid b { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 22px; color: #fff; background: var(--adc-blue); border-radius: 10px; }
.adc-category-grid article:nth-child(3n+2) b { background: var(--adc-orange); }
.adc-category-grid h3 { margin: 0 0 8px; color: var(--adc-blue); font-size: 19px; line-height: 1.25; }
.adc-category-grid p { margin: 0; color: var(--adc-muted); font-size: 14px; }

.adc-process-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.adc-process-grid article { min-height: 180px; padding: 30px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.adc-process-grid span { display: block; margin-bottom: 32px; color: var(--adc-orange); font-size: 12px; font-weight: 850; }
.adc-process-grid strong { display: block; color: #fff !important; font-size: 20px; }
.adc-process-grid p { margin: 8px 0 0; color: #c8d7ec !important; }

.adc-product-card { overflow: hidden; border: 1px solid var(--adc-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(3,37,96,.06); }
.adc-product-image { display: grid; place-items: center; height: 275px; padding: 22px; background: linear-gradient(150deg,#f9fbff,#e9f0f9); }
.adc-product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.adc-product-copy { padding: 25px; }
.adc-product-copy > span { color: var(--adc-orange); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.adc-product-copy h3 { margin: 7px 0 9px; color: var(--adc-blue); font-size: 22px; }
.adc-product-copy p { min-height: 68px; color: var(--adc-muted); font-size: 14px; }
.adc-centered-action { display: flex; justify-content: center; margin-top: 38px; }

.adc-partner-panel { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(45px,7vw,90px); align-items: center; }
.adc-partner-panel h2 { font-size: clamp(38px,4.4vw,62px); }
.adc-partner-panel > div:first-child > p:not(.adc-branch-eyebrow) { color: var(--adc-muted); font-size: 18px; line-height: 1.7; }
.adc-partner-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; color: var(--adc-blue); font-size: 22px; }
.adc-partner-marks span { color: var(--adc-orange); font-size: 30px; }
.adc-partner-list { border-top: 1px solid var(--adc-line); }
.adc-partner-list article { padding: 24px 0; border-bottom: 1px solid var(--adc-line); }
.adc-partner-list strong,
.adc-partner-list span { display: block; }
.adc-partner-list strong { color: var(--adc-blue); font-size: 19px; }
.adc-partner-list span { margin-top: 6px; color: var(--adc-muted); }

.adc-finance-panel { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(45px,7vw,100px); align-items: center; padding: clamp(38px,5vw,65px); background: var(--adc-cloud); border-left: 6px solid var(--adc-orange); }
.adc-finance-panel h2 { font-size: clamp(34px,3.8vw,54px); }
.adc-finance-panel p { color: var(--adc-muted); font-size: 17px; }
.adc-finance-note { padding: 28px; color: #fff !important; background: var(--adc-blue); font-size: 15px !important; line-height: 1.7; }

.adc-branch-cta { display: flex; align-items: end; justify-content: space-between; gap: 50px; background: var(--adc-cloud); border-top: 5px solid var(--adc-orange); }
.adc-branch-cta > div { max-width: 850px; }
.adc-branch-cta h2 { font-size: clamp(36px,4.2vw,58px); }
.adc-branch-cta p:not(.adc-branch-eyebrow) { color: var(--adc-muted); font-size: 18px; line-height: 1.7; }

.adc-branch-footer { padding: 38px clamp(24px,5vw,76px); color: #c8d7ec; background: var(--adc-blue); }
.adc-branch-footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.adc-branch-footer-main img { width: 105px; padding: 5px 7px; border-radius: 7px; background: #fff; }
.adc-branch-footer-main p { margin: 0; }
.adc-branch-footer-main nav,
.adc-branch-legal { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.adc-branch-footer a:hover { color: #fff; }
.adc-branch-legal { justify-content: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; }

/* Integración de las ramas en la portada existente */
.adc-home .adc-nav .adc-branch-nav-link { color: #fff; }
.adc-home .adc-nav .adc-branch-nav-link:hover { color: var(--orange); }
.adc-home .capability-grid .adc-special-capability { display: block; min-height: 245px; padding: 35px; color: #fff; background: var(--blue); transition: background .2s ease, transform .2s ease; }
.adc-home .capability-grid .adc-special-capability:hover { z-index: 2; background: var(--blue-soft); transform: translateY(-4px); }
.adc-home .capability-grid .adc-special-capability > span { color: var(--orange); font-size: 12px; font-weight: 800; }
.adc-home .capability-grid .adc-special-capability h3 { margin: 45px 0 14px; color: #fff; font-size: 23px; }
.adc-home .capability-grid .adc-special-capability p { color: #b8c7dd; line-height: 1.6; }

.adc-home .adc-branches-showcase { padding: 105px clamp(24px,6vw,90px); background: #fff; }
.adc-home .adc-branches-showcase .adc-branches-heading { max-width: 820px; margin-bottom: 46px; }
.adc-home .adc-branches-showcase h2 { margin: 0; color: var(--blue); font-size: clamp(38px,4.2vw,62px); line-height: 1.07; letter-spacing: -.04em; }
.adc-home .adc-branches-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.adc-home .adc-home-branch-card { position: relative; min-height: 420px; overflow: hidden; border-radius: 10px; background: var(--blue); box-shadow: 0 20px 50px rgba(3,37,96,.15); }
.adc-home .adc-home-branch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adc-home .adc-home-branch-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(3,37,96,.08) 15%,rgba(3,37,96,.96) 100%); }
.adc-home .adc-home-branch-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 34px; color: #fff; }
.adc-home .adc-home-branch-copy span { color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.adc-home .adc-home-branch-copy h3 { margin: 10px 0 12px; color: #fff; font-size: clamp(28px,3vw,42px); line-height: 1.08; }
.adc-home .adc-home-branch-copy p { margin: 0; color: #d5e1f1; line-height: 1.6; }

.adc-home .adc-sector-branch-link { display: inline-flex; margin-top: 14px; padding: 13px 18px; color: #fff !important; background: var(--orange); border-radius: 4px; font-weight: 800; }
.adc-home .adc-service-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.adc-home .adc-service-links a { color: #fff; font-weight: 800; }

@media (min-width:1101px) {
  .adc-home .adc-nav { gap: clamp(10px,1.25vw,19px); font-size: 13px; }
}

@media (max-width:1100px) {
  .adc-branch-nav { position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); color: var(--adc-blue); background: #fff; border: 1px solid var(--adc-line); border-radius: 8px; box-shadow: 0 18px 45px rgba(3,37,96,.18); transition: .2s ease; }
  .adc-branch-nav a { padding: 14px; color: var(--adc-blue); border-bottom: 1px solid var(--adc-line); }
  .adc-branch-nav a:last-child { border-bottom: 0; }
  .adc-branch-header.is-open .adc-branch-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .adc-branch-menu { display: block; }
  .adc-branch-hero { grid-template-columns: 1fr; }
  .adc-branch-hero-image,
  .adc-device-stage { min-height: 430px; }
  .adc-branch-grid.four { grid-template-columns: repeat(2,1fr); }
  .adc-branch-grid.three { grid-template-columns: repeat(2,1fr); }
}

@media (max-width:782px) {
  .admin-bar .adc-branch-header { top: 46px; }
}

@media (max-width:760px) {
  .adc-branch-header { min-height: 74px; padding: 8px 12px; gap: 8px; }
  .adc-branch-brand img { width: 103px; padding: 4px 6px; }
  .adc-branch-header-cta { max-width: 145px; min-height: 38px; padding: 0 8px; font-size: 11px; text-align: center; }
  .adc-branch-menu { width: 42px; height: 42px; }
  .adc-branch-hero { min-height: auto; padding: 72px 22px; }
  .adc-branch-hero h1 { font-size: 44px; }
  .adc-branch-hero-image,
  .adc-device-stage { min-height: 320px; }
  .adc-branch-trust { grid-template-columns: 1fr; padding: 0 22px; }
  .adc-branch-trust > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--adc-line); }
  .adc-branch-trust > div:first-child { border-left: 0; }
  .adc-branch-section { padding: 76px 22px; }
  .adc-branch-grid.two,
  .adc-branch-grid.three,
  .adc-branch-grid.four,
  .adc-process-grid,
  .adc-partner-panel,
  .adc-finance-panel { grid-template-columns: 1fr; }
  .adc-process-grid article { min-height: 145px; }
  .adc-branch-cta { align-items: stretch; flex-direction: column; }
  .adc-branch-footer-main { align-items: flex-start; flex-direction: column; }
  .adc-home .adc-branches-showcase { padding: 76px 22px; }
  .adc-home .adc-branches-grid { grid-template-columns: 1fr; }
  .adc-home .adc-home-branch-card { min-height: 380px; }
}

