/*
Theme Name: webgp-light
Theme URI: https://www.eglobalpost.com
Author: eGlobalPost
Author URI: https://www.eglobalpost.com
Description: Tema ligero propio para frontend corporativo eGlobalPost.
Version: 1.1.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.4
Text Domain: webgp-light
*/

:root {
  --egp-bg: #f3f5f4;
  --egp-surface: #ffffff;
  --egp-ink: #121826;
  --egp-muted: #586171;
  --egp-brand: #e56a11;
  --egp-brand-dark: #c95707;
  --egp-border: #d9e0e6;
  --egp-accent: #0f766e;
  --egp-radius: 14px;
  --egp-shadow: 0 18px 34px rgba(18, 24, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
}

body {
  background: radial-gradient(circle at 15% 15%, #ffffff 0%, var(--egp-bg) 50%, #e9ece9 100%);
  color: var(--egp-ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

.egp-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.egp-topbar {
  background: #ec6f05;
  color: #ffffff;
  font-size: 0.98rem;
}

.egp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 1rem;
}

.egp-topbar-spacer {
  width: 150px;
  flex: 0 0 150px;
}

.egp-topbar-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  flex: 1 1 auto;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.egp-topbar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.egp-mini-icon {
  width: 0.9rem;
  height: 0.9rem;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.egp-topbar-client {
  width: 150px;
  flex: 0 0 150px;
  text-align: right;
}

.egp-topbar a:hover {
  color: #fff4e7;
}

.egp-client-link {
  color: #ffffff;
  font-weight: 700;
}

.egp-header {
  background: #ffffff;
  border-bottom: 1px solid #eef1f4;
}

.egp-mainbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 108px;
  padding: 0.5rem 0;
}

.egp-logo {
  display: inline-flex;
  align-items: center;
}

.egp-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.egp-mobile-toggle {
  display: none;
  border: 1px solid #d6dde4;
  background: #ffffff;
  color: #2f2f2f;
  border-radius: 8px;
  padding: 0.52rem 0.86rem;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 42px;
}

.egp-nav {
  display: block;
}

.egp-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.7rem;
  align-items: center;
}

.egp-menu > li {
  position: relative;
}

.egp-menu > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.egp-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.42rem 0.5rem;
  color: #6e6e6e;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.egp-menu a:hover,
.egp-menu .current-menu-item > a,
.egp-menu .current-menu-ancestor > a {
  color: #2f2f2f;
}

.egp-menu .menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.95rem;
  line-height: 1;
}

.egp-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 0.65rem 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e5e9ee;
  box-shadow: 0 18px 32px rgba(17, 33, 48, 0.12);
  border-radius: 10px;
  z-index: 30;
}

.egp-menu > li:hover > .sub-menu,
.egp-menu > li:focus-within > .sub-menu {
  display: block;
}

.egp-menu .sub-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  color: #444;
  white-space: nowrap;
}

.egp-menu .sub-menu a:hover {
  background: #f4f6f8;
  color: #111827;
}

.egp-hero {
  padding: 3rem 0 2.35rem;
}

.egp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: stretch;
}

.egp-hero-copy {
  background: linear-gradient(140deg, #0f1c2e 0%, #15365e 48%, #0f766e 100%);
  color: #ffffff;
  border-radius: calc(var(--egp-radius) + 2px);
  padding: 2.5rem;
  box-shadow: var(--egp-shadow);
}

.egp-kicker {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #89f1d9;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.egp-hero h1 {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.egp-hero p {
  margin: 1.1rem 0 1.45rem;
  color: #dfe9f4;
  max-width: 52ch;
}

.egp-btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.82rem 1.08rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.egp-btn-primary {
  background: var(--egp-brand);
  color: #ffffff;
}

.egp-btn-primary:hover {
  background: var(--egp-brand-dark);
}

.egp-btn-alt {
  background: transparent;
  color: #d4f3ec;
  border: 1px solid #7ecfc3;
  margin-left: 0.55rem;
}

.egp-hero-media {
  border-radius: calc(var(--egp-radius) + 2px);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--egp-shadow);
}

.egp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.egp-section {
  padding: 3.25rem 0 3.75rem;
}

.egp-section h2 {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.egp-section p {
  margin: 0.45rem 0 0;
  color: var(--egp-muted);
}

.egp-grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
}

.egp-contact-page {
  padding: 2.2rem 0 2.8rem;
}

