:root {
  /* TPS brand palette: #081765 navy, #0525CF blue, #252525 ink, #D60909 red, #FFFFFF white */
  --navy: #081765;
  --navy-2: #0d2080;      /* lighter navy for cards on navy */
  --navy-3: #12299a;      /* hero glow */
  --navy-deep: #050f45;   /* footer */
  --accent: #0525cf;
  --accent-hover: #2a47e0;
  --accent-soft: #aab8ff; /* accent for text on navy */
  --red: #d60909;
  --white: #ffffff;
  --ink: #252525;
  --slate: #5c5c66;
  --slate-light: #8b8b95;
  --tint: #f3f5fd;        /* light section background, tint of the brand blue */
  --line: #dde2f3;
  --error: #d60909;
  --wa: #1f8f4e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(8, 23, 101, .06), 0 8px 24px rgba(8, 23, 101, .10);
  --display: "Josefin Sans", "Century Gothic", "Futura", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0; }
p { margin: 0; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn-glass { color: var(--white); background: linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .30); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-glass:hover { background: linear-gradient(135deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .10)); }
.btn-whatsapp { background: var(--wa); color: var(--white); }
.btn-whatsapp:hover { background: #187a42; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 23, 101, .84); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: rgba(8, 23, 101, .97); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.header-tools { display: flex; align-items: center; gap: 8px; order: 3; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); min-width: 0; }
.brand-mark { width: 36px; height: 44px; color: var(--white); flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a:not(.btn) { text-decoration: none; font-size: 15px; color: rgba(255, 255, 255, .85); }
.site-nav a:not(.btn):hover { color: var(--accent-soft); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex: none; }
.nav-toggle .bar { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .btn { margin-top: 16px; }
}
@media (max-width: 400px) { .brand-text { font-size: 13px; } }

/* Hero */
.hero { background: linear-gradient(160deg, #0a1c7a 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--white); margin-top: -69px; padding: 141px 0 72px; position: relative; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .85; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--accent-soft); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 300; line-height: 1.12; }
.hero .lead { margin: 22px 0 0; max-width: 560px; font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-contact { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; }
.hero-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255, 255, 255, .85); text-decoration: none; word-break: break-all; }
.hero-contact a:hover { color: var(--accent-soft); }
.hero-contact .icon { width: 18px; height: 18px; color: var(--accent-soft); flex: none; }
@media (max-width: 520px) {
  .hero { padding: 117px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .hero-contact { flex-direction: column; align-items: center; gap: 0; }
}

/* Sections */
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .eyebrow { color: var(--accent-soft); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 46px); color: var(--navy); }
.section-navy .section-head h2 { color: var(--white); }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--slate); font-size: 17px; }
.section-navy .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, .75); }

