:root {
  --navy: #16324a;
  --navy-dark: #0e2233;
  --red: #c8432a;
  --red-dark: #a3341f;
  --cream: #fbf3e8;
  --bg: #fffdf9;
  --text: #1c1a17;
  --muted: #6b6459;
  --line: #ece3d4;
  --max-width: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin: .3rem 0 1.8rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; }
p { color: var(--text); }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.center { text-align: center; }
img { max-width: 100%; display: block; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: -4px; }

.variant-tag { display: block; text-align: center; background: var(--navy-dark); color: #fbf3e8; font-size: .78rem; padding: .5rem; letter-spacing: .03em; }

.label { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--red); font-weight: 800; margin-bottom: .9rem; display: block; }
.label.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,253,249,.92); backdrop-filter: blur(8px); border-bottom: 2px solid var(--text); z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1rem; padding: .65rem 1.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { height: 52px; width: auto; display: block; }
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { display: flex; gap: 1.7rem; list-style: none; }
.nav-desktop a { font-weight: 700; font-size: .92rem; padding-bottom: 3px; border-bottom: 3px solid transparent; }
.nav-desktop a.active, .nav-desktop a:hover { border-color: var(--red); }
a.header-cta { display: none; margin-left: .5rem; }
.burger { margin-left: auto; background: none; border: none; width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.burger span { width: 22px; height: 3px; background: var(--text); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; background: var(--bg); border-top: 2px solid var(--text); padding: 1rem 1.25rem 1.5rem; }
.nav-mobile.open { display: flex; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
.nav-mobile a { display: block; padding: .7rem .2rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.nav-mobile a.active { color: var(--red); }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  a.header-cta { display: inline-flex; }
  .burger { display: none; }
  .brand-logo { height: 58px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 800; font-size: .95rem; border: 2.5px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; }
.btn-dot { background: var(--red); color: #fff; }
.btn-dot:hover { background: var(--red-dark); }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-dark); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-light { background: #fff; color: var(--navy-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }

/* Hero */
.hero { padding: 2.6rem 0 0; }
.hero-grid { display: grid; gap: 2rem; }
.hero-sub { font-size: 1.08rem; color: var(--muted); margin: 1.2rem 0 1.8rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.hero-cta.center { justify-content: center; }
@media (min-width: 640px) { .hero-cta { justify-content: flex-start; } .hero-cta.center { justify-content: center; } }
.hero-photo-wrap { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 3px solid var(--text); }
.sticker { position: absolute; bottom: -18px; left: -14px; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; padding: .6rem 1rem; border-radius: 999px; border: 3px solid var(--bg); transform: rotate(-4deg); }

.page-hero { background: var(--navy); color: #fff; padding: 2.8rem 0 2.6rem; }
.page-hero h1 { color: #fff; }
.page-hero .label { color: #ffb199; }

@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; } .hero-photo { aspect-ratio: 4/5; } }

/* Badge strip */
.badge-strip { background: var(--navy); color: #fff; padding: 1.1rem 0; margin-top: 2.6rem; }
.badge-strip-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; }
.rating-tag { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.rating-tag .muted { color: #b9c8d6; }
.stars { display: flex; gap: 2px; }
.star-ic { width: 16px; height: 16px; fill: #f2b84b; stroke: #f2b84b; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pill { background: rgba(255,255,255,.12); border-radius: 999px; padding: .4rem .9rem; font-size: .82rem; font-weight: 700; }
.cert-logo-strip { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.15); text-align: center; }
.cert-logo-label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #b9c8d6; margin-bottom: .8rem; font-weight: 700; }
.cert-logo-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.cert-logo-row img { height: 28px; width: auto; object-fit: contain; background: #fff; border-radius: 6px; padding: 5px 8px; }

/* Sections */
.section { padding: 3.6rem 0; }
.center-cta { text-align: center; margin-top: 2.2rem; }

/* TOC-style services */
.toc-list { max-width: 820px; margin: 0 auto; border-top: 3px solid var(--text); }
.toc-row { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.toc-num { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: var(--red); font-size: 1.1rem; }
.toc-title { font-weight: 700; font-size: 1.05rem; grid-column: 2; }
.toc-text { grid-column: 2; color: var(--muted); font-size: .92rem; margin-top: .3rem; }
@media (min-width: 720px) {
  .toc-row { grid-template-columns: 60px 260px 1fr; align-items: center; }
  .toc-title, .toc-text { grid-column: auto; margin-top: 0; }
}

/* Case-study project rows */
.case-section { padding-top: 0; }
.case-section .label, .case-section h2 { margin-top: 3.6rem; }
.case-stack { display: flex; flex-direction: column; }
.case-row { display: grid; grid-template-columns: 1fr; }
.case-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; padding: .35rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.case-body { padding: 2rem 1.5rem; background: var(--cream); }
.case-num { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.4rem; font-weight: 800; color: rgba(22,50,74,.15); display: block; line-height: 1; margin-bottom: .3rem; }
.case-place { display: block; color: var(--red); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin: .2rem 0 .8rem; }
.case-body p { color: var(--muted); font-size: .95rem; }
@media (min-width: 780px) {
  .case-row { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .case-row.flip .case-media { order: 2; }
  .case-row.flip .case-body { order: 1; }
  .case-media { aspect-ratio: auto; }
  .case-body { display: flex; flex-direction: column; justify-content: center; padding: 3rem 3.2rem; }
}

.quote-section { background: var(--navy); color: #fff; }
.quote-section h2 { color: #fff; }
.quote-stack { display: flex; flex-direction: column; gap: 1.8rem; max-width: 760px; margin: 0 auto; }
.poster-quote { text-align: center; }
.qmark { font-family: "Bricolage Grotesque", sans-serif; font-size: 3.4rem; color: var(--red); display: block; line-height: .6; margin-bottom: .6rem; }
.poster-quote p { color: #eef2f6; font-size: 1.15rem; font-weight: 500; }
.poster-name { margin-top: .9rem; font-weight: 700; font-size: .88rem; color: #fff; }
.poster-name .muted { color: #b9c8d6; }

.cta-block { background: var(--red); color: #fff; padding: 3.6rem 0; }
.cta-block-inner { text-align: center; }
.cta-block-inner h2 { color: #fff; margin-bottom: 1.8rem; }

.two-col { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.about-text p { margin-bottom: 1.1rem; max-width: 62ch; }
.team-wrap { display: flex; flex-direction: column; gap: 1.4rem; }
.team-wrap.row { flex-direction: column; }
@media (min-width: 480px) { .team-wrap.row { flex-direction: row; gap: 1rem; } }
.team-block { background: var(--cream); border: 2px solid var(--text); border-radius: 20px; padding: 1.6rem; text-align: center; flex: 1; }
.avatar-big { width: 62px; height: 62px; border-radius: 50%; background: var(--navy); color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto .7rem; }
.team-block a { color: var(--red); font-weight: 800; }

/* Certification cards — centered per feedback */
.grid { display: grid; gap: 1.3rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.cred-section { background: var(--navy); color: #fff; }
.cred-section h2 { color: #fff; }
.cred-list { display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.15); }
.cred-row { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 1.8rem 1rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.cred-logo { width: 100%; max-width: 160px; height: 72px; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: .6rem; }
.cred-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cred-row-text h3 { color: #fff; }
.cred-row-text p { color: #c9d6e2; font-size: .9rem; }
@media (min-width: 640px) {
  .cred-row { flex-direction: row; text-align: left; gap: 1.6rem; padding: 1.6rem .5rem; }
  .cred-row-text { flex: 1; }
}

.info-row { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; font-weight: 600; }
.info-row svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.map-embed { border: 2px solid var(--text); border-radius: 18px; overflow: hidden; margin-top: 1rem; }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form { background: var(--cream); border: 2px solid var(--text); border-radius: 20px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 700; font-size: .88rem; }
.contact-form input, .contact-form textarea { border: 2px solid var(--line); border-radius: 12px; padding: .7rem .9rem; font-family: inherit; font-size: .95rem; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); }

/* Footer */
.site-footer { background: var(--text); color: #d8d2c6; padding: 3rem 0 6rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { height: 44px; width: auto; margin-bottom: .7rem; filter: brightness(0) invert(1); }
.site-footer .label { color: #f2b199; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: .3rem 0; font-size: .92rem; color: #d8d2c6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.4rem; display: flex; flex-direction: column; gap: .4rem; font-size: .78rem; color: #a89f8f; }
.footer-bottom p { color: #a89f8f; }
.tind-note a { color: #a89f8f; text-decoration: underline; }

/* Mobile CTA */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; font-weight: 800; z-index: 60; }
.mobile-cta-bar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }
