/* Core palette and sizing */
:root {
  --primary: #145c8c;
  --primary-dark: #0f4d74;
  --accent: #f3f7fb;
  --text: #1f2a36;
  --muted: #5b6b7a;
  --border: #d8e0e8;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --container: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #f9fbfd;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4rem 0;
}

.bg-light {
  background: var(--accent);
}

h1, h2, h3 {
  color: var(--text);
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

p {
  color: var(--muted);
}

.top-bar {
  background: #0f3c5c;
  color: #e5eef7;
  padding: 0.65rem 0;
  font-size: 0.95rem;
}

.top-bar a {
  color: #e5eef7;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.contact-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.logo-text small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

.hero-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
}

.hero-content .eyebrow {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hero-content .lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-highlights {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.hero-highlights li::before {
  content: "• ";
  color: var(--primary);
  font-weight: 700;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.hero-card h3 {
  margin-bottom: 0.25rem;
}

.hero-card p {
  margin-bottom: 1rem;
}

.hero-card-grid {
  display: grid;
  gap: 0.75rem;
}

.hero-card .label {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.section-header.left {
  text-align: left;
  margin: 0 0 1.5rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.request-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem 1rem;
}

.request-form label {
  color: var(--text);
  font-weight: 600;
  display: grid;
  gap: 0.35rem;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(20, 92, 140, 0.15);
  border-color: var(--primary);
}

.request-form textarea {
  resize: vertical;
  min-height: 130px;
}

.request-form .note {
  margin-top: 0.25rem;
}

.full-width {
  grid-column: 1 / -1;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.info-card ul {
  margin-top: 0.75rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
  padding-left: 1rem;
  list-style: disc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.bullet {
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.35rem;
}

.order-steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.order-steps ol {
  margin: 0.75rem 0 1.25rem 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.main-footer {
  background: #0f3c5c;
  color: #e5eef7;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 1rem 0;
}

.footer-content .logo-text small {
  color: #cdd9e5;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: #e5eef7;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.95rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero-container,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .header-container {
    flex-wrap: wrap;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
    gap: 0;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .header-btn {
    display: none;
  }

  .hero-section {
    padding: 1.5rem 0;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .top-bar {
    font-size: 0.85rem;
    padding: 0.5rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .top-bar-content span {
    display: block;
    width: 100%;
  }

  .contact-pill {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
  }

  .header-container {
    padding: 0.75rem 0;
  }

  .logo {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .logo-text small {
    font-size: 0.75rem;
    display: block;
  }

  .hero-container {
    padding: 1.5rem 0;
    gap: 1.25rem;
  }

  .hero-content .lead {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights {
    font-size: 0.9rem;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .request-form {
    padding: 1rem;
  }

  .request-form input,
  .request-form select,
  .request-form textarea {
    padding: 0.75rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .info-card {
    padding: 1rem;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .order-steps {
    padding: 1rem;
  }

  .order-steps ol {
    margin-left: 1rem;
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0 1rem 0;
  }

  .footer-links {
    margin-top: 0.5rem;
  }

  .footer-bottom {
    padding: 0.75rem 0;
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero-content .eyebrow {
    font-size: 0.8rem;
  }
}
