:root {
  --hgc-red: #ed1c24;
  --hgc-red-dark: #9e0a20;
  --hgc-black: #1d1d1d;
  --hgc-charcoal: #343841;
  --hgc-white: #ffffff;
  --hgc-light: #f5f6f7;
  --hgc-soft-gray: #e7e8ea;
  --hgc-line: #d9d9d9;
  --hgc-text: #1d1d1d;
  --hgc-muted: #686868;
  --whatsapp: #19a965;
  --hgc-red-wash: rgba(237, 28, 36, .06);
  --hgc-red-line: rgba(237, 28, 36, .22);
  --hgc-white-soft: rgba(255, 255, 255, .76);
  --hgc-white-line: rgba(255, 255, 255, .22);
  --hgc-black-soft: rgba(29, 29, 29, .08);
  --hgc-shadow: rgba(29, 29, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hgc-white); color: var(--hgc-text); font-family: Arial, "PingFang HK", "Microsoft JhengHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .58; }
:focus-visible { outline: 3px solid var(--hgc-red-dark); outline-offset: 4px; }
.section-shell, .strip, .nav-shell, .hero-grid { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--hgc-white); border-top: 7px solid var(--hgc-charcoal); border-bottom: 2px solid var(--hgc-red); box-shadow: 0 5px 18px var(--hgc-black-soft); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.logo-slot { width: 86px; height: 48px; display: grid; place-items: center; position: relative; color: var(--hgc-red-dark); font-size: 9px; font-weight: 900; text-align: center; }
.logo-slot img { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.logo-slot img:not([src]), .logo-slot img[src=""] { display: none; }
.brand-copy { padding-left: 14px; border-left: 1px solid var(--hgc-line); font-size: 13px; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; }
.main-nav a { position: relative; padding: 28px 0; transition: color .18s ease; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--hgc-red); transition: right .18s ease; }
.main-nav a:hover, .main-nav a:active { color: var(--hgc-red-dark); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 13px 18px !important; color: var(--hgc-white); background: var(--hgc-red-dark); border: 1px solid var(--hgc-red-dark); }
.nav-cta:hover, .nav-cta:focus-visible { color: var(--hgc-white) !important; background: var(--hgc-black); border-color: var(--hgc-black); }
.menu-button { display: none; border: 1px solid transparent; background: transparent; padding: 12px; cursor: pointer; }
.menu-button:hover, .menu-button:focus-visible { border-color: var(--hgc-red); }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--hgc-black); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--hgc-white) 0 66%, var(--hgc-light) 66% 100%); border-bottom: 1px solid var(--hgc-line); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--hgc-red-line); transform: rotate(45deg); }
.hero::before { width: 430px; height: 430px; right: -210px; top: 80px; }
.hero::after { width: 250px; height: 250px; right: -105px; top: 170px; }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy, .network-visual { position: relative; z-index: 1; }
.kicker, .section-label { margin: 0 0 24px; color: var(--hgc-red-dark); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.kicker span { display: inline-block; width: 24px; height: 3px; margin: 0 9px 3px 0; background: var(--hgc-red); }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 { margin: 0; max-width: 760px; color: var(--hgc-black); font-size: clamp(52px, 7vw, 94px); font-weight: 900; line-height: .96; letter-spacing: -.06em; }
.hero h1 em { color: var(--hgc-red); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: var(--hgc-muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border: 1px solid var(--hgc-black); border-radius: 0; font-weight: 900; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-whatsapp { color: var(--hgc-black); background: var(--whatsapp); border-color: var(--whatsapp); }
.button-whatsapp:hover, .button-whatsapp:focus-visible { color: var(--hgc-white); background: var(--hgc-black); border-color: var(--hgc-black); }
.button-ghost { color: var(--hgc-black); background: var(--hgc-white); }
.button-ghost:hover, .button-ghost:focus-visible { color: var(--hgc-white); background: var(--hgc-black); }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px; margin: 35px 0 0; padding: 0; list-style: none; color: var(--hgc-muted); font-size: 12px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--hgc-red-dark); font-weight: 900; }
.network-visual { display: grid; gap: 0; padding: 26px; background: var(--hgc-black); border-top: 8px solid var(--hgc-red); box-shadow: 18px 18px 0 var(--hgc-red-wash); }
.flow-card { display: grid; grid-template-columns: 42px 1fr; gap: 2px 14px; padding: 24px 22px; color: var(--hgc-white); background: var(--hgc-charcoal); border: 1px solid var(--hgc-white-line); border-top: 0; }
.flow-card:first-child { border-top: 1px solid var(--hgc-white-line); }
.flow-card span { grid-row: 1 / 3; color: var(--hgc-red); font-weight: 900; }
.flow-card strong { font-size: 22px; }
.flow-card p { margin: 6px 0 0; color: var(--hgc-white-soft); font-size: 13px; }

.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 110px 0; }
.strip h2, .section-heading h2, .process h2, .faq h2, .contact h2, .use-cases-copy h2 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.strip h2, .section-heading h2, .faq h2 { color: var(--hgc-red); }
.strip > p, .section-heading > p, .faq-heading > p { margin: 0; color: var(--hgc-muted); line-height: 1.9; }

