/* DN Design Studio — Vijayawada demo (InsightFlicks) */
:root {
  --bg: #f6f4f1;
  --bg-elevated: #ffffff;
  --ink: #1a1614;
  --ink-muted: #4d4540;
  --accent: #6b3d2e;
  --accent-soft: #a67c52;
  --cta-from: #a6523d;
  --cta-mid: #6b3d2e;
  --cta-to: #4a261c;
  --cta-shadow: rgba(74, 38, 28, 0.42);
  --line: rgba(28, 27, 25, 0.12);
  --shadow: 0 24px 60px rgba(28, 27, 25, 0.08);
  --radius: 14px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --space-section: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(
    145deg,
    var(--cta-from) 0%,
    var(--cta-mid) 45%,
    var(--cta-to) 100%
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 22px var(--cta-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 12px 32px var(--cta-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.btn-whatsapp {
  background: linear-gradient(145deg, #3ddf73 0%, #25d366 42%, #0f9b87 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 6px 26px rgba(37, 211, 102, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-whatsapp:hover {
  color: #fff;
  box-shadow:
    0 12px 34px rgba(15, 155, 135, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-whatsapp:focus-visible {
  outline-color: #128c7e;
}

.nav-list a.btn-primary {
  color: #fff;
}

.nav-list a.btn-primary:hover,
.nav-list a.btn-primary[aria-current="page"] {
  color: #fff;
}

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

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: var(--space-section) 0 calc(var(--space-section) * 0.85);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 36ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.hero-badge strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

/* Sections */
section {
  padding: var(--space-section) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: 0 4px 20px rgba(28, 27, 25, 0.04);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

.split-copy > p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 48ch;
}

.split-rev .split-copy {
  order: 2;
}

.split-rev .split-media {
  order: 1;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

.g-span-7 {
  grid-column: span 7;
  min-height: 320px;
}

.g-span-5 {
  grid-column: span 5;
  min-height: 320px;
}

.g-span-4 {
  grid-column: span 4;
  min-height: 220px;
}

.g-span-8 {
  grid-column: span 8;
  min-height: 220px;
}

.g-span-6 {
  grid-column: span 6;
  min-height: 280px;
}

.g-span-12 {
  grid-column: span 12;
  min-height: 360px;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, #ebe6e1 0%, var(--bg) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.quote {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.quote p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ink);
}

.quote footer {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Google reviews (Places API + saved avatars) */
.review-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 4px 20px rgba(28, 27, 25, 0.04);
}

.review-stars {
  color: var(--accent-soft);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.6;
  flex-grow: 1;
}

.review-card blockquote p {
  margin: 0 0 0.65rem;
}

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

.review-by {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.review-by img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.review-by .meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.review-by .meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.review-verify {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.86rem;
}

.review-verify a {
  font-weight: 600;
}

.review-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.reviews-source-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-width: 52rem;
  margin-top: 1.5rem;
  line-height: 1.55;
}

.demo-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(30, 77, 89, 0.08);
  border-radius: 10px;
  border: 1px dashed rgba(30, 77, 89, 0.35);
}

.review-empty {
  color: var(--ink-muted);
  font-style: italic;
}

.hours-list {
  margin: 0;
  padding-left: 1.15rem;
}

/* Map */
.map-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 380px;
}

.map-block iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Contact form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-full {
  grid-column: 1 / -1;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #e3ecef;
}

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

.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 36ch;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.footer-col a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--space-section) * 0.55) 0 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Lists */
.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--ink-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
}

/* Process steps */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn-primary:hover,
  .btn-whatsapp:hover {
    transform: none;
  }
  .gallery-grid a:hover img {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split-rev .split-copy,
  .split-rev .split-media {
    order: unset;
  }

  .g-span-7,
  .g-span-5,
  .g-span-4,
  .g-span-6,
  .g-span-8,
  .g-span-12 {
    grid-column: 1 / -1;
    min-height: 240px;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(246, 244, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Instagram / Facebook (from GBP websiteUri or pipeline overrides) */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0;
}

.btn-social:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-social .social-buttons {
  margin-top: 0.35rem;
}

/* Floating WhatsApp (markup on each page + these styles) */
.whatsapp-float {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  z-index: 99999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  text-underline-offset: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
