/* EEGM TD2 Barrancos · bloques editables para Kadence/WordPress */
.eegm-course.eegm-td2-barrancos-page,
.eegm-course.eegm-td2-barrancos-page * { box-sizing: border-box; }

.entry-content > .eegm-course.eegm-td2-barrancos-page.alignfull,
.wp-site-blocks .eegm-course.eegm-td2-barrancos-page.alignfull,
.eegm-course.eegm-td2-barrancos-page.alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.eegm-course.eegm-td2-barrancos-page {
  --td: #0E5B8E;
  --td-2: #1E8EC2;
  --td-3: #62BEDB;
  --td-dark: #06334F;
  --td-deep: #031723;
  --water: #B9E5EF;
  --water-2: #DDF3F8;
  --navy: #061C29;
  --ink: #061C29;
  --muted: #65706B;
  --sand: #F4EFE6;
  --paper: #FFF9F0;
  --white: #FFFFFF;
  --line: rgba(6,28,41,.12);
  --soft: rgba(14,91,142,.12);
  --soft-2: rgba(30,142,194,.16);
  --green: #3D642E;
  --orange: #E87526;
  --brown: #7A572B;
  --slate: #5E8191;
  --shadow: 0 24px 78px rgba(6,28,41,.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
  max-width: none !important;
  overflow: visible !important;
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 0%, rgba(14,91,142,.22), transparent 34rem),
    radial-gradient(circle at 95% 10%, rgba(98,190,219,.22), transparent 31rem),
    radial-gradient(circle at 50% 94%, rgba(185,229,239,.20), transparent 35rem),
    linear-gradient(180deg, #fbf8f1 0%, #f4efe6 48%, #fff9f0 100%);
  padding: clamp(26px, 4vw, 50px) 0 clamp(60px, 8vw, 110px);
}

.eegm-course.eegm-td2-barrancos-page :where(.wp-block-group,.wp-block-image,.wp-block-table,.wp-block-buttons,.wp-block-button,.wp-block-list) {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.eegm-course.eegm-td2-barrancos-page :where(h1,h2,h3,p,ul,ol,li,figure) { margin-top: 0; }
.eegm-course.eegm-td2-barrancos-page img { max-width: 100%; height: auto; display:block; }
.eegm-course.eegm-td2-barrancos-page a { color: inherit; }
.eegm-course.eegm-td2-barrancos-page .eegm-wrap { width: min(100% - 32px, var(--max)); margin: 0 auto !important; }

.eegm-course.eegm-td2-barrancos-page .hero,
.eegm-course.eegm-td2-barrancos-page .hero-side,
.eegm-course.eegm-td2-barrancos-page .course-nav,
.eegm-course.eegm-td2-barrancos-page .section-head,
.eegm-course.eegm-td2-barrancos-page .intro-grid,
.eegm-course.eegm-td2-barrancos-page .benefits,
.eegm-course.eegm-td2-barrancos-page .requirements-grid,
.eegm-course.eegm-td2-barrancos-page .timeline,
.eegm-course.eegm-td2-barrancos-page .october-example,
.eegm-course.eegm-td2-barrancos-page .calendar-grid,
.eegm-course.eegm-td2-barrancos-page .price-totals,
.eegm-course.eegm-td2-barrancos-page .steps { display: grid !important; }

.eegm-course.eegm-td2-barrancos-page .pill {
  display:inline-flex; align-items:center; gap:8px; width: fit-content;
  padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 950;
  letter-spacing: .08em; text-transform: uppercase;
  background: rgba(14,91,142,.14); color: var(--td-dark); border: 1px solid rgba(14,91,142,.20);
}

.eegm-course.eegm-td2-barrancos-page .hero {
  grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr) !important;
  gap: 18px; align-items: stretch;
}
.eegm-course.eegm-td2-barrancos-page .hero-main {
  position: relative; overflow:hidden; border-radius: var(--radius-xl); color:#fff;
  background:
    radial-gradient(circle at 84% 16%, rgba(98,190,219,.28), transparent 24rem),
    radial-gradient(circle at 16% 86%, rgba(255,255,255,.09), transparent 20rem),
    linear-gradient(140deg, var(--td-deep), var(--td-dark) 62%, #0A466C);
  padding: clamp(28px, 4.6vw, 58px); box-shadow: var(--shadow);
  min-height: 560px; display:flex; flex-direction:column; justify-content:space-between;
}
.eegm-course.eegm-td2-barrancos-page .hero-main::before {
  content:""; position:absolute; left:0; right:0; top:0; height:9px;
  background: linear-gradient(90deg, #06334F 0 28%, #0E5B8E 28% 56%, #1E8EC2 56% 78%, #B9E5EF 78% 100%);
}
.eegm-course.eegm-td2-barrancos-page .hero-main::after {
  content:""; position:absolute; inset:auto -8% -72px -8%; height:250px; opacity:.23; background:#fff;
  clip-path: polygon(0 78%, 9% 48%, 20% 65%, 32% 30%, 44% 70%, 55% 39%, 67% 72%, 79% 24%, 91% 64%, 100% 45%, 100% 100%, 0 100%);
}
.eegm-course.eegm-td2-barrancos-page .hero-main > * { position:relative; z-index:1; }
.eegm-course.eegm-td2-barrancos-page .logo-card {
  display:block; width:min(100%, 330px); padding: 10px; border-radius: 24px; background: rgba(255,249,240,.98);
  border: 1px solid rgba(255,249,240,.36); box-shadow: 0 18px 52px rgba(0,0,0,.18); margin: 0 auto 24px !important;
}
.eegm-course.eegm-td2-barrancos-page .logo-card img { border-radius: 16px; width:100%; }
.eegm-course.eegm-td2-barrancos-page .hero-main .pill { background: rgba(255,249,240,.16); color:#fff; border:1px solid rgba(255,249,240,.18); margin-bottom:18px; line-height:1.2; }
.eegm-course.eegm-td2-barrancos-page h1 {
  max-width: 850px; font-size: clamp(42px, 5.2vw, 76px); line-height:.90; letter-spacing:-.075em; margin-bottom: 18px; color:#fff;
}
.eegm-course.eegm-td2-barrancos-page .lead {
  max-width: 720px; font-size: clamp(18px, 1.7vw, 24px); line-height:1.22; font-weight:780; color: rgba(255,255,255,.84); margin-bottom:0;
}
.eegm-course.eegm-td2-barrancos-page .hero-side { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap:14px; }
.eegm-course.eegm-td2-barrancos-page .side-card {
  position:relative; border-radius: 24px; padding:20px; min-height: 190px; overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,249,240,.90));
  border:1px solid var(--line); box-shadow: 0 18px 48px rgba(6,28,41,.09);
}
.eegm-course.eegm-td2-barrancos-page .side-card::before { content:""; position:absolute; left:0; right:0; top:0; height:8px; background: var(--accent, var(--td)); }
.eegm-course.eegm-td2-barrancos-page .side-card::after { content:""; position:absolute; width:135px; height:135px; right:-56px; bottom:-56px; border-radius:50%; background: rgba(14,91,142,.10); }
.eegm-course.eegm-td2-barrancos-page .side-card:nth-child(1) { --accent:#0E5B8E; }
.eegm-course.eegm-td2-barrancos-page .side-card:nth-child(2) { --accent:#1E8EC2; }
.eegm-course.eegm-td2-barrancos-page .side-card:nth-child(3) { --accent:#3D642E; }
.eegm-course.eegm-td2-barrancos-page .side-card:nth-child(4) { --accent:#06334F; }
.eegm-course.eegm-td2-barrancos-page .card-kicker,
.eegm-course.eegm-td2-barrancos-page .benefit-kicker { display:inline-flex; padding: 7px 10px; border-radius:999px; background: rgba(14,91,142,.12); color: var(--td-dark); font-size:11px; font-weight:950; letter-spacing:.10em; text-transform:uppercase; margin-bottom:22px; position:relative; z-index:1; width:fit-content; }
.eegm-course.eegm-td2-barrancos-page .side-card h3 { position:relative; z-index:1; font-size: clamp(20px, 1.7vw, 28px); line-height:1.02; letter-spacing:-.045em; margin-bottom: 10px; color: var(--ink); }
.eegm-course.eegm-td2-barrancos-page .side-card p { position:relative; z-index:1; margin:0; color: var(--muted); font-weight:780; line-height:1.35; }
.eegm-course.eegm-td2-barrancos-page .route-image-card,
.eegm-course.eegm-td2-barrancos-page .diagram-image-card {
  grid-column: 1 / -1; padding: 10px; border-radius: var(--radius-xl); background: rgba(255,249,240,.92); border:1px solid var(--line); box-shadow: var(--shadow); overflow:hidden;
}
.eegm-course.eegm-td2-barrancos-page .route-image-card img,
.eegm-course.eegm-td2-barrancos-page .diagram-image-card img { width:100%; border-radius: 24px; }

.eegm-course.eegm-td2-barrancos-page .course-nav-wrap { position: sticky; top: var(--eegm-sticky-offset, 0px); z-index: 50; margin-top: 18px; padding-top: 8px; }
.eegm-course.eegm-td2-barrancos-page .course-nav {
  grid-template-columns: repeat(5, minmax(0,1fr)) !important; gap: 10px; padding: 12px; border-radius: 26px;
  background: rgba(255,249,240,.92); border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(6,28,41,.10); backdrop-filter: blur(14px);
}
.eegm-course.eegm-td2-barrancos-page .course-nav > p { margin:0 !important; display:flex !important; min-width:0; }
.eegm-course.eegm-td2-barrancos-page .course-nav a {
  text-decoration:none; text-align:center; display:flex; align-items:center; justify-content:center; min-height: 58px; width:100%;
  border-radius: 18px; padding: 10px 12px; background: rgba(14,91,142,.12); color: var(--td-dark); font-weight:950; line-height:1.12;
}
.eegm-course.eegm-td2-barrancos-page .course-nav a:hover { background: var(--td); color:#fff; }

.eegm-course.eegm-td2-barrancos-page .section { margin-top: clamp(42px, 6vw, 82px); scroll-margin-top: 110px; }
.eegm-course.eegm-td2-barrancos-page .section-head { grid-template-columns: .82fr 1.18fr !important; gap:24px; align-items:end; margin-bottom:24px; }
.eegm-course.eegm-td2-barrancos-page .section-head h2 { margin: 10px 0 0; max-width: 800px; font-size: clamp(34px, 4.2vw, 58px); line-height:.95; letter-spacing:-.06em; color: var(--ink); }
.eegm-course.eegm-td2-barrancos-page .section-head p { color: var(--muted); font-weight:780; font-size:18px; line-height:1.45; margin-bottom:6px; }
.eegm-course.eegm-td2-barrancos-page .intro-grid { grid-template-columns: 1.05fr .95fr !important; gap: 18px; }
.eegm-course.eegm-td2-barrancos-page .intro-text { padding: clamp(24px,3vw,36px); border-radius: var(--radius-xl); background: rgba(255,255,255,.76); border:1px solid var(--line); box-shadow:0 18px 50px rgba(6,28,41,.08); }
.eegm-course.eegm-td2-barrancos-page .intro-text p { color: var(--muted); font-size:18px; line-height:1.55; font-weight:760; }
.eegm-course.eegm-td2-barrancos-page .intro-list { display:grid; gap:10px; margin:20px 0 0; padding-left:1.2em; }
.eegm-course.eegm-td2-barrancos-page .intro-list li { color: var(--ink); font-weight:800; line-height:1.35; }
.eegm-course.eegm-td2-barrancos-page .intro-visual { position:relative; min-height:380px; border-radius:var(--radius-xl); background: linear-gradient(145deg,#fff, var(--water-2)); border:1px solid var(--line); box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:26px; }
.eegm-course.eegm-td2-barrancos-page .intro-visual img { max-width:78%; max-height:250px; object-fit:contain; filter: drop-shadow(0 18px 25px rgba(6,28,41,.18)); }
.eegm-course.eegm-td2-barrancos-page .intro-visual .caption { width:100%; padding:18px; border-radius:22px; background:rgba(6,28,41,.92); color:#fff; text-align:center; box-shadow: 0 12px 32px rgba(6,28,41,.18); }
.eegm-course.eegm-td2-barrancos-page .caption-small { font-weight:950; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.62); font-size:11px; margin-bottom:5px; }
.eegm-course.eegm-td2-barrancos-page .caption b { font-size: clamp(20px,2.1vw,30px); line-height:1; letter-spacing:-.045em; }

.eegm-course.eegm-td2-barrancos-page .benefits { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap:14px; }
.eegm-course.eegm-td2-barrancos-page .benefit { min-height:210px; padding:22px; border-radius:24px; background: var(--benefit-bg,#fff); border:1px solid var(--line); box-shadow:0 18px 48px rgba(6,28,41,.08); position:relative; overflow:hidden; }
.eegm-course.eegm-td2-barrancos-page .benefit::before { content:""; position:absolute; left:0; right:0; top:0; height:8px; background: var(--benefit-accent, var(--td)); }
.eegm-course.eegm-td2-barrancos-page .benefit h3 { font-size:23px; line-height:1.04; letter-spacing:-.04em; margin-bottom:10px; color:var(--benefit-title,#061C29); }
.eegm-course.eegm-td2-barrancos-page .benefit p { color:var(--benefit-text,#5F6F75); font-weight:760; line-height:1.34; margin:0; }
.eegm-course.eegm-td2-barrancos-page .benefit:nth-child(4n+1) { --benefit-bg: linear-gradient(180deg, rgba(3,23,35,.96), rgba(6,51,79,.94)); --benefit-accent:#B9E5EF; --benefit-title:#fff; --benefit-text:rgba(255,255,255,.78); }
.eegm-course.eegm-td2-barrancos-page .benefit:nth-child(4n+1) .benefit-kicker { background: rgba(255,255,255,.14); color:#fff; }
.eegm-course.eegm-td2-barrancos-page .benefit:nth-child(4n+2) { --benefit-bg: linear-gradient(180deg, #E4F5FA, #FFF9F0); --benefit-accent:#1E8EC2; }
.eegm-course.eegm-td2-barrancos-page .benefit:nth-child(4n+3) { --benefit-bg: linear-gradient(180deg, #FFFFFF, #F0FBFD); --benefit-accent:#0E5B8E; }
.eegm-course.eegm-td2-barrancos-page .benefit:nth-child(4n+4) { --benefit-bg: linear-gradient(180deg, #DDE8EA, #F7FAFB); --benefit-accent:#5E8191; }

.eegm-course.eegm-td2-barrancos-page .requirements-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap:14px; margin-top:16px; }
.eegm-course.eegm-td2-barrancos-page .req-card { border-radius:24px; padding:22px; background:#fff; border:1px solid var(--line); box-shadow: 0 18px 48px rgba(6,28,41,.08); min-height:150px; }
.eegm-course.eegm-td2-barrancos-page .req-card small { display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:950; color:var(--muted); margin-bottom:9px; }
.eegm-course.eegm-td2-barrancos-page .req-card b { display:block; font-size:20px; line-height:1.1; letter-spacing:-.035em; color:var(--ink); margin-bottom:8px; }
.eegm-course.eegm-td2-barrancos-page .req-card p { color:var(--muted); font-weight:760; line-height:1.35; margin:0; }
.eegm-course.eegm-td2-barrancos-page .notice { margin-top:16px; padding:18px 20px; border-radius:24px; background:linear-gradient(135deg, rgba(14,91,142,.12), rgba(255,255,255,.72)); border:1px solid rgba(14,91,142,.18); color:var(--td-dark); font-weight:820; line-height:1.45; }

.eegm-course.eegm-td2-barrancos-page .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px; }
.eegm-course.eegm-td2-barrancos-page .timeline-card { padding:20px; border-radius:24px; background:rgba(255,255,255,.78); border:1px solid var(--line); box-shadow:0 14px 40px rgba(6,28,41,.08); display:flex; flex-direction:column; min-height:190px; }
.eegm-course.eegm-td2-barrancos-page .timeline-card small { color:var(--td); font-weight:950; letter-spacing:.10em; text-transform:uppercase; font-size:11px; }
.eegm-course.eegm-td2-barrancos-page .timeline-card b { display:block; font-size:22px; line-height:1.08; margin:7px 0; letter-spacing:-.04em; }
.eegm-course.eegm-td2-barrancos-page .timeline-card p { margin:0; color:var(--muted); font-weight:760; }
.eegm-course.eegm-td2-barrancos-page .october-example { margin-top:18px; grid-template-columns: .82fr 1.18fr !important; gap:18px; align-items:stretch; border-radius:30px; padding:clamp(18px,2.6vw,28px); background: radial-gradient(circle at 12% 8%, rgba(98,190,219,.30), transparent 19rem), radial-gradient(circle at 86% 18%, rgba(14,91,142,.22), transparent 22rem), linear-gradient(135deg, var(--td-deep), var(--td-dark) 54%, var(--td)); box-shadow:0 22px 64px rgba(6,28,41,.16); overflow:hidden; position:relative; }
.eegm-course.eegm-td2-barrancos-page .october-example::before { content:""; position:absolute; inset:auto -5% -70px -5%; height:170px; background:rgba(255,255,255,.10); clip-path: polygon(0 72%, 10% 48%, 23% 63%, 34% 31%, 48% 65%, 61% 42%, 73% 70%, 88% 34%, 100% 62%, 100% 100%, 0 100%); }
.eegm-course.eegm-td2-barrancos-page .calendar-copy, .eegm-course.eegm-td2-barrancos-page .calendar-card { position:relative; z-index:1; }
.eegm-course.eegm-td2-barrancos-page .calendar-copy { display:flex; flex-direction:column; justify-content:center; }
.eegm-course.eegm-td2-barrancos-page .calendar-copy .pill { background: rgba(255,255,255,.14); color:#FFF9F0; border-color:rgba(255,255,255,.18); margin-bottom:16px; }
.eegm-course.eegm-td2-barrancos-page .calendar-copy h3 { margin:0 0 12px; font-size:clamp(29px,3.2vw,48px); line-height:.96; letter-spacing:-.055em; color:#fff; }
.eegm-course.eegm-td2-barrancos-page .calendar-copy p { margin:0; color:rgba(255,255,255,.80); font-size:17px; line-height:1.36; font-weight:780; }
.eegm-course.eegm-td2-barrancos-page .weekend-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.eegm-course.eegm-td2-barrancos-page .weekend-list span { display:inline-flex; align-items:center; min-height:34px; padding:8px 10px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.15); color:rgba(255,255,255,.92); font-size:12px; font-weight:950; white-space:nowrap; }
.eegm-course.eegm-td2-barrancos-page .calendar-card { border-radius:26px; padding:clamp(16px,2.2vw,22px); background:rgba(255,249,240,.96); border:1px solid rgba(255,255,255,.40); box-shadow:0 20px 52px rgba(0,0,0,.14); color:var(--ink); }
.eegm-course.eegm-td2-barrancos-page .calendar-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:14px; }
.eegm-course.eegm-td2-barrancos-page .calendar-head b { display:block; font-size:clamp(25px,2.2vw,36px); line-height:1; letter-spacing:-.05em; color:var(--td-dark); }
.eegm-course.eegm-td2-barrancos-page .calendar-head span { color:var(--muted); font-size:13px; font-weight:900; text-align:right; }
.eegm-course.eegm-td2-barrancos-page .calendar-grid { grid-template-columns: repeat(7, minmax(0,1fr)) !important; gap:6px; }
.eegm-course.eegm-td2-barrancos-page .calendar-grid span { min-height:38px; display:grid; place-items:center; border-radius:12px; font-size:13px; font-weight:950; }
.eegm-course.eegm-td2-barrancos-page .calendar-grid .dow { min-height:28px; background:rgba(14,91,142,.11); color:var(--td-dark); letter-spacing:.06em; }
.eegm-course.eegm-td2-barrancos-page .calendar-grid .blank { background:transparent; }
.eegm-course.eegm-td2-barrancos-page .calendar-grid .day { background:#fff; border:1px solid rgba(10,33,48,.08); color:var(--ink); }
.eegm-course.eegm-td2-barrancos-page .calendar-grid .in-person { color:#fff; border-color:rgba(255,255,255,.18); background:linear-gradient(135deg, var(--td-dark), var(--td-2)); box-shadow:0 8px 20px rgba(14,91,142,.20); }
.eegm-course.eegm-td2-barrancos-page .calendar-grid .weekend-start { border-top-left-radius:999px; border-bottom-left-radius:999px; }
.eegm-course.eegm-td2-barrancos-page .calendar-grid .weekend-end { border-top-right-radius:999px; border-bottom-right-radius:999px; }
.eegm-course.eegm-td2-barrancos-page .calendar-legend { margin-top:14px; display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:13px; line-height:1.32; font-weight:800; }
.eegm-course.eegm-td2-barrancos-page .calendar-legend i { flex:0 0 14px; width:14px; height:14px; margin-top:1px; border-radius:5px; background:linear-gradient(135deg, var(--td-dark), var(--td-2)); }

.eegm-course.eegm-td2-barrancos-page .price-wrap { display:grid; gap:18px; }
.eegm-course.eegm-td2-barrancos-page .price-block { border-radius: var(--radius-xl); overflow:hidden; background:#fff; border:1px solid var(--line); box-shadow:0 18px 50px rgba(6,28,41,.08); }
.eegm-course.eegm-td2-barrancos-page .price-block header { padding:18px 22px; color:#fff; background:linear-gradient(135deg,var(--td-dark),var(--td)); display:flex; justify-content:space-between; gap:16px; align-items:center; }
.eegm-course.eegm-td2-barrancos-page .price-block:nth-child(3) header { background: linear-gradient(135deg, var(--td-dark), var(--td-2)); }
.eegm-course.eegm-td2-barrancos-page .price-block:nth-child(4) header { background: linear-gradient(135deg, var(--slate), var(--td-dark)); }
.eegm-course.eegm-td2-barrancos-page .price-block header h3 { margin:0; font-size:22px; letter-spacing:-.03em; color:#fff; }
.eegm-course.eegm-td2-barrancos-page .price-block header .price-label,
.eegm-course.eegm-td2-barrancos-page .price-block header p { font-weight:950; opacity:.85; white-space:nowrap; color:#fff; margin:0; }
.eegm-course.eegm-td2-barrancos-page .price-table { margin:0 !important; overflow-x:auto; }
.eegm-course.eegm-td2-barrancos-page .price-table table { width:100%; border-collapse:collapse; }
.eegm-course.eegm-td2-barrancos-page .price-table th,
.eegm-course.eegm-td2-barrancos-page .price-table td { padding:15px 18px; border-bottom:1px solid rgba(6,28,41,.08); text-align:left; vertical-align:top; }
.eegm-course.eegm-td2-barrancos-page .price-table th { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); background:#F7FAFB; }
.eegm-course.eegm-td2-barrancos-page .price-table td { font-weight:760; color:var(--ink); }
.eegm-course.eegm-td2-barrancos-page .price-table td:first-child { font-weight:950; color:var(--td-dark); width:130px; }
.eegm-course.eegm-td2-barrancos-page .price-table td:nth-child(3),
.eegm-course.eegm-td2-barrancos-page .price-table th:nth-child(3) { width: 105px; text-align:right; white-space:nowrap; }
.eegm-course.eegm-td2-barrancos-page .price-table td:nth-child(4),
.eegm-course.eegm-td2-barrancos-page .price-table th:nth-child(4) { width: 120px; text-align:right; white-space:nowrap; }
.eegm-course.eegm-td2-barrancos-page .price-table.no-hours td:nth-child(3),
.eegm-course.eegm-td2-barrancos-page .price-table.no-hours th:nth-child(3) { width: 120px; text-align:right; }
.eegm-course.eegm-td2-barrancos-page .price-totals { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap:14px; margin-top:18px; }
.eegm-course.eegm-td2-barrancos-page .total-card { padding:22px; border-radius:24px; background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(221,232,234,.66)); border:1px solid var(--line); box-shadow:0 18px 48px rgba(6,28,41,.08); }
.eegm-course.eegm-td2-barrancos-page .total-card small { display:block; color:var(--muted); font-weight:950; letter-spacing:.11em; text-transform:uppercase; font-size:11px; margin-bottom:8px; }
.eegm-course.eegm-td2-barrancos-page .total-card b { display:block; font-size:26px; color:var(--td-dark); letter-spacing:-.04em; }
.eegm-course.eegm-td2-barrancos-page .total-card p { margin:0; }

.eegm-course.eegm-td2-barrancos-page .steps { grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap:14px; }
.eegm-course.eegm-td2-barrancos-page .step { padding:22px; border-radius:24px; background:#fff; border:1px solid var(--line); box-shadow:0 16px 46px rgba(6,28,41,.08); }
.eegm-course.eegm-td2-barrancos-page .step span { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:var(--td); color:#fff; font-weight:950; margin-bottom:18px; }
.eegm-course.eegm-td2-barrancos-page .step b { display:block; font-size:22px; letter-spacing:-.04em; margin-bottom:8px; }
.eegm-course.eegm-td2-barrancos-page .step p { color:var(--muted); font-weight:760; line-height:1.35; margin:0; }
.eegm-course.eegm-td2-barrancos-page .final-cta { margin-top:24px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:28px; border-radius:var(--radius-xl); background:linear-gradient(135deg,var(--td-deep),var(--td-dark)); color:#fff; box-shadow:var(--shadow); }
.eegm-course.eegm-td2-barrancos-page .final-cta h3 { font-size:clamp(28px,3vw,44px); line-height:.98; letter-spacing:-.05em; margin-bottom:8px; color:#fff; }
.eegm-course.eegm-td2-barrancos-page .final-cta p { color:rgba(255,255,255,.78); font-weight:760; margin:0; }
.eegm-course.eegm-td2-barrancos-page .btn,
.eegm-course.eegm-td2-barrancos-page .wp-block-button__link.btn { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:15px 20px; background:#fff; color:var(--td-dark); font-weight:950; text-decoration:none; white-space:nowrap; box-shadow:0 15px 35px rgba(0,0,0,.16); }

@media (max-width: 1040px) {
  .eegm-course.eegm-td2-barrancos-page .hero,
  .eegm-course.eegm-td2-barrancos-page .section-head,
  .eegm-course.eegm-td2-barrancos-page .intro-grid,
  .eegm-course.eegm-td2-barrancos-page .october-example { grid-template-columns:1fr !important; }
  .eegm-course.eegm-td2-barrancos-page .hero-main { min-height:auto; }
  .eegm-course.eegm-td2-barrancos-page .benefits { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .eegm-course.eegm-td2-barrancos-page .requirements-grid { grid-template-columns:1fr 1fr !important; }
  .eegm-course.eegm-td2-barrancos-page .timeline { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .eegm-course.eegm-td2-barrancos-page .price-totals { grid-template-columns:1fr 1fr !important; }
  .eegm-course.eegm-td2-barrancos-page .steps { grid-template-columns:1fr 1fr !important; }
  .eegm-course.eegm-td2-barrancos-page .course-nav { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 720px) {
  .eegm-course.eegm-td2-barrancos-page { padding-top:18px; }
  .eegm-course.eegm-td2-barrancos-page .eegm-wrap { width:min(100% - 18px, var(--max)); }
  .eegm-course.eegm-td2-barrancos-page .hero-side,
  .eegm-course.eegm-td2-barrancos-page .course-nav,
  .eegm-course.eegm-td2-barrancos-page .benefits,
  .eegm-course.eegm-td2-barrancos-page .requirements-grid,
  .eegm-course.eegm-td2-barrancos-page .timeline,
  .eegm-course.eegm-td2-barrancos-page .price-totals,
  .eegm-course.eegm-td2-barrancos-page .steps { grid-template-columns:1fr !important; }
  .eegm-course.eegm-td2-barrancos-page .course-nav-wrap { position:relative; }
  .eegm-course.eegm-td2-barrancos-page .price-table table { min-width:720px; }
  .eegm-course.eegm-td2-barrancos-page .final-cta { flex-direction:column; align-items:flex-start; }
  .eegm-course.eegm-td2-barrancos-page .btn,
  .eegm-course.eegm-td2-barrancos-page .wp-block-button__link.btn { width:100%; white-space:normal; text-align:center; }
}
@media (prefers-reduced-motion: reduce) {
  .eegm-course.eegm-td2-barrancos-page *,
  .eegm-course.eegm-td2-barrancos-page *::before,
  .eegm-course.eegm-td2-barrancos-page *::after { transition: none !important; }
}


/* v1.1 · Precios rehechos con la misma estructura estable de TD3 Alta Montaña. */
.eegm-course.eegm-td2-barrancos-page .price-wrap.prices,
.eegm-course.eegm-td2-barrancos-page .price-wrap {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  align-items: stretch !important;
}
.eegm-course.eegm-td2-barrancos-page .price-block.price-panel,
.eegm-course.eegm-td2-barrancos-page .price-block {
  display: block !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 18px 50px rgba(6,28,41,.08) !important;
  padding: 0 !important;
}
.eegm-course.eegm-td2-barrancos-page .price-block-header,
.eegm-course.eegm-td2-barrancos-page .price-block > header {
  margin: 0 !important;
  padding: 18px 22px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--td-dark), var(--td)) !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  align-items: center !important;
}
.eegm-course.eegm-td2-barrancos-page .price-block:nth-child(3) .price-block-header,
.eegm-course.eegm-td2-barrancos-page .price-block:nth-child(3) > header {
  background: linear-gradient(135deg, var(--td), var(--td-2)) !important;
}
.eegm-course.eegm-td2-barrancos-page .price-block:nth-child(4) .price-block-header,
.eegm-course.eegm-td2-barrancos-page .price-block:nth-child(4) > header {
  background: linear-gradient(135deg, var(--slate), var(--td-dark)) !important;
}
.eegm-course.eegm-td2-barrancos-page .price-block-header h3,
.eegm-course.eegm-td2-barrancos-page .price-block > header h3 {
  margin: 0 !important;
  font-size: 22px !important;
  letter-spacing: -.03em !important;
  line-height: 1.05 !important;
  color: #fff !important;
}
.eegm-course.eegm-td2-barrancos-page .price-hours,
.eegm-course.eegm-td2-barrancos-page .price-label,
.eegm-course.eegm-td2-barrancos-page .price-block > header p {
  margin: 0 !important;
  font-weight: 950 !important;
  opacity: .9 !important;
  white-space: nowrap !important;
  color: #fff !important;
}
.eegm-course.eegm-td2-barrancos-page figure.wp-block-table {
  margin: 0 !important;
  overflow-x: auto !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table,
.eegm-course.eegm-td2-barrancos-page .price-table table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  margin: 0 !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table th,
.eegm-course.eegm-td2-barrancos-page table.price-table td,
.eegm-course.eegm-td2-barrancos-page .price-table table th,
.eegm-course.eegm-td2-barrancos-page .price-table table td {
  padding: 15px 18px !important;
  border-bottom: 1px solid rgba(6,28,41,.08) !important;
  text-align: left !important;
  vertical-align: top !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table th,
.eegm-course.eegm-td2-barrancos-page .price-table table th {
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  background: #F7FAFB !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table td,
.eegm-course.eegm-td2-barrancos-page .price-table table td {
  font-weight: 760 !important;
  color: var(--ink) !important;
  background: transparent !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table td:first-child,
.eegm-course.eegm-td2-barrancos-page .price-table table td:first-child {
  font-weight: 950 !important;
  color: var(--td-dark) !important;
  width: 130px !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table td:nth-child(3),
.eegm-course.eegm-td2-barrancos-page table.price-table th:nth-child(3),
.eegm-course.eegm-td2-barrancos-page .price-table table td:nth-child(3),
.eegm-course.eegm-td2-barrancos-page .price-table table th:nth-child(3) {
  width: 105px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table td:nth-child(4),
.eegm-course.eegm-td2-barrancos-page table.price-table th:nth-child(4),
.eegm-course.eegm-td2-barrancos-page .price-table table td:nth-child(4),
.eegm-course.eegm-td2-barrancos-page .price-table table th:nth-child(4) {
  width: 120px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.eegm-course.eegm-td2-barrancos-page table.price-table.no-hours td:nth-child(3),
.eegm-course.eegm-td2-barrancos-page table.price-table.no-hours th:nth-child(3),
.eegm-course.eegm-td2-barrancos-page .price-table.no-hours table td:nth-child(3),
.eegm-course.eegm-td2-barrancos-page .price-table.no-hours table th:nth-child(3) {
  width: 120px !important;
  text-align: right !important;
}
.eegm-course.eegm-td2-barrancos-page .price-totals.totals,
.eegm-course.eegm-td2-barrancos-page .price-totals {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 14px !important;
  margin-top: 0 !important;
}
.eegm-course.eegm-td2-barrancos-page .price-totals .total-card {
  padding: 22px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(221,232,234,.66)) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 18px 48px rgba(6,28,41,.08) !important;
  color: var(--ink) !important;
}
.eegm-course.eegm-td2-barrancos-page .price-totals .total-card .card-kicker,
.eegm-course.eegm-td2-barrancos-page .price-totals .total-card small {
  display: block !important;
  color: var(--muted) !important;
  font-weight: 950 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  margin-bottom: 8px !important;
  background: transparent !important;
  padding: 0 !important;
}
.eegm-course.eegm-td2-barrancos-page .price-totals .total-card h3,
.eegm-course.eegm-td2-barrancos-page .price-totals .total-card b {
  display: block !important;
  font-size: 26px !important;
  line-height: 1.04 !important;
  color: var(--td-dark) !important;
  letter-spacing: -.04em !important;
  margin: 0 !important;
}
@media (max-width: 1040px) {
  .eegm-course.eegm-td2-barrancos-page .price-totals.totals,
  .eegm-course.eegm-td2-barrancos-page .price-totals { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 720px) {
  .eegm-course.eegm-td2-barrancos-page table.price-table,
  .eegm-course.eegm-td2-barrancos-page .price-table table { min-width: 720px !important; font-size: 14px !important; }
  .eegm-course.eegm-td2-barrancos-page .price-block-header,
  .eegm-course.eegm-td2-barrancos-page .price-block > header { flex-direction: column !important; align-items: flex-start !important; }
  .eegm-course.eegm-td2-barrancos-page .price-totals.totals,
  .eegm-course.eegm-td2-barrancos-page .price-totals { grid-template-columns: 1fr !important; }
}
