/* =========================================================
   OptiTech Solutionz — main stylesheet
   Colours are taken from the logo and live in :root.
   The site is intentionally calm: no animations, colour used sparingly.
   ========================================================= */
:root {
  /* Logo blues */
  --brand: #1558D6;        /* buttons, highlights */
  --brand-dark: #0E45AA;   /* "SOLUTION" blue: links and accent text on white */
  --brand-tint: #EAF1FC;   /* very light blue backgrounds */
  --brand-light: #8DB8FF;  /* accent text on navy */
  --navy: #0B1B3A;
  --navy-deep: #071228;

  /* Emblem colours: used only for the thin stripe under the header */
  --emblem-yellow: #F4BF26;
  --emblem-cyan: #1BC6ED;
  --emblem-purple: #9E3FDF;
  --emblem-pink: #F3379A;

  --ink: #0F172A;
  --muted: #5B6476;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(11, 27, 58, .06);
  --header-h: 79px; /* 76px bar + 3px stripe */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.hidden { display: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1180px, 100% - 64px); } }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .8rem;
}
.accent { color: var(--brand-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  min-height: 48px; /* comfortable touch target */
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-tint); }
.btn-sm { padding: .5rem 1.1rem; min-height: 40px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
/* White header so the logo (which has a white background) sits cleanly.
   The thin stripe on top uses the four colours from the logo's emblem. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line);
  padding-top: 3px;
}
.site-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    var(--emblem-pink) 0 25%, var(--emblem-purple) 25% 50%,
    var(--emblem-yellow) 50% 75%, var(--emblem-cyan) 75% 100%);
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(11, 27, 58, .08); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--navy); border-bottom-color: var(--brand); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem 16px 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(11, 27, 58, .1);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 1rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a[aria-current="page"]:not(.btn) { color: var(--brand-dark); border-bottom-color: var(--line); }
  .site-nav .btn { margin-top: 1.2rem; }
  .brand img { height: 46px; }
}

/* ---------- Home hero ---------- */
.hero {
  background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center; }
.hero .eyebrow { color: var(--brand-light); }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.8); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255,255,255,.78); font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--brand-light); font-weight: 800; margin-right: .45rem; }

/* Quick-contact card on the right of the hero */
.hero-panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem; }
.hero-panel h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.hero-panel > p { color: var(--muted); font-size: .95rem; }
.hero-contact { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .7rem; }
.hero-contact li { display: flex; align-items: center; gap: .7rem; }
.hero-contact span { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-dark); }
.hero-contact a { font-weight: 600; overflow-wrap: anywhere; }
.hero-contact a:hover { color: var(--brand-dark); }

@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-panel { max-width: 480px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Inner page banner ---------- */
.page-hero {
  background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(2.5rem, 6vw, 4rem);
}
.page-hero .container { max-width: 760px; text-align: center; }
.page-hero .eyebrow { color: var(--brand-light); }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.page-hero p:last-child { color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.6vw, 1.12rem); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .eyebrow { color: var(--brand-light); }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head:last-child { margin-bottom: 0; }

/* Links like "See all services →" */
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--brand-dark); }
.link-arrow::after { content: "→"; }
.link-arrow:hover { text-decoration: underline; }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
a.card { display: block; color: inherit; }
a.card:hover { border-color: var(--brand); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.2rem;
  display: grid; place-items: center; background: var(--brand-tint);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
.why { padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); }
.why strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.2; margin-bottom: .6rem; color: var(--navy); }
.why p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-grid > div > p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.checklist li { position: relative; padding-left: 2.2rem; color: var(--muted); }
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .1rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800;
}
.values { display: grid; gap: 1.2rem; }
.value { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; border: 1px solid var(--line); border-left: 4px solid var(--brand); }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; }
.step-num { display: inline-block; font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; color: var(--brand); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; max-width: 900px; margin: 0 auto; }
.tags span { padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-weight: 600; }

/* ---------- Call to action ---------- */
.cta-section { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 5vw, 3rem); border-radius: var(--radius);
  background: var(--brand-tint); border: 1px solid #D3E1F8;
}
.cta h2 { margin-bottom: .3rem; color: var(--navy); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .cta .btn { width: 100%; } }

