/* ===== Variables ===== */
:root {
  --color-blue: #1e3a5f;
  --color-blue-light: #2d5a87;
  --color-orange: #e85d04;
  --color-orange-light: #f48c06;
  --color-dark: #0f1419;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-bg: #fafafa;
  --color-bg-alt: #f0f2f5;
  --color-white: #ffffff;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-orange);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  gap: 1rem;
}

.logo img {
  height: 120px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list a {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--color-orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-list a {
    padding: 0.5rem 0;
    display: block;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -2rem;
  background: #1e3a5f url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920') no-repeat center / cover;
  filter: blur(14px) brightness(0.85);
  transform: scale(1.08);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 58, 95, 0.88) 0%, rgba(45, 90, 135, 0.82) 45%, rgba(232, 93, 4, 0.15) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 18ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-title em {
  font-style: italic;
  color: #f48c06;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  margin: 0 0 1.75rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-divider {
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-orange-light);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-secondary:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 0.5rem;
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 50ch;
}

/* ===== Services ===== */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(232, 93, 4, 0.2);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card:nth-child(even) .service-icon {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ===== About ===== */
.about {
  background: linear-gradient(180deg, #f5f7fa 0%, #eef1f5 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.about-text {
  margin: 0;
  color: var(--color-text);
  line-height: 1.65;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-highlight {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--color-orange);
}

.about-highlight-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  border-radius: var(--radius);
}

.about-highlight-icon svg {
  width: 20px;
  height: 20px;
}

.about-highlight:nth-child(2) .about-highlight-icon {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
}

.about-highlight strong {
  font-size: 1rem;
  color: var(--color-dark);
  display: block;
}

.about-highlight span:last-child {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    flex-direction: column;
  }

  .about-highlight {
    min-width: 0;
  }
}

/* ===== Why ===== */
.why {
  background: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-blue);
  margin-bottom: 0.35rem;
}

.why-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-bg-alt);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-lead {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.contact-details {
  font-style: normal;
  margin-bottom: 1rem;
}

.contact-details p {
  margin: 0 0 0.35rem;
}

.contact-details a {
  font-weight: 500;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer a:hover {
  color: var(--color-orange-light);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 100px;
  width: auto;
  margin: 0 auto;
  opacity: 0.95;
}

.footer-text {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}