*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; color: #1a1a2e; background: #f8f9fa; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; }

/* ── Header ── */
header { background: #1a1a2e; color: #fff; padding: 0 2rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; height: 64px; }
.logo { font-size: 1.4rem; font-weight: 700; color: #fff; }
.logo span { color: #4361ee; }
nav { display: flex; gap: 1.75rem; }
nav a { color: rgba(255,255,255,.7); font-size: .95rem; transition: color .2s; padding-bottom: 3px; border-bottom: 2px solid transparent; }
nav a:hover { color: #fff; }
nav a[aria-current="page"] { color: #fff; border-bottom-color: #4361ee; }

/* ── Layout ── */
main { flex: 1; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── Hero (Home) ── */
.hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%); color: #fff; padding: 6rem 2rem; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.15; }
.hero h1 span { color: #4361ee; }
.hero p { font-size: 1.2rem; opacity: .8; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; }
.btn { display: inline-block; background: #4361ee; color: #fff; padding: .8rem 2rem; border-radius: 8px; font-weight: 600; transition: background .2s, transform .15s; }
.btn:hover { background: #3451d1; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.6); margin-left: .75rem; }
.btn-outline:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }

/* ── Feature cards ── */
.section { padding: 4.5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; margin-bottom: .4rem; }
.section-header p { color: #666; font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 14px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card p { color: #555; line-height: 1.65; font-size: .95rem; }

/* ── Page hero (subpages) ── */
.page-hero { background: #1a1a2e; color: #fff; padding: 3.5rem 2rem; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-size: 2.2rem; margin-bottom: .4rem; }
.page-hero p { opacity: .7; font-size: 1.05rem; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-text p { color: #444; line-height: 1.8; margin-bottom: 1rem; }
.about-visual { background: linear-gradient(135deg, #4361ee, #0f3460); border-radius: 16px; height: 320px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.team-section { background: #fff; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.team-card { text-align: center; background: #f8f9fa; border-radius: 12px; padding: 2rem 1rem; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: #4361ee; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.8rem; }
.team-card h4 { margin-bottom: .25rem; }
.team-card span { color: #666; font-size: .88rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.contact-item { display: flex; gap: .9rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; margin-top: .1rem; }
.contact-item strong { display: block; margin-bottom: .2rem; }
.contact-item p { color: #555; line-height: 1.6; font-size: .95rem; }
.contact-form { background: #fff; border-radius: 12px; padding: 2.25rem; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .88rem; text-transform: uppercase; letter-spacing: .03em; color: #333; }
input, textarea, select { width: 100%; border: 1.5px solid #ddd; border-radius: 8px; padding: .7rem .95rem; font-size: 1rem; font-family: inherit; transition: border-color .2s; background: #fafafa; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #4361ee; background: #fff; }
textarea { resize: vertical; min-height: 130px; }
.btn-submit { background: #4361ee; color: #fff; border: none; padding: .8rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; width: 100%; transition: background .2s; margin-top: .5rem; }
.btn-submit:hover { background: #3451d1; }
.success-msg { background: #d1fae5; color: #065f46; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1rem; font-weight: 500; }

/* ── Legals ── */
.legals-content { max-width: 760px; }
.legals-content h2 { font-size: 1.4rem; margin: 2.5rem 0 .75rem; color: #1a1a2e; }
.legals-content h2:first-child { margin-top: 0; }
.legals-content p, .legals-content address { color: #444; line-height: 1.8; margin-bottom: .75rem; font-style: normal; }

/* ── Footer ── */
footer { background: #1a1a2e; color: rgba(255,255,255,.65); padding: 3.5rem 2rem 1.5rem; margin-top: auto; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo { font-size: 1.25rem; display: inline-block; margin-bottom: .75rem; }
.footer-brand p { line-height: 1.7; font-size: .9rem; max-width: 280px; }
.footer-col h4 { color: #fff; margin-bottom: .9rem; font-size: .95rem; }
.footer-col a { display: block; color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: .45rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  nav { gap: 1rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.5rem; }
  nav a { font-size: .85rem; }
}
