/* Sree Sastha Services — brand tokens */
:root {
  --bg: #070b12;
  --bg-elevated: #0e1522;
  --surface: #121a2a;
  --silver: #c8d0da;
  --silver-bright: #e8eef5;
  --blue: #1a8cff;
  --blue-bright: #4de8ff;
  --blue-deep: #0a3a9e;
  --text: #e8eef5;
  --text-muted: #9aa8b8;
  --line: rgba(200, 208, 218, 0.16);
  --radius: 4px;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Manrope", sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Atmosphere */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 140, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(77, 232, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(10, 58, 158, 0.22), transparent 60%),
    linear-gradient(180deg, #070b12 0%, #0a1220 45%, #070b12 100%);
}

.bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 208, 218, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 208, 218, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 70%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 14rem;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  background: linear-gradient(180deg, var(--silver-bright), var(--blue-bright) 55%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--silver-bright);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(77, 232, 255, 0.35);
  background: linear-gradient(135deg, rgba(26, 140, 255, 0.2), rgba(10, 58, 158, 0.35));
  color: var(--silver-bright) !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--silver);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue) 40%, var(--blue-deep));
  color: #041018;
  box-shadow: 0 10px 30px rgba(26, 140, 255, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--silver-bright);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(77, 232, 255, 0.45);
  background: rgba(26, 140, 255, 0.08);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(7, 11, 18, 0.18) 0%, rgba(7, 11, 18, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.25) 0%, rgba(7, 11, 18, 0.12) 45%, rgba(7, 11, 18, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem;
  width: min(100%, 720px);
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  animation: riseIn 0.8s ease both;
}

.hero-brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(26, 140, 255, 0.35));
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  max-width: none;
  background: linear-gradient(180deg, #fff 10%, var(--silver) 45%, var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  max-width: 22ch;
  animation: riseIn 0.8s ease 0.12s both;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
  margin-inline: auto;
  animation: riseIn 0.8s ease 0.22s both;
}

.hero .btn-group {
  justify-content: center;
  animation: riseIn 0.8s ease 0.32s both;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -160px;
  background: radial-gradient(circle, rgba(26, 140, 255, 0.2), transparent 65%);
  pointer-events: none;
}

.page-hero .eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: none;
  width: 100%;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: none;
  width: 100%;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}

.section-head p {
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.split-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.split-visual {
  position: relative;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(26, 140, 255, 0.18), rgba(10, 58, 158, 0.08)),
    var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split-visual.logo-only img {
  width: min(72%, 280px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  animation: floatY 5s ease-in-out infinite;
}

/* Service rows with related images */
.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.25s ease;
}

.service-row:hover {
  background: rgba(26, 140, 255, 0.04);
}

.service-media {
  width: 140px;
  height: 110px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
}

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

.service-row:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  display: grid;
  gap: 0.35rem;
}

.service-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--blue-bright);
  letter-spacing: 0.12em;
}

.service-row h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.service-row p {
  color: var(--text-muted);
  max-width: 60ch;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .service-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-shot {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.service-shot img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-shot:hover img {
  transform: scale(1.05);
}

.service-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
  background: linear-gradient(0deg, rgba(7, 11, 18, 0.92), transparent);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Trust strip */
.trust {
  padding: 2.5rem 0;
  border-block: 1px solid var(--line);
  background: rgba(14, 21, 34, 0.55);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.trust-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 140, 255, 0.18), rgba(77, 232, 255, 0.06) 50%, transparent),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.cta-inner p {
  color: var(--text-muted);
}

/* Contact form — interaction container */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.detail-block h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.45rem;
}

.detail-block a,
.detail-block p {
  color: var(--silver-bright);
  font-size: 1.05rem;
}

.detail-block a:hover {
  color: var(--blue-bright);
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem;
}

.form-panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: rgba(7, 11, 18, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(77, 232, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.15);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--blue-bright);
  min-height: 1.25em;
}

.form-status.error {
  color: #ff8a8a;
}

/* Floating WhatsApp (left) + Call (right) */
.float-actions {
  position: fixed;
  inset: auto 0 1.25rem 0;
  z-index: 120;
  pointer-events: none;
}

.float-btn {
  pointer-events: auto;
  position: fixed;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatPulse 2.8s ease-in-out infinite;
}

.float-btn svg {
  width: 28px;
  height: 28px;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

.float-whatsapp {
  left: 1.1rem;
  background: #25d366;
}

.float-call {
  right: 1.1rem;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue) 45%, var(--blue-deep));
  animation-delay: 0.4s;
}

@keyframes floatPulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(255, 255, 255, 0.08);
  }
}

/* Privacy */
.prose {
  max-width: none;
  width: auto;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  max-width: none;
}

.prose ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prose li {
  list-style: disc;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  background: rgba(7, 11, 18, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand span {
  background: linear-gradient(180deg, var(--silver-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-grid p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.9rem;
}

.footer-col a,
.footer-col li {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(7, 11, 18, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
  }

  .split,
  .contact-grid,
  .footer-grid,
  .trust-grid,
  .service-showcase {
    grid-template-columns: 1fr;
  }

  .split .split-visual {
    order: -1;
  }

  .split .split-copy {
    order: 1;
  }

  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-brand img {
    width: 80px;
    height: 80px;
  }

  .hero .btn-group {
    width: 100%;
  }

  .hero .btn-group .btn {
    width: auto;
    min-width: min(100%, 260px);
  }
}

@media (max-width: 560px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-media {
    width: 100%;
    height: 160px;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    width: 100%;
  }
}
