/* ==========================================================================
   Linecode Technology — Base styles
   Colors sampled from brand logo: red #EB3942 / navy #1C252C
   ========================================================================== */

:root {
  --red: #EB3942;
  --red-dark: #D22A33;
  --navy: #1C252C;
  --navy-soft: #333F4A;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --border: #E6E8EB;
  --text: #1C252C;
  --text-muted: #5B6570;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --max-width: 1160px;
  --shadow: 0 10px 30px -12px rgba(28,37,44,0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(235,57,66,0.55);
}
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.section-eyebrow, .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.8em;
}

.section-sub { max-width: 620px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-logo { height: 42px; width: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--red); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #FCFCFD 0%, #FFFFFF 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-sub { font-size: 1.08rem; max-width: 520px; }

.hero-actions { display: flex; gap: 14px; margin: 28px 0 24px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust li { position: relative; padding-left: 18px; }
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%);
  background: var(--red);
  border-radius: 50%;
}

.hero-visual { display: flex; justify-content: center; }
.hero-graphic {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hero-icon { width: 100%; max-width: 200px; }

/* ==========================================================================
   Services
   ========================================================================== */

.services { padding: 90px 0; background: var(--bg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ==========================================================================
   Why Us
   ========================================================================== */

.why-us { padding: 90px 0; background: var(--navy); }
.why-us h2, .why-us .section-eyebrow { color: #fff; }
.why-us .section-eyebrow { color: var(--red); }
.why-us .section-sub { color: #B8C0C7; }

.why-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.why-list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.why-list li { display: flex; flex-direction: column; gap: 4px; }
.why-list strong { color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.why-list span { color: #AEB7BF; font-size: 0.93rem; }

.why-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: #C6CDD3; font-size: 0.9rem; }

/* ==========================================================================
   Success Stories
   ========================================================================== */

.success-stories { padding: 90px 0; background: var(--bg); }

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

.testimonial-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote { margin: 0; flex: 1; }
.testimonial-card blockquote p {
  font-size: 0.98rem;
  color: var(--navy);
  font-style: italic;
  margin: 0;
}
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 0.92rem; }

.reviews-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.reviews-cta p { margin: 0; color: var(--text-muted); }

/* ==========================================================================
   About
   ========================================================================== */

.about { padding: 90px 0; background: var(--bg-alt); }
.about-inner { max-width: 720px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { padding: 90px 0; background: var(--bg); }

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

.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.contact-details a, .contact-details span:not(.contact-label) {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
}
.contact-details a:hover { color: var(--red); }

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form button { margin-top: 6px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 6px 0 0;
}

.contact-panel {
  min-height: 100%;
}

.contact-form[hidden] {
  display: none;
}

.contact-success {
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 16px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: var(--shadow);
  min-height: 280px;
  justify-content: center;
}
.contact-success[hidden] {
  display: none;
}
.contact-success .section-eyebrow {
  color: #fff;
  background: var(--red);
  display: inline-block;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.contact-success-title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: #fff;
  margin: 0 0 8px;
}
.contact-success-copy {
  font-size: 1.05rem;
  color: #C6CDD3;
  margin: 0 0 22px;
  max-width: 36em;
  line-height: 1.5;
}
.contact-success .btn {
  margin-top: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo { height: 26px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-tagline { color: #9AA4AC; font-size: 0.88rem; margin: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #C6CDD3; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--red); }
.footer-copy { color: #6E7882; font-size: 0.8rem; margin: 8px 0 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto; }
  .why-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 14px;
  }
  .main-nav.open a { padding: 8px 0; }

  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 56px; }
  .services, .why-us, .success-stories, .about, .contact { padding: 64px 0; }
  .story-card, .contact-form, .contact-success { padding: 28px; }
}

/* ==========================================================================
   PARTNERS STRIP
   ========================================================================== */

.partners {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.partners-inner {
  text-align: center;
}

.partners-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  margin-bottom: 20px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 600px) {
  .partners-logos {
    gap: 32px;
  }
  .partner-logo {
    height: 72px;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--navy);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px -12px rgba(28,37,44,0.35);
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
