/* ==========================================================================
   Desourich — brand theme (blue-to-purple gradient + orange accent, from logo)
   ========================================================================== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fc;
  --color-surface: #ffffff;
  --color-border: #e4e9f2;
  --color-text: #0a2540;
  --color-text-muted: #5b6b85;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-grad-start: #2563eb;
  --color-primary-grad-end: #7c3aed;
  --color-accent: #ff6b4a;

  --font-heading: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 37, 64, 0.12);
  --shadow-primary: 0 12px 28px rgba(37, 99, 235, 0.28);

  --container-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  flex-shrink: 0;
}

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

.section {
  padding: 112px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.08);
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

/* Decorative background blobs ------------------------------------------ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.blob--light-1 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  width: 520px;
  height: 520px;
  top: -180px;
  right: -140px;
}

.blob--light-2 {
  background: radial-gradient(circle, rgba(255, 107, 74, 0.35), transparent 70%);
  width: 440px;
  height: 440px;
  top: 160px;
  left: -180px;
}

.blob--orange {
  background: radial-gradient(circle, rgba(255, 107, 74, 0.22), transparent 70%);
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: 8%;
}

.blob--blue-soft {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
  width: 460px;
  height: 460px;
  top: -140px;
  left: -140px;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.36);
}

.btn--ghost {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header / nav ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
  transition: right 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 4px;
}

/* Hero -------------------------------------------------------------- */
.hero {
  padding: 88px 0 128px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-grad-start) 0%, var(--color-primary-grad-end) 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.5;
  z-index: 0;
}

.hero .container {
  z-index: 1;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-copy p.lead {
  color: rgba(255, 255, 255, 0.88);
}


.btn--on-hero-solid {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.28);
}

.btn--on-hero-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(10, 37, 64, 0.34);
}

.btn--on-hero-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--on-hero-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 1;
}

.section-divider svg {
  width: 100%;
  height: 70px;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin: 0 0 22px;
}

.hero-copy .lead {
  max-width: 500px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stats .stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
}

.hero-stats .stat-label {
  color: #000;
  font-size: 0.88rem;
}

/* Browser mockup (used in hero + about) ---------------------------------- */
.mockup {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.mockup-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup-chrome span:nth-child(1) { background: #ff6b4a; }
.mockup-chrome span:nth-child(2) { background: #f5b942; }
.mockup-chrome span:nth-child(3) { background: #34c76f; }

.mockup-bar {
  margin-left: 14px;
  flex: 1;
  height: 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.mockup-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.mockup-hero-block {
  height: 92px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
  position: relative;
  overflow: hidden;
}

.mockup-hero-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), transparent 60%);
}

.mockup-line {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
}

.mockup-line--w60 { width: 60%; }
.mockup-line--w40 { width: 40%; }
.mockup-line--w80 { width: 80%; }

.mockup-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.mockup-card-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.14);
}

/* Floating badges over the hero mockup */
.hero-visual {
  position: relative;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.floating-badge--top {
  top: -18px;
  left: -28px;
}

.floating-badge--bottom {
  bottom: -20px;
  right: -20px;
}

.floating-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
}

.floating-badge--bottom .floating-badge-icon {
  background: var(--color-accent);
}

.floating-badge-icon .icon {
  width: 18px;
  height: 18px;
}

/* About ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-text);
  font-weight: 500;
}

.about-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 199, 111, 0.15);
  color: #1f9d55;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-list .check .icon {
  width: 14px;
  height: 14px;
}

/* Icons ------------------------------------------------------------------ */
.icon {
  width: 20px;
  height: 20px;
}

/* Cards / grid ----------------------------------------------------------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.card:nth-child(even) .card-icon {
  background: var(--color-accent);
  box-shadow: 0 10px 24px rgba(255, 107, 74, 0.3);
}

.card-icon .icon {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
}

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

/* Testimonials empty state --------------------------------------------- */
.testimonials-empty {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  border: 1px dashed rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.testimonials-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-empty-icon .icon {
  width: 26px;
  height: 26px;
}

.testimonials-empty h3 {
  font-size: 1.25rem;
}

.testimonials-empty p {
  margin: 0;
}

/* Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.contact-info {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary-grad-start), var(--color-primary-grad-end));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
}

.contact-info-item:nth-child(2) .contact-info-icon {
  background: var(--color-accent);
  box-shadow: 0 8px 18px rgba(255, 107, 74, 0.28);
}

.contact-info-item:nth-child(3) .contact-info-icon {
  background: var(--color-text);
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.22);
}

.contact-info-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--color-text);
}

.contact-info-item p {
  margin: 0;
  font-size: 0.9rem;
}

.schedule-call-btn {
  margin-top: 8px;
  width: fit-content;
}

form.contact-form {
  display: grid;
  gap: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.field input,
.field textarea {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
  margin: 0;
}

.form-status[data-state="success"] {
  color: #1f9d55;
}

.form-status[data-state="error"] {
  color: #e0483e;
}

/* CTA banner -------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: linear-gradient(120deg, var(--color-primary-grad-end) 0%, var(--color-primary-grad-start) 100%);
  text-align: center;
  color: #fff;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 640px;
  margin: 0 auto 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding: 56px 0 36px;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .brand {
  color: #fff;
}

.footer-word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
  margin: 0;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto 24px;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn--ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open .nav-links a::after {
    display: none;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero-stats {
    gap: 32px;
  }
}
