/* ============================================================
   UNICQA — brand stylesheet v2
   Palette:  Blue #103069  |  Yellow #FEC936
   Type:     Urbane Rounded (self-hosted, all weights)
   ============================================================ */

/* --- Urbane Rounded — self-hosted from assets/fonts/ ------- */
@font-face {
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-Thin.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-ExtraLight.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-Light.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* Urbane Rounded has no Regular cut — Medium covers 400-500 body text */
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-Medium.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-Medium.woff') format('woff');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-DemiBold.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-Bold.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbane Rounded';
  src: url('../assets/fonts/UrbaneRounded-Heavy.woff2') format('woff2'),
       url('../assets/fonts/UrbaneRounded-Heavy.woff') format('woff');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --blue: #103069;
  --blue-dark: #0b2350;
  --blue-darker: #081a3c;
  --yellow: #fec936;
  --yellow-dark: #e5b41f;
  --ink: #1e2a3a;
  --gray: #55627a;
  --light: #f5f7fb;
  --white: #ffffff;
  --max-w: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 12px 32px rgba(16, 48, 105, 0.14);
  --shadow-sm: 0 4px 14px rgba(16, 48, 105, 0.10);
  --font: 'Urbane Rounded', 'Quicksand', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max-w), 92%);
  margin: 0 auto;
}

/* ---------------- Header / Navigation ---------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 14px rgba(16, 48, 105, 0.10);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 34px;
}

.nav-links a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--yellow);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--blue);
  margin: 5px 0;
  border-radius: 3px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero (video background) ---------------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
  color: var(--white);
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 48, 105, 0.62) 0%, rgba(8, 26, 60, 0.78) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 90px 24px;
  animation: heroFade 1s ease both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.hero h1 .accent { color: var(--yellow); }

.hero p {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: #eef3fb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero p strong { font-weight: 700; color: var(--yellow); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 38px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(254, 201, 54, 0.45);
  text-decoration: none;
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--yellow);
  box-shadow: none;
}
.btn-outline:hover { background: var(--yellow); color: var(--blue); }

/* ---------------- Generic sections ---------------- */

section { padding: 96px 0; }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  margin-bottom: 22px;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 4px;
  background: var(--yellow);
  margin-top: 14px;
}

.section-title.center { text-align: center; }
.section-title.center::after { margin-left: auto; margin-right: auto; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { grid-template-columns: 0.9fr 1.1fr; }

.lead-text { color: var(--gray); font-size: 1.03rem; font-weight: 500; }

/* ---------------- Home: welcome ---------------- */

.welcome { background: var(--white); }

.welcome .mascot {
  max-width: 400px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(16, 48, 105, 0.20));
}

.welcome .btn { margin-top: 30px; }

/* ---------------- Home: why choose us ---------------- */

.why {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -140px;
  background: url('../assets/img/logo-mark.png') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}

.why .art {
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* ---------------- Home: value card slider ---------------- */

.team { background: var(--white); text-align: center; padding-bottom: 70px; }

.team .section-subtitle {
  color: var(--gray);
  max-width: 640px;
  margin: -6px auto 44px;
  font-weight: 500;
}

.card-slider {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 12px 6px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) var(--light);
}

.card-slider::-webkit-scrollbar { height: 10px; }
.card-slider::-webkit-scrollbar-track { background: var(--light); border-radius: 10px; }
.card-slider::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 10px; }

.card-slider img {
  flex: 0 0 300px;
  width: 300px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--blue);
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  transition: transform .25s;
}

.card-slider img:hover { transform: translateY(-8px); }

.slider-hint {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------------- Home: security ---------------- */

.security { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }

.security::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  left: -180px; bottom: -180px;
  background: url('../assets/img/logo-mark.png') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

.security .section-title { color: var(--white); }
.security .section-title::after { background: var(--yellow); }

.security .intro {
  max-width: 840px;
  margin: 0 auto 56px;
  text-align: center;
  color: #ccd9ee;
  font-weight: 500;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  position: relative;
}

.security-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(254, 201, 54, 0.25);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .25s, background .25s;
}

.security-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.10);
}

.security-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--yellow);
}

.security-card p { font-size: 0.93rem; color: #ccd9ee; }

.trust-strip { margin-top: 64px; text-align: center; position: relative; }

.trust-strip h4 {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--yellow);
  margin-bottom: 28px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-logos img {
  height: 56px;
  width: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 18px;
}

/* ---------------- Services page ---------------- */

.services-list { background: var(--white); }

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--light);
  border-left: 6px solid var(--yellow);
  margin-bottom: 24px;
  transition: transform .25s, box-shadow .25s;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-item p { color: var(--gray); font-size: 0.97rem; font-weight: 500; }

