:root {
  --bg: #fff4c2;
  --bg-deep: #ffdb5f;
  --surface: #fffdf7;
  --text: #2f2402;
  --muted: #5f4c11;
  --primary: #d89100;
  --primary-dark: #a96f00;
  --accent: #ff9b05;
  --ring: rgba(216, 145, 0, 0.35);
  --shadow: 0 18px 42px rgba(109, 71, 1, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -3%, #ffe891 0%, transparent 38%),
    radial-gradient(circle at 86% -5%, #ffc938 0%, transparent 34%),
    radial-gradient(circle at 50% 100%, #ffd562 0%, transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, #ffe07e 56%, #f4c641 100%);
  line-height: 1.6;
  min-height: 100vh;
}

.sun-glow,
.aura {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.sun-glow {
  inset: -12rem auto auto -8rem;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 100, 0.9) 0%, rgba(255, 214, 100, 0) 72%);
}

.aura-1 {
  right: -8rem;
  top: 14rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 172, 31, 0.32), rgba(255, 172, 31, 0));
}

.aura-2 {
  left: 10%;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 74, 0.45), rgba(255, 207, 74, 0));
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.hero,
main,
footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: "Cinzel", serif;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-btn {
  border: 1px solid rgba(135, 92, 4, 0.26);
  background: rgba(255, 250, 231, 0.82);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Noto Sans Devanagari", "Manrope", sans-serif;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(135, 92, 4, 0.26);
  background: rgba(255, 250, 231, 0.82);
  color: var(--text);
  border-radius: 10px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  display: block;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -0.32rem;
}

.nav-toggle-icon::after {
  top: 0.32rem;
}

.top-nav.nav-open .nav-toggle-icon {
  background: transparent;
}

.top-nav.nav-open .nav-toggle-icon::before {
  transform: translateY(0.32rem) rotate(45deg);
}

.top-nav.nav-open .nav-toggle-icon::after {
  transform: translateY(-0.32rem) rotate(-45deg);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  margin: 1.4rem 0 2.3rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 145, 0, 0.5);
  background: rgba(255, 250, 230, 0.86);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.hero-text p {
  max-width: 66ch;
}

.cta-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: none;
  font: inherit;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 10px 22px rgba(216, 145, 0, 0.42);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #d98100);
}

.btn-secondary,
.btn-tertiary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border: 1px solid rgba(79, 57, 8, 0.2);
}

.btn-secondary:hover,
.btn-tertiary:hover,
.lang-btn:hover {
  box-shadow: 0 0 0 4px var(--ring);
}

.hero-image img {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 250, 236, 0.95);
}

.section {
  background:
    linear-gradient(180deg, rgba(255, 255, 247, 0.95), rgba(255, 248, 220, 0.88)),
    repeating-linear-gradient(45deg, rgba(236, 180, 25, 0.04) 0, rgba(236, 180, 25, 0.04) 10px, transparent 10px, transparent 20px);
  border: 1px solid rgba(155, 112, 4, 0.18);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 1.1rem 0;
  box-shadow: var(--shadow);
}

.section-intro {
  margin-top: -0.2rem;
  color: var(--muted);
}

.service-grid,
.certificate-grid,
.visual-grid,
.highlight-grid {
  display: grid;
  gap: 1rem;
}

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

.highlight-grid article {
  background: rgba(255, 252, 238, 0.92);
  border: 1px solid rgba(171, 123, 0, 0.2);
  border-radius: 14px;
  padding: 1rem;
}

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

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

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

.service-card,
.certificate-card,
.visual-card {
  background: var(--surface);
  border: 1px solid rgba(171, 123, 0, 0.2);
  border-radius: 14px;
}

.service-card {
  padding: 1rem;
}

.service-card h3 {
  margin-bottom: 0.45rem;
}

.visual-card {
  margin: 0;
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.visual-card figcaption {
  font-weight: 700;
  padding: 0.85rem 1rem;
}

.certificate-card {
  appearance: none;
  font: inherit;
  border: 1px solid rgba(171, 123, 0, 0.2);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  display: grid;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.certificate-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.certificate-card span {
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.certificate-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.cert-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(24, 16, 2, 0.82);
  z-index: 35;
}

.cert-modal.is-open {
  display: flex;
}

.cert-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cert-viewer {
  width: min(980px, 96vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
  -webkit-user-drag: none;
  user-select: none;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.appointment-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--muted);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  border: 1px solid rgba(140, 96, 2, 0.3);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fffef8;
  color: var(--text);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

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

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

.form-note {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.contact {
  text-align: center;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  padding: 1.4rem 0 5.2rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1ebd5a, #128c43);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.24);
  animation: floatPulse 2.2s ease-in-out infinite;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .service-grid,
  .certificate-grid,
  .visual-grid,
  .highlight-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .top-nav {
    justify-content: center;
    padding-inline: 0.6rem;
  }

  .brand {
    width: 100%;
    text-align: center;
    line-height: 1.3;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.45rem;
    column-gap: 0.75rem;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .lang-btn {
    margin-inline: auto;
  }

  .section {
    padding: 1.2rem;
  }

  .floating-whatsapp {
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.68rem 0.9rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .top-nav {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.55rem;
  }

  .brand {
    width: auto;
    text-align: left;
    font-size: 0.96rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .lang-btn {
    margin-inline: 0;
    padding: 0.44rem 0.64rem;
    font-size: 0.88rem;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 253, 243, 0.95);
    border: 1px solid rgba(171, 123, 0, 0.25);
    border-radius: 12px;
  }

  .top-nav.nav-open .nav-links {
    display: flex;
  }
}
