/* CLW Vehículos · /paises/ Flagship Regional Hub (v1) */
:root {
  --ph-ink: #0b2545;
  --ph-ink-deep: #07182e;
  --ph-ink-soft: #14345e;
  --ph-text: #1c2430;
  --ph-muted: #526072;
  --ph-paper: #fbfaf7;
  --ph-warm: #f3efe7;
  --ph-line: #e4e0d8;
  --ph-brand: #c94718;
  --ph-brand-bright: #e85d2a;
  --ph-brand-soft: #fff2ec;
  --ph-teal: #11645f;
  --ph-teal-soft: #eaf5f4;
  --ph-serif: Georgia, "Times New Roman", serif;
  --ph-sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ph-shadow: 0 16px 40px rgba(11, 37, 69, 0.08);
  --ph-shadow-lg: 0 24px 60px rgba(7, 24, 46, 0.24);
}

.ph-page {
  color: var(--ph-text);
  font-family: var(--ph-sans);
  overflow-x: clip;
}
.ph-page * {
  box-sizing: border-box;
}
.ph-wrap {
  max-width: 1240px;
  width: calc(100% - 48px);
  margin: 0 auto;
}
.ph-sec {
  padding-block: 74px;
}
.ph-sec--paper {
  background: var(--ph-paper);
  border-top: 1px solid var(--ph-line);
  border-bottom: 1px solid var(--ph-line);
}
.ph-sec--white {
  background: #fff;
}
.ph-sec--ink {
  background: linear-gradient(135deg, #07182e 0%, #0d2b4f 60%, #113a61 100%);
  color: #e9f0f8;
}
.ph-sec--ink h2,
.ph-sec--ink h3 {
  color: #fff;
}

/* Breadcrumb & Kicker */
.ph-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  margin-bottom: 20px;
  color: #c5d6e9;
}
.ph-crumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.82;
}
.ph-crumb a:hover {
  opacity: 1;
  text-decoration: underline;
}
.ph-crumb span[aria-current] {
  color: #fff;
  font-weight: 700;
}
.ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  color: var(--ph-brand);
  margin: 0 0 12px;
}
.ph-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.ph-kicker--light {
  color: #ffb38a;
}
.ph-kicker--teal {
  color: var(--ph-teal);
}

/* Buttons */
.ph-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ph-btn:hover {
  transform: translateY(-1px);
}
.ph-btn--bright {
  background: var(--ph-brand-bright);
  color: #fff;
}
.ph-btn--bright:hover {
  background: #d54c1c;
  color: #fff;
}
.ph-btn--primary {
  background: var(--ph-brand);
  color: #fff;
}
.ph-btn--primary:hover {
  background: #ad3910;
  color: #fff;
}
.ph-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}
.ph-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.ph-btn--ghost-light {
  background: #fff;
  border-color: #cbd3de;
  color: var(--ph-ink);
}
.ph-btn--ghost-light:hover {
  border-color: var(--ph-ink);
  background: #f2f5f9;
}

/* ==========================================================================
   HERO — Grand Architectural Regional Hub
   ========================================================================== */
.ph-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 14%, rgba(232, 93, 42, 0.22), transparent 42%),
    radial-gradient(circle at 12% 92%, rgba(17, 100, 95, 0.25), transparent 44%),
    linear-gradient(135deg, #061529 0%, #0c2748 54%, #113a60 100%);
  color: #edf3fa;
  padding: 40px 0 68px;
  border-bottom: 4px solid var(--ph-brand-bright);
}
.ph-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.ph-hero-inner {
  position: relative;
  z-index: 1;
}
.ph-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}
.ph-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--ph-serif);
  font-size: clamp(2.1rem, 3.9vw, 3.3rem);
  line-height: 1.09;
  letter-spacing: -0.025em;
}
.ph-hero-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.68;
  color: #d3e1ef;
  max-width: 590px;
}
.ph-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ph-metric strong {
  display: block;
  font-family: var(--ph-serif);
  font-size: 1.55rem;
  color: #ffb38a;
  line-height: 1.1;
}
.ph-metric span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #bdd0e4;
  line-height: 1.4;
}

