/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #143659;
  --blue:   #1a527a;
  --accent: #6a9bba;
  --light-blue: #8ebbd5;
  --light:  #f0f5f9;
  --text:   #1a2d40;
  --muted:  #4f6878;
  --white:  #ffffff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.12);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

img { display: block; max-width: 100%; }

/* ── Nav ── */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  border-bottom: 3px solid var(--navy);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* footer wordmark */
.footer-wordmark {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: .75rem;
}

.footer-wordmark span { color: var(--light-blue); }

nav { display: flex; gap: 2rem; }

nav a {
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
  transition: color .2s;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
  color: var(--blue);
  border-bottom-color: var(--accent);
}

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1e4a70 100%);
  color: var(--white);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content { position: relative; max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em { color: var(--accent); font-style: normal; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }

.btn-accent { background: var(--light-blue); color: var(--navy); }
.btn-outline { border: 2px solid rgba(255,255,255,.6); color: var(--white); margin-left: .75rem; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--accent); }

/* ── Trust bar ── */
.trust-bar {
  background: var(--accent);
  color: var(--white);
  padding: .7rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .03em;
}

/* ── Section ── */
section { padding: 5rem 1.5rem; }
section:nth-child(even) { background: var(--light); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}

.section-title p { color: var(--muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }

.card-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}

.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; color: var(--navy); }
.card p { color: var(--muted); font-size: .95rem; }

/* ── Why choose us ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.why-grid ul { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }

.why-grid li {
  display: flex; align-items: flex-start; gap: .85rem;
  font-size: .97rem;
}

.check {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: .1rem;
  flex-shrink: 0;
}

.why-img-wrap {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
}

.why-img-wrap svg { margin: 0 auto 1rem; }
.why-img-wrap h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.why-img-wrap p { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ── CTA strip ── */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .75rem; }
.cta-strip p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Services page ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #e0e6ed;
}

.service-detail:last-child { border-bottom: none; margin-bottom: 0; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-img {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 10px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--white);
}

.service-detail-img p { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: .5rem; }

.service-detail-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
}

.service-detail-text p { color: var(--muted); margin-bottom: 1rem; }

.service-detail-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.service-detail-text li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.service-detail-text li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ── Partners ── */
.ajax-badge {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
  border: 2px solid var(--light-blue);
}

.ajax-badge-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.ajax-badge h3 { font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.ajax-badge p { color: var(--muted); font-size: .9rem; }

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 { font-size: 1.7rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 1.75rem; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1.25rem;
}

.info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.info-item strong { display: block; font-weight: 700; color: var(--navy); }
.info-item span { color: var(--muted); font-size: .95rem; }

.contact-form {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.contact-form h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1.5px solid #ccd4de;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,58,92,.12);
}

.field textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; padding: .9rem; font-size: 1rem; border: none; cursor: pointer; }

.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .75rem; }

.toast {
  display: none;
  background: #22863a;
  color: var(--white);
  padding: .85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: .95rem;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}

.footer-brand .logo { margin-bottom: .75rem; font-size: 1.1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }

.footer-col h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }

.footer-col li a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .2s;
}

.footer-col li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom a { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
    border-top: 1px solid #e0e6ed;
  }

  nav.open { display: flex; }

  nav a { font-size: 1.05rem; }

  .why-grid, .service-detail, .contact-grid { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
