/* ==========================================================================
   RIDDHI SERVICES — Landing Page Styles
   Order: 1) Theme tokens  2) Base  3) Reusable  4) Sections  5) Responsive
   ========================================================================== */

/* ============ 1) THEME TOKENS — change these to re-theme the whole site ============ */
:root {
  /* Brand palette (referenced from the existing Riddhi Services blue) */
  --brand: #1e6a9c;
  --brand-deep: #14507a;
  --brand-darker: #0b304a;
  --brand-soft: #eef5fb;
  /* light "mist" section background */
  --brand-tint: #d7e8f4;
  /* hairline blue accents */

  /* CTA accent (used sparingly — only on actions) */
  --accent: #fc5a1b;
  --accent-deep: #e34608;

  /* Ink & text */
  --ink: #1c2731;
  /* headings */
  --body: #5a6675;
  /* body copy */
  --muted: #8794a3;
  --line: #e2ebf2;
  /* borders */
  --white: #ffffff;

  /* Effects */
  --shadow-sm: 0 6px 18px rgba(20, 80, 122, .08);
  --shadow-md: 0 18px 44px rgba(20, 80, 122, .16);
  --shadow-lg: 0 30px 70px rgba(11, 48, 74, .22);

  /* Shape */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 60px;

  /* Type */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  /* Layout */
  --header-h: 74px;
}

/* ============ 2) BASE ============ */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  /* kill any accidental horizontal scroll */
  scroll-behavior: smooth;
  /* smooth anchor scrolling */
}

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1rem;
}

a {
  text-decoration: none;
  color: var(--brand);
  transition: color .25s ease;
}

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

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

/* Accessible visually-hidden (keeps the single H1 in the DOM for SEO) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(30, 106, 156, .45);
  outline-offset: 2px;
}

/* ============ 3) REUSABLE ============ */
.section {
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
}

.section--mist {
  background: var(--brand-soft);
}

.section--dark {
  background: radial-gradient(120% 140% at 15% 0%, var(--brand) 0%, var(--brand-deep) 45%, var(--brand-darker) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--brand);
  background: rgba(30, 106, 156, .09);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 54px;
}

.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

.section__title--light {
  color: #fff;
}

.section__lead {
  font-size: 1.08rem;
  color: var(--body);
  max-width: 640px;
}

.section__lead--light {
  color: rgba(255, 255, 255, .82);
}

/* --- Buttons (each variant has its own hover behaviour) --- */
.btn-primary-x,
.btn-ghost-x,
.btn-call,
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.btn-primary-x {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(252, 90, 27, .28);
}

.btn-primary-x:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(252, 90, 27, .4);
  background: var(--accent-deep);
}

.btn-ghost-x {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}

.btn-ghost-x:hover {
  color: var(--brand-deep);
  background: #fff;
  border-color: #fff;
}

.btn-call {
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
}

.btn-call:hover {
  color: #fff;
  background: var(--brand-deep);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Water wave divider */
.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-top svg {
  width: 100%;
  height: 56px;
  display: block;
}

.wave-top path {
  fill: var(--white);
}

/* ============ 4) SECTIONS ============ */

/* --- Top bar --- */
.topbar {
  background: var(--brand-darker);
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, .82);
}

.topbar a:hover {
  color: #fff;
}

.topbar__contact,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__sep {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, .22);
}

.topbar__social {
  display: flex;
  gap: 12px;
  font-size: 1rem;
}

.topbar__social a:hover {
  color: var(--accent);
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Sticky header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s ease, padding .3s ease;
  padding: 10px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 18px;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 1.25rem;
  border-radius: 12px 12px 12px 4px;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -.02em;
}

.brand__text span {
  color: var(--brand);
}

.mainnav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mainnav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 8px;
  position: relative;
}

.mainnav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.mainnav a:hover,
.mainnav a.active {
  color: var(--brand);
}

.mainnav a:hover::after,
.mainnav a.active::after {
  transform: scaleX(1);
}

.mainnav__close {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--brand-soft);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
  transition: .3s;
}

/* --- Hero carousel --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  min-height: clamp(520px, 86vh, 760px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-deep);
  /* graceful fallback if image missing */
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__content {
  max-width: 620px;
  color: #fff;
  padding: 40px 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .86rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero__text {
  color: rgba(255, 255, 255, .9);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  transition: background .3s ease, transform .3s ease;
  backdrop-filter: blur(4px);
}

.hero__arrow:hover {
  background: var(--accent);
}

.hero__arrow--prev {
  left: 22px;
}

.hero__arrow--next {
  right: 22px;
}

.hero__dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.hero__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .45);
  transition: .3s;
  padding: 0;
}

