@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");
@import url("./variables.css");
@import url("./base.css");

body.nav-lock {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--purple-ellora);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.12);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin-inline: auto;
  background: var(--white);
}

.nav {
  display: none;
}

.nav.is-open {
  display: block;
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: var(--purple-deep-ellora);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1rem 1.2rem;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
}

.menu {
  display: flex;
  flex-direction: column;
}

.menu > li > a,
.menu > li > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.2rem;
  font-weight: 600;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--white);
}

.menu a:hover,
.menu button:hover {
  color: var(--white);
}

.submenu {
  display: none;
  padding: 0 0 0.6rem 0.8rem;
}

.has-sub.is-open .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  color: var(--white);
  font-size: 0.94rem;
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--purple-ellora);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(91, 31, 166, 0.28);
}

.btn-primary:hover {
  background: var(--purple-deep-ellora);
}

.btn-ghost {
  background: var(--white);
  color: var(--black);
  border-color: var(--line);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.hero {
  padding: 2.2rem 0 3.4rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(91, 31, 166, 0.08), transparent 46%),
    linear-gradient(180deg, var(--surface), var(--white) 70%);
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 7vw, 4.15rem);
  font-weight: 700;
  /*font-weight: 700;*/
}

.hero h1 em {
  font-style: normal;
  color: var(--purple-ellora);
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-art {
  position: relative;
  min-height: 280px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--purple-deep-ellora), var(--purple-mid));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 8% 10% 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-panel {
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 1.2rem;
  color: var(--white);
}

.hero-panel small {
  color: var(--gold-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.72rem;
}

.hero-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0.4rem 0 0.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.hero-stats span {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.8rem;
}

.hero-stats b {
  display: block;
  font-size: 1.2rem;
}

.pillars {
  background: var(--white);
}

.pillars-wrap {
  display: grid;
  gap: 1rem;
}

.pillar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.03);
}

.pillar-card.featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.pillar-card.featured p,
.pillar-card.featured h3 {
  color: var(--white);
}

.pillar-card .years {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  gap: 1.1rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 164, 92, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.service-head h3 {
  font-size: 1.35rem;
}

.service-head p {
  margin: 0;
  font-size: 0.92rem;
}

.icon-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--purple-ellora);
  background: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover .icon-arrow {
  background: var(--purple-ellora);
  color: var(--white);
  transform: rotate(12deg);
}

.care-box {
  background: var(--purple-soft);
  border-radius: 18px;
  padding: 1rem;
}

.care-badge {
  display: inline-flex;
  background: var(--white);
  color: var(--purple-ellora);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.care-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(91, 31, 166, 0.12);
}

.care-item:first-of-type {
  border-top: 0;
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--purple-ellora);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.check svg {
  width: 14px;
  height: 14px;
}

.care-item strong {
  display: block;
  color: var(--black);
  font-size: 0.95rem;
}

.care-item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.mid-cta {
  background: var(--black);
  color: var(--white);
  padding: 2.6rem 0;
  position: relative;
}

.mid-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-ellora), var(--gold), var(--purple-ellora));
}

.mid-cta-inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.mid-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0;
}

.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  gap: 1rem;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.04);
  transition: transform 0.25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--purple-deep-ellora), var(--purple-mid));
  position: relative;
}

.blog-thumb::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 3px;
  background: var(--gold);
}

.blog-card > div {
  padding: 1.15rem 1.2rem 1.3rem;
}

.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.45rem;
}

.blog-card h3 {
  font-size: 1.15rem;
}

.read-more {
  color: var(--purple-ellora);
  font-weight: 700;
}

.social-proof {
  background: var(--surface);
}

.rating-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}

.rating-box b {
  font-size: 1.6rem;
}

.carousel-wrap {
  position: relative;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 86%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.carousel::-webkit-scrollbar {
  height: 0;
}

.testimonial {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid var(--line);
  min-height: 220px;
  box-shadow: var(--shadow);
}

.testimonial p {
  color: var(--ink);
}

.testimonial footer {
  margin-top: 1rem;
}

.testimonial strong {
  display: block;
}

.testimonial em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.site-footer {
  background: var(--black);
  color: #d9d9d9;
  padding-top: 3.2rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer p,
.site-footer li {
  color: #c8c8c8;
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.3rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.whatsapp-float {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--purple-soft), var(--white));
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.split {
  display: grid;
  gap: 1.4rem;
}

.card-plain {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.city-grid,
.tool-grid {
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: var(--white);
}

.form-success {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple-deep-ellora);
  font-weight: 600;
}

@media (min-width: 720px) {
  .service-grid,
  .blog-grid,
  .city-grid,
  .tool-grid,
  .pillars-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .carousel {
    grid-auto-columns: minmax(320px, 48%);
  }
}

@media (min-width: 981px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    overflow: visible;
  }

  .menu {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .menu > li {
    position: relative;
  }

  .menu > li > a,
  .menu > li > button {
    padding: 0.55rem 0.7rem;
    width: auto;
    font-size: 0.92rem;
  }

  .submenu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    min-width: 240px;
    background: var(--purple-deep-ellora);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: 0 16px 42px rgba(23, 6, 31, 0.2);
  }

  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu {
    display: block;
  }

  .submenu a {
    color: var(--white);
    padding: 0.7rem 0.8rem;
  }

  .hero-grid,
  .mid-cta-inner,
  .split,
  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1fr 0.7fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillars-wrap {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
