/*
Theme Name: PHANATEC Corporate
Theme URI: https://phanatec.com/
Description: Identidad corporativa y arquitectura comercial de PHANATEC sobre Blocksy.
Author: PHANATEC
Template: blocksy
Version: 1.4.0
Text Domain: phanatec
*/

:root {
  --ph-navy: #07152d;
  --ph-navy-2: #0c2145;
  --ph-blue: #1463ff;
  --ph-cyan: #29c6e8;
  --ph-ink: #10223f;
  --ph-muted: #637089;
  --ph-soft: #f4f7fb;
  --ph-line: #dce5f0;
  --ph-white: #ffffff;
  --ph-shadow: 0 22px 60px rgba(7, 21, 45, .10);
  --ph-radius: 22px;
  --ph-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ph-ink); background: #fff; font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(20, 99, 255, .34); outline-offset: 3px; }

.ph-shell { width: min(calc(100% - 40px), var(--ph-max)); margin-inline: auto; }
.ph-section { padding: 104px 0; }
.ph-section--soft { background: var(--ph-soft); }
.ph-section--dark { color: #fff; background: radial-gradient(circle at 85% 0%, rgba(41,198,232,.13), transparent 34%), linear-gradient(135deg, #06132b, #0a2349); }
.ph-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--ph-blue); font-size: .8rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ph-kicker::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.ph-section--dark .ph-kicker { color: #75dff3; }
.ph-title { max-width: 760px; margin: 0; color: var(--ph-navy); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.09; letter-spacing: -.045em; }
.ph-section--dark .ph-title { color: #fff; }
.ph-lead { max-width: 720px; margin: 24px 0 0; color: var(--ph-muted); font-size: 1.1rem; }
.ph-section--dark .ph-lead { color: #b7c7df; }
.ph-grid { display: grid; gap: 24px; }
.ph-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ph-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ph-btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 12px; font-size: .95rem; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ph-btn:hover { transform: translateY(-2px); }
.ph-btn--primary { color: #fff; background: linear-gradient(135deg, var(--ph-blue), #0a8dde); box-shadow: 0 14px 30px rgba(20,99,255,.25); }
.ph-btn--ghost { color: var(--ph-navy); background: rgba(255,255,255,.86); border-color: var(--ph-line); }
.ph-btn--light { color: var(--ph-navy); background: #fff; }

.ph-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,229,240,.82); backdrop-filter: blur(18px); }
.admin-bar .ph-header { top: 32px; }
.ph-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ph-brand { display: inline-flex; align-items: center; color: var(--ph-navy); }
.ph-brand-logo { display: block; width: 218px; height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.ph-footer .ph-brand-logo { width: 255px; max-height: 82px; filter: brightness(0) invert(1); opacity: .96; }
.ph-brand-mark { width: 34px; height: 34px; position: relative; border-radius: 10px; background: linear-gradient(145deg, var(--ph-blue), var(--ph-cyan)); box-shadow: 0 9px 20px rgba(20,99,255,.25); }
.ph-brand-mark::after { content: "P"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.05rem; font-weight: 900; }
.ph-menu { display: flex; align-items: center; gap: 30px; }
.ph-menu a { color: #31435f; font-size: .92rem; font-weight: 680; }
.ph-menu a:hover { color: var(--ph-blue); }
.ph-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ph-line); border-radius: 10px; background: #fff; color: var(--ph-navy); }

.ph-hero { overflow: hidden; position: relative; padding: 96px 0 110px; background: radial-gradient(circle at 88% 18%, rgba(41,198,232,.16), transparent 27%), radial-gradient(circle at 58% 0%, rgba(20,99,255,.09), transparent 32%), #fff; }
.ph-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #b9c9dd, transparent); }
.ph-hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 62px; align-items: center; }
.ph-hero h1 { margin: 0; color: var(--ph-navy); font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.065em; }
.ph-hero h1 span { color: var(--ph-blue); }
.ph-hero-copy { max-width: 650px; margin: 26px 0 32px; color: var(--ph-muted); font-size: 1.16rem; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.ph-proof { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 34px; color: #53647d; font-size: .85rem; font-weight: 650; }
.ph-proof span { display: inline-flex; align-items: center; gap: 8px; }
.ph-proof span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ph-cyan); box-shadow: 0 0 0 5px rgba(41,198,232,.13); }

.ph-system { min-height: 515px; position: relative; padding: 25px; border: 1px solid rgba(188,207,230,.8); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.93), rgba(241,247,255,.82)); box-shadow: var(--ph-shadow); }
.ph-system::before { content: ""; position: absolute; inset: 14% 8% 10%; border-radius: 50%; background: rgba(20,99,255,.08); filter: blur(35px); }
.ph-window { position: relative; z-index: 2; overflow: hidden; height: 100%; min-height: 465px; border-radius: 20px; background: var(--ph-navy); box-shadow: 0 18px 50px rgba(7,21,45,.25); }
.ph-window-bar { height: 47px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.ph-window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #54708f; }
.ph-window-content { display: grid; grid-template-columns: 70px 1fr; min-height: 418px; }
.ph-window-side { padding: 22px 16px; background: rgba(255,255,255,.035); border-right: 1px solid rgba(255,255,255,.07); }
.ph-window-side b { display: block; width: 35px; height: 7px; margin: 0 auto 22px; border-radius: 4px; background: #2c496e; }
.ph-window-main { padding: 28px; }
.ph-window-label { color: #81a0c6; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ph-window-main h3 { margin: 7px 0 22px; color: #fff; font-size: 1.35rem; }
.ph-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ph-metric { padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.055); }
.ph-metric small { display: block; color: #86a1c1; font-size: .66rem; }
.ph-metric strong { display: block; margin-top: 8px; color: #fff; font-size: 1rem; }
.ph-chart { height: 168px; margin-top: 16px; position: relative; overflow: hidden; border-radius: 15px; background: linear-gradient(180deg, rgba(20,99,255,.18), rgba(20,99,255,.025)); }
.ph-chart::before { content: ""; position: absolute; inset: 28px 20px 25px; background: linear-gradient(160deg, transparent 0 24%, rgba(41,198,232,.95) 25% 27%, transparent 28% 45%, rgba(20,99,255,.95) 46% 48%, transparent 49%); clip-path: polygon(0 78%, 18% 58%, 34% 68%, 53% 31%, 68% 46%, 85% 14%, 100% 4%, 100% 100%, 0 100%); opacity: .88; }
.ph-chart::after { content: ""; position: absolute; width: 12px; height: 12px; top: 30px; right: 30px; border-radius: 50%; background: var(--ph-cyan); box-shadow: 0 0 0 0 rgba(41,198,232,.45); animation: phPulse 2.3s infinite; }
.ph-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.ph-flow span { flex: 1; padding: 10px 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #c4d2e5; background: rgba(255,255,255,.04); text-align: center; font-size: .62rem; }
.ph-system:hover .ph-window { transform: translateY(-4px) rotateX(1deg) rotateY(-1deg); }
.ph-window { transition: transform .35s ease; transform-style: preserve-3d; }
.ph-flow span { transition: color .2s ease, border-color .2s ease, background .2s ease; }
.ph-flow span:hover { color: #fff; border-color: rgba(41,198,232,.55); background: rgba(41,198,232,.12); }
@keyframes phPulse { 0% { box-shadow: 0 0 0 0 rgba(41,198,232,.45); } 70% { box-shadow: 0 0 0 16px rgba(41,198,232,0); } 100% { box-shadow: 0 0 0 0 rgba(41,198,232,0); } }

.ph-hero-visual { --ph-x: 0px; --ph-y: 0px; min-height: 535px; position: relative; overflow: hidden; border: 1px solid rgba(118,151,193,.36); border-radius: 30px; background: #07182f; box-shadow: 0 28px 70px rgba(7,21,45,.22); isolation: isolate; perspective: 900px; }
.ph-hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(145deg, rgba(4,14,32,.05), rgba(4,14,32,.36)); pointer-events: none; }
.ph-hero-visual::after { content: "Mueve para explorar"; position: absolute; z-index: 5; left: 20px; bottom: 18px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d9e9fb; background: rgba(4,14,32,.63); backdrop-filter: blur(10px); font-size: .7rem; font-weight: 750; letter-spacing: .035em; }
.ph-hero-art { width: calc(100% + 36px); height: calc(100% + 36px); position: absolute; inset: -18px; object-fit: cover; transform: translate3d(var(--ph-x), var(--ph-y), 0) scale(1.04); transition: transform .16s ease-out; }
.ph-orbit { position: absolute; z-index: 3; inset: 13%; border: 1px solid rgba(83,196,255,.28); border-radius: 50%; animation: phOrbit 18s linear infinite; pointer-events: none; }
.ph-orbit::before, .ph-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #5de2ff; box-shadow: 0 0 0 8px rgba(93,226,255,.1), 0 0 24px rgba(93,226,255,.8); }
.ph-orbit::before { top: 9%; left: 12%; }
.ph-orbit::after { right: 4%; bottom: 18%; }
.ph-hero-node { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; color: #fff; background: rgba(6,21,46,.72); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: .72rem; font-weight: 760; transform: translate3d(calc(var(--ph-x) * -.55), calc(var(--ph-y) * -.55), 0); transition: transform .18s ease-out, border-color .2s ease, background .2s ease; }
.ph-hero-node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ph-cyan); box-shadow: 0 0 0 5px rgba(41,198,232,.12); }
.ph-hero-node:hover, .ph-hero-node:focus-visible { border-color: rgba(93,226,255,.7); background: rgba(10,42,83,.9); }
.ph-hero-node--1 { top: 15%; left: 8%; }
.ph-hero-node--2 { top: 18%; right: 7%; }
.ph-hero-node--3 { right: 9%; bottom: 17%; }
.ph-hero-node--4 { left: 8%; bottom: 19%; }
@keyframes phOrbit { to { transform: rotate(360deg); } }

.ph-problem-grid { margin-top: 48px; }
.ph-problem { padding: 25px 26px; border-left: 2px solid #cdd9e8; background: #fff; }
.ph-problem strong { display: block; margin-bottom: 7px; color: var(--ph-navy); font-size: 1.04rem; }
.ph-problem p { margin: 0; color: var(--ph-muted); font-size: .94rem; }

.ph-card-grid { margin-top: 48px; }
.ph-card { min-height: 310px; padding: 31px; position: relative; overflow: hidden; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ph-card:hover { transform: translateY(-5px); border-color: #b9d0ee; box-shadow: var(--ph-shadow); }
.ph-card-number { color: var(--ph-blue); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.ph-card h3 { margin: 44px 0 13px; color: var(--ph-navy); font-size: 1.35rem; line-height: 1.2; }
.ph-card p { margin: 0; color: var(--ph-muted); font-size: .95rem; }
.ph-card-link { display: inline-block; margin-top: 25px; color: var(--ph-blue); font-size: .86rem; font-weight: 800; }

.ph-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ph-feature-panel { padding: 38px; border: 1px solid #23436d; border-radius: 26px; background: rgba(255,255,255,.045); }
.ph-stack { display: grid; gap: 14px; }
.ph-stack-item { display: flex; align-items: center; gap: 16px; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); }
.ph-stack-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--ph-cyan); background: rgba(41,198,232,.11); font-weight: 900; }
.ph-stack-item strong { display: block; color: #fff; font-size: .94rem; }
.ph-stack-item small { color: #92a9c8; }
.ph-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.ph-pill { padding: 8px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #bfd0e7; font-size: .75rem; }

.ph-benefits { margin-top: 46px; }
.ph-benefit { padding: 28px; border: 1px solid var(--ph-line); border-radius: 18px; background: #fff; }
.ph-benefit h3 { margin: 0 0 10px; color: var(--ph-navy); font-size: 1.12rem; }
.ph-benefit p { margin: 0; color: var(--ph-muted); font-size: .93rem; }

.ph-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 52px; }
.ph-step { min-height: 210px; padding: 25px 23px; position: relative; border-top: 1px solid #345177; }
.ph-step::before { content: ""; position: absolute; top: -6px; left: 23px; width: 11px; height: 11px; border-radius: 50%; background: var(--ph-cyan); box-shadow: 0 0 0 7px rgba(41,198,232,.12); }
.ph-step b { color: #74ddf1; font-size: .73rem; letter-spacing: .1em; }
.ph-step h3 { margin: 35px 0 10px; color: #fff; font-size: 1.1rem; }
.ph-step p { margin: 0; color: #9eb2cd; font-size: .86rem; }

.ph-company { display: grid; grid-template-columns: .85fr 1.15fr; gap: 76px; align-items: start; }
.ph-quote { padding: 35px; border: 1px solid var(--ph-line); border-radius: 24px; background: linear-gradient(145deg, #fff, #f5f9ff); box-shadow: 0 18px 50px rgba(7,21,45,.07); }
.ph-quote p { margin: 0; color: var(--ph-navy); font-size: 1.4rem; line-height: 1.45; font-weight: 720; letter-spacing: -.02em; }
.ph-quote small { display: block; margin-top: 22px; color: var(--ph-blue); font-weight: 800; }

.ph-cta { padding: 84px 0; color: #fff; background: radial-gradient(circle at 82% 25%, rgba(41,198,232,.34), transparent 29%), linear-gradient(125deg, #020a18, #082e61); border-top: 1px solid rgba(117,223,243,.16); }
.ph-cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.ph-cta h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.045em; text-shadow: 0 2px 28px rgba(0,0,0,.42); }
.ph-cta p { max-width: 680px; margin: 19px 0 0; color: #d8e8fa; font-size: 1.04rem; }

.ph-ti { position: relative; overflow: hidden; }
.ph-ti::after { content: "TI"; position: absolute; right: 2%; bottom: -13%; color: rgba(20,99,255,.035); font-size: 18rem; font-weight: 900; line-height: 1; pointer-events: none; }
.ph-ti-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.ph-ti-card { padding: 24px; border: 1px solid var(--ph-line); border-radius: 18px; background: #fff; }
.ph-ti-card strong { display: block; margin-bottom: 7px; color: var(--ph-navy); }
.ph-ti-card p { margin: 0; color: var(--ph-muted); font-size: .91rem; }
.ph-contact-links { display: grid; gap: 12px; margin-top: 30px; }
.ph-contact-link { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid var(--ph-line); border-radius: 13px; background: #fff; color: var(--ph-navy); font-weight: 730; }
.ph-contact-link span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--ph-blue); background: rgba(20,99,255,.08); }
.ph-whatsapp { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 11px; min-height: 58px; padding: 0 20px 0 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: linear-gradient(135deg, #20bd67, #0d914b); box-shadow: 0 14px 34px rgba(5,67,34,.32); font-size: .88rem; font-weight: 820; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; isolation: isolate; }
.ph-whatsapp::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(32,189,103,.48); animation: phWaPulse 2.8s infinite; }
.ph-whatsapp::after { content: "¿Hablamos?"; position: absolute; right: 8px; bottom: calc(100% + 11px); padding: 8px 11px; border-radius: 9px; color: var(--ph-navy); background: #fff; box-shadow: 0 8px 24px rgba(7,21,45,.15); font-size: .75rem; font-weight: 800; opacity: 0; transform: translateY(5px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; white-space: nowrap; }
.ph-whatsapp:hover, .ph-whatsapp:focus-visible { color: #fff; background: linear-gradient(135deg, #28cc73, #087f3e); transform: translateY(-4px) scale(1.025); box-shadow: 0 18px 42px rgba(5,67,34,.4); }
.ph-whatsapp:hover::after, .ph-whatsapp:focus-visible::after { opacity: 1; transform: translateY(0); }
.ph-whatsapp-icon { width: 30px; height: 30px; flex: 0 0 auto; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.ph-whatsapp-label { line-height: 1; }
@keyframes phWaPulse { 0%, 45% { box-shadow: 0 0 0 0 rgba(32,189,103,.46); } 75% { box-shadow: 0 0 0 13px rgba(32,189,103,0); } 100% { box-shadow: 0 0 0 0 rgba(32,189,103,0); } }

.ph-subhero { padding: 92px 0 70px; background: radial-gradient(circle at 80% 0%, rgba(41,198,232,.14), transparent 26%), var(--ph-soft); border-bottom: 1px solid var(--ph-line); }
.ph-subhero h1 { max-width: 870px; margin: 0; color: var(--ph-navy); font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.055em; }
.ph-subhero p { max-width: 720px; margin: 25px 0 0; color: var(--ph-muted); font-size: 1.12rem; }
.ph-detail { padding: 36px; border: 1px solid var(--ph-line); border-radius: 22px; background: #fff; }
.ph-detail h2 { margin: 0 0 13px; color: var(--ph-navy); font-size: 1.45rem; }
.ph-detail p { margin: 0 0 18px; color: var(--ph-muted); }
.ph-detail ul { margin: 0; padding-left: 20px; color: #394b65; }
.ph-contact { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.ph-form { display: grid; gap: 18px; padding: 36px; border: 1px solid var(--ph-line); border-radius: 24px; background: #fff; box-shadow: var(--ph-shadow); }
.ph-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ph-field label { display: block; margin-bottom: 7px; color: var(--ph-navy); font-size: .86rem; font-weight: 750; }
.ph-field input, .ph-field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #ccd9e8; border-radius: 10px; color: var(--ph-ink); background: #fbfdff; }
.ph-field textarea { min-height: 132px; resize: vertical; }
.ph-note { color: var(--ph-muted); font-size: .82rem; }
.ph-alert { padding: 13px 15px; border-radius: 10px; background: #e9f8f0; color: #13683c; font-size: .9rem; }

.ph-footer { padding: 64px 0 26px; color: #b6c5d9; background: #050f22; }
.ph-footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .7fr .7fr; gap: 48px; }
.ph-footer .ph-brand { color: #fff; }
.ph-footer p { max-width: 410px; margin: 19px 0 0; color: #879cb8; font-size: .9rem; }
.ph-footer h3 { margin: 0 0 16px; color: #fff; font-size: .86rem; }
.ph-footer a { display: block; margin: 9px 0; color: #9db0c9; font-size: .86rem; }
.ph-footer a:hover { color: #fff; }
.ph-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #7086a2; font-size: .78rem; }

@media (max-width: 1024px) {
  .ph-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-hero-grid, .ph-feature, .ph-company, .ph-contact { grid-template-columns: 1fr; }
  .ph-ti-wrap { grid-template-columns: 1fr; }
  .ph-hero-grid { gap: 50px; }
  .ph-system { max-width: 700px; }
  .ph-hero-visual { min-height: 500px; max-width: 760px; }
  .ph-process { grid-template-columns: repeat(3, 1fr); }
  .ph-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .ph-header { top: 46px; }
  .ph-section { padding: 76px 0; }
  .ph-menu-toggle { display: inline-grid; place-items: center; }
  .ph-menu { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 20px; flex-direction: column; align-items: stretch; gap: 8px; background: #fff; border-bottom: 1px solid var(--ph-line); box-shadow: 0 16px 30px rgba(7,21,45,.09); }
  .ph-menu.is-open { display: flex; }
  .ph-menu a { padding: 9px 10px; }
  .ph-menu .ph-btn { margin-top: 6px; }
  .ph-hero { padding: 70px 0 82px; }
  .ph-grid--3, .ph-process { grid-template-columns: 1fr 1fr; }
  .ph-cta-wrap { align-items: flex-start; flex-direction: column; }
  .ph-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .ph-shell { width: min(calc(100% - 28px), var(--ph-max)); }
  .ph-nav { min-height: 68px; }
  .ph-brand-logo { width: 168px; max-height: 48px; }
  .ph-hero h1 { font-size: 2.75rem; }
  .ph-actions, .ph-actions .ph-btn { width: 100%; }
  .ph-grid--2, .ph-grid--3, .ph-grid--4, .ph-process, .ph-footer-grid, .ph-form-grid { grid-template-columns: 1fr; }
  .ph-system { min-height: 390px; padding: 12px; border-radius: 20px; }
  .ph-hero-visual { min-height: 430px; border-radius: 22px; }
  .ph-hero-visual::after { content: "Sistemas conectados"; }
  .ph-hero-node { padding: 8px 10px; font-size: .66rem; }
  .ph-hero-node--1 { top: 12%; left: 5%; }
  .ph-hero-node--2 { top: 15%; right: 5%; }
  .ph-hero-node--3 { right: 5%; bottom: 16%; }
  .ph-hero-node--4 { left: 5%; bottom: 18%; }
  .ph-window { min-height: 365px; }
  .ph-window-content { grid-template-columns: 46px 1fr; min-height: 318px; }
  .ph-window-side { padding-inline: 8px; }
  .ph-window-main { padding: 20px 15px; }
  .ph-metrics { grid-template-columns: 1fr; }
  .ph-metric:nth-child(n+2) { display: none; }
  .ph-card { min-height: auto; }
  .ph-feature { gap: 45px; }
  .ph-feature-panel, .ph-form, .ph-detail, .ph-quote { padding: 25px; }
  .ph-footer-bottom { flex-direction: column; }
  .ph-whatsapp { right: 14px; bottom: 14px; width: 58px; min-height: 58px; padding: 0; justify-content: center; }
  .ph-whatsapp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ph-whatsapp::after { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .ph-chart::after { animation: none; }
  .ph-whatsapp::before { animation: none; }
  .ph-orbit { animation: none; }
  .ph-hero-art, .ph-hero-node { transform: none !important; }
}
