/* tengasu.com — corporate, navy and gold, trustworthy */
:root {
  --navy: #0f2a4a;
  --navy-2: #163a63;
  --navy-3: #0a1f38;
  --gold: #d4a64a;
  --gold-2: #e8c172;
  --ink: #142235;
  --muted: #5b6b80;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --r: 12px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --surface: #ffffff;
  --heading: #0f2a4a;
  --accent-text: #163a63;
  --eq-bg: #e8f6ef;
  --eq-text: #1d7a52;
  --field: #f4f7fb;
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1424;
  --bg-2: #0e1b2e;
  --surface: #132339;
  --ink: #e3e9f2;
  --muted: #9aabc1;
  --line: #22364f;
  --heading: #f2f5fa;
  --accent-text: #e8c172;
  --eq-bg: rgba(43, 182, 115, .14);
  --eq-text: #6fd3a1;
  --field: #0e1b2e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.btn { display: inline-flex; justify-content: center; align-items: center; padding: .75em 1.4em; border-radius: 10px; font: 700 .95rem var(--font); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: .2s; }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-3); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-outline { border-color: var(--heading); color: var(--heading); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn:disabled { opacity: .6; }

.topline { background: var(--navy-3); color: #c9d4e3; font-size: .82rem; }
.topline-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topline a { color: var(--gold-2); text-decoration: none; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px -16px rgba(15, 42, 74, .4); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--heading); }
.logo b { color: var(--gold); }
.logo-box { width: 38px; height: 38px; border-radius: 9px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--heading); }
.header-right { display: flex; align-items: center; gap: 20px; }
.tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch button { border: 0; background: none; color: var(--muted); font: 700 .75rem var(--font); padding: 7px 9px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: var(--gold-2); }
.theme-btn { width: 36px; height: 34px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: none; color: var(--heading); cursor: pointer; }
.theme-btn:hover, .lang-switch:hover { border-color: var(--gold); }
.theme-btn .i-sun, [data-theme="dark"] .theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.3rem; width: 44px; height: 40px; cursor: pointer; color: var(--heading); }

.hero { padding: 80px 0 90px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 166, 74, .18), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); background: rgba(22, 58, 99, .08); padding: 5px 12px; border-radius: 6px; margin-bottom: 18px; }
.tag-gold { color: var(--gold-2); background: rgba(212, 166, 74, .14); }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 40px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust div { display: flex; flex-direction: column; border-left: 3px solid var(--gold); padding-left: 12px; }
.trust b { color: var(--heading); font-size: .95rem; }
.trust span { color: var(--muted); font-size: .85rem; }