/* Services */
.categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .categories { grid-template-columns: 1fr; } }
.category { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.category-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.cat-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--navy); color: var(--accent-soft); flex: none; }
.category-head h3 { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--navy); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service { padding: 18px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; padding-bottom: 0; }
.service h4 { font-size: 17px; font-weight: 600; color: var(--navy); }
.service p { margin-top: 6px; color: var(--slate); font-size: 15px; }
.service-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 44px; font-weight: 600; font-size: 14px; color: var(--accent); text-decoration: none; }
.service-cta:hover { color: var(--navy); }
.cta-arrow { width: 16px; height: 16px; transition: transform .2s; }
.service-cta:hover .cta-arrow { transform: translateX(3px); }
.category-help { grid-column: 1 / -1; color: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.category-help h3 { font-family: var(--display); font-size: 26px; font-weight: 600; flex-basis: 100%; }
.category-help p { color: rgba(255, 255, 255, .78); flex: 1 1 320px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .help-actions, .help-actions .btn { width: 100%; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-radius: 20px; padding: 28px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.steps h3 { font-size: 18px; color: var(--navy); }
.steps p { margin-top: 8px; color: var(--slate); font-size: 15px; }

/* Inquiry */
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .inquiry-grid { grid-template-columns: 1fr; gap: 32px; } }
.inquiry-intro h2 { font-size: clamp(32px, 4.6vw, 46px); color: var(--navy); }
.inquiry-intro > p:not(.eyebrow) { margin-top: 14px; color: var(--slate); font-size: 17px; }
.notice { display: flex; gap: 12px; margin-top: 28px; padding: 18px; background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; font-size: 14px; color: var(--slate); }
.notice svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .form-card { padding: 22px 18px; } }
.field { margin-bottom: 20px; }
.field label, .field-group legend { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.field-group legend { padding: 0; }
.field-group .field { margin-bottom: 0; }
.field-group .field label { font-weight: 500; color: var(--slate); }
.hint { display: block; font-weight: 400; color: var(--slate); font-size: 13px; margin-top: 2px; }
.req { color: var(--red); }
.optional { font-weight: 400; color: var(--slate-light); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
@media (max-width: 520px) { .two-col { grid-template-columns: 1fr; } }
input, select, textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid #cfd5ea; border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6676' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(5, 37, 207, .25); }
[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-size: 13px; margin-top: 6px; min-height: 0; }
.error:empty { display: none; }
.counter { text-align: right; font-size: 12px; color: var(--slate-light); margin-top: 4px; }
.form-footnote { margin-top: 12px; font-size: 13px; color: var(--slate); text-align: center; }
.handoff:focus { outline: none; }
.handoff h3 { font-family: var(--display); font-size: 28px; color: var(--navy); }
.handoff > p { margin-top: 8px; color: var(--slate); font-size: 15px; }
.preview { margin: 18px 0; padding: 16px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; font: 14px/1.55 var(--sans); white-space: pre-wrap; word-break: break-word; color: var(--ink); max-height: 260px; overflow: auto; }
.handoff-actions { display: grid; gap: 10px; }
.handoff-note { margin-top: 14px; font-size: 13px; color: var(--slate); }
.handoff-note a { color: var(--navy); font-weight: 600; word-break: break-all; }
.link-btn { margin-top: 14px; background: none; border: 0; padding: 8px 0; min-height: 44px; font: 600 14px var(--sans); color: var(--accent); cursor: pointer; }
.link-btn:hover { color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.contact-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; border: 1.5px solid var(--accent); color: var(--accent-soft); margin-bottom: 18px; }
.contact-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); font-weight: 600; }
.contact-value { margin-top: 6px; font-size: 18px; font-weight: 600; word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
@media (max-width: 520px) { .contact-actions .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 36px 0; font-size: 14px; }
.footer-inner { display: grid; gap: 8px; text-align: center; justify-items: center; }
.footer-mark { width: 28px; height: 35px; color: var(--white); opacity: .85; margin-bottom: 6px; }
.footer-inner strong { color: var(--white); }
.footer-links a { color: var(--accent-soft); text-decoration: none; display: inline-block; padding: 6px 2px; word-break: break-all; }
.footer-links a:hover { text-decoration: underline; }
.small { font-size: 12px; color: rgba(255, 255, 255, .5); }
.noscript { background: var(--navy); color: var(--white); padding: 14px 16px; text-align: center; font-weight: 600; }

/* ---------- Liquid glass ---------- */
.glass, .glass-dark, .glass-light { position: relative; isolation: isolate; }
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, .12) 100%);
  border: 1px solid rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(2, 8, 50, .35);
  color: var(--white);
}
.glass-dark {
  background: linear-gradient(145deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .04) 60%, rgba(170, 184, 255, .08) 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 20px 50px rgba(2, 8, 50, .30);
}
.glass-light {
  background: linear-gradient(145deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .55) 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(8, 23, 101, .05), 0 16px 40px rgba(8, 23, 101, .10);
}
/* specular sheen across the top edge */
.glass::before, .glass-dark::before, .glass-light::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .35), transparent 55%);
  opacity: .7;
}
.glass-light::before { background: radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, .9), transparent 60%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(30, 48, 146, .85); }
  .glass-dark { background: var(--navy-2); }
  .glass-light { background: var(--white); }
}

