:root {
  --bg: #0b1220;
  --bg-alt: #0f1829;
  --panel: rgba(11, 18, 32, 0.85);
  --panel2: rgba(11, 18, 32, 0.62);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --brand: #ff7a00;
  --brand-glow: rgba(255, 122, 0, 0.2);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.9;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip Link */
.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--white);
  color: var(--bg);
  border-radius: 12px;
  z-index: 999;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(11, 18, 32, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand img {
  height: 56px;
  width: auto;
  display: block;
  overflow: visible;
  filter: invert(1) brightness(1.15) sepia(0.2) saturate(1.3) hue-rotate(165deg);
}

.navlinks {
  display: flex;
  gap: 8px;
  align-items: center;
}

.navlinks a {
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--muted);
  transition: var(--transition);
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.topcontact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topcontact a {
  font-weight: 700;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.2);
  color: var(--brand);
  transition: var(--transition);
}

.topcontact a:hover {
  background: rgba(255, 122, 0, 0.15);
  border-color: rgba(255, 122, 0, 0.3);
}

/* ========================================
   HOME PAGE - FULLSCREEN HERO
   ======================================== */

.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-fullscreen {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  background: url("sf-skyline-night.jpg") center center/cover no-repeat;
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 18, 32, 0.4) 0%,
    rgba(11, 18, 32, 0.2) 40%,
    rgba(11, 18, 32, 0.3) 70%,
    rgba(11, 18, 32, 0.7) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  min-height: calc(100vh - 180px);
}

/* Service Icons - Home Page */
.service-icons {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: var(--transition);
}

.service-icon:hover {
  transform: translateY(-8px);
}

.icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-icon:hover .icon-circle {
  background: rgba(255, 122, 0, 0.15);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 12px 40px rgba(255, 122, 0, 0.2);
}

.icon-circle svg {
  width: 48px;
  height: 48px;
  color: var(--brand);
  transition: var(--transition);
}

.service-icon:hover .icon-circle svg {
  transform: scale(1.1);
}

.icon-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.service-icon:hover .icon-label {
  color: var(--brand);
}

/* Home Footer */
.footer-home {
  position: relative;
  z-index: 10;
  padding: 24px 0;
  background: rgba(11, 18, 32, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================
   INNER PAGES - PAGE HERO
   ======================================== */

.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0b1220 0%, #0f1829 40%, #131e33 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #ffffff;
}

.page-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(135deg, #0f1829 0%, #131e33 50%, #0f1829 100%);
}

.section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #ffffff;
}

.section-intro {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 600px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.content-block h2 {
  margin-bottom: 20px;
  color: #ffffff;
}

.content-block p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list li {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-list li strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #ffffff;
}

.feature-list li span {
  font-size: 14px;
  color: var(--muted);
}

/* Area Grid */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.area-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.area-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.area-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ========================================
   SERVICES PAGE
   ======================================== */

.service-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail.reverse {
  grid-template-columns: 1fr 200px;
}

.service-detail.reverse .service-icon-large {
  order: 2;
}

.service-icon-large {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.service-icon-large svg {
  width: 64px;
  height: 64px;
  color: var(--brand);
}

.service-info h2 {
  font-size: 36px;
  margin-bottom: 8px;
  color: #ffffff;
}

.service-tagline {
  font-size: 18px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px !important;
}

.service-info > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
}

.service-features {
  margin-top: 32px;
}

.service-features h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #ffffff;
}

.service-features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-features li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}

.service-features li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.contact-card h2 {
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-card > p {
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 122, 0, 0.15);
  border: 1px solid rgba(255, 122, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.method-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.method-details strong {
  font-size: 14px;
  color: var(--muted);
}

.method-details span {
  font-size: 16px;
  color: var(--text);
}

.contact-note {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.contact-note p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.contact-note strong {
  color: #ffffff;
}

/* Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper {
  height: 100%;
  min-height: 400px;
}

.map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(1.05) contrast(1.02) brightness(0.95);
}

/* Response Info */
.response-info h2 {
  text-align: center;
  margin-bottom: 48px;
  color: #ffffff;
}

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

.response-item {
  text-align: center;
  padding: 24px;
}

.response-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.15);
  border: 2px solid rgba(255, 122, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

.response-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.response-item p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: var(--bg);
}

.cta-box {
  text-align: center;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-box h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-box p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ff5500 100%);
  color: var(--bg);
  border: none;
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  filter: invert(1) brightness(1.15) sepia(0.2) saturate(1.3) hue-rotate(165deg);
}

.footer-brand small {
  color: var(--muted);
}

.note {
  color: var(--muted);
}

.note a {
  color: var(--text);
}

.note a:hover {
  color: var(--brand);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  .service-icons {
    gap: 36px;
  }

  .icon-circle {
    width: 100px;
    height: 100px;
  }

  .icon-circle svg {
    width: 40px;
    height: 40px;
  }

  .icon-label {
    font-size: 16px;
  }

  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .area-grid,
  .response-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail.reverse .service-icon-large {
    order: 0;
  }

  .service-features ul {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 0;
  }

  .brand img {
    height: 44px;
  }

  .navlinks {
    gap: 4px;
  }

  .navlinks a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .topcontact {
    display: none;
  }

  .hero-fullscreen {
    margin-top: 68px;
    min-height: calc(100vh - 160px);
  }

  .hero-content {
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    min-height: auto;
  }

  .service-icons {
    flex-direction: column;
    gap: 32px;
    width: 100%;
    align-items: center;
  }

  .page-hero {
    padding: 100px 0 48px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .navlinks a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .icon-circle {
    width: 90px;
    height: 90px;
  }

  .icon-circle svg {
    width: 36px;
    height: 36px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .section h2 {
    font-size: 26px;
  }

  .service-icon-large {
    width: 120px;
    height: 120px;
  }

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

  .service-info h2 {
    font-size: 28px;
  }

  .cta-box h2 {
    font-size: 26px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
