/* ===========================
   LEGGO — Styles
   Fonts: Plus Jakarta Sans (headings) + Inter (body)
   Palette: Slate #1E293B | Orange #F97316 | Warm White #FFF7ED
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1E293B;
  --blue-dk:   #0F172A;
  --blue-md:   #334155;
  --sky:       #F97316;
  --sky-lt:    #FB923C;
  --sky-pale:  #FFF7ED;
  --white:     #FFFFFF;
  --dark:      #0F172A;
  --gray:      #64748B;
  --gray-lt:   #E2E8F0;
  --radius:    12px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow:    0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg: 0 16px 40px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.06);
  --trans:     0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p  { color: #475569; line-height: 1.75; }

/* ===========================
   NAVIGATION
=========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-lt);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15,23,42,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.04em;
}
.nav-logo span { color: var(--sky); }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--trans);
}
.nav-links a:hover { color: var(--blue); background: var(--gray-lt); }
.nav-links a.active { color: var(--sky); background: rgba(249,115,22,0.08); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--blue); border-radius: 2px; transition: var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(140deg, #1E293B 0%, #0F172A 55%, #020617 100%);
  color: var(--white);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-blob-1,
.hero-blob-2 {
  display: none;
}

.hero-inner { max-width: 760px; position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-lt);
  background: rgba(251,146,60,0.12);
  border: 1px solid rgba(251,146,60,0.28);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sky-lt);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-highlight {
  color: var(--sky);
  -webkit-text-fill-color: var(--sky);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.90);
  margin-bottom: 20px;
  max-width: 640px;
}

.hero-detail {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid rgba(251,146,60,0.50);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  max-width: 640px;
}
.hero-detail p {
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.72) !important;
  margin: 0 !important;
  line-height: 1.7;
}

.hero-tagline-group { margin-bottom: 44px; }
.hero-tagline {
  font-size: 0.97rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 4px;
}
.hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.60);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, #EA6C0A 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(249,115,22,0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #FB923C 0%, #EA6C0A 100%);
  box-shadow: 0 8px 24px rgba(249,115,22,0.42);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.40);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.80);
  transform: translateY(-2px);
}

/* ===========================
   SECTIONS
=========================== */
.section { padding: 96px 0; }

.section-alt {
  background-color: var(--sky-pale);
  background-image: radial-gradient(circle, rgba(249,115,22,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-header .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header p {
  margin-top: 14px;
  font-size: 1.02rem;
  color: var(--gray);
}

.teal-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--sky-lt));
  border-radius: 2px;
  margin: 14px 0 0;
  transition: width 0.4s ease;
}
.teal-line.centered { margin: 14px auto 0; }
.section-header:hover .teal-line { width: 72px; }

/* ===========================
   GRID
=========================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===========================
   WHY CARDS
=========================== */
.why-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
  transition: var(--trans);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-lt);
}

.why-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sky), #EA6C0A);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(249,115,22,0.30);
}
.why-icon svg { display: block; }

.why-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--blue); }
.why-card p  { font-size: 0.9rem; color: var(--gray); line-height: 1.65; margin-bottom: 0; }

/* ===========================
   WHAT WE DO TABLE
=========================== */
.what-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
}
.what-table thead { background: var(--blue); }
.what-table thead th {
  padding: 16px 24px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.what-table thead th:first-child { color: var(--white); }
.what-table tbody tr { border-bottom: 1px solid var(--gray-lt); transition: background 0.15s; }
.what-table tbody tr:last-child { border-bottom: none; }
.what-table tbody tr:nth-child(even) { background: #FAFCFF; }
.what-table tbody tr:hover { background: rgba(249,115,22,0.05); }
.what-table td { padding: 18px 24px; font-size: 0.94rem; }
.what-table td:first-child { font-weight: 600; color: var(--blue); width: 32%; }
.what-table td:first-child::before {
  content: '→ ';
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 400;
}

/* ===========================
   SERVICE CARDS
=========================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 32px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--sky-lt));
  transition: var(--trans);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,115,22,0.22);
}
.service-card:hover::before {
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.service-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.service-card h3 { margin-bottom: 12px; font-size: 1.08rem; }
.service-card p  { font-size: 0.93rem; color: var(--gray); line-height: 1.7; }

/* ===========================
   DIFF CARDS (About)
=========================== */
.diff-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}
.diff-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), transparent);
}
.diff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.diff-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(249,115,22,0.22), rgba(249,115,22,0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}
.diff-card h3 { margin-bottom: 10px; }
.diff-card p  { font-size: 0.93rem; color: var(--gray); line-height: 1.7; }

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  background: linear-gradient(140deg, var(--blue) 0%, #0A2540 55%, var(--blue-dk) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  display: none;
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 36px; }
.cta-banner h2::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--sky);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-dk) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  display: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 44px;
  background: var(--white);
  clip-path: ellipse(56% 100% at 50% 100%);
}
.page-hero.alt-bg::after { background: var(--sky-pale); }

