/* ===== GLOBAL RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1e2a36;
  color: #f0f4f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(30, 42, 54, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f0f4f8;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6a9aba;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  letter-spacing: 0;
  transition: all 0.3s ease;
}

.brand:hover .brand-mark {
  background: #7aaaca;
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(106, 154, 186, 0.35);
}

.brand strong {
  font-weight: 700;
  color: #f0f4f8;
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.6px;
  color: #aabbcc;
  margin-top: -2px;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: opacity 0.2s;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #f0f4f8;
  border-radius: 4px;
  transition: 0.3s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.site-nav {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: #c4d0dc;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, border-bottom 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6a9aba;
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a:hover {
  color: #f0f4f8;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 5% 3.5rem;
  max-width: 1440px;
  margin: 0 auto;
  background: linear-gradient(145deg, #2a3a48 0%, #1a2633 100%);
  border-radius: 0 0 48px 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(106, 154, 186, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #8abbd8;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: inline-block;
  background: rgba(106, 154, 186, 0.15);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  align-self: flex-start;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #f0f4f8;
  margin-bottom: 1.2rem;
  max-width: 600px;
}

.hero-copy {
  font-size: 1.1rem;
  color: #c4d0dc;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.button.primary {
  background: #6a9aba;
  color: #fff;
  box-shadow: 0 4px 16px rgba(106, 154, 186, 0.35);
}

.button.primary:hover {
  background: #7aaaca;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(106, 154, 186, 0.45);
}

.button.secondary {
  background: transparent;
  color: #c4d0dc;
  border: 1.5px solid #6a9aba;
}

.button.secondary:hover {
  background: #6a9aba;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(106, 154, 186, 0.25);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.25);
  color: #f0f4f8;
}

.button.secondary.light:hover {
  background: #f0f4f8;
  color: #1e2a36;
  border-color: #f0f4f8;
  transform: translateY(-3px);
}

/* ===== HERO PANEL ===== */
.hero-panel {
  background: rgba(42, 58, 72, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 2rem 1.8rem;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #c4d0dc;
}

.panel-topline strong {
  color: #8abbd8;
  font-weight: 600;
  background: rgba(106, 154, 186, 0.18);
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  font-size: 0.8rem;
}

.hero-panel h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 0.2rem;
}

.hero-panel p {
  color: #aabbcc;
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #c4d0dc;
  font-size: 0.95rem;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #2a3a48;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.blueprint-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(42, 58, 72, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.8rem;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.blueprint-card:hover {
  transform: scale(1.02);
}

.blueprint-card span {
  display: block;
  width: 52px;
  height: 52px;
  background: #2a3a48;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.blueprint-card span:hover {
  background: #3a5060;
  transform: rotate(4deg);
}

.build-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.build-frame i {
  display: block;
  width: 60px;
  height: 60px;
  background: rgba(42, 58, 72, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.build-frame i:hover {
  background: rgba(42, 58, 72, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4.5rem 5%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.section-heading p {
  font-size: 1.05rem;
  color: #aabbcc;
}

/* ===== SECTION 1: SERVICES (Lighter Dark Blue) ===== */
#services {
  background: #1a2633;
}
#services .section-heading h2 {
  color: #f0f4f8;
}
#services .section-heading .eyebrow {
  color: #8abbd8;
  background: rgba(106, 154, 186, 0.15);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #2a3a48;
  padding: 2.2rem 1.8rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6a9aba, #8abbd8);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(106, 154, 186, 0.25);
}

.service-number {
  display: inline-block;
  font-weight: 700;
  font-size: 1.8rem;
  color: #6a9aba;
  opacity: 0.3;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-number {
  opacity: 0.6;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #f0f4f8;
}

.service-card p {
  color: #aabbcc;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SECTION 2: PROCESS (Lighter Dark Purple) ===== */
#process {
  background: #221c2e;
}
#process .section-heading h2 {
  color: #f0f4f8;
}
#process .section-heading .eyebrow {
  color: #b89ad4;
  background: rgba(160, 120, 200, 0.15);
}
#process .section-heading p {
  color: #aabbcc;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.process-item {
  text-align: center;
  background: #32284a;
  padding: 2.5rem 1.8rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.process-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(160, 120, 200, 0.25);
}

.process-item span {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  background: #3d305a;
  padding: 0.4rem 1.6rem;
  border-radius: 60px;
  color: #b89ad4;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.process-item:hover span {
  background: #9a7aba;
  color: #f0f4f8;
}

.process-item p {
  color: #aabbcc;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SECTION 3: REPRESENTATIVE (Lighter Dark Teal) ===== */
#representative {
  background: #182a30;
}
#representative .section-heading h2 {
  color: #f0f4f8;
}
#representative .section-heading .eyebrow {
  color: #8ad4ba;
  background: rgba(100, 190, 170, 0.15);
}

.rep-card {
  background: #223e44;
  padding: 3.5rem 3rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.rep-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.rep-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 0.6rem;
}

.rep-card p {
  color: #aabbcc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.rep-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 1rem;
  border-left: 3px solid #6aba9a;
}

.rep-details span {
  color: #c4d0dc;
  font-size: 0.95rem;
}

/* ===== SECTION 4: CONTACT (Lighter Dark Warm) ===== */
#contact {
  background: #261e16;
}

.contact-card {
  background: linear-gradient(145deg, #3a2e1e, #241c12);
  color: #f0f4f8;
  padding: 3.5rem 3rem;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 180, 140, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-card .eyebrow {
  color: #dcb890;
  background: rgba(210, 170, 130, 0.15);
}

.contact-card h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  color: #f0f4f8;
  position: relative;
  z-index: 1;
}

.contact-card p {
  color: #c0a890;
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.message {
  margin-top: 1.5rem;
  font-weight: 500;
  color: #c0a890;
  min-height: 2.5rem;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a2633;
  color: #aabbcc;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer strong {
  font-weight: 700;
  color: #f0f4f8;
}

.site-footer span {
  color: #aabbcc;
  font-size: 0.9rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .rep-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .rep-details {
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 5%;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-panel {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(30, 42, 54, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 24px 24px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 1.1rem;
    padding: 0.4rem 0;
  }

  .hero {
    padding: 2rem 5%;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 3rem 5%;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 2.5rem 1.5rem;
  }

  .contact-card h2 {
    font-size: 1.6rem;
  }

  .rep-card {
    padding: 2rem 1.5rem;
  }

  .rep-card h2 {
    font-size: 1.6rem;
  }

  .service-card {
    padding: 1.8rem 1.5rem;
  }

  .process-item {
    padding: 2rem 1.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .blueprint-card {
    padding: 1.2rem;
    gap: 8px;
  }

  .blueprint-card span {
    width: 40px;
    height: 40px;
  }

  .build-frame i {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero-copy {
    font-size: 1rem;
  }
  .button {
    padding: 0.7rem 1.6rem;
    font-size: 0.85rem;
  }
  .contact-card h2 {
    font-size: 1.3rem;
  }
  .section-heading h2 {
    font-size: 1.5rem;
  }
}