/* Load Themify Icons so <i class="ti-..."> works */
@import url("https://cdnjs.cloudflare.com/ajax/libs/themify-icons/0.1.2/css/themify-icons.css");

/* ---------- THEME TOKENS ---------- */
:root {
  --bg: #F6F3EF;
  --card: #FFFFFF;
  --ink: #121212;
  --muted: #6A6A6A;
  --line: #E7E1DA;
  --pill: #111111;
  --brand: #0E1111;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.06);
  --shadow-soft: 0 12px 35px rgba(17,17,17,.07);
  --max: 1100px;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px;
}
.grid { display: grid; gap: 28px; }

/* ---------- NAVBAR ---------- */
.navbar {
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { font-weight: 800; font-size: 18px; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-links a { font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--muted); }
.cta-nav {
  background: var(--pill);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--bg);              /* light beige background */
  color: var(--ink);                  /* dark text */
  padding: 80px 0 60px;               /* more breathing room */
  text-align: center;                 /* center content */
}

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

.hero .h1 {
  font-size: 48px;                    /* slightly larger for impact */
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero .cta {
  background: var(--pill);
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 840px) {
  .hero {
    padding: 60px 0 40px;
  }
  .hero .h1 {
    font-size: 38px;
  }
  .hero .lede {
    font-size: 16px;
  }
}



/* ---------- SERVICES / OPTIONS ---------- */
.services {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 32px;
  margin-top: 18px;
}

/* ---------- HOW WE WORK / WHY BETTER / EXPERTISE (shared rail styles) ---------- */
.sec-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 0;
}
.sec-eyebrow {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
}
.sec-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin: 4px 0;
}
.sec-sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
}
.how-rail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.step {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #F1ECE6;
  border: 1px solid var(--line);
  font-weight: 700;
}
.step h4 {
  margin: 10px 0 6px;
  font-size: 14px;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 240px;
}

/* ---------- EXPERTISE GRID (individual cards) ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.expertise-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}
.icon-circle {
  width: 60px;
  height: 60px;
  background: #F1ECE6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--brand);
}
.expertise-card h4 {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 700;
}
.expertise-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- COMPARISON PANELS ---------- */
.split {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 10px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 10px;
  box-shadow: var(--shadow);
}
.panel h5 {
  margin: 2px 0 8px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.list {
  display: grid;
  gap: 10px;
  margin: 8px 0 6px;
}
.row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}
.b {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  background: #EEE;
  border: 1px solid var(--line);
  color: #888;
}
.row.good .b {
  background: #111;
  color: #fff;
  border-color: #111;
}
.row span {
  font-size: 13px;
  color: var(--ink);
}
.row.muted span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 18px; }
.faq-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.faq h3 { margin: 6px 10px 8px; }

/* Slim, tidy items with + / – icon */
.faq-wrap details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 6px 0;
  background: #fff;
  overflow: hidden;
}
.faq-wrap summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-wrap details[open] summary::after { content: "–"; }
.faq-wrap details p {
  padding: 0 16px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-soft);
}
.cta-banner .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.cta-banner .brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #111;
  display: grid;
  place-items: center;
  color: #fff;
}
.cta-banner .grid2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.display {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}
.display em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
}
.cta-row { display: flex; justify-content: center; }
.btn {
  background: #111;
  border: 1px solid #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
}

/* ---------- FOOTER ---------- */
footer { margin-top: 26px; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 26px; }
.foot-top {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.foot h6 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}
.foot p, .foot li, .foot a {
  font-size: 13px;
  color: var(--muted);
}
.inline-list {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pill-link {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .h1 { font-size: 34px; }
}
@media (max-width: 840px) {
  .services { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .how-rail { flex-direction: column; }
  .expertise-grid { grid-template-columns: 1fr; }
}

/* ---------- MOBILE CENTERING FIXES ---------- */
@media (max-width: 840px) {
  .how-rail {
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    padding: 24px 16px !important;
    text-align: center !important;
  }
  .step {
    max-width: 360px;
    width: 100%;
    text-align: center !important;
  }
  .dot { margin: 0 auto 16px !important; }
  .step h4 { margin: 0 auto 12px !important; }
  .step p { margin: 0 auto !important; max-width: 100% !important; }
  .sec-cap { text-align: center !important; }
  .cta-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }
  .services { padding: 0 16px 32px !important; }
}

/* ---------- TRUST BAR (smaller version) ---------- */
.trust-bar {
  background: var(--card);
  color: var(--ink);
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.trust-item i {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--brand);
}
.trust-item span {
  font-size: 1rem;
  font-weight: 600;
}
@media (max-width: 840px) {
  .trust-items {
    flex-direction: column;
    gap: 20px;
  }
  .trust-item i { font-size: 28px; }
  .trust-item span { font-size: 0.95rem; }
}

/* ---------- CTA CONTAINER ---------- */
.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Numeric dots instead of icons */
.dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #F1ECE6;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 18px;          /* Slightly larger for numbers */
  color: var(--brand);
}

