:root {
  --navy: #12263a;
  --blue: #1f6feb;
  --light-blue: #eaf3ff;
  --text: #243447;
  --muted: #627286;
  --white: #ffffff;
  --light: #f6f8fb;
  --border: #dbe3ec;
  --success: #197a4a;
  --shadow: 0 14px 35px rgba(18, 38, 58, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a {
  color: inherit;
}

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

/* Header and navigation */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
}

.brand span {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 999px;
  margin: 4px 0;
}

.site-nav {
  display: flex;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--blue);
}

/* Shared hero styling */

.hero {
  background: linear-gradient(135deg, var(--navy), #1a4165);
  color: var(--white);
  padding: 92px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero p {
  font-size: 1.12rem;
  color: #dbe9f7;
  max-width: 680px;
  margin-bottom: 30px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

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

.btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  margin-right: 10px;
}

/* General sections */

section {
  padding: 82px 0;
}

.section-light {
  background: var(--light);
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

/* Main website cards */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.about-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 22px rgba(18, 38, 58, 0.06);
}

.about-card h3,
.contact-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(18, 38, 58, 0.05);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--light-blue);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.14rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  min-height: 78px;
}

.price {
  display: inline-block;
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--blue);
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact section */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.contact-list strong {
  color: var(--navy);
}

.ticket-box {
  align-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 34px;
  text-align: center;
}

.ticket-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.ticket-box p {
  color: #dbe9f7;
  margin-bottom: 22px;
}

/* Forms */

form {
  margin: 0 auto 5%;
  width: min(850px, 92%);
  font-size: 1.1rem;
}

form h2,
.form-box h2 {
  text-align: center;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  margin: 8px 0 18px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(31, 111, 235, 0.12);
}

#ticket-form {
  max-width: 900px;
  margin: 0 auto 4rem;
}

#ticket-form h1 {
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--navy);
}

#ticket-form .form-message {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(18, 38, 58, 0.08);
}

#ticket-form .form-message.success {
  background: #e6ffed;
  color: #1d6e3d;
  border: 1px solid #8de1a0;
}

#ticket-form .form-message.error {
  background: #ffe6e6;
  color: #8a1f1f;
  border: 1px solid #e19a9a;
}

#ticket-form .form-box {
  margin-bottom: 1.5rem;
}

#ticket-form .form-box h2 {
  margin-bottom: 1rem;
}

#ticket-form .form-box p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

#ticket-form fieldset {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

#ticket-form fieldset legend {
  font-weight: 700;
  padding: 0 0.5rem;
}

#ticket-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: 1rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
  color: var(--text);
}

#ticket-form fieldset label input {
  margin: 0;
}

#ticket-form textarea {
  min-height: 160px;
  resize: vertical;
}

#ticket-form .submit-information button {
  width: 100%;
}

#ticket-form a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

#ticket-form a:hover {
  text-decoration: underline;
}

#ticket-form .availability-acknowledgment {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 1rem;
}

#ticket-form .availability-acknowledgment input[type="checkbox"] {
  margin-top: 0.25rem;
}

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 28px;
  margin-top: 2%;
  box-shadow: 0 8px 22px rgba(18, 38, 58, 0.06);
}

.device-information fieldset {
  padding: 2%;
  margin-right: 2%;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.issue-information textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--light);
  font-size: 1rem;
  resize: vertical;
}

.form-box button[type="submit"] {
  background-color: var(--blue);
  color: var(--white);
  padding: 13px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
}

.form-box button[type="submit"]:hover {
  opacity: 0.92;
}

/* Terms and privacy page */

.terms-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.terms-sidebar {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(18, 38, 58, 0.06);
}

.terms-sidebar h2 {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 14px;
}

.terms-sidebar ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.terms-sidebar a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.terms-sidebar a:hover,
.terms-sidebar a:focus {
  color: var(--blue);
}

.terms-content {
  display: grid;
  gap: 22px;
}

.terms-card,
.notice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 22px rgba(18, 38, 58, 0.06);
}

.terms-card h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 18px;
}

.terms-card h3 {
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.terms-card p + p {
  margin-top: 12px;
}

.terms-card ul {
  margin: 12px 0 0 22px;
}

.terms-card li + li {
  margin-top: 7px;
}

.notice-card {
  border-left: 5px solid var(--blue);
  background: var(--light-blue);
}

.notice-card strong {
  color: var(--navy);
}

.contact-card {
  border-left: 5px solid var(--blue);
}

.contact-card a {
  color: var(--blue);
  font-weight: 700;
}

/* Footer */

footer {
  background: #0c1a28;
  color: #c8d5e2;
  text-align: center;
  padding: 26px 0;
  font-size: 0.92rem;
}

/* Responsive layout */

@media (max-width: 850px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 4px;
  }

  .terms-sidebar {
    position: static;
  }

  .terms-sidebar ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 68px 0;
  }

  section {
    padding: 64px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: auto;
  }

  .terms-card,
  .contact-card,
  .notice-card,
  .hero-card,
  .form-box {
    padding: 22px;
  }

  .terms-sidebar ul {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  form {
    width: 92%;
    font-size: 1rem;
  }
}

/* Print styling */

@media print {
  header,
  .button-row,
  .terms-sidebar,
  footer {
    display: none;
  }

  .hero {
    background: var(--white);
    color: var(--text);
    padding: 20px 0;
  }

  .hero p {
    color: var(--text);
  }

  section {
    padding: 18px 0;
  }

  .terms-card,
  .contact-card,
  .notice-card {
    box-shadow: none;
    break-inside: avoid;
  }
}