.egp-contact-shell .egp-wrap {
  width: min(1120px, calc(100% - 2rem));
}

.egp-contact-intro {
  margin-bottom: 1.1rem;
}

.egp-contact-intro h1 {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  color: #e06710;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.egp-contact-intro-copy {
  margin-top: 0.55rem;
  max-width: 78ch;
  color: #3f4f63;
}

.egp-contact-intro-copy h2 {
  display: none;
}

.egp-contact-intro-copy p {
  margin: 0.3rem 0;
}

.egp-contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.egp-contact-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
}

.egp-contact-media img {
  width: 100%;
  height: auto;
  display: block;
}

.egp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.egp-contact-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.egp-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.egp-contact-form label > span {
  font-size: 0.93rem;
  color: #606f82;
}

.egp-contact-form input[type="text"],
.egp-contact-form input[type="email"],
.egp-contact-form textarea {
  width: 100%;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  border-radius: 4px;
  padding: 0.86rem 0.95rem;
  font-size: 1rem;
  color: #1f2f44;
  box-shadow: 0 7px 18px rgba(17, 24, 39, 0.08);
}

.egp-contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.egp-contact-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.5rem !important;
}

.egp-contact-check input {
  margin-top: 0.18rem;
}

.egp-contact-check span {
  font-size: 0.95rem !important;
  line-height: 1.45;
}