.benefits { padding: 8px 0 110px; }
.benefits-heading { margin-bottom: 44px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit-card { min-height: 270px; padding: 28px; border: 1px solid var(--hgc-line); border-left: 0; background: var(--hgc-white); box-shadow: inset 0 0 0 transparent; transition: transform .18s ease, box-shadow .18s ease; }
.benefit-card:first-child { border-left: 1px solid var(--hgc-line); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: inset 0 4px 0 var(--hgc-red); }
.benefit-card > span { color: var(--hgc-red-dark); font-weight: 900; }
.benefit-card h3 { margin: 60px 0 14px; font-size: 24px; }
.benefit-card p { margin: 0; color: var(--hgc-muted); line-height: 1.75; }

.coverage { padding: 100px 0; border-top: 1px solid var(--hgc-soft-gray); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.coverage-box { margin-top: 40px; padding: 35px; background: var(--hgc-light); border: 1px solid var(--hgc-line); border-top: 4px solid var(--hgc-red); }
.coverage-box label { display: block; margin-bottom: 10px; font-weight: 900; }
.address-field { position: relative; }
.address-field input, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid var(--hgc-line); border-radius: 0; background: var(--hgc-white); color: var(--hgc-text); font-size: 16px; }
.address-field input:hover, .contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--hgc-muted); }
.address-field input:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--hgc-red-dark); outline: 3px solid var(--hgc-red-line); outline-offset: 0; }
.address-field small { display: block; margin-top: 8px; color: var(--hgc-muted); }
#addressStatus { min-height: 18px; color: var(--hgc-red-dark); font-weight: 700; }
.coverage-box > .button { margin-top: 24px; }
.address-results { position: absolute; z-index: 20; left: 0; right: 0; max-height: 280px; overflow: auto; background: var(--hgc-white); border: 1px solid var(--hgc-line); box-shadow: 0 14px 28px var(--hgc-shadow); }
.address-result { width: 100%; display: block; padding: 13px 15px; color: var(--hgc-text); border: 0; border-bottom: 1px solid var(--hgc-line); background: var(--hgc-white); text-align: left; cursor: pointer; }
.address-result:hover, .address-result.is-active, .address-result:focus-visible { color: var(--hgc-white); background: var(--hgc-red-dark); }

.plans-section { padding: 100px 0; color: var(--hgc-white); background: var(--hgc-charcoal); border-top: 8px solid var(--hgc-red); }
.plans-section .section-heading h2 { color: var(--hgc-white); }
.section-label.light { color: var(--hgc-white); }
.plans-section .section-heading > p { color: var(--hgc-white-soft); }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.plan-card { min-height: 365px; display: flex; flex-direction: column; padding: 28px; color: var(--hgc-text); background: var(--hgc-white); border: 1px solid var(--hgc-line); border-top: 5px solid var(--hgc-black); transition: transform .18s ease, border-color .18s ease; }
.plan-card:hover { transform: translateY(-4px); border-color: var(--hgc-red); }
.plan-card.selected { border-color: var(--hgc-red); border-top-width: 8px; box-shadow: 0 0 0 2px var(--hgc-red); }
.status-tag { align-self: flex-start; padding: 7px 9px; color: var(--hgc-black); background: var(--hgc-soft-gray); font-size: 10px; font-weight: 900; }
.plan-card.selected .status-tag { color: var(--hgc-white); background: var(--hgc-red-dark); }
.plan-card > strong { margin-top: 34px; color: var(--hgc-red); font-size: 46px; line-height: 1; }
.plan-card h3 { margin: 12px 0; }
.plan-card p { color: var(--hgc-muted); line-height: 1.6; }
.plan-card button { min-height: 48px; margin-top: auto; color: var(--hgc-white); background: var(--hgc-black); border: 1px solid var(--hgc-black); border-radius: 0; cursor: pointer; font-weight: 900; }
.plan-card button:hover, .plan-card button:focus-visible { background: var(--hgc-charcoal); }
.plan-card.selected button { color: var(--hgc-white); background: var(--hgc-red-dark); border-color: var(--hgc-red-dark); }