.hero__dots button.is-active {
  background: var(--accent);
  width: 30px;
  border-radius: 6px;
}

.float-drop {
  position: absolute;
  color: rgba(255, 255, 255, .14);
  z-index: 2;
  pointer-events: none;
}

.float-drop--1 {
  font-size: 5rem;
  top: 16%;
  right: 8%;
  animation: floatY 6s ease-in-out infinite;
}

.float-drop--2 {
  font-size: 3rem;
  bottom: 20%;
  right: 20%;
  animation: floatY 5s ease-in-out infinite reverse;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* --- Marquee (styling only; motion is driven by requestAnimationFrame in JS) --- */
.marquee {
  background: var(--brand);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}

.marquee__item i {
  color: var(--brand-tint);
}

/* --- About --- */
.about__collage {
  position: relative;
  padding-bottom: 30px;
  padding-right: 30px;
}

.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--brand-tint);
}

.about__img--main {
  aspect-ratio: 4 / 3.4;
}

.about__img--main img,
.about__img--small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 6px solid #fff;
}

.about__badge {
  position: absolute;
  left: -6px;
  top: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 14px 30px rgba(252, 90, 27, .35);
  text-align: center;
}

.about__badge-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
}

.about__badge-num i {
  font-style: normal;
}

.about__badge-label {
  font-size: .78rem;
  display: block;
  max-width: 96px;
  margin-top: 4px;
  opacity: .95;
}

.about__list {
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  color: var(--ink);
}

.about__list i {
  color: var(--brand);
  font-size: 1.15rem;
  margin-top: 2px;
}

.about__stats {
  margin-top: 60px;
}

.stat {
  text-align: center;
  padding: 26px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--brand);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  color: var(--body);
  font-size: .95rem;
}

/* --- Services (grid + travelling colour wave) --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-tint);
  transition: background .4s ease;
  z-index: 3;
}

/* the "wave": JS lights one card at a time, left → right */
.service-card.is-glow::before {
  background: var(--accent);
}

.service-card.is-glow {
  box-shadow: var(--shadow-md);
}

.service-card.is-glow .service-card__icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-tint);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.08);
}

.service-card__body {
  padding: 24px 24px 26px;
  position: relative;
}

.service-card__icon {
  position: absolute;
  top: -28px;
  right: 24px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 1.4rem;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, background .4s ease;
}

.service-card__title {
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__text {
  font-size: .96rem;
  margin-bottom: 16px;
}

.service-card__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
}

.service-card__call:hover {
  color: var(--accent-deep);
  gap: 12px;
}

/* --- Why choose us --- */
.why__head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why__item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.why__item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-tint);
}

.why__ico {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
  transition: .3s;
}

.why__item:hover .why__ico {
  background: var(--brand);
  color: #fff;
}

.why__item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.why__item p {
  margin: 0;
  font-size: .94rem;
}

/* --- How it works (timeline) --- */
.process__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}

.process__track::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 10px, transparent 10px 20px);
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 14px;
  box-shadow: 0 0 0 6px rgba(252, 90, 27, .18);
}

.process__ico {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 1.9rem;
  border-radius: 20px;
  transition: transform .35s ease, background .35s ease;
}

.process__step:hover .process__ico {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .22);
}

.process__step h3 {
  color: #fff;
  font-size: 1.18rem;
}

.process__step p {
  color: rgba(255, 255, 255, .8);
  font-size: .94rem;
  margin: 0;
}

/* --- Gallery (4 desktop / 2 mobile) --- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--brand-tint);
  box-shadow: var(--shadow-sm);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 14px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  background: linear-gradient(to top, rgba(11, 48, 74, .85), transparent);
  transform: translateY(100%);
  transition: transform .4s ease;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__item:hover figcaption {
  transform: translateY(0);
}

/* --- FAQ accordion --- */
.faq__wrap {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.faq__item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-tint);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq__q i {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  transition: transform .35s ease, background .35s ease;
}

.faq__item.open .faq__q i {
  transform: rotate(135deg);
  background: var(--accent);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq__a p {
  margin: 0;
  padding: 0 22px 22px;
}

/* --- Testimonials --- */
.tst__viewport {
  overflow: hidden;
}

.tst__track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.tst__card {
  flex: 0 0 100%;
  margin: 0;
  padding: 42px clamp(20px, 5vw, 60px);
  text-align: center;
}

.tst__quote {
  font-size: 2.6rem;
  color: var(--brand-tint);
}

.tst__card blockquote {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--ink);
  font-weight: 500;
  max-width: 760px;
  margin: 8px auto 18px;
  line-height: 1.6;
}

.tst__stars {
  color: #f5a623;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.tst__card figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
}

.tst__card figcaption span {
  color: var(--muted);
  font-size: .9rem;
}

