/* ============================================================
   HARVACI — Main Stylesheet
   Palette from logo: Navy #192B45, White #FFF, Silver #8FA3BC
   Accent: #4B88C7 (clear CTA blue, same family as navy)
   ============================================================ */

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

:root {
  --navy:      #192B45;
  --navy-2:    #253A5C;
  --navy-3:    #1D3461;
  --accent:    #4B88C7;
  --accent-dk: #3A6FA8;
  --silver:    #8FA3BC;
  --silver-lt: #D8E4EF;
  --white:     #FFFFFF;
  --light:     #F4F7FA;
  --border:    #D8E1EC;
  --text:      #192B45;
  --muted:     #5A6E83;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(25,43,69,.10);
  --shadow-lg: 0 8px 32px rgba(25,43,69,.15);
}

html { scroll-behavior: smooth; }

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

/* ── Utilities ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--gray { background: var(--light); }
.section--navy { background: var(--navy); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--navy .section-label { color: var(--silver-lt); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}
.section--navy .section-sub { color: var(--silver); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .18s, transform .18s;
}
.btn:hover { opacity: .87; transform: translateY(-1px); }

.btn--primary { background: var(--accent); color: var(--white); }
.btn--outline  {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn--outline:hover { border-color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); }

/* ── Navigation ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .25s, box-shadow .25s, padding .25s;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img { height: 38px; width: auto; }
.nav__logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
}
.nav__logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--silver);
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: color .15s;
}
.nav__menu a:hover, .nav__menu a.active { color: var(--white); }

.btn--nav {
  padding: 9px 20px;
  font-size: 13px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
}
.btn--nav:hover { opacity: .87; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s;
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav__menu.open { display: flex; }
  .nav__menu li { width: 100%; }
  .nav__menu a {
    display: block;
    padding: 12px 24px;
  }
  .btn--nav { margin: 8px 24px; display: inline-block; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Geometric background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(75,136,199,.12) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.02) 60px,
      rgba(255,255,255,.02) 61px
    );
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75,136,199,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__tagline {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--silver);
  font-weight: 300;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--accent);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat__label {
  font-size: 12px;
  color: rgba(255,255,255,.82);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ── Services grid ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card__title {
  font-size: 18px;
  font-weight: 700;
}
.service-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.service-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* ── Why section ───────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 680px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.pillar__icon {
  width: 60px;
  height: 60px;
  background: rgba(75,136,199,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}
.pillar__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.pillar__desc {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.65;
}

/* ── FAQ accordion ─────────────────────────────────────────── */
.faq-list {
  margin-top: 48px;
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--accent);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn--outline {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  font-size: 15px;
  padding: 15px 36px;
}

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 60px,
    rgba(255,255,255,.02) 60px, rgba(255,255,255,.02) 61px
  );
}
.page-hero__inner { position: relative; }
.page-hero__title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero__sub {
  font-size: 18px;
  color: var(--silver);
  max-width: 580px;
}

/* ── Contact form ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.contact-info p  { color: var(--muted); margin-bottom: 32px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 18px; height: 18px; }
.contact-detail h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.contact-detail a, .contact-detail p { font-size: 14px; color: var(--muted); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--light);
  border-radius: 14px;
  padding: 36px;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
label       { font-size: 13px; font-weight: 600; color: var(--muted); }
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--navy-3);
  color: var(--white);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand .logo-text { font-size: 20px; font-weight: 800; display: block; margin-bottom: 4px; }
.footer__brand .logo-sub  { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--silver); display: block; margin-bottom: 14px; }
.footer__brand p { font-size: 13px; color: var(--silver); line-height: 1.65; }

.footer__nav h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; }
.footer__nav ul { list-style: none; }
.footer__nav li { margin-bottom: 10px; }
.footer__nav a  { font-size: 14px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer__nav a:hover { color: var(--white); }

.footer__contact h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; }
.footer__contact p, .footer__contact a { font-size: 13px; color: rgba(255,255,255,.65); text-decoration: none; display: block; margin-bottom: 8px; }
.footer__contact a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.4); text-align: center; }

/* ── Services detail page ──────────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail__text { order: 2; }
.service-detail:nth-child(even) .service-detail__visual { order: 1; }
@media (max-width: 768px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail__text  { order: unset; }
  .service-detail:nth-child(even) .service-detail__visual { order: unset; }
}

.service-detail__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.service-detail__title { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.service-detail__desc  { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 24px; }

.service-detail__visual {
  background: var(--light);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-lt);
  font-size: 80px;
}

.bullets { list-style: none; margin-bottom: 28px; }
.bullets li {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0 6px 22px;
  position: relative;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
