/* Glocareglobal — site styles
   Layout idea: navy corporate bands framing airy white content, teal for action, gold for partnership highlights. */
:root {
  --navy: #0b1f3f;
  --navy-2: #13305c;
  --teal: #0b7f80;
  --teal-dark: #086566;
  --teal-soft: #e3f3f2;
  --gold: #c8a04a;
  --gold-soft: #f7f0e0;
  --ink: #17233a;
  --muted: #56637a;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 63, .08);
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--navy); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; margin: 0 0 .4em; color: var(--navy); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 68ch; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #b38c38; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 54px; width: 54px; max-width: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: .005em; }
.brand-name .b1 { color: #0f2a6b; }
.brand-name .b2 { color: #1f8a3c; }
.brand-tag { margin-top: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 6px; border-top: 1.5px solid var(--gold); }
.brand-light .b1 { color: #ffffff; }
.brand-light .b2 { color: #5cc77a; }
.brand-light .brand-tag { color: #9fb3cf; }
.footer-brand { margin-bottom: 20px; }
.footer-brand img { background: #fff; border-radius: 50%; padding: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--teal); background: var(--teal-soft); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav .btn { margin-left: 8px; padding: 10px 18px; font-size: .88rem; }
.nav .btn[aria-current="page"] { box-shadow: none; border-radius: 999px; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 24px; height: 24px; display: block; }
@media (max-width: 1320px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; box-shadow: var(--shadow); max-height: calc(100vh - 84px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .brand img { height: 46px; width: 46px; }
  .brand-name { font-size: 1.5rem; }
}

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 20%, #1b4479 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0d2a52 100%); color: #e8eef7; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 84px 0 92px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #c9d6e8; font-size: 1.2rem; max-width: 34ch; }
.hero .eyebrow { color: var(--gold); }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 480px; justify-self: end; width: 100%; }
.hero-visual canvas { width: 100%; height: 100%; display: block; }
.hero-tags { position: absolute; inset: 0; pointer-events: none; }
.hero-tag { position: absolute; background: rgba(255,255,255,.95); color: var(--navy); font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; }
.hero-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); display: inline-block; }
.hero-tag:nth-child(1) { top: 10%; left: 0; }
.hero-tag:nth-child(2) { top: 30%; right: -2%; }
.hero-tag:nth-child(3) { bottom: 24%; left: -4%; }
.hero-tag:nth-child(4) { bottom: 6%; right: 8%; }
.hero-tag:nth-child(2) i, .hero-tag:nth-child(4) i { background: var(--gold); }
.sector-strip { background: var(--navy-2); color: #dfe8f5; }
.sector-strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sector-strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.sector-strip svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #12345f 100%); color: #d5e0ef; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(200,160,74,.35); box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 0 80px rgba(255,255,255,.02); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { color: #c3d1e6; max-width: 60ch; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #9fb3cf; }
.crumbs a { color: #cfe0f3; text-decoration: none; }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card .more::after { content: "→"; transition: transform .15s; }
.card .more:hover::after { transform: translateX(3px); }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 12px; }
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.gold { background: var(--gold-soft); color: #9a7425; }

/* Photo slots: show a photo from /images if present, otherwise a branded panel */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; background-color: var(--navy); background-size: cover; background-position: center; min-height: 220px; isolation: isolate; }
.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, var(--navy-2) 0%, var(--teal-dark) 100%); z-index: -1; }
.photo .ph-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.photo .ph-art svg { width: 30%; max-width: 110px; height: auto; opacity: .9; }
.photo .ph-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.3px); background-size: 16px 16px; }
.photo.has-photo .ph-art { display: none; }
.photo.tall { min-height: 420px; }
.photo-cap { position: absolute; left: 14px; bottom: 14px; background: rgba(11,31,63,.82); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

.sector-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sector-card .photo { border-radius: 0; min-height: 190px; }
.sector-card .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sector-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 6px 0 0; }
.tags li { background: var(--bg-soft); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--navy); }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.audience a { padding: 30px 26px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: background .15s; }
.audience a:last-child { border-right: 0; }
.audience a:hover { background: var(--teal-soft); }
.audience h3 { font-size: 1.25rem; margin: 0; }
.audience p { color: var(--muted); font-size: .94rem; margin: 0; }
.audience .num { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; }

.band { background: var(--navy); color: #d6e1f0; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(200,160,74,.22) 1.2px, transparent 1.3px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); }
.band > * { position: relative; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--gold); }
.band p { margin: 0; max-width: 58ch; }

.regions { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0; }
.regions li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.regions li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.notice { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; color: #4a3f22; }
.notice h3, .notice h4 { color: #5a4413; font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice ul { padding-left: 1.2em; margin: 0 0 1em; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

.placeholder { background: #fff6dc; border: 1px dashed #c8a04a; color: #6d5313; padding: 1px 8px; border-radius: 6px; font-weight: 600; font-size: .92em; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: .25em; }
.form-status { display: flex; gap: 10px; align-items: flex-start; background: var(--teal-soft); color: #0a4f50; border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin: 14px 0 26px; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--muted); }
.req { color: #b4232c; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #cfd8e4; border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11,127,128,.14); }
textarea { min-height: 140px; resize: vertical; }
input[type="file"] { padding: 10px; background: var(--bg-soft); }
input[type="file"]:disabled { opacity: .7; cursor: not-allowed; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; }
.checks input { width: auto; accent-color: var(--teal); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b4232c; }
.form-result { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 10px; background: var(--gold-soft); border: 1px solid #e6d3a3; color: #4a3f22; font-size: .95rem; }
.form-result.show { display: block; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; flex: none; }
.contact-list strong { display: block; color: var(--navy); }

/* Prose (privacy) */
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 28px; position: sticky; top: 110px; }
.toc ol { padding-left: 1.2em; margin: 0; font-size: .92rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--teal); }
.privacy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }

/* Footer */
.site-footer { background: #081833; color: #b7c5da; padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 12px 16px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #b7c5da; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .placeholder { background: rgba(200,160,74,.12); color: #e7cf98; border-color: rgba(200,160,74,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.footer-note { font-size: .82rem; color: #8ea0bb; margin-top: 14px; max-width: 44ch; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .audience { grid-template-columns: repeat(2, 1fr); }
  .audience a:nth-child(2) { border-right: 0; }
  .audience a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sector-strip ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner, .split, .split.wide-left, .band, .privacy-layout { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0 64px; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .band { padding: 40px 28px; }
  .section { padding: 64px 0; }
  .toc { position: static; }
  .form-card { padding: 28px 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .audience, .form-grid, .footer-grid, .sector-strip ul { grid-template-columns: 1fr; }
  .audience a { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience a:last-child { border-bottom: 0; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .hero-tag { font-size: .72rem; padding: 6px 10px; }
  .photo.tall { min-height: 280px; }
}
