/* Páginas de contenido nuevas (Quiénes somos, Planes y precios, Punto PaletsGO).
   Todo cuelga de .pg-page para no chocar con los estilos globales del tema.
   Portado de la propuesta de diseño (planning/PaletsGo-AmpliaNew_revision_01). */

.pg-page {
    --pg-ink: #202225;
    --pg-muted: #64676b;
    --pg-line: #e1e3e5;
    --pg-soft: #f4f5f2;
    --pg-white: #fff;
    --pg-accent: #eda900;
    --pg-accent-dark: #a96e00;
    --pg-dark: #252525;
    --pg-radius: 18px;
    --pg-width: 1160px;
    color: var(--pg-ink);
    background: var(--pg-white);
    font-family: "Roboto Condensed", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
.pg-page *, .pg-page *::before, .pg-page *::after { box-sizing: border-box; }
.pg-page [id] { scroll-margin-top: 90px; }
.pg-page a { color: inherit; }
.pg-page img { max-width: 100%; display: block; }
.pg-page button, .pg-page input, .pg-page select, .pg-page textarea { font-family: "Roboto Condensed", sans-serif; }
.pg-page a:focus-visible, .pg-page summary:focus-visible, .pg-page button:focus-visible { outline: 3px solid #8a5d04; outline-offset: 4px; }

.pg-page .pg-shell { width: min(calc(100% - 40px), var(--pg-width)); margin-inline: auto; padding: 0; }

/* Titulares */
.pg-page h1, .pg-page h2, .pg-page h3 {
    margin-top: 0; color: inherit; font-family: inherit; font-weight: 700;
    line-height: 1.12; letter-spacing: -.035em;
}
.pg-page h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 24px; }
.pg-page h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.pg-page h3 { font-size: 22px; margin-bottom: 10px; }
.pg-page p { margin-top: 0; margin-bottom: 1em; font-size: inherit; line-height: inherit; color: inherit; }
.pg-page ol, .pg-page ul { padding: 0; margin: 0; list-style: none; }
.pg-page figure { margin: 0; }

.pg-page .pg-kicker {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
    color: var(--pg-accent); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pg-page .pg-kicker::before { content: ""; width: 28px; height: 4px; background: var(--pg-accent); }
.pg-page .pg-lead { max-width: 700px; color: #4f5256; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }

/* Botones */
.pg-page .pg-btn {
    display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 22px; border: 2px solid var(--pg-accent); border-radius: 8px;
    background: var(--pg-accent); color: #171717; text-decoration: none; font-size: 16px; font-weight: 800; line-height: 1.65;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.pg-page .pg-btn:hover, .pg-page .pg-btn:focus-visible {
    transform: translateY(-2px); background: #f0b334; box-shadow: 0 10px 24px rgba(201, 135, 8, .22); color: #171717;
}
.pg-page button.pg-btn { line-height: normal; }
.pg-page .pg-btn--light { background: #fff; border-color: #fff; }
.pg-page .outline { background: #fff; }
.pg-page .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Componentes compartidos ---------- */
.pg-page .pg-section { padding-block: 72px; }
.pg-page .pg-section--soft { background: var(--pg-soft); }
.pg-page .pg-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.pg-page .pg-card { height: 100%; padding: 30px; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); background: #fff; }
.pg-page .pg-card--accent { border-top: 5px solid var(--pg-accent); }
.pg-page .pg-card p { margin-bottom: 0; color: var(--pg-muted); }

.pg-page .pg-checklist { list-style: none; margin: 0; padding: 0; }
.pg-page .pg-checklist li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--pg-line); }
.pg-page .pg-checklist li:last-child { border-bottom: 0; }
.pg-page .pg-checklist li::before { content: "✓"; position: absolute; left: 0; top: 16px; color: #8a5d04; font-weight: 900; }

.pg-page .photo-band {
    background: linear-gradient(90deg, rgba(20, 20, 20, .9), rgba(20, 20, 20, .25)), url('../img/palets-corporativos.jpg') center/cover;
    padding: 65px 0; color: #fff;
}
.pg-page .photo-band h2 { max-width: 650px; font-size: 38px; }
.pg-page .photo-band p { max-width: 610px; font-size: 22px; }

/* ---------- Planes y precios ---------- */
.pg-page--planes .pg-kicker { color: #845b08; }
.pg-page .plans-hero { background: var(--pg-accent); }
.pg-page .plans-hero-inner { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 59% 41%; min-height: 345px; }
.pg-page .plans-hero-copy { padding: 58px 42px 58px max(28px, calc((100vw - 1160px) / 2)); align-self: center; }
.pg-page .plans-hero-copy h1 { font-size: clamp(36px, 3.3vw, 50px); line-height: 1.12; margin-bottom: 22px; letter-spacing: -.025em; }
.pg-page .plans-hero-copy p { font-size: 20px; max-width: 560px; margin-bottom: 0; }
.pg-page .plans-hero-copy .pg-kicker { color: #292929; font-size: 13px; }
.pg-page .plans-hero-copy .pg-kicker::before { background: #fff; }
.pg-page .plans-hero-photo { margin: 0; min-width: 0; height: 100%; }
.pg-page .plans-hero-photo img { width: 100%; height: 100%; min-height: 345px; object-fit: cover; object-position: 62% center; }

.pg-page .plan { display: flex; flex-direction: column; padding: 32px; border-radius: 14px; border-top: 4px solid var(--pg-accent); }
.pg-page .plan .brand-plan { width: 205px; height: 145px; object-fit: contain; object-position: left top; margin-bottom: 22px; }
.pg-page .plan h2 { font-size: 28px; }
.pg-page .plan .price { font-size: 46px; line-height: 1.2; font-weight: 800; margin: 12px 0; }
.pg-page .plan .price small { font-size: 17px; font-weight: 400; }
.pg-page .plan > p { font-size: 15px; }
.pg-page .plan .pg-checklist { font-size: 17px; margin: 22px 0; }
.pg-page .plan .actions { margin-top: auto; padding-top: 24px; min-height: 118px; flex-direction: column; align-items: flex-start; gap: 0; }
.pg-page .plan-link { margin-top: 14px; font-weight: 700; line-height: 1.4; text-decoration: underline; text-underline-offset: 5px; }
.pg-page .plan-link:hover { color: var(--pg-accent-dark); }

/* ---------- Quiénes somos ---------- */
.pg-page .home-hero { background: var(--pg-soft); padding: 78px 0 68px; }
.pg-page .home-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 65px; }
.pg-page .home-hero h1 { font-size: clamp(46px, 5.4vw, 72px); max-width: 650px; }
.pg-page .home-hero .pg-lead { font-size: 24px; }
.pg-page .hero-image { margin: 0; position: relative; padding: 0 20px 20px 0; }
.pg-page .hero-image::before { content: ""; position: absolute; inset: 28px 0 0 28px; border-radius: 22px; background: #e9a825; }
.pg-page .hero-image img { position: relative; width: 100%; height: 480px; object-fit: cover; border-radius: 18px; }

.pg-page .values { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 0; border-bottom: 1px solid #ddd; gap: 28px; }
.pg-page .values strong { display: block; font-size: 24px; line-height: 1.2; }
.pg-page .values span { font-size: 15px; color: var(--pg-muted); }

.pg-page .home-section { padding: 84px 0; }
.pg-page .home-section--soft { background: var(--pg-soft); }
.pg-page .section-lead { max-width: 790px; margin-bottom: 40px; }
.pg-page .section-lead p { font-size: 22px; color: var(--pg-muted); }

.pg-page .purpose { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.pg-page .purpose p { font-size: 20px; }
.pg-page .purpose .statement { font-size: 30px; line-height: 1.3; font-weight: 700; border-left: 4px solid #e9a825; padding-left: 24px; }

.pg-page .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg-page .service-card { border-top: 3px solid #e9a825; padding: 24px 0; }
.pg-page .service-card .number { color: var(--pg-accent); font-size: 14px; letter-spacing: .1em; display: block; margin-bottom: 20px; }
.pg-page .service-card p { color: var(--pg-muted); font-size: 18px; }

.pg-page .flow-panel {
    background: #252525; border-radius: 20px; padding: 46px; color: #fff;
    display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 48px;
}
.pg-page .flow-panel p { color: #d5d5d5; }
.pg-page .flow-list { list-style: none; padding: 0; margin: 0; }
.pg-page .flow-list li { padding: 17px 0; border-bottom: 1px solid #555; }
.pg-page .flow-list li:last-child { border: 0; }
.pg-page .flow-list strong { color: #ffd474; display: block; font-size: 23px; }

.pg-page .profile { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.pg-page .profile figure { margin: 0; }
.pg-page .profile img { width: 100%; height: 475px; object-fit: cover; object-position: 50% 25%; border-radius: 18px; }
.pg-page .profile .pg-kicker { margin-top: 20px; }
.pg-page .profile p { font-size: 20px; }
.pg-page .tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.pg-page .tag-list span { border: 1px solid #ddd; padding: 7px 12px; border-radius: 6px; font-size: 15px; }

.pg-page .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pg-page .pillars article { background: #fff; padding: 30px; border-radius: 16px; border: 1px solid var(--pg-line); }
.pg-page .pillars p { font-size: 18px; color: var(--pg-muted); }
.pg-page .home-section .closing { max-width: 850px; font-size: 22px; margin: 35px 0 0; }

.pg-page .final-home { background: #e9a825; padding: 75px 0; text-align: center; }
.pg-page .final-home h2 { max-width: 850px; margin: 0 auto 24px; }
.pg-page .final-home p { max-width: 670px; margin: 0 auto 24px; font-size: 22px; }
.pg-page .final-home .pg-kicker { color: #171717; }
.pg-page .final-home .pg-kicker::before { background: #171717; }
.pg-page .final-home .actions { justify-content: center; }

/* ---------- Punto PaletsGO ---------- */
.pg-page .pg-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pg-page .section-head { max-width: 760px; margin-bottom: 34px; }

.pg-page .v2-hero { background: var(--pg-soft); padding: 76px 0; }
.pg-page .v2-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pg-page .v2-hero h1 { font-size: clamp(42px, 4.7vw, 66px); }
.pg-page .point-brand { width: 250px; height: auto; margin-bottom: 26px; border-radius: 8px; }
.pg-page .hero-photo { position: relative; aspect-ratio: 4 / 5; margin: 1em 40px; border-radius: 22px; background: #ffd474; box-shadow: 18px 18px 0 #e9a825; overflow: hidden; }
.pg-page .hero-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pg-page .photo-caption { position: absolute; bottom: 0; width: 100%; padding: 14px 20px; background: #252525; color: #fff; font-size: 13px; }

.pg-page .benefit-strip { padding: 28px 0; border-bottom: 1px solid var(--pg-line); }
.pg-page .benefit-strip .pg-shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pg-page .benefit-strip strong { display: block; }
.pg-page .benefit-strip span { font-size: 14px; color: var(--pg-muted); }

.pg-page .services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pg-page .service { padding-top: 22px; border-top: 3px solid #e9a825; }
.pg-page .service svg { width: 40px; height: 40px; vertical-align: baseline; stroke: #9a6707; fill: none; stroke-width: 1.6; margin-bottom: 18px; }
.pg-page .service p { font-size: 16px; color: var(--pg-muted); }

.pg-page .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pg-page .operation { background: #252525; color: #fff; border-radius: 18px; padding: 34px; }
.pg-page .city { padding: 20px 0; border-bottom: 1px solid #565656; }
.pg-page .city strong { font-size: 28px; color: #ffd474; display: block; }
.pg-page .city span { font-size: 15px; color: #ddd; }
.pg-page .operation .bridge { margin: 24px 0; font-size: 16px; }
.pg-page .operation .demo-note { color: #ddd; margin-top: 20px; }
.pg-page .quote-line { border-left: 4px solid #e9a825; padding-left: 22px; font-size: 23px; font-weight: bold; }
.pg-page .city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pg-page .city-grid article { border-left: 3px solid #e9a825; padding: 12px 18px; background: #fff; }
.pg-page .city-grid b { display: block; font-size: 13px; color: var(--pg-accent); text-transform: uppercase; letter-spacing: .07em; }

.pg-page .flow { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.pg-page .flow span { background: #fff; border: 1px solid #ddd; padding: 10px 14px; border-radius: 6px; font-size: 14px; }

.pg-page .map-frame { margin: 0; border-radius: 18px; overflow: hidden; position: relative; border: 1px solid #ddd; }
.pg-page .map-frame img { width: 100%; height: auto; }

.pg-page .audience { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pg-page .audience article { border-radius: 18px; overflow: hidden; border: 1px solid #ddd; background: #fff; }
.pg-page .audience-body { padding: 32px; }
.pg-page .audience-body h3 { font-size: 28px; }
.pg-page .audience-body p { color: var(--pg-muted); }
.pg-page .audience-body p a { text-decoration: underline; }

.pg-page .form-wrap { max-width: 860px; margin: auto; }
.pg-page .form-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 25px; }
.pg-page .form-tabs button { padding: 13px 18px; border-radius: 7px; border: 1px solid #aaa; background: #fff; font: inherit; line-height: 1.65; cursor: pointer; color: var(--pg-ink); }
.pg-page .form-tabs button[aria-selected="true"] { background: #252525; color: #fff; border-color: #252525; }
.pg-page .form-panel[hidden] { display: none; }
.pg-page .forms-shell { padding: 38px; background: #fff; border: 1px solid #ddd; border-radius: 18px; }
.pg-page .formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pg-page .forms-shell label { display: block; font-size: 15px; font-weight: bold; margin: 0; }
.pg-page .forms-shell input, .pg-page .forms-shell textarea {
    display: block; width: 100%; height: auto; font: inherit; padding: 12px; border: 1px solid #aaa; border-radius: 6px;
    margin-top: 6px; background: #fff; color: var(--pg-ink); box-shadow: none;
}
.pg-page .forms-shell textarea { min-height: 95px; }
.pg-page .forms-shell .full { grid-column: 1 / -1; }
.pg-page .forms-shell .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.pg-page .forms-shell .consent input { width: auto; margin: 6px 3px 3px 4px; }
.pg-page .demo-note { font-size: 13px; color: var(--pg-muted); }
.pg-page .recaptcha-note { margin: 14px 0 0; }
.pg-page .recaptcha-note a { text-decoration: underline; }
.pg-page .form-result { font-weight: bold; }
.pg-page .form-result.is-error { color: #a4160a; }

.pg-page .meeting { background: #e9a825; text-align: center; padding: 72px 0; }
.pg-page .meeting .pg-shell { max-width: 790px; }
.pg-page .meeting .pg-kicker { color: #171717; }
.pg-page .meeting .pg-kicker::before { background: #171717; }

@media (max-width: 900px) {
    .pg-page .v2-hero-grid, .pg-page .split { grid-template-columns: 1fr; }
    .pg-page .hero-photo { max-width: 460px; width: 90%; margin: 0 auto; }
    .pg-page .services { grid-template-columns: 1fr 1fr; }
    .pg-page .benefit-strip .pg-shell { grid-template-columns: 1fr 1fr; }
    .pg-page .v2-hero { padding: 45px 0; }
    .pg-page .split { gap: 32px; }
    .pg-page .map-frame { max-width: 560px; margin: 0 auto; }
    .pg-page .home-grid, .pg-page .purpose, .pg-page .profile { grid-template-columns: 1fr; gap: 35px; }
    .pg-page .hero-image { max-width: 650px; }
    .pg-page .hero-image img { height: 380px; }
    .pg-page .service-grid { grid-template-columns: 1fr 1fr; }
    .pg-page .profile img { height: 400px; max-width: 430px; }
    .pg-page .pillars { grid-template-columns: 1fr; }
    .pg-page .home-hero { padding: 48px 0; }
    .pg-page .home-section { padding: 54px 0; }
}
@media (max-width: 920px) {
    .pg-page .photo-band h2 { font-size: 34px; }
}
@media (min-width: 1440px) {
    .pg-page .plans-hero-copy { padding-left: 140px; }
}
@media (min-width: 701px) and (max-width: 800px) {
    .pg-page .plan .actions { min-height: 141px; }
}
@media (max-width: 700px) {
    .pg-page .formgrid, .pg-page .pg-grid-3 { grid-template-columns: 1fr; }
    .pg-page .plan .actions { min-height: 0; }
    .pg-page { font-size: 16px; }
    .pg-page .pg-shell { width: min(calc(100% - 28px), var(--pg-width)); }
    .pg-page .pg-section { padding-block: 44px; }
    .pg-page .pg-grid-2 { grid-template-columns: 1fr; }
    .pg-page .pg-card { padding: 24px; }
}
@media (max-width: 760px) {
    .pg-page .plans-hero-inner { grid-template-columns: 1fr; }
    .pg-page .plans-hero-copy { padding: 40px 24px; }
    .pg-page .plans-hero-photo { height: 250px; }
    .pg-page .plans-hero-photo img { min-height: 0; height: 250px; object-position: center 42%; }
    .pg-page .plan .brand-plan { width: 185px; height: 130px; }
    .pg-page .plan { padding: 25px; }
    .pg-page .photo-band h2 { font-size: 32px; }
}
@media (max-width: 600px) {
    .pg-page .audience, .pg-page .city-grid { grid-template-columns: 1fr; }
    .pg-page .services { gap: 18px; }
    .pg-page .service h3 { font-size: 20px; }
    .pg-page .forms-shell { padding: 22px; }
    .pg-page h2 { font-size: 32px; }
    .pg-page .hero-photo { aspect-ratio: 1.1; }
    .pg-page .values { grid-template-columns: 1fr; gap: 18px; }
    .pg-page .values > div { padding-bottom: 16px; border-bottom: 1px solid #ddd; }
    .pg-page .values > div:last-child { border: 0; padding: 0; }
    .pg-page .service-grid, .pg-page .flow-panel { grid-template-columns: 1fr; }
    .pg-page .flow-panel { padding: 26px; gap: 18px; }
    .pg-page .hero-image img { height: 290px; }
    .pg-page .profile img { height: 360px; }
    .pg-page .home-hero .pg-lead { font-size: 21px; }
    .pg-page .purpose .statement { font-size: 26px; }
    .pg-page .home-section p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .pg-page .pg-btn { transition: none; }
}

/* La insignia flotante de reCAPTCHA se solapa con el botón de subir; se oculta y el aviso legal va en los formularios. */
.grecaptcha-badge { visibility: hidden !important; }