.hero-card { background: var(--surface); border-radius: 18px; padding: 20px; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(15, 42, 74, .45); }
.hc-head { font-weight: 700; font-size: .9rem; color: var(--heading); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43, 182, 115, .18); }
.hc-site { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hc-nav { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: .78rem; color: var(--heading); border-bottom: 1px solid var(--line); }
.hc-nav b { flex: 1; }
.hc-nav i { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.hc-banner { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 26px 18px; }
.hc-banner p { font-weight: 700; font-size: 1.05rem; margin: 0 0 12px; max-width: 240px; line-height: 1.3; }
.hc-banner span { display: inline-block; background: var(--gold); color: var(--navy-3); font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 6px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.hc-grid i { height: 48px; border-radius: 8px; background: var(--bg-2); }
.hc-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.hc-list li { padding: 9px 12px; border-radius: 8px; background: var(--bg-2); }

.sectors { background: var(--navy); color: #c9d4e3; }
.sectors-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; padding: 20px 0; font-size: .9rem; }
.sectors b { color: #fff; font-weight: 600; }

.section { padding: 96px 0; }
.section-light { background: var(--bg-2); }
.section-navy { background: linear-gradient(160deg, var(--navy-3), var(--navy-2)); color: #fff; }
.head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.head p { color: var(--muted); font-size: 1.05rem; }
.head-left { text-align: left; margin: 0; }
.section-navy .head p, .promo .head p { color: #c9d4e3; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 28px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); border-top: 4px solid var(--navy); transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15, 42, 74, .4); border-top-color: var(--gold); }
.svc-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }

.extras { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding: 30px; border-radius: 16px; background: var(--bg-2); border: 1px dashed #c4cfdd; align-items: center; }
.extras-title h3 { font-size: 1.3rem; margin: 0; }
.extras-title .tag { margin-bottom: 10px; }
.extra { background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); height: 100%; }
.extra b { color: var(--heading); }
.extra p { color: var(--muted); font-size: .92rem; margin: 6px 0 10px; }
.extra span { font-weight: 800; color: var(--gold); }

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lead-light { color: #c9d4e3; font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 6px; background: var(--gold); color: var(--navy-3); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.panel-mock { background: var(--surface); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.pm-bar { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .85rem; }
.pm-bar span { color: #2bb673; font-weight: 600; }
.pm-body { padding: 20px; display: grid; gap: 8px; font-size: .88rem; }
.pm-body label { font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.pm-field { border: 2px solid var(--gold); border-radius: 8px; padding: 10px 12px; }
.pm-item { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.pm-item span { flex: 1; }
.pm-item em { font-style: normal; font-size: .78rem; color: var(--accent-text); font-weight: 600; }
.pm-item .del { color: #c0392b; }
.pm-add { border: 1px dashed #b7c3d3; border-radius: 8px; padding: 10px; text-align: center; color: var(--accent-text); font-weight: 600; }

.seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; width: max-content; max-width: 100%; margin: 0 auto 44px; }
.seg button { border: 0; background: none; padding: .7em 1.3em; border-radius: 8px; font: 700 .93rem var(--font); color: var(--muted); cursor: pointer; }
.seg button small { font-size: .72rem; color: var(--gold); margin-left: 4px; }
.seg button.is-active { background: var(--navy); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 34px 28px; }
.plan-hl { border: 2px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(15, 42, 74, .45); }
.flag { position: absolute; top: -14px; right: 24px; background: var(--gold); color: var(--navy-3); font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.flag-navy { background: var(--navy); color: #fff; }
.plan h3 { font-size: 1.5rem; margin: 0; color: var(--heading); }
.plazo { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.price { margin: 0; font-weight: 800; color: var(--heading); line-height: 1; }
.price small { font-size: 1rem; vertical-align: top; margin-right: 4px; }
.price span { font-size: 3.2rem; }
.per { color: var(--muted); font-weight: 600; margin: 6px 0 0; }
.eq { margin: 14px 0 20px; font-size: .88rem; font-weight: 600; color: var(--eq-text); background: var(--eq-bg); border-radius: 8px; padding: 8px 10px; min-height: 2.9em; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: .95rem; }
.plan li::before { content: '✔'; position: absolute; left: 0; color: var(--gold); }
.plan li small { color: var(--muted); }
.fine { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 28px; }

.promo { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.promo::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 22px); }
.promo .wrap { position: relative; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo-card { padding: 32px 28px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); }
.promo-card-hl { background: var(--surface); color: var(--ink); border-color: #fff; transform: scale(1.03); }
.pc-off { display: inline-block; font-weight: 800; font-size: 1.1rem; background: var(--gold); color: var(--navy-3); padding: 4px 12px; border-radius: 8px; margin-bottom: 14px; }
.pc-term { color: #c9d4e3; font-weight: 600; }
.promo-card-hl .pc-term, .promo-card-hl .pc-txt { color: var(--muted); }
.pc-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.pc-price s { opacity: .65; }
.pc-price b { font-size: 2.3rem; font-weight: 800; }
.promo-card-hl .pc-price b { color: var(--heading); }
.pc-txt { color: #c9d4e3; font-size: .95rem; min-height: 3em; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process li { padding: 26px; border-radius: var(--r); background: var(--bg-2); position: relative; }
.process b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 800; margin-bottom: 16px; }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '▾'; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p { color: var(--muted); margin: 10px 0 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-info { margin-top: 30px; display: grid; gap: 14px; }
.contact-info p { margin: 0; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 10px; background: rgba(255, 255, 255, .06); border-left: 3px solid var(--gold); }
.contact-info b { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); }
.form { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--heading); }
.form input, .form select, .form textarea { width: 100%; padding: .8em .95em; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink); background: var(--field); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 166, 74, .25); background: var(--surface); }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-size: .92rem; }
.form-status.is-ok { color: #1d7a52; }
.form-status.is-error { color: #c0392b; }

.footer { background: var(--navy-3); color: #c9d4e3; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.footer .logo { color: #fff; }
.footer p { margin: 0; font-size: .88rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.promo-card-hl.reveal.is-visible { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .header-right { gap: 10px; }
}
@media (max-width: 1000px) {
  .hero-grid, .panel-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services, .process { grid-template-columns: 1fr 1fr; }
  .plans, .promo-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .promo-card-hl, .promo-card-hl.reveal.is-visible { transform: none; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .topline-inner { font-size: .76rem; }
  .trust, .services, .process, .form .row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .form { padding: 24px; }
  .seg button { padding: .6em .8em; font-size: .85rem; }
}
@media (max-width: 440px) {
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo-box { width: 32px; height: 32px; }
  .tools { gap: 6px; }
  .lang-switch button { padding: 6px 7px; }
  .theme-btn { width: 32px; }
  .nav-toggle { width: 38px; }
}

/* Dark theme details */
[data-theme="dark"] .header { box-shadow: 0 6px 20px -16px #000; }
[data-theme="dark"] .hero::after { background: radial-gradient(circle, rgba(212, 166, 74, .1), transparent 70%); }
[data-theme="dark"] .tag { background: rgba(232, 193, 114, .1); }
[data-theme="dark"] .extras { border-color: var(--line); }
[data-theme="dark"] .service { border-top-color: var(--gold); }
[data-theme="dark"] .promo-card-hl { border-color: var(--gold); }
[data-theme="dark"] .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
[data-theme="dark"] .sectors, [data-theme="dark"] .promo { background: #0d2240; }