.tst__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.tst__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--brand-tint);
  transition: .3s;
  padding: 0;
}

.tst__dots button.is-active {
  background: var(--brand);
  width: 28px;
  border-radius: 6px;
}

/* --- Contact --- */
.contact__card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact__info {
  height: 100%;
  padding: clamp(30px, 4vw, 46px);
  color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, var(--brand) 0%, var(--brand-deep) 60%, var(--brand-darker) 100%);
}

.contact__info h3 {
  color: #fff;
  font-size: 1.5rem;
}

.contact__intro {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 26px;
}

.contact__info ul {
  display: grid;
  gap: 20px;
}

.contact__info li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact__ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  border-radius: 12px;
  font-size: 1.15rem;
}

.contact__info li div {
  line-height: 1.5;
}

.contact__info li strong {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 2px;
}

.contact__info li a {
  color: #fff;
}

.contact__info li a:hover {
  color: var(--accent);
}

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.contact__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transition: .3s;
}

.contact__social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.contact__form {
  padding: clamp(30px, 4vw, 46px);
}

.contact__form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}

.contact__form .opt {
  color: var(--muted);
  font-weight: 400;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(30, 106, 156, .12);
}

.contact__form input.invalid,
.contact__form select.invalid {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(252, 90, 27, .12);
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  margin-top: 20px;
  box-shadow: 0 12px 24px rgba(252, 90, 27, .28);
}

.btn-submit:hover {
  background: var(--accent-deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(252, 90, 27, .4);
}

.contact__note {
  margin: 14px 0 0;
  font-size: .92rem;
  font-weight: 500;
  min-height: 1.2em;
}

.contact__note.ok {
  color: #1a8a4b;
}

.contact__note.err {
  color: var(--accent-deep);
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-darker);
  color: rgba(255, 255, 255, .72);
  padding-top: 70px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.brand--footer {
  margin-bottom: 16px;
}

.brand--footer .brand__text,
.brand--footer .brand__text span {
  color: #fff;
}

.site-footer__about {
  font-size: .94rem;
  max-width: 320px;
}

.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.site-footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: .3s;
}

.site-footer__social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.site-footer__links li,
.site-footer__contact li {
  margin-bottom: 11px;
  font-size: .94rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, .72);
}

.site-footer__links a:hover {
  color: #fff;
  padding-left: 5px;
}

.site-footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.site-footer__contact i {
  color: var(--accent);
  margin-top: 4px;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, .72);
}

.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-footer__bottom p {
  margin: 0;
  font-size: .88rem;
}

.site-footer__bottom .credit {
  color: rgba(255, 255, 255, .5);
}

/* --- Floating buttons --- */
.float-btn {
  position: fixed;
  bottom: 26px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}

.float-btn:hover {
  color: #fff;
  transform: scale(1.08);
}

.float-btn--wa {
  left: 22px;
  background: #25d366;
}

.float-btn--call {
  right: 22px;
  background: var(--accent);
}

.float-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}

.float-btn--wa::after {
  background: rgba(37, 211, 102, .55);
}

.float-btn--call::after {
  background: rgba(252, 90, 27, .5);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .35s ease;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--brand-deep);
}

/* ============ 5) RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why__head {
    position: static;
    margin-bottom: 6px;
  }

  .process__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }

  .process__track::before {
    display: none;
  }

  .about__collage {
    max-width: 480px;
    margin: 0 auto;
  }

  /* Mobile navigation drawer */
  .nav-toggle {
    display: block;
  }

  .mainnav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 82vw);
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 76px 22px 22px;
  }

  .mainnav.is-open {
    transform: translateX(0);
  }

  /* FIX: the sticky header (z-index:1000) makes its own stacking context, which
     TRAPS the drawer inside it. The body-level .nav-backdrop (z-index:1090) then
     paints OVER the drawer, so every tap hit the backdrop (which closes the menu)
     instead of the links. Lifting the whole header above the backdrop + FABs frees
     the drawer to receive taps. */
  .site-header {
    z-index: 1300;
  }

  .mainnav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .mainnav a {
    padding: 13px 12px;
    border-radius: 10px;
  }

  .mainnav a::after {
    display: none;
  }

  .mainnav a:hover,
  .mainnav a.active {
    background: var(--brand-soft);
  }

  .mainnav__close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    background: var(--brand-soft);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--ink);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 48, 74, .45);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
  }

  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 767.98px) {
	.cu-ds-nn{
		display:none!important
	}
  .topbar__right .topbar__note {
    display: none;
  }

  .hero__arrow {
    display: none;
  }

  .hero__content {
    text-align: left;
  }

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

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

  /* 2 per row on mobile */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .topbar__contact .topbar__sep {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}