/* Right Hero Quick-Access Regional Panel */
.ph-hub-panel {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ph-text);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--ph-shadow-lg);
}
.ph-hub-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ph-hub-panel-title {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ph-teal);
}
.ph-hub-panel-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ph-teal-soft);
  color: var(--ph-teal);
}
.ph-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ph-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--ph-paper);
  border: 1px solid var(--ph-line);
  text-decoration: none;
  color: var(--ph-ink);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.ph-quick-link:hover {
  border-color: var(--ph-brand);
  background: var(--ph-brand-soft);
  transform: translateY(-1px);
}
.ph-iso {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ph-ink);
  color: #fff;
  font-family: var(--ph-serif);
  font-weight: 700;
  font-size: 0.92rem;
  display: grid;
  place-items: center;
  flex: none;
}
.ph-quick-link:hover .ph-iso {
  background: var(--ph-brand);
}
.ph-quick-meta {
  min-width: 0;
}
.ph-quick-meta strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
  color: var(--ph-ink);
}
.ph-quick-meta small {
  display: block;
  font-size: 0.74rem;
  color: var(--ph-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-hub-panel-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ph-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ph-muted);
}
.ph-hub-panel-foot a {
  color: var(--ph-brand);
  font-weight: 750;
  text-decoration: none;
}
.ph-hub-panel-foot a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SECTION 2 — Interactive Filter + 6 Grand Country Flagship Cards
   ========================================================================== */
.ph-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.ph-sec-head h2 {
  margin: 0;
  font-family: var(--ph-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.14;
  color: var(--ph-ink);
}
.ph-sec-lead {
  margin: 10px 0 0;
  color: var(--ph-muted);
  font-size: 1rem;
  max-width: 680px;
  line-height: 1.62;
}
.ph-sec--ink .ph-sec-lead {
  color: #cddbe9;
}

.ph-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.ph-filter-btn {
  border: 1.5px solid #cfd7e0;
  background: #fff;
  color: var(--ph-ink);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ph-filter-btn[aria-pressed="true"] {
  background: var(--ph-ink);
  border-color: var(--ph-ink);
  color: #fff;
}
.ph-filter-btn:hover:not([aria-pressed="true"]) {
  border-color: var(--ph-brand);
  color: var(--ph-brand);
}

.ph-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ph-country-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.ph-country-card[hidden] {
  display: none;
}
.ph-country-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ph-shadow);
  border-color: var(--ph-brand);
}
.ph-card-top {
  position: relative;
  background: #f8f9fb;
  border-bottom: 1px solid var(--ph-line);
  padding: 14px 18px 0;
  display: flex;
  flex-direction: column;
}
.ph-card-accent-ink { border-top: 4px solid var(--ph-ink); }
.ph-card-accent-brand { border-top: 4px solid var(--ph-brand-bright); }
.ph-card-accent-teal { border-top: 4px solid var(--ph-teal); }

.ph-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.ph-card-code {
  font-family: var(--ph-serif);
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  background: var(--ph-ink);
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}
.ph-card-region {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ph-teal);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.ph-card-thumb {
  height: 158px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--ph-line);
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
}

.ph-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ph-card-body h3 {
  margin: 0 0 6px;
  font-family: var(--ph-serif);
  font-size: 1.42rem;
  color: var(--ph-ink);
}
.ph-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.ph-card-body h3 a:hover {
  color: var(--ph-brand);
}
.ph-card-sub {
  margin: 0 0 16px;
  font-size: 0.89rem;
  color: var(--ph-muted);
  line-height: 1.52;
}
.ph-card-specs {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--ph-paper);
  border: 1px solid var(--ph-line);
  display: grid;
  gap: 8px;
  font-size: 0.83rem;
}
.ph-card-specs div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
}
.ph-card-specs dt {
  color: var(--ph-muted);
  font-weight: 600;
}
.ph-card-specs dd {
  margin: 0;
  color: var(--ph-ink);
  font-weight: 700;
}
.ph-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ph-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--ph-ink);
  text-decoration: none;
  border: 1px solid #dde4ed;
}
.ph-tag:hover {
  border-color: var(--ph-brand);
  color: var(--ph-brand);
  background: var(--ph-brand-soft);
}
.ph-card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ph-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.89rem;
  transition: background 0.15s ease;
}
.ph-card-cta:hover {
  background: var(--ph-brand);
  color: #fff;
}