.process { padding: 110px 0; }
.process h2 { color: var(--hgc-black); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; }
.process-grid article { position: relative; padding: 25px; border: 1px solid var(--hgc-line); border-left: 0; }
.process-grid article:first-child { border-left: 1px solid var(--hgc-line); }
.process-grid article::before { content: ""; position: absolute; left: 25px; right: 25px; top: 55px; height: 2px; background: var(--hgc-soft-gray); }
.process-grid span { position: relative; z-index: 1; padding-right: 9px; color: var(--hgc-red-dark); background: var(--hgc-white); font-weight: 900; }
.process-grid h3 { margin-top: 50px; }
.process-grid p { color: var(--hgc-muted); line-height: 1.65; }

.use-cases { color: var(--hgc-text); background: var(--hgc-light); border-top: 1px solid var(--hgc-line); border-bottom: 1px solid var(--hgc-line); }
.use-cases-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 100px 0; }
.use-cases-copy { padding: 42px; color: var(--hgc-white); background: var(--hgc-red-dark); }
.use-cases-copy .section-label { color: var(--hgc-white); }
.use-cases-copy h2 { color: var(--hgc-white); }
.use-cases-copy > p:last-child { color: var(--hgc-white-soft); line-height: 1.8; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.use-case-grid article { min-height: 280px; padding: 28px; background: var(--hgc-white); border: 1px solid var(--hgc-line); border-left: 0; }
.use-case-grid article:first-child { border-left: 1px solid var(--hgc-line); }
.use-case-grid span { color: var(--hgc-red-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.use-case-grid h3 { margin: 70px 0 14px; font-size: 24px; }
.use-case-grid p { margin: 0; color: var(--hgc-muted); line-height: 1.75; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; padding: 110px 0; background: var(--hgc-white); }
.accordion article { border-top: 1px solid var(--hgc-line); }
.accordion article:last-child { border-bottom: 1px solid var(--hgc-line); }
.accordion button { width: 100%; min-height: 88px; display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; color: var(--hgc-black); border: 0; background: transparent; text-align: left; font-weight: 900; cursor: pointer; }
.accordion button:hover { color: var(--hgc-red-dark); }
.accordion button span, .accordion .is-open button { color: var(--hgc-red-dark); }
.accordion i { display: grid; width: 24px; height: 24px; place-items: center; color: var(--hgc-white); background: var(--hgc-red-dark); font-style: normal; font-size: 18px; transition: transform .18s ease; }
.accordion .is-open i { transform: rotate(45deg); }
.accordion article > div p { margin: 0; padding: 0 30px 28px 42px; color: var(--hgc-muted); line-height: 1.8; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; color: var(--hgc-white); background: var(--hgc-red-dark); }
.contact-copy, .contact-form { padding: 85px max(40px, calc((100vw - 1240px) / 2)); }
.contact-copy { padding-right: 70px; }
.contact-copy .section-label { color: var(--hgc-white); }
.contact-copy > p { color: var(--hgc-white-soft); line-height: 1.8; }
.notice { padding: 16px; color: var(--hgc-white) !important; border: 1px solid var(--hgc-white-line); border-left: 4px solid var(--hgc-white); }
.contact-form { padding-left: 70px; color: var(--hgc-text); background: var(--hgc-light); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; font-size: 12px; font-weight: 900; }
.contact-form label:nth-child(4) { grid-column: 1 / -1; }
.contact-form button { grid-column: 1 / -1; min-height: 58px; padding: 0 22px; color: var(--hgc-black); background: var(--whatsapp); border: 2px solid var(--whatsapp); border-radius: 0; font-weight: 900; cursor: pointer; }
.contact-form button:hover, .contact-form button:focus-visible { color: var(--hgc-white); background: var(--hgc-black); border-color: var(--hgc-black); }

footer { padding: 70px max(20px, calc((100vw - 1240px) / 2)) 30px; color: var(--hgc-white); background: var(--hgc-black); border-top: 8px solid var(--hgc-red); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 30px; }
.footer-top { padding-bottom: 45px; border-bottom: 1px solid var(--hgc-white-line); }
.footer-top strong { font-size: 20px; }
.footer-top p, .footer-bottom { color: var(--hgc-white-soft); font-size: 12px; }
.footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 45px; }
.footer-top a:hover, .footer-bottom a:hover, footer a:focus-visible { color: var(--hgc-red); }
.footer-bottom { padding-top: 25px; }
.footer-bottom div { display: flex; gap: 18px; }
.mobile-actions { display: none; }

.legal-page { min-height: 100vh; padding: 90px 20px; background: linear-gradient(90deg, var(--hgc-light) 0 10px, var(--hgc-white) 10px 100%); border-top: 7px solid var(--hgc-charcoal); }
.legal-shell { width: min(780px, 100%); margin: auto; }
.legal-back { display: inline-block; padding-bottom: 4px; color: var(--hgc-red-dark); border-bottom: 2px solid var(--hgc-red); font-weight: 900; }
.legal-back:hover { color: var(--hgc-black); }
.legal-shell h1 { color: var(--hgc-red); font-size: clamp(44px, 7vw, 72px); line-height: 1; letter-spacing: -.045em; }
.legal-shell h2 { margin-top: 40px; color: var(--hgc-black); }
.legal-shell p, .legal-shell li { color: var(--hgc-muted); line-height: 1.9; }
.legal-notice { padding: 18px; background: var(--hgc-light); border-left: 4px solid var(--hgc-red-dark); }

@media (max-width: 1100px) {
  .plan-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card:nth-child(3) { border-left: 1px solid var(--hgc-line); }
  .benefit-card:nth-child(n + 3) { border-top: 0; }
  .use-cases-shell { grid-template-columns: 1fr; gap: 36px; }
  .use-case-grid article { min-height: 240px; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; padding: 80px 0; }
  .network-visual { margin-bottom: 30px; }
  .contact { grid-template-columns: 1fr; }
  .contact-copy, .contact-form { padding: 70px max(40px, calc((100vw - 760px) / 2)); }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .site-header { border-top-width: 5px; }
  .nav-shell { width: calc(100% - 28px); min-height: 64px; }
  .logo-slot { width: 66px; height: 40px; }
  .brand-copy { padding-left: 8px; font-size: 11px; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: stretch; gap: 0; color: var(--hgc-black); background: var(--hgc-white); border-bottom: 2px solid var(--hgc-red); box-shadow: 0 12px 20px var(--hgc-shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .main-nav a:not(.nav-cta)::after { bottom: 6px; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero { background: var(--hgc-white); }
  .hero-grid, .section-shell, .strip { width: calc(100% - 32px); }
  .hero-grid { min-height: auto; gap: 42px; padding: 70px 0; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .network-visual { padding: 18px; box-shadow: 9px 9px 0 var(--hgc-red-wash); }
  .strip, .section-heading, .faq { grid-template-columns: 1fr; gap: 30px; }
  .strip, .coverage, .process, .faq { padding: 75px 0; }
  .benefits { padding: 8px 0 75px; }
  .benefit-grid, .plan-grid, .process-grid, .use-case-grid { grid-template-columns: 1fr; }
  .benefit-card, .benefit-card:nth-child(3), .use-case-grid article { min-height: auto; border-left: 1px solid var(--hgc-line); border-top: 0; }
  .benefit-card:first-child, .use-case-grid article:first-child { border-top: 1px solid var(--hgc-line); }
  .benefit-card h3, .use-case-grid h3 { margin-top: 34px; }
  .coverage-box { padding: 22px; }
  .plan-card { min-height: 310px; }
  .process-grid article { border-top: 0; border-left: 1px solid var(--hgc-line); }
  .process-grid article:first-child { border-top: 1px solid var(--hgc-line); }
  .use-cases-shell { width: calc(100% - 32px); padding: 75px 0; }
  .use-cases-copy { padding: 30px 24px; }
  .contact-copy, .contact-form { padding: 65px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(4), .contact-form button { grid-column: auto; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-bottom div { flex-wrap: wrap; }
  .mobile-actions { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--hgc-white); border-top: 1px solid var(--hgc-line); box-shadow: 0 -8px 20px var(--hgc-shadow); }
  .mobile-actions a { min-height: 48px; display: grid; place-items: center; color: var(--hgc-black); border: 1px solid var(--hgc-black); font-size: 13px; font-weight: 900; }
  .mobile-actions a:last-child { color: var(--hgc-black); background: var(--whatsapp); border-color: var(--whatsapp); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
