:root {
  --color-navy: #0f2a43;
  --color-blue: #174d76;
  --color-ink: #18202a;
  --color-muted: #667085;
  --color-soft: #f5f7fa;
  --color-line: #e5eaf0;
  --color-white: #ffffff;
  --color-orange: #f57c20;
  --color-orange-dark: #d95f08;
  --shadow-soft: 0 20px 50px rgba(15, 42, 67, 0.12);
  --shadow-card: 0 14px 35px rgba(24, 32, 42, 0.08);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--color-muted);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 10px 14px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 234, 240, 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-navy);
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  color: var(--color-white);
  font-size: 0.85rem;
  box-shadow: 0 10px 22px rgba(15, 42, 67, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--color-orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button,
.text-cta,
.mobile-contact-button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  border-radius: 999px;
  background: #e9f8ef;
  color: #137333;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-cta:hover,
.button:hover,
.text-cta:hover,
.mobile-contact-button:hover {
  transform: translateY(-2px);
}

.mobile-kochi-hero {
  display: none;
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #0B0B0B, #050505);
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mobile-kochi-hero::before {
  position: absolute;
  inset: -20%;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(232, 44, 44, 0.18), transparent 23%),
    radial-gradient(circle at 78% 28%, rgba(245, 124, 32, 0.15), transparent 21%),
    radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.08), transparent 24%);
  filter: blur(10px);
  animation: mobileAura 8s ease-in-out infinite alternate;
}

.mobile-kochi-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 75%, transparent);
  opacity: 0.28;
}

.mobile-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 420px);
  min-height: 72vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  padding: 44px 20px 72px;
  transform: translateY(-5vh);
}

.mobile-hero-image {
  width: min(86vw, 350px);
  height: auto;
  border-radius: 8px;
  filter:
    drop-shadow(0 0 16px rgba(255, 45, 45, 0.62))
    drop-shadow(0 22px 38px rgba(0, 0, 0, 0.66));
  animation: mobileImageAttract 3.2s ease-in-out infinite;
  will-change: transform, filter;
}

.mobile-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  min-width: 178px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, #18b85d, #0c8d44);
  color: var(--color-white);
  box-shadow:
    0 0 0 0 rgba(24, 184, 93, 0.38),
    0 18px 32px rgba(0, 0, 0, 0.46);
  font-weight: 900;
  animation: mobileButtonAttract 2.4s ease-in-out infinite;
}

.whatsapp-icon,
.button-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 auto;
}

.whatsapp-icon svg,
.button-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mobile-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.72;
  transform-style: preserve-3d;
  pointer-events: none;
}

.mobile-shape-box {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset -12px -12px 24px rgba(0, 0, 0, 0.45), 0 18px 35px rgba(0, 0, 0, 0.45);
  animation: mobileBoxFloat 7s ease-in-out infinite;
}

.mobile-shape-ring,
.mobile-shape-circle {
  border-radius: 999px;
  animation: mobileCircleFloat 8s ease-in-out infinite;
}

.mobile-shape-ring {
  width: 92px;
  height: 92px;
  border: 14px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(235, 50, 50, 0.22), inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.mobile-shape-circle {
  width: 52px;
  height: 52px;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.38), rgba(220, 25, 25, 0.32) 44%, rgba(80, 0, 0, 0.16) 100%);
  box-shadow: 0 0 26px rgba(235, 44, 44, 0.34);
}

.shape-one {
  top: 11%;
  left: 9%;
}

.shape-two {
  top: 17%;
  right: 6%;
  animation-delay: -1.5s;
}

.shape-three {
  right: 12%;
  bottom: 16%;
  width: 54px;
  height: 54px;
  animation-delay: -3s;
}

.shape-four {
  left: 13%;
  bottom: 20%;
  animation-delay: -2s;
}

.shape-five {
  left: 39%;
  bottom: 7%;
  width: 58px;
  height: 58px;
  border-width: 9px;
  animation-delay: -4s;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 247, 250, 0.95), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 86% 16%, rgba(245, 124, 32, 0.13), transparent 28%);
}

.hero::before {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(23, 77, 118, 0.08);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 64px;
  align-items: center;
  min-height: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--color-orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 760px;
  color: var(--color-navy);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-copy p {
  max-width: 670px;
  margin-bottom: 30px;
  color: #475467;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
}

.button-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: var(--color-white);
  box-shadow: 0 16px 28px rgba(245, 124, 32, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 35px rgba(245, 124, 32, 0.32);
}

.button-secondary {
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-navy);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #344054;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.visual-card {
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.main-visual-card {
  position: absolute;
  inset: 72px 30px 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
}

.main-visual-card::before {
  position: absolute;
  inset: 26px 26px auto auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 124, 32, 0.18), transparent 68%);
  content: "";
}

.main-visual-card::after {
  position: absolute;
  inset: auto auto 118px 34px;
  width: 78%;
  height: 94px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 42, 67, 0.96) 0 62%, rgba(23, 77, 118, 0.92) 62%),
    linear-gradient(#fff, #fff);
  clip-path: polygon(0 26%, 68% 26%, 76% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  box-shadow: 0 22px 30px rgba(15, 42, 67, 0.2);
}

.visual-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background: #fff4ea;
  color: var(--color-orange-dark);
}