/* ---------- Services page detail ---------- */
.service-list { display: grid; gap: 1.5rem; }
.service-detail {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.service-detail h2 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
.service-detail p { color: var(--muted); margin: 0; }
.service-detail h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
@media (max-width: 800px) { .service-detail { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Team ---------- */
/* Three across on desktop (keeps the middle card in the middle), one per row on phones */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1040px; margin-inline: auto; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; } }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.avatar { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: var(--navy); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.avatar svg { width: 42%; fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-linecap: round; }
.member-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.member-body h3 { margin-bottom: .2rem; }
.role { display: block; color: var(--brand-dark); font-weight: 700; font-size: .9rem; margin-bottom: .8rem; }
.member-body p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.member-contact { list-style: none; padding: 1rem 0 0; margin: auto 0 0; /* pinned to the card bottom so contacts line up */ border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .9rem; }
.member-contact li { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.member-contact span { flex: none; width: 1.2rem; text-align: center; color: var(--brand-dark); }
.member-contact a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.member-contact a:hover { color: var(--brand-dark); text-decoration: underline; }

.careers {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line);
}
.careers h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .3rem; }
.careers p { margin: 0; color: var(--muted); }

/* ---------- Projects ---------- */
.empty-state {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem); border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line);
}
.empty-state .icon { margin: 0 auto 1.2rem; }
.empty-state p { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-body { padding: 1.4rem 1.5rem 1.6rem; }
.project-body p { color: var(--muted); font-size: .95rem; }
.project-body .icon { margin-bottom: 1rem; }
.project-more { background: var(--bg-alt); border-style: dashed; display: flex; align-items: center; }
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.project-tags span { font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-dark); }

/* ---------- Case study (projects page) ---------- */
.case-study {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: clamp(2rem, 4vw, 3rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.case-study h3 { font-size: 1.25rem; }
.case-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: end; }
.case-head h2 { margin-bottom: .5rem; color: var(--navy); }
.case-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.case-lead strong { color: var(--ink); }
.case-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case-meta div { background: var(--bg-alt); padding: .9rem 1.1rem; }
.case-meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-meta dd { margin: .15rem 0 0; font-weight: 700; color: var(--navy); }

/* Screenshots shown inside a simple browser window frame */
.shot { margin: 0; }
.shot-open {
  display: block; width: 100%; padding: 0; font: inherit; text-align: left; cursor: zoom-in;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 27, 58, .12);
}
.shot-open:hover { border-color: var(--brand); }
.shot-open img { width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DBE5; flex: none; }
.browser-bar span {
  flex: 1; min-width: 0; margin-left: .6rem; padding: .2rem .8rem; border-radius: 6px; background: #fff; border: 1px solid var(--line);
  font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot figcaption { margin-top: .8rem; font-size: .9rem; color: var(--muted); text-align: center; }

/* Thumbnails under the large screenshot */
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 228px); justify-content: center; gap: 1rem; margin: 1.2rem auto 0; }
.gallery-thumb {
  padding: .4rem; font: inherit; cursor: pointer; background: #fff; text-align: center;
  border: 2px solid var(--line); border-radius: 10px;
}
.gallery-thumb:hover { border-color: var(--brand-light); }
.gallery-thumb[aria-pressed="true"] { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-radius: 6px; }
.gallery-thumb span { display: block; margin-top: .4rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.gallery-thumb[aria-pressed="true"] span { color: var(--brand-dark); }
@media (max-width: 480px) { .gallery-thumbs { gap: .5rem; } .gallery-thumb span { font-size: .75rem; } }

.case-section > p { color: var(--muted); max-width: 640px; }
.workflow { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.workflow li {
  position: relative; padding: 1.1rem 1rem; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line);
  font-weight: 700; color: var(--navy);
}
.workflow span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; margin-bottom: .7rem;
  background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800;
}
.workflow small { display: block; margin-top: .2rem; font-size: .82rem; font-weight: 500; color: var(--muted); line-height: 1.4; }
@media (min-width: 1001px) { .workflow-5 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1000px) { .workflow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .workflow { grid-template-columns: repeat(2, 1fr); } }

.feature-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem 2.5rem; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .9rem; }
.feature-list li { position: relative; padding-left: 2rem; color: var(--muted); }
.feature-list li strong { color: var(--ink); }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: .15rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-dark); font-size: .72rem; font-weight: 800;
}
.case-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--line);
}
.case-foot p { margin: 0; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) {
  .case-head { grid-template-columns: 1fr; }
  .case-head { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .case-meta { grid-template-columns: 1fr; }
  .case-foot .btn { width: 100%; }
}

/* Full-size screenshot viewer */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 96vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 18, 40, .88); }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: -.75rem; right: -.75rem; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow);
}
@media (max-width: 600px) { .lightbox-close { top: auto; bottom: calc(100% + .5rem); right: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a, .contact-list span:not(.ci) { font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--brand-dark); }
.ci { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--brand-dark); font-size: 1.15rem; }

.contact-form { background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; /* 16px stops iOS zoom */
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21, 88, 214, .15);
}
.contact-form button:disabled { opacity: .7; cursor: wait; }
.form-status { margin: 0; padding: .9rem 1rem; border-radius: 10px; font-weight: 600; font-size: .95rem; background: #E8F6EE; color: #146C43; }
.form-status.error { background: #FDECEC; color: #B42318; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid a:not(.brand) { display: block; padding: .3rem 0; }
.footer-grid a:not(.brand):hover { color: #fff; text-decoration: underline; }
.footer-grid .brand { display: inline-flex; margin-bottom: 1rem; background: #fff; padding: .5rem .9rem; border-radius: 10px; }
.footer-grid .brand img { height: 50px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