/* ==========================================================================
   SECTION 3 — 3-Pillar Regional Engineering Band (Dark Navy)
   ========================================================================== */
.ph-eng-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
}
.ph-eng-visuals {
  display: grid;
  gap: 16px;
}
.ph-eng-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a203a;
  aspect-ratio: 16 / 10;
}
.ph-eng-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-eng-pillars {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.ph-pillar {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ph-pillar-num {
  font-family: var(--ph-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffb38a;
}
.ph-pillar h3 {
  margin: 0 0 6px;
  font-family: var(--ph-serif);
  font-size: 1.12rem;
}
.ph-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: #d0deec;
  line-height: 1.56;
}

/* ==========================================================================
   SECTION 4 — 6-Country Executive Comparison Table
   ========================================================================== */
.ph-table-wrap {
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 18px;
  overflow-x: auto;
  box-shadow: var(--ph-shadow);
}
.ph-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}
.ph-table th,
.ph-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ph-line);
  font-size: 0.89rem;
  vertical-align: top;
}
.ph-table th {
  background: #f0f4f8;
  color: var(--ph-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ph-table tbody tr:last-child td {
  border-bottom: 0;
}
.ph-table tbody tr:hover td {
  background: #fafbfc;
}
.ph-table-link {
  color: var(--ph-brand);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.ph-table-link:hover {
  text-decoration: underline;
}
.ph-disclaimer {
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 12px;
  background: #f5f7fa;
  border: 1px solid #d9e1eb;
  border-left: 3px solid var(--ph-teal);
  font-size: 0.86rem;
  color: #3d4b5c;
  line-height: 1.58;
}

/* ==========================================================================
   SECTION 5 — Regional Guides & Quote Band
   ========================================================================== */
.ph-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ph-guide-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ph-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.ph-guide-card:hover {
  border-color: var(--ph-brand);
  transform: translateY(-2px);
  box-shadow: var(--ph-shadow);
}
.ph-guide-tag {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ph-teal);
  margin-bottom: 10px;
}
.ph-guide-card h3 {
  margin: 0 0 10px;
  font-family: var(--ph-serif);
  font-size: 1.12rem;
  line-height: 1.32;
  color: var(--ph-ink);
}
.ph-guide-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ph-muted);
  line-height: 1.55;
}
.ph-guide-more {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--ph-brand);
}

.ph-cta-band {
  background: linear-gradient(125deg, #0b2545 0%, #153c6c 100%);
  color: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 26px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ph-cta-band::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 42, 0.34), transparent 70%);
  pointer-events: none;
}
.ph-cta-band h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--ph-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
}
.ph-cta-band p {
  margin: 0;
  color: #d5e2f0;
  max-width: 650px;
  font-size: 0.96rem;
  line-height: 1.62;
}
.ph-cta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ph-cta-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eef4fb;
}
.ph-cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.ph-cta-mail {
  font-size: 0.84rem;
  color: #c8d8ea;
}
.ph-cta-mail a {
  color: #ffb38a;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .ph-hero-grid,
  .ph-eng-grid,
  .ph-cta-band {
    grid-template-columns: 1fr;
  }
  .ph-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ph-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ph-cta-side {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .ph-wrap {
    width: calc(100% - 28px);
  }
  .ph-sec {
    padding-block: 48px;
  }
  .ph-hero-metrics,
  .ph-quick-grid,
  .ph-country-grid,
  .ph-guides {
    grid-template-columns: 1fr;
  }
  .ph-card-specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
