
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --brand-blue: #1f4bff;
  --brand-red: #d83a3a;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfcfe;

  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15,23,42,0.12);
  --shadow: 0 12px 30px rgba(15,23,42,0.10);
  --radius: 18px;
  --focus: rgba(31,75,255,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg) url('img/pattern-grid.svg');
  background-size: 240px 240px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--max), 100%); margin: 0 auto; padding: 0 4.25rem; }

.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .75rem 1rem; background: #111827; border-radius: 12px; z-index: 9999; }


.flash {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.flash-success {
  background: #e6fffa;
  border: 1px solid #38b2ac;
  color: #065f46;
}

.flash-error {
  background: #fff5f5;
  border: 1px solid #e53e3e;
  color: #742a2a;
}

header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(15,23,42,0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 700; letter-spacing: 0.2px;
}
.brand img { height: 44px; width: auto; max-width: 220px; border-radius: 0; background: transparent; padding: 0; }
.brand span { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand small { color: var(--muted); font-weight: 600; }

.menu {
  display: flex; align-items: center; gap: .2rem;
}
.menu a {
  padding: .55rem .8rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.menu a[aria-current="page"] {
  background: var(--surface-2);
  border: 1px solid var(--border);
  text-decoration: none;
}
.menu a:hover {
  background: var(--surface-2);
  text-decoration: none;
}

.cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--brand-blue);
  color: white;
  font-weight: 800;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta:hover { text-decoration: none; background: var(--brand-red); }

.burger {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: .55rem .7rem;
  border-radius: 12px;
}
.burger:focus-visible, .cta:focus-visible, .menu a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero {
  padding: 4.2rem 0 2.3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  width: fit-content;
}
.dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}
.hero h1 {
  margin: .9rem 0 .75rem;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
}
.secondary {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 800;
}
.secondary:hover { text-decoration: none; background: var(--surface-2); }

.hero-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute; inset: -120px -120px auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle at center, rgba(12,22,212,0.4), transparent 60%);
  transform: rotate(20deg);
}
.hero-card::after {
  content: "";
  position: absolute; inset: auto auto -140px -130px;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(158,32,32,0.33), transparent 60%);
}
.hero-card h2 {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  color: var(--muted);
}
.badges {
  display: grid;
  gap: .6rem;
}
.badge {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .75rem .8rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}
.badge strong { display: block; }
.badge span { color: var(--muted); font-size: .95rem; }

.section {
  padding: 2.2rem 0;
}
.section h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.card a.more { display: inline-block; margin-top: .85rem; font-weight: 800; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.callout {
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(12,22,212,0.14), rgba(158,32,32,0.12));
}

.quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.mini {
  margin: .35rem 0 0;
  color: var(--muted);
}

.page-head {
  padding: 2.7rem 0 1.2rem;
}
.page-head h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}
.breadcrumbs {
  color: var(--muted);
  font-weight: 650;
}

.content {
  padding: 1.2rem 0 2.6rem;
}
.prose {
  max-width: 78ch;
}
.prose h2 { margin-top: 1.4rem; }
.prose p { color: var(--muted); }

.prose ol { margin: .25rem 0 1rem 1.25rem; padding: 0; color: var(--muted); }
.prose ol li { margin: .35rem 0; }
.prose ol.alpha { list-style-type: lower-alpha; }

.hero-illus {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 1rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: block;
  margin-bottom: .65rem;
}

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.person {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1rem;
}
.avatar {
  width: 110px; height: 110px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: grid; place-items: center;
}
.avatar img { width: 110px; height: 110px; object-fit: cover; display: block; }
.avatar .initials {
  font-weight: 900;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(12,22,212,0.75), rgba(158,32,32,0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.person h3 { margin: 0 0 .2rem; }
.person p { margin: 0; color: var(--muted); }

.form {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: .75rem;
}
label { font-weight: 800; font-size: .9rem; color: var(--muted); }
input, textarea {
  width: 100%;
  padding: .75rem .85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  color: var(--text);
}
textarea { min-height: 130px; resize: vertical; }
button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.notice {
  font-size: .92rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 2rem 0;
padding: 2rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 1.2rem;
}
.footer-grid h3 { margin: 0 0 .6rem; }
.footer-grid p, .footer-grid a { color: var(--muted); }
.footer-bottom {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .burger { display: inline-flex; }
  .menu {
    position: absolute;
    top: 64px; right: 0;
    background: rgba(7,11,19,0.92);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: .45rem;
    display: none;
    flex-direction: column;
    width: min(320px, calc(100vw - 2rem));
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { width: 100%; }
}


/* Clickable cards */
.link-card { text-decoration: none; display: block; }
.link-card:hover { text-decoration: none; border-color: rgba(31,75,255,0.25); box-shadow: 0 14px 32px rgba(15,23,42,0.12); }
.link-card .more { color: var(--brand-blue); font-weight: 800; }


/* --- Enhancements (v5) --- */
.cta, .secondary, .menu a, .card, .link-card { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.cta:hover, .secondary:hover { transform: translateY(-1px); }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(15,23,42,0.12); }
.link-card:hover .more { transform: translateX(2px); }

.card-thumb {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: .75rem;
}

.page-head-media { padding: 1rem 0 0; }
.page-photo {
  width: 100%;
  height: clamp(180px, 30vw, 320px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: .85rem;
}
 .content-split{
    display:flex;
    gap:2rem;
    align-items:flex-start;
  }
  .content-split .prose{ flex: 1 1 auto; min-width: 0; }
  .side-media{ flex: 0 0 340px; }
  .side-media img{
    width:100%;
    height:auto;
    display:block;
    border-radius:16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
  }
  @media (max-width: 900px){
    .content-split{ flex-direction:column; }
    .side-media{ flex-basis:auto; width:100%; }
  }
  
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.contact-card .more { display: inline-flex; gap:.35rem; align-items:center; color: var(--brand-blue); font-weight: 700; }
.contact-card:hover .more { color: var(--brand-red); }

.form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: .75rem .85rem;
  font: inherit;
  resize: vertical;
  background: white;
}

.form-success {
  margin-top: .75rem;
  padding: .7rem .85rem;
  border-radius: 14px;
  background: rgba(31,75,255,0.08);
  border: 1px solid rgba(31,75,255,0.18);
  color: var(--text);
}

@media (max-width: 980px) {
  .container { width: min(var(--max), calc(100% - 2.4rem)); }
  .contact-cards { grid-template-columns: 1fr; }
  .card-thumb { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .secondary, .menu a, .card, .link-card { transition: none; }
  .cta:hover, .secondary:hover, .card:hover { transform: none; }
}


.map-embed { margin-top: 1rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; aspect-ratio: 16 / 10; }

@media (max-width: 720px) {
  .container { padding: 0 1.5rem; }
}


.footer-address{ color: var(--text); font-weight: 600; }