.page-hero .hero-eyebrow { margin-bottom: 18px; }
.page-hero h1 { color: var(--white); }
.page-hero p.hero-sub {
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ===========================
   ABOUT PAGE
=========================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-intro .text-side p { margin-bottom: 18px; font-size: 1rem; max-width: 56ch; }

.about-visual {
  background: linear-gradient(140deg, var(--blue), var(--blue-md));
  border-radius: 16px;
  padding: 44px 40px;
  color: var(--white);
  position: sticky;
  top: 88px;
}
.about-visual h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,146,60,0.95);
  margin-bottom: 12px;
}
.about-visual-line {
  width: 36px; height: 2px;
  background: rgba(251,146,60,0.50);
  border-radius: 2px;
  margin-bottom: 20px;
}
.about-visual p {
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
  line-height: 1.78;
  margin-bottom: 0;
  font-style: italic;
}

.role-not {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--gray-lt);
  border-left: 3px solid var(--gray-lt);
  box-shadow: var(--shadow-sm);
}
.role-not p { font-size: 0.93rem; color: var(--gray); margin-bottom: 0; line-height: 1.6; }

.role-yes {
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 30px 32px;
  border: 1px solid rgba(249,115,22,0.20);
  border-left: 4px solid var(--sky);
  height: 100%;
}
.role-yes p { font-size: 0.97rem; color: var(--dark); margin-bottom: 12px; line-height: 1.75; }
.role-yes p:first-child { font-weight: 700; color: var(--blue); font-size: 1.05rem; margin-bottom: 16px; }
.role-yes p:last-child { margin-bottom: 0; }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 52px;
  align-items: start;
}

.contact-info h2 { font-size: 1.6rem; margin-bottom: 22px; line-height: 1.3; }
.contact-info > p {
  font-size: 0.97rem;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.78;
  max-width: 54ch;
}

.contact-steps {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-lt);
}
.contact-step { display: flex; gap: 16px; align-items: flex-start; }
.contact-step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--sky), #EA6C0A);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(249,115,22,0.28);
}
.contact-step strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--blue); margin-bottom: 3px; }
.contact-step p { font-size: 0.86rem; color: var(--gray); margin: 0; line-height: 1.55; }

.form-card {
  background: var(--white);
  border-radius: 0 0 16px 16px;
  border-top: 4px solid var(--sky);
  padding: 36px 40px 40px;
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--gray-lt);
  border-right: 1px solid var(--gray-lt);
  border-bottom: 1px solid var(--gray-lt);
}
.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card > p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-lt);
  line-height: 1.6;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-lt);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--trans);
  outline: none;
  width: 100%;
  line-height: 1.5;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94A3B8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.10);
  background: #FFFBF8;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  font-size: 0.97rem;
  padding: 15px;
  background: linear-gradient(135deg, var(--sky) 0%, #EA6C0A 100%);
  box-shadow: 0 4px 16px rgba(249,115,22,0.28);
  border-radius: 9px;
}
.form-submit:hover {
  background: linear-gradient(135deg, #FB923C 0%, #C2550A 100%);
  box-shadow: 0 8px 28px rgba(249,115,22,0.38);
  transform: translateY(-2px);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--blue-dk);
  border-top: 3px solid var(--sky);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--sky-lt); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); max-width: 280px; line-height: 1.75; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-lt);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.50); transition: var(--trans); }
.footer-col a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================
   UTILITIES
=========================== */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-lt);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }

  .section { padding: 64px 0; }
  .hero { padding: 48px 0 44px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 20px 32px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .container { padding: 0 18px; }
}
