:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe3f2;
  --brand: #1d4ed8;
  --brand-dark: #1e40af;
  --brand-soft: #e9efff;
  --ink-invert: #ffffff;
  /* Photo Gallery tiles */
  --photo-gallery-thumb: 156px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.hero {
  padding: 86px 0 64px;
  background: #0b1f4a;
  color: #f8fafc;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 8px;
  color: #bfdbfe;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0 0 16px;
  line-height: 1.2;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.lead {
  margin: 0;
  color: #dbeafe;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  color: var(--ink-invert);
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.38);
}

.btn-secondary {
  color: var(--brand-dark);
  border-color: #c7d5ff;
  background: var(--brand-soft);
}

.btn-secondary:hover {
  background: #dce7ff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: #dbeafe;
  font-weight: 500;
}

.trust-row span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #2c4c8b;
  background: #15306a;
}

.trust-row span:nth-child(1) {
  background: #15306a;
  color: #dbeafe;
}

.trust-row span:nth-child(2) {
  background: #15306a;
  color: #dbeafe;
}

.trust-row span:nth-child(3) {
  background: #15306a;
  color: #dbeafe;
}

.card--photo .cert-badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.card--photo .cert-badge {
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  width: var(--photo-gallery-thumb);
  max-width: min(var(--photo-gallery-thumb), 100%);
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 0;
  box-shadow:
    0 4px 6px rgba(11, 18, 42, 0.06),
    0 22px 48px rgba(11, 31, 74, 0.22);
  color: var(--text);
}

.hero-card--focus {
  align-self: stretch;
}

.hero-card__accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, #38bdf8 50%, var(--brand-dark) 100%);
}

.hero-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 16px;
}

.hero-card__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-soft) 0%, #dbeafe 100%);
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-card__icon {
  flex-shrink: 0;
}

.hero-card__titles {
  min-width: 0;
  flex: 1;
}

.hero-card__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #c7d5ff;
}

.hero-card__title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}

.hero-card__subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

.hero-focus-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e293b;
  background: rgba(241, 245, 249, 0.65);
  border: 1px solid #e2e8f0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-focus-list li:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.hero-focus-list__check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: #dcfce7;
  color: #15803d;
}

.hero-focus-list__check svg {
  flex-shrink: 0;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: #f8fbff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#gallery {
  padding: 96px 0 104px;
}

#gallery h2 {
  margin-bottom: 28px;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
}

.stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.04);
}

.stat:nth-child(1) {
  border-top: 3px solid var(--brand);
}

.stat:nth-child(2) {
  border-top: 3px solid var(--brand);
}

.stat:nth-child(3) {
  border-top: 3px solid var(--brand);
}

.stat strong,
.stat span {
  display: block;
}

.stat span {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.five-col {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.08);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card-icon svg {
  flex-shrink: 0;
}

.card-icon--dark {
  background: #e8f0ff;
  color: #1d4ed8;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card--photo {
  padding: 0;
  overflow: hidden;
}

.card-photo__body {
  padding: 14px 16px 16px;
}

.card--photo h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.card--photo p {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Gallery thumbnails */
.photo-cards.five-col {
  grid-template-columns: repeat(5, minmax(0, var(--photo-gallery-thumb)));
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 16px;
}

.photo-cards .card-photo__body {
  padding: 12px 12px 14px;
}

.photo-cards .card--photo h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.photo-cards .card--photo p {
  font-size: 0.84rem;
  line-height: 1.45;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reasons article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.04);
  border-left: 4px solid var(--brand);
}

.reason-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reason-num {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand);
  opacity: 0.85;
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.reasons h3 {
  margin: 0 0 8px;
}

.reasons p {
  margin: 0;
  color: var(--muted);
}

#why-us {
  background: #0b1f4a;
  color: #f8fafc;
  border-top: 1px solid #1a326a;
  border-bottom: 1px solid #1a326a;
}

#why-us .reasons article {
  background: #15306a;
  border: 1px solid #2c4c8b;
  color: #f8fafc;
  border-left: 4px solid #3b82f6;
}

#why-us .reason-num {
  color: #93c5fd;
  opacity: 1;
}

#why-us .reason-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #bfdbfe;
}

#why-us .reasons p {
  color: #dbeafe;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 8px;
}

.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(11, 18, 32, 0.06);
  position: relative;
  overflow: hidden;
}

.quote-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
}

.quote-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #cfd8e8;
  border-radius: 10px;
  font: inherit;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid #c8dbff;
  border-color: #8fb4ff;
}

.site-footer {
  background: #0b1f4a;
  color: #e2e8f0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 32px;
  padding: 48px 0 36px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
}

.footer-logo:hover {
  color: #bfdbfe;
}

.footer-tagline {
  margin: 0;
  max-width: 36ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
  flex-shrink: 0;
}

.footer-link__icon--wa {
  color: #86efac;
}

.footer-address {
  min-width: 0;
}

.footer-address__label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.footer-address__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.footer-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(0, 0, 0, 0.15);
}

.footer-bar__inner {
  padding: 16px 0;
}

.footer-bar__inner p {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 28px;
  }

  .hero-grid,
  .contact-grid,
  .three-col,
  .stats {
    grid-template-columns: 1fr;
  }

  .four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .five-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-cards.five-col {
    grid-template-columns: repeat(3, minmax(0, var(--photo-gallery-thumb)));
    width: fit-content;
    margin-inline: auto;
  }

  #gallery {
    padding: 72px 0 80px;
  }
}

@media (max-width: 760px) {
  :root {
    --photo-gallery-thumb: 124px;
  }

  .cards:not(.photo-cards),
  .reasons {
    grid-template-columns: 1fr;
  }

  .photo-cards.five-col {
    grid-template-columns: repeat(2, minmax(0, var(--photo-gallery-thumb)));
  }

  #gallery {
    padding: 56px 0 64px;
  }
}