.banner-img {
  margin-top: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------------- Careers page ---------------- */

.positions { background: var(--white); }

.positions .eyebrow {
  text-align: center;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 12px;
}

.positions .eyebrow-bar {
  width: 64px; height: 5px;
  border-radius: 4px;
  background: var(--yellow);
  margin: 0 auto 46px;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.position-card {
  background: var(--light);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s, box-shadow .25s;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.position-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.position-card p { font-size: 0.93rem; color: var(--gray); font-weight: 500; }

.positions .cta-row { text-align: center; margin-top: 48px; }

.careers-mascot {
  max-width: 360px;
  margin: 60px auto 0;
  filter: drop-shadow(0 18px 30px rgba(16, 48, 105, 0.20));
}

/* ---------------- Forms (Apply / Contact) ---------------- */

.form-section {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.form-section video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.form-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 60, 0.82);
  z-index: 1;
}

.form-section .container { position: relative; z-index: 2; }

.form-section .section-title { color: var(--white); }

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--yellow);
  box-shadow: var(--shadow);
  padding: 42px 38px;
  max-width: 640px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 15px;
  border: 1.5px solid #d3dcea;
  border-radius: 12px;
  background: #fafcff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(254, 201, 54, 0.35);
}

.form-note {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff7dd;
  border: 1.5px solid var(--yellow);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-note.show { display: block; }

/* ---------------- Contact page extras ---------------- */

.contact-flex {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: start;
}

.contact-side img {
  border-radius: var(--radius-lg);
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow);
}

.contact-side .caption {
  margin-top: 16px;
  color: #d9e4f4;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info { background: var(--light); }

.contact-info .info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--yellow);
  box-shadow: var(--shadow);
  padding: 44px 38px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-info .section-title.center::after { margin: 14px auto 0; }

.contact-info h6 {
  font-size: 1rem;
  color: var(--blue);
  margin: 22px 0 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-info p { color: var(--gray); font-weight: 500; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--blue-darker);
  color: #c6d3e8;
  padding: 72px 0 30px;
  border-top: 6px solid var(--yellow);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; bottom: -120px;
  background: url('../assets/img/logo-mark.png') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  position: relative;
}

.footer-grid h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-tagline {
  font-style: italic;
  color: #9fb4d6;
  margin: 16px 0 20px;
  font-weight: 500;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-row img.mark { width: 52px; height: 52px; }
.footer-logo { max-width: 220px; }

.footer-contact p { margin-bottom: 8px; font-size: 0.95rem; font-weight: 500; }
.footer-contact strong { color: var(--white); }
.footer-contact a { color: var(--yellow); }

.footer-icons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.footer-icons .icon-circle {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border-radius: 50%;
  transition: transform .2s, background .2s;
}

.footer-icons .icon-circle svg { display: block; }

.footer-icons .icon-circle:hover {
  transform: translateY(-3px);
  background: var(--yellow-dark);
  text-decoration: none;
}

.footer-verse {
  font-style: italic;
  font-weight: 700;
  color: var(--yellow);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(254, 201, 54, 0.25);
  margin-top: 50px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.87rem;
  color: #8aa0c4;
  position: relative;
}

/* ---------------- Scroll reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content { animation: none; }
}



/* ---------------- Why Choose Us photo ---------------- */

.why .art.photo {
  max-width: 420px;
  border-radius: var(--radius-lg);
  border: 4px solid var(--yellow);
  box-shadow: var(--shadow);
}

/* ---------------- Services CTA band ---------------- */

.cta-band {
  position: relative;
  padding: 90px 0;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 48, 105, 0.90), rgba(8, 26, 60, 0.94)),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80') center / cover no-repeat;
}

.cta-inner { max-width: 720px; }

.cta-band h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-band h2::after {
  content: '';
  display: block;
  width: 64px; height: 5px;
  border-radius: 4px;
  background: var(--yellow);
  margin: 14px auto 0;
}

.cta-band p {
  color: #d9e4f4;
  font-weight: 500;
  margin-bottom: 30px;
}

/* ---------------- Static background for Ready to get started ---------------- */

.form-section.bg-static {
  background:
    linear-gradient(rgba(16, 48, 105, 0.88), rgba(8, 26, 60, 0.93)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80') center / cover no-repeat;
}

.form-section.bg-static::after { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablets & small laptops --- */
@media (max-width: 900px) {
  .two-col,
  .two-col.reverse,
  .contact-flex,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 14px 26px rgba(16, 48, 105, 0.16);
    border-bottom: 3px solid var(--yellow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-links.open { max-height: 340px; }

  .nav-links li { border-top: 1px solid #eef2f8; }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: none;
  }

  section { padding: 68px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 26px; }
  .hero { min-height: 78vh; }
}

/* --- Phones --- */
@media (max-width: 560px) {
  .nav-wrap { height: 68px; }
  .brand img { height: 44px; }
  .nav-links { top: 68px; }
  .hero { margin-top: 68px; min-height: 70vh; }

  .hero-content { padding: 70px 18px; }
  .hero-mark { width: 56px; height: 56px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(1.55rem, 7.5vw, 2.1rem); }
  .hero p { font-size: 1rem; }

  section { padding: 54px 0; }
  .section-title { margin-bottom: 16px; }
  .section-title::after { width: 52px; height: 4px; margin-top: 10px; }

  .lead-text, .service-item p, .position-card p { font-size: 0.94rem; }

  .btn { width: 100%; text-align: center; padding: 15px 20px; }

  .welcome .mascot { max-width: 260px; }
  .why .art { max-width: 260px; }
  .careers-mascot { max-width: 240px; }

  .card-slider { gap: 16px; padding-bottom: 24px; }
  .card-slider img { flex-basis: 78vw; width: 78vw; border-width: 2px; }

  .security-card img { height: 160px; }
  .trust-logos { gap: 20px; }
  .trust-logos img { height: 44px; padding: 8px 14px; }

  .service-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }
  .service-num { width: 48px; height: 48px; font-size: 1.1rem; }

  .positions-grid { grid-template-columns: 1fr; }
  .position-card { padding: 22px 20px; }

  .form-card { padding: 26px 18px; border-radius: var(--radius); }
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: 16px; } /* prevents iOS zoom-on-focus */

  .contact-info .info-card { padding: 32px 22px; }

  .footer-grid { gap: 36px; }
  .footer-logo { max-width: 180px; }
}

/* --- Very small phones --- */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.4rem; }
  .card-slider img { flex-basis: 86vw; width: 86vw; }
  .trust-logos img { height: 38px; }
}