/* Background orbs */
.hero-bg, .section-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; }
.orb-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, #0525cf, transparent 70%); }
.orb-2 { width: 380px; height: 380px; left: -140px; bottom: -160px; background: radial-gradient(circle, #2a47e0, transparent 70%); opacity: .55; }
.orb-3 { width: 220px; height: 220px; right: 18%; bottom: 6%; background: radial-gradient(circle, rgba(214, 9, 9, .55), transparent 70%); opacity: .35; }
.section-glassy { position: relative; isolation: isolate; overflow: hidden; }
.orb-a { width: 420px; height: 420px; left: -120px; top: -80px; background: radial-gradient(circle, rgba(5, 37, 207, .28), transparent 70%); }
.orb-b { width: 360px; height: 360px; right: -100px; bottom: -120px; background: radial-gradient(circle, rgba(42, 71, 224, .22), transparent 70%); }
.orb-c { width: 480px; height: 480px; left: -160px; top: -140px; background: radial-gradient(circle, #0525cf, transparent 70%); opacity: .6; }
.orb-d { width: 300px; height: 300px; right: -60px; bottom: -80px; background: radial-gradient(circle, rgba(214, 9, 9, .5), transparent 70%); opacity: .3; }

/* Language switch */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; gap: 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.lang-switch button { min-width: 40px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .8); font: 600 12px/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button:hover { color: var(--white); }
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(2, 8, 50, .3); }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 600 / 520; width: 100%; max-width: 560px; justify-self: end; }
.skyline { position: absolute; inset: auto 0 0 0; width: 100%; height: 92%; }
.glass-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 18px; font-size: 14px; font-weight: 600; white-space: nowrap; animation: float 7s ease-in-out infinite; }
.gc-icon { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: rgba(255, 255, 255, .92); color: var(--accent); flex: none; box-shadow: 0 4px 10px rgba(2, 8, 50, .25); }
.gc-1 { left: 0; top: 14%; }
.gc-2 { right: 0; top: 30%; animation-delay: -2s; }
.gc-3 { left: 4%; top: 56%; animation-delay: -4s; }
.gc-4 { right: 6%; top: 74%; animation-delay: -1s; }
.glass-chip { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .08em; }
.glass-chip span { padding: 8px 12px; border-radius: 999px; }
.glass-chip { padding: 9px 16px; gap: 0; color: rgba(255, 255, 255, .9); }
.glass-chip span { padding: 0; }
.glass-chip span + span::before { content: "·"; margin: 0 8px; opacity: .6; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .glass-card { animation: none; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-contact { justify-content: center; }
  .hero-visual { justify-self: center; max-width: 520px; }
}
@media (max-width: 520px) {
  .glass-card { font-size: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; gap: 8px; }
  .gc-icon { width: 28px; height: 28px; padding: 6px; border-radius: 9px; }
  .gc-1 { top: 18%; } .gc-2 { top: 44%; }
  .gc-3, .gc-4 { display: none; }
  .glass-chip { top: 2%; }
}

/* Header layout with the language switch */
@media (max-width: 1040px) {
  .header-tools { margin-left: auto; }
}
@media (max-width: 400px) {
  .brand-text { display: none; }
}

/* About / founder */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.founder { position: relative; margin: 0 0 28px; max-width: 440px; width: 100%; justify-self: center; }
.founder-backdrop { position: absolute; inset: 28px -28px -28px 28px; border-radius: 32px; background: linear-gradient(150deg, var(--accent) 0%, var(--navy) 70%); overflow: hidden; }
.founder-backdrop::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -15%; bottom: -15%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 9, 9, .45), transparent 70%); filter: blur(20px); }
.founder-watermark { position: absolute; width: 46%; right: 6%; top: 8%; color: rgba(255, 255, 255, .10); }
.founder-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(8, 23, 101, .30); border: 1px solid rgba(255, 255, 255, .6); }
.founder-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.founder-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); background: linear-gradient(180deg, transparent 60%, rgba(8, 23, 101, .45)); pointer-events: none; }
.founder-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; }
.founder-caption-mark { width: 22px; height: 28px; flex: none; }
.founder-caption strong { display: block; font-size: 16px; }
.founder-caption strong[hidden] { display: none; }
.founder-caption span span { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.about-copy h2 { font-size: clamp(32px, 4.6vw, 46px); color: var(--navy); }
.about-copy p:not(.eyebrow) { margin-top: 16px; color: var(--slate); font-size: 17px; max-width: 520px; }
.about-copy .btn { margin-top: 28px; }
@media (max-width: 900px) { .about-copy { text-align: center; } .about-copy p:not(.eyebrow) { margin-left: auto; margin-right: auto; } }
@media (max-width: 520px) { .founder-backdrop { inset: 18px -12px -18px 12px; } .about-copy .btn { width: 100%; } }

/* "Not sure" card sits on a white section, so it needs its own navy base under the glass sheen */
.category.category-help.glass-dark {
  background:
    radial-gradient(120% 140% at 100% 100%, rgba(5, 37, 207, .55), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0b1f86 100%);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 50px rgba(8, 23, 101, .25);
}

/* With an odd number of service groups, the help card fills the empty slot beside the last one */
.categories > .category-help:nth-child(even) { grid-column: auto; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; }
.categories > .category-help:nth-child(even) h3 { flex-basis: auto; }
.categories > .category-help:nth-child(even) p { flex: none; }
