/* D-Crossing corporate site */
:root {
  --navy-950: #080a2e;
  --navy-900: #0c0e3c;
  --navy-800: #12156a;
  --navy: #171a6b;
  --indigo-100: #e6e8f6;
  --indigo-50: #f3f4fb;
  --ink: #1c2033;
  --muted: #586078;
  --line: #e2e5f0;
  --gold: #a9824f;
  --gold-text-dark: #cbb082;
  --gold-btn: #cbb082;
  --gold-btn-hover: #bfa06d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 14, 60, .08);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --stripes: repeating-linear-gradient(115deg, rgba(255, 255, 255, .055) 0 16px, transparent 16px 38px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.85; background: #fff; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-btn); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.45; letter-spacing: .02em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 12px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 48px); }
.section { padding: 96px 0; }
.section--soft { background: var(--indigo-50); }
.section--tight { padding: 64px 0; }
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }

/* type helpers */
.eyebrow { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.eyebrow--light { color: var(--gold-text-dark); }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); color: var(--navy-900); }
.section-head p { margin: 0; color: var(--muted); }
.lead { font-size: 17px; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 6px 20px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 12px 32px; font-size: 16px; }
.btn--gold { background: var(--gold-btn); border-color: var(--gold-btn); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-btn-hover); border-color: var(--gold-btn-hover); color: var(--navy-900); }
.btn--ghost { background: #fff; color: var(--navy); }
.btn--ghost:hover { background: var(--indigo-50); color: var(--navy); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: " →"; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.site-logo img { display: block; width: 180px; height: auto; }
.site-nav ul, .site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--navy); border-bottom-color: var(--gold-btn); }
.site-menu { display: none; position: relative; }
.site-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-menu[open] summary span:nth-child(2) { opacity: 0; }
.site-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-menu nav { position: fixed; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 24px 20px; }
.site-menu nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-menu { display: block; }
  .site-logo img { width: 156px; }
}

/* home hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 10%, #1d2180 0%, transparent 60%), linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 70%); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 52%; background: var(--stripes); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 96px 0 104px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.3; letter-spacing: .03em; }
.hero__lead { margin: 0 0 34px; color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 34em; }
.hero__product { position: relative; display: block; text-decoration: none; color: inherit; }
.hero__product img { display: block; width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.hero__badge { position: absolute; left: 4%; bottom: -6px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--navy-900); font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.hero__badge img { width: 92px; filter: none; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 40px; }
  .hero::before { inset: 40% 0 0 0; }
}

/* page hero (sub pages) */
.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); padding: 36px 0 64px; }
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 60%; background: var(--stripes); -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); mask-image: linear-gradient(90deg, transparent, #000 50%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); }
.page-hero__lead { margin: 16px 0 0; max-width: 46em; color: rgba(255, 255, 255, .82); }
.page-hero .eyebrow { color: var(--gold-text-dark); margin-top: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.layout-legal .page-hero { padding-bottom: 48px; }

/* cards & grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 10px rgba(12, 14, 60, .04); }
.card h3 { margin: 0 0 10px; font-size: 19px; color: var(--navy-900); }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.card ul { margin: 4px 0 16px; padding-left: 1.2em; color: var(--ink); font-size: 14.5px; }
.card ul li { margin: 4px 0; }
.card .text-link { margin-top: auto; }
a.card { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--indigo-100); color: inherit; }
.card__no { font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--gold); margin: 0 0 6px; }
.tag { display: inline-block; margin: 0 6px 10px 0; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--indigo-50); color: var(--navy); }
.tag--defend { background: #f6efe4; color: #7d5a2c; }

/* axis cards (consulting) */
.axis { border-top: 4px solid var(--navy); }
.axis--defend { border-top-color: var(--gold-btn); }
.axis__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; background: var(--indigo-50); color: var(--navy); font-size: 22px; font-weight: 800; }
.axis--defend .axis__icon { background: #f6efe4; color: #7d5a2c; }

/* ARROZ feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } }
.feature__logo { width: 210px; margin-bottom: 18px; }
.feature h2 { margin: 0 0 18px; font-size: clamp(24px, 3vw, 34px); color: var(--navy-900); }
.flow { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: flow; }
.flow li { position: relative; padding: 14px 8px 12px; border-radius: 10px; background: var(--indigo-50); text-align: center; font-size: 13.5px; font-weight: 700; color: var(--navy-900); line-height: 1.4; }
.flow li small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 6px; height: 10px; transform: translateY(-50%); background: var(--gold-btn); clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (max-width: 640px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li::after { display: none; } }
.shot { border-radius: var(--radius); background: var(--indigo-50); padding: 18px; }
.shot img { display: block; width: 100%; }

/* strengths */
.strength { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.strength__no { font-size: 34px; font-weight: 800; color: var(--indigo-100); line-height: 1; font-family: Georgia, "Times New Roman", serif; }
.strength h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy-900); }
.strength p { margin: 0; color: var(--muted); font-size: 15px; }

/* product list rows */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.product:last-child { border-bottom: 0; }
.product img { border-radius: 12px; border: 1px solid var(--line); }
.product h3 { margin: 0 0 4px; font-size: 21px; color: var(--navy-900); }
.product__cat { margin: 0 0 12px; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.product p { color: var(--muted); }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 16px; } }

/* pains list */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pains li { position: relative; padding: 14px 16px 14px 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.pains li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); border-radius: 50%; border: 2px solid var(--gold-btn); }
@media (max-width: 640px) { .pains { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: "STEP " counter(step, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.steps strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14px; }

/* note */
.note { margin-top: 24px; padding: 16px 20px; border-radius: 10px; background: var(--indigo-50); color: var(--muted); font-size: 14px; }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 26%; color: var(--navy-900); font-weight: 700; background: var(--indigo-50); }
@media (max-width: 640px) { .table th, .table td { display: block; width: 100%; } .table th { padding-bottom: 6px; border-bottom: 0; } .table td { padding-top: 6px; } }

/* prose (legal etc.) */
.prose h2 { margin: 48px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 20px; color: var(--navy-900); }
.prose h3 { margin: 32px 0 8px; font-size: 17px; color: var(--navy-900); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 4px 0; }
.legal-date { margin-top: 48px; color: var(--muted); font-size: 14px; text-align: right; }

/* contact form */
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
@media (max-width: 640px) { .form-card { padding: 24px 18px; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); }
.cta-band::before { content: ""; position: absolute; inset: 0 0 0 65%; background: var(--stripes); -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); mask-image: linear-gradient(90deg, transparent, #000 50%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 0; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 900px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .75); font-size: 14px; border-top: 3px solid var(--gold-btn); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding: 64px 0 40px; }
.site-footer__brand img { width: 170px; margin-bottom: 14px; }
.site-footer__brand p { margin: 0 0 12px; }
.site-footer__addr { font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, .55); }
.site-footer__h { margin: 0 0 12px; color: #fff; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer a:hover { color: var(--gold-text-dark); }
.site-footer__bottom { padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-24 { margin-top: 24px; }
.note--top { margin: 0 0 32px; }

h1, h2, h3, .lead, .hero__lead, .page-hero__lead { text-wrap: balance; }
.price { margin: 20px 0 6px; font-size: 22px; font-weight: 800; color: var(--navy-900); }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price-note { margin: 0; font-size: 13px; color: var(--muted); }