@media (max-width: 560px) {
  .cta-band { padding: 60px 0; }
  .why .art.photo { max-width: 300px; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */

.theme-toggle {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--blue);
  border: 1.5px solid #d3dcea;
  border-radius: 50%;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .2s;
}

.theme-toggle:hover { transform: translateY(-2px); }

/* show moon in light mode, sun in dark mode */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 900px) {
  .theme-toggle { margin-left: 0; }
}

/* ============================================================
   DARK MODE
   ============================================================ */

[data-theme="dark"] body {
  background: #0a1830;
  color: #d9e2f4;
}

/* header + nav */
[data-theme="dark"] .site-header {
  background: rgba(10, 24, 48, 0.97);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
[data-theme="dark"] .nav-links a { color: #e8eefc; }
[data-theme="dark"] .nav-links {
  background: #0e2144;
}
[data-theme="dark"] .nav-links li { border-top-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .nav-toggle span { background: #e8eefc; }
[data-theme="dark"] .theme-toggle {
  background: #13294f;
  color: var(--yellow);
  border-color: #24406f;
}

/* generic text + titles */
[data-theme="dark"] .section-title { color: #eef3fc; }
[data-theme="dark"] .lead-text,
[data-theme="dark"] .team .section-subtitle,
[data-theme="dark"] .slider-hint { color: #a9bbdd; }

/* section backgrounds */
[data-theme="dark"] .welcome,
[data-theme="dark"] .team,
[data-theme="dark"] .services-list,
[data-theme="dark"] .positions { background: #0a1830; }

[data-theme="dark"] .why,
[data-theme="dark"] .contact-info { background: #0e2144; }

[data-theme="dark"] .positions .eyebrow { color: #eef3fc; }

/* cards */
[data-theme="dark"] .service-item,
[data-theme="dark"] .position-card {
  background: #13294f;
}
[data-theme="dark"] .service-item h3,
[data-theme="dark"] .position-card h3 { color: var(--yellow); }
[data-theme="dark"] .service-item p,
[data-theme="dark"] .position-card p { color: #b7c6e4; }
[data-theme="dark"] .service-num { background: var(--yellow); color: var(--blue); }

[data-theme="dark"] .card-slider::-webkit-scrollbar-track { background: #13294f; }
[data-theme="dark"] .card-slider img { border-color: var(--yellow); }

/* security section already dark — just deepen it slightly */
[data-theme="dark"] .security { background: #0e2144; }

/* forms */
[data-theme="dark"] .form-card {
  background: #13294f;
  color: #d9e2f4;
}
[data-theme="dark"] .form-field label { color: #e8eefc; }
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea {
  background: #0e2144;
  border-color: #24406f;
  color: #eef3fc;
}
[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field select:focus,
[data-theme="dark"] .form-field textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(254, 201, 54, 0.25);
}
[data-theme="dark"] .form-note {
  background: #1a3560;
  border-color: var(--yellow);
  color: #ffe28a;
}

/* contact info card */
[data-theme="dark"] .contact-info .info-card { background: #13294f; }
[data-theme="dark"] .contact-info h6 { color: var(--yellow); }
[data-theme="dark"] .contact-info p { color: #b7c6e4; }
[data-theme="dark"] .contact-info a { color: var(--yellow); }

/* footer stays dark in both themes — no changes needed */

/* error state for the form note (both themes) */
.form-note.error {
  background: #fdecea;
  border-color: #d9534f;
  color: #8a2622;
}
[data-theme="dark"] .form-note.error {
  background: #3a1a1a;
  border-color: #d9534f;
  color: #ffb3ae;
}

/* smooth theme transition */
body,
.site-header,
.service-item,
.position-card,
.form-card,
.form-field input,
.form-field select,
.form-field textarea,
.contact-info .info-card {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