.visual-icon svg,
.card-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.visual-kicker {
  position: relative;
  z-index: 2;
  margin: 24px 0 8px;
  color: var(--color-orange-dark);
  font-weight: 850;
}

.visual-title {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin: 0;
  color: var(--color-navy);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.25;
}

.visual-stat {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 170px;
  border: 1px solid rgba(229, 234, 240, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  padding: 16px;
  backdrop-filter: blur(14px);
}

.visual-stat strong {
  color: var(--color-navy);
  font-size: 1.35rem;
}

.visual-stat span {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.visual-stat-top {
  top: 26px;
  right: 0;
}

.visual-stat-bottom {
  bottom: 42px;
  left: 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 42px;
}

.section-heading h2,
.cta-panel h2,
.legal-card h2,
.site-footer h2 {
  color: var(--color-navy);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2,
.cta-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.section-heading p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.services-section {
  background: var(--color-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.legal-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.service-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(15, 42, 67, 0.12);
}

.card-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 24px;
  background: #eef6fb;
  color: var(--color-blue);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: 1.25rem;
}

.service-card p {
  margin-bottom: 24px;
}

.text-cta {
  margin-top: auto;
  border-radius: 999px;
  background: #fff4ea;
  color: var(--color-orange-dark);
  padding: 10px 16px;
  font-weight: 850;
}

.why-section,
.process-section,
.legal-section {
  background: var(--color-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 210px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 22px;
}

.feature span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #e8f1f8;
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-navy);
  line-height: 1.25;
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  min-height: 210px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 26px;
  overflow: hidden;
}

.process-step::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  color: rgba(23, 77, 118, 0.08);
  content: attr(data-step);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.process-step span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 24px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 900;
}

.process-step h3 {
  color: var(--color-navy);
}

.process-step p {
  margin-bottom: 0;
}

.cta-section {
  padding: 82px 0;
  background:
    linear-gradient(135deg, rgba(15, 42, 67, 0.96), rgba(23, 77, 118, 0.95)),
    radial-gradient(circle at 80% 20%, rgba(245, 124, 32, 0.4), transparent 28%);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel p {
  color: var(--color-white);
}

.cta-panel p {
  max-width: 560px;
  margin-bottom: 0;
  opacity: 0.82;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.legal-card {
  padding: 32px;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: #0d1722;
  color: var(--color-white);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.85fr;
  gap: 48px;
}

.footer-brand,
.site-footer h2 {
  color: var(--color-white);
}

.site-footer p,
.site-footer a,
.site-footer span,
.site-footer address {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes mobileAura {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1.08) rotate(4deg);
  }
}

@keyframes mobileImageAttract {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 0 15px rgba(255, 45, 45, 0.58))
      drop-shadow(0 22px 38px rgba(0, 0, 0, 0.66));
  }
  50% {
    transform: translateY(-8px) scale(1.025);
    filter:
      drop-shadow(0 0 24px rgba(255, 45, 45, 0.88))
      drop-shadow(0 28px 46px rgba(0, 0, 0, 0.72));
  }
}

@keyframes mobileButtonAttract {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 0 0 0 rgba(24, 184, 93, 0.38),
      0 18px 32px rgba(0, 0, 0, 0.46);
  }
  50% {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
      0 0 0 11px rgba(24, 184, 93, 0),
      0 24px 38px rgba(0, 0, 0, 0.52);
  }
}

@keyframes mobileBoxFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(52deg) rotateZ(12deg);
  }
  50% {
    transform: translate3d(10px, -18px, 28px) rotateX(58deg) rotateZ(26deg);
  }
}

@keyframes mobileCircleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-12px, 16px, 24px) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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

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

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 780px) {
  .site-header {
    display: none;
  }

  .mobile-kochi-hero {
    display: flex;
  }

  .section-pad {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: 78px;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.45rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    font-size: 0.84rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .main-visual-card {
    inset: 58px 0 44px 0;
    padding: 26px;
  }

  .visual-stat-top {
    right: 8px;
  }

  .visual-stat-bottom {
    left: 8px;
  }

  .service-grid,
  .feature-grid,
  .process-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .feature,
  .process-step,
  .legal-card {
    min-height: auto;
  }

  .cta-panel,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .mobile-hero-inner {
    min-height: 70vh;
    gap: 18px;
    padding-inline: 14px;
    transform: translateY(-4vh);
  }

  .mobile-hero-image {
    width: min(89vw, 320px);
  }

  .mobile-contact-button {
    min-width: 168px;
    min-height: 50px;
  }

  .shape-one {
    left: 3%;
  }

  .shape-two {
    right: -5%;
  }

  .shape-three {
    right: 3%;
  }

  .shape-five {
    left: 46%;
  }
}

@media (max-width:780px) and (-webkit-min-device-pixel-ratio:2){.site-header,main>:not(.mobile-kochi-hero),.site-footer{display:none!important}.mobile-hero-inner>*{display:none!important}.mobile-kochi-hero{display:flex!important;min-height:100vh}}
