.country-hero-layout { grid-template-columns: minmax(0,1.15fr) 300px; }
.country-identity { position: relative; min-height: 285px; padding: 34px; border: 1px solid rgba(255,255,255,.16); background: rgba(3,49,74,.72); display: flex; flex-direction: column; justify-content: space-between; }
.country-identity::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 3px; background: linear-gradient(var(--cyan),var(--green)); }
.country-identity strong { color: var(--green); font-size: clamp(4.7rem,9vw,7.4rem); line-height: .85; letter-spacing: -.07em; font-weight: 500; }
.country-identity span { color: #bdd1da; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.country-identity p { margin: 0; color: #d8e6ec; font-size: .88rem; }

.country-index { background: var(--mist); }
.country-index-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.country-index-card { position: relative; min-height: 430px; padding: 34px; overflow: hidden; color: var(--white); background: var(--navy); display: flex; flex-direction: column; }
.country-index-card:nth-child(2) { background: #075071; }
.country-index-card:nth-child(3) { background: var(--navy-deep); }
.country-index-card::after { content: attr(data-code); position: absolute; right: -12px; top: 32px; color: rgba(255,255,255,.05); font-size: 8rem; line-height: 1; font-weight: 600; letter-spacing: -.08em; }
.country-index-card > span { position: relative; z-index: 1; color: var(--green); font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; }
.country-index-card h2 { position: relative; z-index: 1; margin: 62px 0 16px; font-size: 1.75rem; line-height: 1.3; font-weight: 500; }
.country-index-card p { position: relative; z-index: 1; margin: 0; color: #c4d7df; font-size: .88rem; }
.country-index-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 30px; color: var(--white); font-size: .8rem; font-weight: 600; }
.country-index-card a b { color: var(--green); transition: transform .2s ease; }
.country-index-card a:hover b { transform: translateX(4px); }

.country-context { background: var(--white); }
.country-context-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.country-context h2, .country-capabilities h2, .country-route h2, .country-related h2 { margin: 0; color: var(--navy); font-size: clamp(2.05rem,3.8vw,3.2rem); line-height: 1.17; letter-spacing: -.035em; font-weight: 500; }
.country-context-copy p { margin: 0 0 20px; color: var(--muted); }
.country-context-copy p:first-child { color: var(--ink); font-size: 1.13rem; }
.decision-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.decision-strip article { padding: 30px 28px 34px 0; }
.decision-strip article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.decision-strip span { color: var(--cyan-text); font-size: .7rem; letter-spacing: .09em; }
.decision-strip h3 { margin: 22px 0 9px; color: var(--navy); font-size: 1.05rem; }
.decision-strip p { margin: 0; color: var(--muted); font-size: .88rem; }

.country-capabilities { background: var(--mist); }
.country-capability-heading { display: grid; grid-template-columns: 1fr .6fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.country-capability-heading > p { margin: 0; color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: #ced9de; border: 1px solid #ced9de; }
.capability-card { min-height: 315px; padding: 34px; background: var(--white); }
.capability-card > span { color: var(--cyan-text); font-size: .7rem; letter-spacing: .1em; }
.capability-card h3 { margin: 34px 0 13px; color: var(--navy); font-size: 1.3rem; line-height: 1.35; }
.capability-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.capability-card a { display: inline-flex; gap: 9px; align-items: center; margin-top: 25px; color: var(--navy); font-size: .76rem; font-weight: 600; }
.capability-card a b { color: var(--green-text); }

.country-route { color: var(--white); background: var(--navy); }
.country-route h2 { max-width: 830px; color: var(--white); }
.country-route-steps { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 58px; border-top: 1px solid rgba(255,255,255,.18); }
.country-route-steps article { position: relative; padding: 34px 26px 0 0; }
.country-route-steps article + article { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.country-route-steps article::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; background: var(--green); }
.country-route-steps article + article::before { left: 26px; }
.country-route-steps span { color: var(--green); font-size: .7rem; }
.country-route-steps h3 { margin: 24px 0 10px; font-size: 1.05rem; font-weight: 500; }
.country-route-steps p { margin: 0; color: #b9d0da; font-size: .88rem; }

.country-sectors { padding-block: 44px; color: var(--white); background: var(--cyan); }
.country-sectors-layout { display: grid; grid-template-columns: 210px 1fr; gap: 45px; align-items: start; }
.country-sectors-layout > span { color: #e3faff; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.country-sectors-list { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.country-sectors-list b { font-size: .88rem; font-weight: 500; }

.country-related { background: var(--mist); }
.country-related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 42px; }
.country-related-card { position: relative; min-height: 225px; padding: 28px; background: var(--white); border-top: 2px solid var(--cyan); }
.country-related-card span { color: var(--cyan-text); font-size: .68rem; letter-spacing: .09em; }
.country-related-card h3 { margin: 28px 0 24px; color: var(--navy); font-size: 1.15rem; }
.country-related-card b { color: var(--green-text); font-size: .8rem; }

/* Plantilla maestra para las páginas interiores de países */
.country-detail-master .section-pad { padding-block: 92px; }
.country-detail-master .inner-hero-layout {
  min-height: 460px;
  padding-block: 62px 72px;
  gap: 72px;
  align-items: center;
}
.country-detail-master .inner-hero h1 {
  max-width: 820px;
  font-size: clamp(2.75rem,4.2vw,3.85rem);
  line-height: 1.08;
}
.country-detail-master .inner-lead { max-width: 790px; margin-top: 24px; line-height: 1.72; }
.country-detail-master .country-identity { min-height: 255px; padding: 30px; }
.country-detail-master .country-identity strong { font-size: clamp(4.5rem,7vw,6.4rem); }
.country-detail-master .answer-layout { display: block; padding-block: 28px; }
.country-detail-master .answer-layout p { max-width: 1040px; font-size: 1.04rem; line-height: 1.65; }
.country-detail-master .country-context-layout { gap: 72px; }
.country-detail-master .decision-strip { margin-top: 52px; }
.country-detail-master .country-capability-heading { gap: 64px; margin-bottom: 44px; }
.country-detail-master .capability-card { min-height: 285px; padding: 32px; }
.country-detail-master .capability-card h3 { margin-top: 28px; }
.country-route-heading { display: grid; grid-template-columns: 1fr .58fr; gap: 72px; align-items: end; }
.country-route-heading > p { margin: 0; color: #c4d8e1; font-size: .9rem; }
.country-detail-master .country-route-steps { margin-top: 48px; }
.country-detail-master .country-sectors { padding-block: 38px; }
.country-detail-master .page-faq .faq-list { margin-top: 0; }
.country-detail-master .country-related-grid { grid-template-columns: repeat(3,1fr); }
.country-detail-master .country-related-card { min-height: 220px; display: flex; flex-direction: column; }
.country-detail-master .country-related-card b { margin-top: auto; }

@media (max-width: 1080px) {
  .country-detail-master .country-hero-layout { grid-template-columns: minmax(0,1.15fr) 280px; gap: 48px; }
  .country-detail-master .inner-hero h1 { font-size: clamp(2.65rem,4.6vw,3.35rem); }
}

@media (max-width: 900px) {
  .country-index-grid { grid-template-columns: 1fr; }
  .country-index-card { min-height: 330px; }
  .country-context-layout, .country-capability-heading { grid-template-columns: 1fr; gap: 46px; }
  .country-route-steps { grid-template-columns: repeat(2,1fr); gap: 34px 0; }
  .country-route-steps article:nth-child(3) { padding-left: 0; border-left: 0; }
  .country-route-steps article:nth-child(3)::before { left: 0; }
  .country-detail-master .inner-hero-layout { padding-block: 54px 64px; }
  .country-detail-master .country-hero-layout, .country-route-heading { grid-template-columns: 1fr; gap: 42px; }
  .country-detail-master .country-identity { min-height: 220px; }
  .country-detail-master .country-related-grid { grid-template-columns: repeat(2,1fr); }
  .country-detail-master .country-related-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .country-hero-layout, .decision-strip, .capability-grid, .country-route-steps, .country-related-grid, .country-sectors-layout { grid-template-columns: 1fr; }
  .country-identity { min-height: 235px; }
  .decision-strip article, .decision-strip article + article { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .decision-strip article:first-child { border-top: 0; }
  .country-route-steps { border-top: 0; }
  .country-route-steps article, .country-route-steps article + article, .country-route-steps article:nth-child(3) { padding: 28px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .country-route-steps article::before, .country-route-steps article + article::before, .country-route-steps article:nth-child(3)::before { display: none; }
  .country-detail-master .section-pad { padding-block: 68px; }
  .country-detail-master .inner-hero-layout { padding-block: 48px 56px; }
  .country-detail-master .inner-hero h1 { font-size: clamp(2.35rem,11vw,3rem); }
  .country-detail-master .country-related-grid { grid-template-columns: 1fr; }
  .country-detail-master .country-related-card:last-child { grid-column: auto; }
}
