/* Dhiren P. Parekh & Co. — site styles (modern corporate) */

:root {
  --navy: #0a2540;
  --navy-2: #0f2f52;
  --blue: #0b4f94;
  --blue-hover: #0a4380;
  --blue-light: #e9f1fb;
  --sky: #f4f8fc;
  --green: #3f8f2a;
  --text: #13263b;
  --muted: #5a6b7e;
  --border: #e2e8f0;
  --white: #ffffff;

  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(10, 37, 64, 0.04), 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 2px 4px rgba(10, 37, 64, 0.04), 0 20px 48px rgba(10, 37, 64, 0.14);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid #5b9be0; outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent;
  font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn .ico { font-size: 18px; transition: transform 0.2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--blue-light); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, 0.85); font-size: 13px; font-weight: 500; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contacts { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--white); }
.topbar .ico { font-size: 14px; opacity: 0.8; }
.topbar__frn { letter-spacing: 0.02em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 37, 64, 0.08); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 58px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.brand__sub { font-size: 11.5px; font-weight: 700; color: var(--blue); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--text);
  padding-block: 8px; transition: color 0.2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform 0.25s;
}
.nav a:not(.btn):hover { color: var(--blue); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { padding: 11px 20px; }

.menu {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.menu span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(10, 37, 64, 0.94) 0%, rgba(10, 37, 64, 0.82) 42%, rgba(10, 37, 64, 0.35) 100%),
    url("assets/mumbai-skyline-2400.jpg");
  background-size: cover;
  background-position: center 40%;
}
.hero__inner { padding-block: clamp(80px, 11vw, 150px) clamp(120px, 13vw, 170px); }
.hero__inner > * { max-width: 640px; }

.hero h1 {
  font-size: clamp(36px, 5.2vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em;
}
.hero__lede { margin-top: 20px; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, 0.86); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2;
  margin-top: -72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.stats li { padding: 30px 28px; text-align: center; }
.stats li + li { border-left: 1px solid var(--border); }
.stats__num, .stats__plus { font-size: clamp(34px, 3.6vw, 44px); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats__label { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section--tint { background: var(--sky); }
.section--dark { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(26, 115, 217, 0.35), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(124, 194, 79, 0.12), transparent 70%);
}
.section--dark .container { position: relative; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}
.label::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }

h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 56px); }
.section__head > p:not(.label) { margin-top: 14px; font-size: 17px; color: var(--muted); }
.section__head--light .label { color: #8cc0f5; }
.section__head--light h2 { color: var(--white); }
.section__head--light > p:not(.label) { color: rgba(255, 255, 255, 0.75); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__body > p:not(.label) { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.about__body h2 + p { margin-top: 20px !important; }

.about__card {
  width: 100%; max-width: 460px; justify-self: center;
  background: var(--navy-2);
  color: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center top; }
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 96px 32px 16px;
  background: linear-gradient(180deg, rgba(15, 47, 82, 0) 0%, rgba(15, 47, 82, 0.85) 55%, var(--navy-2) 100%);
}
.portrait__name { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.portrait__role { margin-top: 2px; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8cc0f5; }
.about__bio { padding: 6px 32px 30px; font-size: 16px; color: rgba(255, 255, 255, 0.86); }

.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.checks li + li { margin-top: 12px; }
.checks .ico {
  stroke-width: 3.2; margin-top: 2px;
  width: 20px; height: 20px; padding: 4px; border-radius: 50%;
  color: var(--green); background: #e6f3df;
}
.checks--grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.checks--grid li + li { margin-top: 0; }
.checks--grid li { font-weight: 600; color: var(--navy); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.card {
  position: relative;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px 30px; box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), #1a73d9); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfdbea; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue); font-size: 26px;
}
.card h3 { margin-top: 22px; font-size: 21px; line-height: 1.3; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.card__intro { margin-top: 10px; color: var(--muted); font-size: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.card__sub { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin: 4px 0 12px; }
.card .checks + .card__sub { margin-top: 22px; }
.card .checks li { font-size: 15px; }

/* ---------- Sector tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tiles li {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
  font-weight: 700; font-size: 15.5px; line-height: 1.35; color: var(--navy); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tiles .ico {
  width: 46px; height: 46px; padding: 11px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue); transition: background 0.2s, color 0.2s;
}
.tiles li:hover { border-color: #cfdbea; box-shadow: var(--shadow); transform: translateY(-2px); }
.tiles li:hover .ico { background: var(--blue); color: var(--white); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team li {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.team__num { font-size: 56px; font-weight: 800; line-height: 1; color: var(--white); letter-spacing: -0.03em; }
.team__role { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.team__exp {
  margin-top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(124, 194, 79, 0.16); color: #b6e39a;
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.contact__list { display: grid; gap: 14px; }
.contact__list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
}
.contact__icon {
  width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue); font-size: 20px;
}
.contact__title { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.contact__value { display: inline-block; margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
a.contact__value:hover { color: var(--blue); }
.contact address { margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.contact__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none;
}
.contact__link:hover { text-decoration: underline; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 380px; background: var(--sky); box-shadow: var(--shadow); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: #071a2e; color: rgba(255, 255, 255, 0.7); font-size: 14.5px; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding-bottom: 48px; }
.footer__name { font-size: 20px; font-weight: 800; color: var(--white); }
.footer__sub { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8cc0f5; margin-top: 2px; }
.footer__text { margin-top: 16px; max-width: 34ch; }
.footer__head { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col a { text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding-block: 22px 26px;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
.footer__rule { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .cards .card.reveal:nth-child(2) { transition-delay: 0.1s; }
.js .cards .card.reveal:nth-child(3) { transition-delay: 0.2s; }
/* once revealed, cards use their own quick hover transitions */
.js .cards .card.reveal.is-in { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, opacity 0.7s ease; transition-delay: 0s; }

@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero__inner > * { animation: heroIn 0.8s ease both; }
.js .hero__inner > :nth-child(2) { animation-delay: 0.1s; }
.js .hero__inner > :nth-child(3) { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__inner > * { opacity: 1; transform: none; transition: none; animation: none; }
  .card, .tiles li, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu { display: flex; }
  .header__inner { position: relative; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 20px; box-shadow: 0 16px 30px rgba(10, 37, 64, 0.12);
  }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }

  .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(10, 37, 64, 0.86) 0%, rgba(10, 37, 64, 0.9) 100%),
      url("assets/mumbai-skyline-1200.jpg");
  }
  .topbar .topbar__mail, .topbar__frn { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -56px; }
  .stats li { padding: 22px 12px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .checks--grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 480px) {
  .brand__logo { width: 46px; }
  .brand__name { font-size: 16.5px; }
  .brand__sub { font-size: 10px; letter-spacing: 0.12em; }
  .tiles { gap: 12px; }
  .tiles li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; font-size: 14.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .contact__value { font-size: 15px; }
  .contact__list li { padding: 18px 16px; gap: 14px; }
}
