/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1E3A5F;
  --accent: #3A7BD5;
  --accent-light: #E8F0FB;
  --bg: #F6F8FC;
  --white: #FFFFFF;
  --text: #111827;
  --text-mid: #4B5563;
  --text-light: #6B7280;
  --border: #DDE3ED;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(30,58,95,0.08);
  --shadow-md: 0 6px 28px rgba(30,58,95,0.13);
  --transition: 0.22s ease;
  --max-w: 1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

nav { display: flex; align-items: center; gap: 6px; }

nav a {
  color: var(--text-mid);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

nav a:hover, nav a.active {
  background: var(--accent-light);
  color: var(--primary);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { padding-bottom: 80px; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #A8C7F0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero h1 span { color: #A8C7F0; }

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #2C65BF;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(58,123,213,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  align-self: flex-end;
}

.hero-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-md);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ===== SECTION HEADERS ===== */
.section-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 540px;
}

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-lead { margin: 0 auto; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== ASYMMETRIC / SPLIT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split-content .section-lead { max-width: 100%; }

/* ===== FEATURE LIST ===== */
.feature-list { margin-top: 24px; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:last-child { border-bottom: none; }

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

.feature-item p { font-size: 0.95rem; color: var(--text-mid); }
.feature-item strong { color: var(--primary); display: block; margin-bottom: 2px; }

/* ===== SERVICES PAGE ===== */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body { padding: 28px; }

.service-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card-body p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.65; }

.service-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.service-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.service-wide .service-card-img img {
  height: 100%;
  min-height: 200px;
}

/* ===== PROCESS STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.step:last-child { border-right: none; }

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.step p { font-size: 0.87rem; color: var(--text-mid); }

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.about-hero h1 span { color: #A8C7F0; }

.about-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.value-card p { font-size: 0.9rem; color: var(--text-mid); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-hero h1 span { color: #A8C7F0; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 560px; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-block h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-text { font-size: 0.93rem; color: var(--text-mid); }
.contact-detail-text strong { color: var(--primary); display: block; }

/* ===== FORM ===== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-card p { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }

.form-group label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,123,213,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 8px; }

.btn-form {
  background: var(--accent);
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  width: 100%;
}

.btn-form:hover {
  background: #2C65BF;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(58,123,213,0.35);
}

/* ===== GALLERY ROW ===== */
.gallery-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}

.gallery-row img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-row img:first-child { height: 300px; }

/* ===== TEAM / ABOUT IMAGE ===== */
.about-image-full img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICE PAGE HERO ===== */
.services-hero {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
}

.services-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.services-hero h1 span { color: #A8C7F0; }

.services-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
}

/* ===== SIMPLE TEXT SECTION (privacy etc) ===== */
.text-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 56px;
}

.text-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
}

.text-content h2:first-child { margin-top: 0; }

.text-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.7;
}

.text-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}

.text-content ul li {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 12px; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-col p { font-size: 0.9rem; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { padding-bottom: 64px; }

  .cards-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse { direction: ltr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:nth-child(2n) { border-right: none; }
  .step:last-child { border-bottom: none; }
  .services-list { grid-template-columns: 1fr; }
  .service-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .gallery-row img:first-child { grid-column: span 2; height: 220px; }
  .gallery-row img { height: 200px; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  nav.open { display: flex; }
  nav a { padding: 10px 12px; }

  section { padding: 48px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .text-content { padding: 28px 22px; }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-row img, .gallery-row img:first-child { grid-column: span 1; height: 200px; }
  .steps { grid-template-columns: 1fr; }
}