/* Larger & longer input fields for book-call form */
.book-call .input {
  padding: 16px 20px;           /* Taller padding */
  font-size: 16px;              /* Slightly larger text */
  height: 52px;                 /* Fixed taller height for single-line inputs */
  border-radius: 12px;          /* Softer corners */
  border: 1px solid var(--line);
}

.book-call textarea.input {
  height: 140px;                /* Taller textarea */
  padding: 16px 20px;
  resize: vertical;             /* Allow vertical resize only */
}

/* Optional: Make labels bolder and larger */
.book-call .label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* Make form-row fields wider */
.book-call .form-row input {
  flex: 1;                      /* Equal width in row */
  min-width: 0;
}

/* Hero - Responsive 2-column layout with video */
.hero {
  padding: 80px 0 100px; /* More vertical space */
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns on desktop */
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

/* Smaller font size on desktop */
.hero .h1 {
  font-size: 42px;           /* Smaller than previous 48px */
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Video styling */
.hero-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.hero-video wistia-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Mobile adjustments */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-text {
    text-align: center;
    max-width: 100%;
  }
  
  /* Keep original larger font on mobile for readability */
  .hero .h1 {
    font-size: 38px;      /* Mobile-friendly size (same as your original) */
  }
  
  .hero .lede {
    font-size: 16px;
  }
  
  .hero-video {
    padding-top: 56.25%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero .cta {
    margin: 24px auto 0;
  }
}


/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section .sec-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-section .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.cta-section .book-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.cta-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cta-section .input {
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cta-section textarea.input {
  height: 140px;
  resize: vertical;
}

.cta-section .btn {
  margin-top: 24px;
  width: 100%;
  max-width: 300px;
}

/* Mobile adjustments */
@media (max-width: 840px) {
  .cta-section {
    padding: 60px 0;
  }
  .cta-section .sec-title {
    font-size: 32px;
  }
  .cta-section .form-row {
    grid-template-columns: 1fr;
  }
  .cta-section .book-form {
    padding: 32px 20px;
  }
}

/* Phone and Email links styling */
a[href^="tel:"],
a[href^="mailto:"] {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  text-decoration: underline;
}

/* Center alignment for the Free Marketing Analysis form section */
.book-call {
  text-align: center;
  padding: 80px 0;
}

.book-call .h1 {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.book-call .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Form styling */
.book-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

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

.input {
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}

textarea.input {
  height: 140px;
  resize: vertical;
}

.label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  text-align: left;
}

.options {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}

.btn {
  margin-top: 24px;
  width: 100%;
  max-width: 300px;
  padding: 16px 32px;
}

/* Mobile adjustments */
@media (max-width: 840px) {
  .book-call {
    padding: 60px 0;
  }

  .book-call .h1 {
    font-size: 32px;
  }

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

  .book-form {
    padding: 32px 20px;
  }
}

/* Hero - Left-aligned text, centered buttons */
.service-hero .container {
  max-width: 1200px;
  padding-left: 40px;
}

.service-hero .hero-content {
  max-width: 600px;
}

.service-hero .hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start; /* left-aligned buttons on desktop */
}

.service-hero .btn {
  text-align: center; /* ensures text inside button is centered */
  min-width: 180px;
}

/* Mobile: center everything */
@media (max-width: 980px) {
  .service-hero .container {
    padding: 0 20px;
    text-align: center;
  }
  .service-hero .hero-content {
    max-width: 100%;
  }
  .service-hero .hero-buttons {
    justify-content: center; /* center buttons on mobile */
  }
}

/* Dropdown Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links li {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  padding: 12px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--bg);
}

/* Mobile: Stack menu items and hide dropdown */
@media (max-width: 840px) {
  .nav-links {
    flex-direction: column;
    gap: 16px;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }
  
  .dropdown:hover .dropdown-menu,
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  .dropdown-toggle::after {
    content: " ▼";
    font-size: 10px;
  }
}