/* Base layout & typography */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle at top, #1e293b 0, #020617 50%, #000 100%);
  color: #f9fafb;
}

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

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 600;
}

/* Skip link for keyboard users */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: #020617;
  color: #f9fafb;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 2000;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  box-shadow: 0 0 0 3px #38bdf8;
}

/* Layout helpers */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3rem 1rem;
}

.section-accent {
  background: rgba(15, 23, 42, 0.85);
}

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #e5e7eb;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.nav-links a:hover {
  background: rgba(56, 189, 248, 0.16);
  color: #f9fafb;
  transform: translateY(-1px);
}

.nav-links a.active {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
}

.header-cta {
  text-align: right;
  font-size: 0.8rem;
  color: #9ca3af;
}

.phone-link {
  display: block;
  font-weight: 600;
  color: #f9fafb;
}

/* Hero */

.hero {
  padding: 3.5rem 1rem 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #38bdf8;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.hero-text {
  color: #cbd5f5;
  max-width: 36rem;
}

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

.hero-footnote {
  font-size: 0.9rem;
  color: #9ca3af;
}

.hero-image-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.8);
}

.hero-image-card img {
  border-radius: 0.75rem;
}

.image-caption {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  box-shadow: 0 14px 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.55);
}

.btn-outline {
  border-color: #38bdf8;
  color: #e5e7eb;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
}

.link-arrow {
  font-weight: 500;
  position: relative;
}

.link-arrow::after {
  content: "→";
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

/* Focus-visible for keyboard users */

.nav-links a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.nav-links a:focus-visible {
  background: rgba(56, 189, 248, 0.24);
  color: #f9fafb;
}

/* Sections */

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
}

/* Cards & grids */

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

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.5);
}

.card-muted {
  background: rgba(15, 23, 42, 0.75);
}

.card-list {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

/* Two-column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Highlight / info boxes */

.highlight-box {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Page hero */

.page-hero {
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* Center the title and subtitle on all non-home pages */
.page-hero .container {
  text-align: center;
}

.page-hero h1 {
  font-size: 1.8rem;
}


/* Gallery (CSS image gallery & transitions) */

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

.gallery-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item figcaption {
  padding: 0.9rem 1rem 1rem;
}

.gallery-item h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.gallery-item p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.7);
}

/* Pricing table */

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.pricing-table caption {
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.pricing-table th {
  text-align: left;
  background: rgba(15, 23, 42, 0.9);
}

.pricing-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.7);
}

.pricing-note {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Contact & form */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label,
.form-field span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  color: #e5e7eb;
  font: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
  border-color: #38bdf8;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.radio-group input {
  margin-right: 0.25rem;
}

/* Required field marker */

.required {
  color: #f97373;
  font-weight: 600;
}

/* Form status feedback */

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #fb7185;
}

/* Testimonials */

.testimonial-card {
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: #e5e7eb;
}

.testimonial-name {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.checklist {
  padding-left: 1.1rem;
}

/* Image cards */

.image-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.85);
}

/* CTA panel */

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Footer */

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.75rem 1rem 1.25rem;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 1);
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive adjustments */

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .header-cta {
    width: 100%;
    text-align: left;
    margin-top: 0.4rem;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 600px) {
  .nav-links {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 2.25rem 1rem;
  }
}
