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

:root {
  --primary: #087dbc;
  --dark: #071827;
  --muted: #f3f7fb;
  --text: #1f2937;
  --white: #ffffff;
  --border: #dbe7f1;
  --shadow: 0 20px 50px rgba(7, 24, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--dark); }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; }

.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: white !important; padding: 10px 16px; border-radius: 999px; }

.menu-toggle { display: none; border: none; background: transparent; font-size: 28px; cursor: pointer; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7,24,39,.90), rgba(7,24,39,.55)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 80px 20px;
}

.hero-content { max-width: 1180px; width: 100%; margin: 0 auto; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 13px; margin: 0 0 14px; }
.hero .eyebrow { color: #8bd7ff; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; margin: 0; max-width: 860px; }
.hero-text { font-size: 20px; max-width: 680px; margin: 24px 0 34px; color: #e9f5fb; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: var(--primary); color: white; }
.secondary { background: white; color: var(--dark); }
.outline { border: 1px solid var(--primary); color: var(--primary); background: white; }

.trust-strip {
  max-width: 1080px;
  margin: -55px auto 0;
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-strip div { padding: 12px 18px; border-left: 4px solid var(--primary); }
.trust-strip strong { display: block; color: var(--dark); font-size: 18px; }
.trust-strip span { color: #607083; }

.section { max-width: 1180px; margin: 0 auto; padding: 90px 20px; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; margin: 0 0 14px; color: var(--dark); }
h3 { color: var(--dark); margin: 0 0 10px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.card, .plan, .contact-card, .contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(7,24,39,.06);
}
.card:hover, .plan:hover { transform: translateY(-4px); transition: .2s ease; border-color: #9bd8fa; }

.muted { max-width: none; background: var(--muted); }
.muted > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border: 2px solid var(--primary); transform: scale(1.02); }
.badge { position: absolute; top: 18px; right: 18px; background: var(--primary); color: white; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.plan-for { color: var(--primary); font-weight: 700; }
.plan ul { padding-left: 20px; margin-bottom: 22px; }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content { padding: 70px; display: flex; flex-direction: column; justify-content: center; background: var(--dark); color: white; }
.split-content h2 { color: white; }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list span { background: rgba(255,255,255,.08); padding: 12px 14px; border-radius: 12px; }

.booking { max-width: none; background:
  linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
  url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.form-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-form label { display: grid; gap: 8px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fbfdff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(8,125,188,.2);
  border-color: var(--primary);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.contact-card { background: var(--dark); color: white; }
.contact-card h2 { color: white; }
.contact-card a { color: #8bd7ff; font-weight: 800; }

.chat-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: white;
  font-size: 26px;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 80;
}
.chatbot {
  position: fixed;
  right: 24px;
  bottom: 95px;
  width: min(360px, calc(100vw - 40px));
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  display: none;
  z-index: 80;
}
.chatbot.open { display: block; }
.chat-header { background: var(--dark); color: white; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-close { background: transparent; border: 0; color: white; font-size: 24px; cursor: pointer; }
.chat-body { padding: 16px; max-height: 250px; overflow-y: auto; }
.bot-msg, .user-msg { padding: 10px 12px; border-radius: 12px; margin-bottom: 10px; }
.bot-msg { background: var(--muted); }
.user-msg { background: var(--primary); color: white; margin-left: 34px; }
.chat-options { padding: 12px; display: grid; gap: 8px; }
.chat-options button { border: 1px solid var(--border); background: white; padding: 10px; border-radius: 10px; cursor: pointer; font-weight: 700; }

footer {
  background: #06111c;
  color: #c9d9e6;
  text-align: center;
  padding: 30px 20px;
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid, .trust-strip, .form-wrapper, .contact-section, .split-section { grid-template-columns: 1fr; }
  .split-content { padding: 45px 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 81px;
    right: 20px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}

@media (max-width: 560px) {
  .hero { min-height: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .trust-strip { margin: 0 20px; border-radius: 18px; }
  .section { padding: 65px 20px; }
  .brand span { font-size: 14px; }
}

/* AppFarm-inspired modern feel: bold hero, floating service discovery, clean cards */
.services-modern {
  max-width: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(8,125,188,.13), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(31,192,255,.12), transparent 26%),
    #ffffff;
}
.services-modern > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.floating-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 34px;
}

.service-tab {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.86);
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(7,24,39,.08);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: .2s ease;
}

.service-tab:hover,
.service-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.service-detail-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  background: var(--dark);
  color: white;
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-detail-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-kicker {
  display: inline-flex;
  width: fit-content;
  color: #9fe0ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.service-detail-copy h3 {
  color: white;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.service-detail-copy p {
  color: #d6e7f0;
  font-size: 17px;
}

.service-detail-copy ul {
  margin: 6px 0 24px;
  padding-left: 20px;
  color: #edf7fc;
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 120;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 25, .72);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  max-width: 940px;
  width: 100%;
  background: white;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7,24,39,.08);
  color: var(--dark);
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
}

.modal-content img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-content > div {
  padding: 44px 38px;
}

.modal-content h3 {
  font-size: 34px;
}

.modal-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

@media (max-width: 980px) {
  .service-detail-panel,
  .modal-content {
    grid-template-columns: 1fr;
  }
  .service-detail-visual img,
  .modal-content img {
    min-height: 260px;
  }
}


/* Final logo visibility improvements */
.brand {
  gap: 16px;
}

.brand .site-logo,
.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 8px 22px rgba(7,24,39,.16);
}

.site-header .nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-links {
  align-items: center;
}

@media (max-width: 980px) {
  .nav-links {
    top: 112px;
  }
}

@media (max-width: 560px) {
  .brand .site-logo,
  .brand img {
    width: 72px;
    height: 72px;
  }

  .brand span {
    font-size: 15px;
    line-height: 1.15;
  }
}


/* V4: Squarespace-inspired polish: spacious, refined, uncluttered */
.brand-name {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--dark);
  line-height: 1;
}

.stats-strip {
  max-width: 900px;
  margin: 34px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats-strip div {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 18px;
  text-align: center;
  box-shadow: 0 14px 32px rgba(7,24,39,.07);
}

.stats-strip strong {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--dark);
}

.stats-strip span {
  display: block;
  margin-top: 8px;
  color: #607083;
  font-weight: 800;
  font-size: 14px;
}

.clients-section {
  max-width: none;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  overflow: hidden;
}

.clients-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.client-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1040px;
}

.client-marquee span {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--dark);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(7,24,39,.05);
}

@media (max-width: 760px) {
  .stats-strip {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .brand-name {
    font-size: 20px;
  }
}