.egp-contact-actions {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.egp-contact-actions a {
  color: #dd6711;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.egp-contact-actions button {
  border: 2px solid #e56a11;
  background: #ffffff;
  color: #e56a11;
  border-radius: 3px;
  padding: 0.72rem 1.12rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.egp-contact-actions button:hover {
  background: #fff3e8;
}

.egp-contact-notice {
  margin: 0 0 1rem;
  padding: 0.68rem 0.8rem;
  border-radius: 6px;
  font-weight: 700;
}

.egp-contact-notice-ok {
  background: #ebf8f3;
  border: 1px solid #abdcc8;
  color: #19614b;
}

.egp-contact-notice-error {
  background: #fff1f1;
  border: 1px solid #f2b7b7;
  color: #8f2424;
}

.egp-card {
  border: 1px solid var(--egp-border);
  background: var(--egp-surface);
  border-radius: var(--egp-radius);
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(17, 24, 39, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.egp-card:hover,
.egp-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--egp-shadow);
}

.egp-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.egp-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.egp-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: uppercase;
  line-height: 1;
}

.egp-card p {
  margin: 0.5rem 0 0.9rem;
  color: var(--egp-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.egp-read {
  color: var(--egp-brand);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: auto;
}

.egp-cta {
  background: linear-gradient(120deg, #102742 0%, #123a60 45%, #1e8579 100%);
  color: #f1f8ff;
  border-radius: var(--egp-radius);
  padding: 1.65rem;
  margin-top: 0.95rem;
  box-shadow: 0 12px 30px rgba(12, 25, 40, 0.18);
}

.egp-cta h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: uppercase;
  line-height: 0.98;
}

.egp-cta p {
  margin: 0.75rem 0 0;
  color: #d7e6f7;
  max-width: 64ch;
}

.egp-footer {
  margin-top: 1.2rem;
  background: linear-gradient(160deg, #111827 0%, #0b1424 100%);
  color: #e5e7eb;
  padding: 1.35rem 0 1.6rem;
}

.egp-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.egp-footer h4 {
  margin: 0 0 0.5rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  letter-spacing: 0.5px;
  color: #f3f4f6;
}

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

.egp-footer li {
  margin-bottom: 0.4rem;
}

.egp-copy {
  margin-top: 1rem;
  border-top: 1px solid #253045;
  padding-top: 0.8rem;
  font-size: 0.92rem;
  color: #9ca3af;
}

.egp-page {
  padding: 2.2rem 0 2.4rem;
}

.egp-page-article {
  background: #ffffff;
  border: 1px solid #e6ebf0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  padding: 1.45rem 1.5rem;
}

.egp-page-title {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  line-height: 0.95;
}

.egp-page-content {
  color: #2a3647;
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 78ch;
}

.egp-page-content p {
  margin: 0.75rem 0;
}

.egp-page-content h2,
.egp-page-content h3 {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  color: #14253b;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
}

.egp-page-content h2 {
  margin: 1.45rem 0 0.55rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.egp-page-content h3 {
  margin: 1.2rem 0 0.45rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.egp-page-content a {
  color: #c95707;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.egp-page-content ul,
.egp-page-content ol {
  margin: 0.7rem 0 0.9rem;
  padding-left: 1.1rem;
}

.egp-page-content li {
  margin-bottom: 0.35rem;
}

.egp-company-page {
  padding: 2rem 0 2.4rem;
}

.egp-company-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.1rem;
  align-items: start;
}

.egp-company-intro {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  padding: 1.2rem 1.25rem;
}

.egp-company-kicker {
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c95707;
  font-size: 0.82rem;
}

.egp-company-intro h1 {
  margin: 0.25rem 0 0.65rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 0.92;
  color: #1f2937;
}

.egp-company-intro p {
  margin: 0;
  color: #3f4a59;
  max-width: 68ch;
}

.egp-company-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #d95f09;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.egp-company-media {
  border: 1px solid #e5ebf1;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.egp-company-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.egp-company-values {
  padding-top: 2rem;
}

.egp-company-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.egp-company-pillars article {
  background: #ffffff;
  border: 1px solid #e6edf4;
  border-radius: 12px;
  padding: 1.25rem;
}

.egp-company-pillars h2 {
  margin: 0;
  font-size: 1.35rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  color: #de640d;
  text-transform: none;
}

.egp-company-pillars p {
  margin: 0.35rem 0 0;
  color: #4c5b6b;
  font-size: 0.94rem;
}

.egp-company-block-title {
  margin: 2.25rem 0 1rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #e2660e;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
}

.egp-company-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.egp-company-panel {
  background: #ffffff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
}

.egp-company-panel h4 {
  margin: 0;
  color: #de640d;
  font-size: 0.95rem;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.egp-company-panel ul {
  margin: 0.45rem 0 0;
  padding-left: 0.95rem;
  color: #4a5968;
  font-size: 0.9rem;
}

.egp-company-panel li {
  margin-bottom: 0.35rem;
}

.egp-company-premises {
  margin-top: 2.5rem;
  text-align: center;
}

.egp-company-premises h3 {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: uppercase;
  color: #e66d14;
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.egp-company-arrow {
  font-size: 2rem;
  line-height: 1;
  color: #e7a14d;
  margin: 0.15rem 0 0.45rem;
}

.egp-company-premises-box {
  margin: 0 auto;
  width: min(740px, 100%);
  background: #ffffff;
  border: 1px solid #d3dce7;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0.85rem;
  align-items: center;
  color: #47658f;
  font-weight: 700;
}

.egp-company-center {
  grid-column: 1 / -1;
  color: #e56710;
  text-transform: uppercase;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.3px;
}

.egp-letters-page {
  padding: 2rem 0 2.6rem;
}

.egp-letters-page .egp-wrap {
  width: min(1120px, calc(100% - 2rem));
}

.egp-letters-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.egp-letters-intro {
  padding: 0.2rem 0.1rem;
}

.egp-letters-kicker {
  margin: 0;
  color: #d8600c;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.egp-letters-intro h1 {
  margin: 0.3rem 0 0.45rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 0.92;
  text-transform: none;
  color: #1c2d43;
}

.egp-letters-intro p {
  margin: 0;
  color: #415064;
  font-size: 0.98rem;
}

.egp-letters-intro a {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 700;
  color: #d6600c;
  text-decoration: underline;
}

.egp-letters-media {
  border: 1px solid #d9e2ec;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
}

.egp-letters-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.egp-letters-benefits,
.egp-letters-detail,
.egp-letters-process,
.egp-letters-specs,
.egp-letters-premises,
.egp-letters-cta {
  margin-top: 2.75rem;
}

.egp-letters-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.egp-letters-benefit-grid article h2 {
  margin: 0;
  color: #dc680f;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.1rem;
}

.egp-letters-benefit-grid article p {
  margin: 0.25rem 0 0;
  color: #4a5b6f;
  font-size: 0.95rem;
}

.egp-letters-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.egp-letters-detail-grid article {
  padding: 0.3rem 0.15rem;
}

.egp-letters-detail-grid h3 {
  margin: 0;
  color: #1f3653;
  font-size: 1rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: none;
}

.egp-letters-detail-grid p {
  margin: 0.45rem 0 0;
  color: #4b5b6d;
  font-size: 0.94rem;
}

.egp-letters-process h3,
.egp-letters-specs h3,
.egp-letters-premises h3,
.egp-letters-cta h3 {
  margin: 0;
  color: #e06810;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  text-transform: none;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.egp-letters-process > .egp-wrap > p,
.egp-letters-cta p {
  margin: 0.35rem 0 0;
  color: #4d5e72;
  font-size: 0.95rem;
}

.egp-letters-process-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.egp-letters-process-grid article {
  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  padding: 1.1rem;
}

.egp-letters-process-grid span {
  color: #e36b11;
  font-size: 0.82rem;
  font-weight: 700;
}

.egp-letters-process-grid h4 {
  margin: 0.2rem 0 0;
  color: #1f3550;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1rem;
}

.egp-letters-process-grid p {
  margin: 0.25rem 0 0;
  color: #506177;
  font-size: 0.93rem;
}

.egp-letters-spec-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.egp-letters-spec-grid article {
  background: #ffffff;
  border: 1px solid #d8e2ed;
  border-radius: 6px;
  padding: 1.1rem;
}

.egp-letters-spec-grid h4 {
  margin: 0;
  color: #e16a11;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1rem;
}

.egp-letters-spec-grid ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
  color: #506074;
  font-size: 0.93rem;
}

.egp-letters-cta a {
  display: inline-block;
  margin-top: 0.6rem;
  color: #da620d;
  font-weight: 700;
  text-decoration: underline;
}

.egp-publicity-spec-grid article {
  min-height: 180px;
}

.egp-publicity-spec-grid ul {
  min-height: 120px;
}

@media (max-width: 980px) {
  .egp-hero-grid,
  .egp-grid,
  .egp-footer-grid {
    grid-template-columns: 1fr;
  }

  .egp-mainbar {
    min-height: auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0 0.75rem;
  }

  .egp-logo img {
    width: 68px;
    height: 68px;
  }

  .egp-mobile-toggle {
    display: inline-flex;
  }

  .egp-nav {
    width: 100%;
    order: 3;
  }

  .egp-nav .egp-menu {
    display: none;
    width: 100%;
    margin-top: 0.6rem;
    border: 1px solid #e4e9ef;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    padding: 0.4rem 0;
  }

  .egp-nav.is-open .egp-menu {
    display: flex;
    flex-direction: column;
  }

  .egp-menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
  }

  .egp-menu > li {
    width: 100%;
  }

  .egp-menu a {
    width: 100%;
    padding: 0.78rem 1rem;
    min-height: 44px;
    border-bottom: 1px solid #eef2f6;
  }

  .egp-menu > li:last-child > a {
    border-bottom: none;
  }

  .egp-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 0.45rem;
    margin: 0;
    background: #f8fafc;
  }

  .egp-menu .sub-menu a {
    padding: 0.68rem 1.35rem;
    font-size: 0.92rem;
    min-height: 42px;
    border-bottom: 1px solid #e9eef3;
  }

  .egp-topbar-spacer,
  .egp-topbar-client {
    width: auto;
    flex: 0 0 auto;
  }

  .egp-topbar-spacer {
    display: none;
  }

  .egp-topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .egp-hero {
    padding: 1.85rem 0 1.2rem;
  }

  .egp-hero-copy {
    padding: 1.6rem;
  }

  .egp-card img {
    height: 220px;
  }

  .egp-cta {
    padding: 1.35rem;
  }

  .egp-page {
    padding: 1.7rem 0 2rem;
  }

  .egp-page-article {
    padding: 1.15rem 1.15rem;
  }

  .egp-company-hero-grid,
  .egp-company-pillars,
  .egp-company-panels {
    grid-template-columns: 1fr;
  }

  .egp-company-premises-box {
    grid-template-columns: 1fr 1fr;
  }

  .egp-company-center {
    grid-column: 1 / -1;
  }

  .egp-letters-hero-grid,
  .egp-letters-benefit-grid,
  .egp-letters-detail-grid,
  .egp-letters-process-grid,
  .egp-letters-spec-grid {
    grid-template-columns: 1fr;
  }

  .egp-contact-layout,
  .egp-contact-grid-two {
    grid-template-columns: 1fr;
  }

  .egp-contact-media {
    max-width: 320px;
  }

  .egp-contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .egp-contact-actions button {
    width: 100%;
  }

  .egp-publicity-spec-grid article,
  .egp-publicity-spec-grid ul {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .egp-topbar-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem 0;
  }

  .egp-topbar-contact {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    text-align: center;
    font-size: 0.82rem;
  }

  .egp-topbar-client {
    text-align: center;
  }

  .egp-client-link {
    display: inline-block;
    padding: 0.2rem 0;
  }

  .egp-btn {
    width: 100%;
    margin: 0.25rem 0;
    text-align: center;
  }

  .egp-btn-alt {
    margin-left: 0;
  }

  .egp-grid {
    gap: 0.85rem;
  }

  .egp-card img {
    height: 185px;
  }

  .egp-card-body {
    padding: 0.9rem;
  }

  .egp-mobile-toggle {
    min-height: 44px;
  }

  .egp-nav .egp-menu {
    margin-top: 0.5rem;
  }

  .egp-menu a {
    padding: 0.8rem 0.95rem;
  }

  .egp-menu .sub-menu a {
    padding: 0.68rem 1.15rem;
  }

  .egp-cta {
    padding: 1.15rem;
  }

  .egp-cta h3 {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }

  .egp-cta p {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .egp-footer {
    padding: 1.1rem 0 1.35rem;
  }

  .egp-page {
    padding: 1.35rem 0 1.7rem;
  }

  .egp-page-title {
    margin-bottom: 0.5rem;
  }

  .egp-page-content {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .egp-company-page {
    padding: 1.35rem 0 1.7rem;
  }

  .egp-company-intro {
    padding: 1rem;
  }

  .egp-company-premises h3 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .egp-company-premises-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .egp-company-center {
    font-size: 1.2rem;
  }

  .egp-letters-page {
    padding: 1.2rem 0 1.6rem;
  }
}


/* ==========================================================
   CLIENTES Y UBICACIÓN — reconstrucción auditada
========================================================== */
.egp-clients-page,
.egp-location-page {
  padding: 3rem 0 4rem;
}

.egp-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.egp-section-heading h1 {
  margin: 0 0 0.75rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.egp-section-heading p {
  margin: 0;
  color: var(--egp-muted);
  font-size: 1.08rem;
}

.egp-client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.egp-client-card {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: var(--egp-surface);
  border: 1px solid var(--egp-border);
  border-radius: var(--egp-radius);
}

.egp-client-card img {
  display: block;
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.egp-client-cta {
  margin-top: 2rem;
  padding: 1.6rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--egp-radius);
}

.egp-client-cta h2 {
  margin-top: 0;
}

.egp-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.egp-office-card {
  background: var(--egp-surface);
  border: 1px solid var(--egp-border);
  border-radius: var(--egp-radius);
  padding: 1.6rem;
  box-shadow: 0 12px 26px rgba(18, 24, 38, 0.06);
}

.egp-office-card h2 {
  margin: 0 0 1rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 2rem;
}

.egp-office-card address {
  font-style: normal;
}

.egp-office-card p {
  margin: 0.45rem 0;
}

.egp-office-card a {
  color: var(--egp-brand-dark);
  font-weight: 700;
}

.egp-contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .egp-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .egp-office-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   UBICACIÓN — delegaciones con mapa interactivo
========================================================== */

.egp-office-list {
  display: grid;
  gap: 2.5rem;
}

.egp-office-location {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.65fr);
  gap: 2rem;
  align-items: stretch;
  background: var(--egp-surface);
  border: 1px solid var(--egp-border);
  border-radius: var(--egp-radius);
  padding: 1.75rem;
  box-shadow: 0 12px 26px rgba(18, 24, 38, 0.06);
}

.egp-office-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.egp-office-info h2 {
  margin: 0 0 1rem;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 2rem;
}

.egp-office-info address {
  font-style: normal;
}

.egp-office-info p {
  margin: 0.45rem 0;
}

.egp-office-info a {
  color: var(--egp-brand-dark);
  font-weight: 700;
}

.egp-office-map-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.25rem;
  color: var(--egp-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.egp-office-map {
  min-height: 320px;
  overflow: hidden;
  border-radius: calc(var(--egp-radius) - 2px);
  border: 1px solid var(--egp-border);
  background: #eef2f6;
}

.egp-office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (max-width: 860px) {
  .egp-office-location {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.35rem;
  }

  .egp-office-map {
    min-height: 280px;
  }

  .egp-office-map iframe {
    min-height: 280px;
  }
}

