﻿:root {
  --bg: #f7f1e8;
  --bg-alt: #f2e8da;
  --surface: #fffaf2;
  --text: #2b1a16;
  --muted: #6f5b50;
  --maroon: #6f1026;
  --maroon-deep: #4e0819;
  --gold: #c8a24d;
  --gold-soft: #e2c983;
  --border: rgba(111, 16, 38, 0.16);
  --shadow: 0 16px 40px rgba(59, 17, 27, 0.12);
  --header-bg: rgba(247, 241, 232, 0.93);
  --input-bg: #ffffff;
  --radius: 1rem;
  --container: min(1100px, 92vw);
  --transition: 280ms ease;
}
body.dark-theme {
  --bg: #0f0b0e;
  --bg-alt: #181217;
  --surface: #241a22;
  --text: #f6ecdf;
  --muted: #cfbdad;
  --maroon: #b54b66;
  --maroon-deep: #6f2038;
  --gold: #d7b066;
  --gold-soft: #f0cf93;
  --border: rgba(237, 205, 176, 0.2);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(18, 13, 17, 0.92);
  --input-bg: #1d151c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::after {
  content: "Naresh Wedding Web Studio";
  position: fixed;
  inset: auto auto 8px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(111, 16, 38, 0.24);
  pointer-events: none;
  z-index: 3;
}

body.dark-theme::after {
  color: rgba(226, 182, 191, 0.28);
}

body.dark-theme .hero__bg {
  background:
    radial-gradient(circle at 20% 15%, rgba(215, 176, 102, 0.22), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(181, 75, 102, 0.22), transparent 38%),
    radial-gradient(circle at 70% 88%, rgba(215, 176, 102, 0.19), transparent 44%),
    linear-gradient(125deg, #1a1117 0%, #251720 52%, #120d12 100%);
}

body.dark-theme .price-card__price,
body.dark-theme .section__label,
body.dark-theme label,
body.dark-theme .brand__title,
body.dark-theme .nav__link.active {
  color: #f0c777;
}

body.dark-theme .brand__tag {
  color: #ccb9a8;
}

body.dark-theme .btn--outline {
  color: #f0c777;
  border-color: #d9b368;
}

body.dark-theme .btn--ghost {
  color: #f4d28b;
  border-color: #c99f55;
  background: rgba(201, 159, 85, 0.2);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section--tint {
  background: var(--bg-alt);
}

.section__head {
  margin-bottom: 2rem;
}

.section__label {
  color: var(--maroon);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.45rem;
}

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

h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin-bottom: 0.7rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  margin-bottom: 0;
}

p {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn--icon {
  gap: 0.5rem;
}

.btn--icon span:first-child {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  background: rgba(111, 16, 38, 0.12);
}

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

.btn:focus-visible,
.nav__toggle:focus-visible,
.filter-btn:focus-visible,
.faq-question:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.back-to-top:focus-visible,
.floating-cta:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: #fff;
}

.btn--outline {
  border-color: var(--maroon);
  color: var(--maroon);
  background: transparent;
}

.btn--ghost {
  border-color: var(--gold);
  color: var(--maroon);
  background: rgba(226, 201, 131, 0.18);
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
}

.brand__title {
  font-size: 1rem;
  color: var(--maroon);
  word-break: break-word;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav__toggle {
  border: 1px solid var(--maroon);
  background: var(--surface);
  color: var(--maroon);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.42rem 0.66rem;
}

.lang-btn.active {
  background: var(--maroon);
  color: #fff;
}

.lang-btn:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: -1px;
}

.nav__menu {
  position: absolute;
  top: 72px;
  right: 1rem;
  left: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  padding: 0.9rem;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  transform: scale(0.98) translateY(-4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.nav__menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: scale(1) translateY(0);
}

.nav__link {
  color: var(--muted);
  font-weight: 600;
}

.nav__link.active {
  color: var(--maroon);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: grid;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(200, 162, 77, 0.28), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(111, 16, 38, 0.22), transparent 36%),
    radial-gradient(circle at 70% 88%, rgba(200, 162, 77, 0.24), transparent 42%),
    linear-gradient(125deg, #f8f0e2 0%, #f0e4d4 50%, #f9f3e8 100%);
  animation: glowShift 14s ease-in-out infinite alternate;
}

.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
}

.hero__bg::before {
  width: 240px;
  height: 240px;
  background: rgba(111, 16, 38, 0.15);
  left: -40px;
  bottom: -10px;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero__bg::after {
  width: 180px;
  height: 180px;
  background: rgba(200, 162, 77, 0.25);
  right: -20px;
  top: 30%;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--maroon);
  font-weight: 700;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.03rem;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero__actions .btn {
  min-height: 44px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3,
.pricing-grid,
.gallery-grid,
.feature-grid {
  grid-template-columns: 1fr;
}

.card,
.price-card,
.feature-block,
.testimonial,
.contact-form,
.contact-panel,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.feature-block,
.testimonial,
.price-card {
  padding: 1.2rem;
}

.card p,
.feature-block p,
.price-card p {
  color: var(--muted);
}

.price-card {
  position: relative;
}

.price-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.price-card__price {
  color: var(--maroon);
  font-size: 1.15rem;
  font-weight: 800;
}

.price-card__line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.price-card__original {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.85;
}

.price-card__offer {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: #b51339;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
}

.price-card__final {
  display: block;
  font-size: 1.22rem;
  line-height: 1.2;
}

.price-card__delivery {
  font-size: 0.92rem;
}

.price-card--popular {
  border: 2px solid var(--gold);
  transform: translateY(-4px);
}

.badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  background: linear-gradient(130deg, var(--gold), #f0d8a2);
  color: #3f240f;
  padding: 0.28rem 0.64rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0.45rem 0.95rem;
  font-weight: 700;
}

.filter-btn.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
}

.gallery-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.gallery-item.hidden {
  display: none;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-block {
  position: relative;
  overflow: hidden;
}

.feature-block::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  right: -40px;
  bottom: -50px;
  background: rgba(200, 162, 77, 0.16);
}

.mini-btn {
  background: transparent;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.timeline__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.timeline__item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-weight: 800;
}

.testimonial-wrap {
  overflow: hidden;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 1rem;
  transition: transform 500ms ease;
}

.testimonial p {
  min-height: 84px;
  color: var(--muted);
}

.testimonial h3 {
  margin-bottom: 0.2rem;
}

.testimonial > span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.stars {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.1rem;
  font-weight: 700;
}

.stars__icons {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  line-height: 1;
  color: color-mix(in srgb, var(--text) 22%, transparent);
}

.stars__icons::before,
.stars__icons::after {
  content: "★★★★★";
}

.stars__icons::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc((var(--rating) / 5) * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #d89f2f;
}

.accordion {
  display: grid;
  gap: 0.7rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  padding: 1rem;
}

.faq-question__text {
  flex: 1;
}

.faq-question__icon {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: transform var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 190px;
}

.faq-item.open .faq-question__icon {
  transform: rotate(180deg);
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form--closed {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.form-success {
  width: min(420px, 100%);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.65rem;
}

.form-success h3 {
  margin: 0;
  color: var(--maroon);
}

.form-success p {
  margin: 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 0.32rem;
}

label {
  font-weight: 700;
  color: var(--maroon);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.7rem;
  font: inherit;
  color: var(--text);
  background: var(--input-bg);
}

.contact-panel {
  padding: 1.2rem;
}

.socials {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.58rem 0.85rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--transition), filter var(--transition);
}

.social-btn--icon-only {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.social-btn__icon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
}

.social-btn__icon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
}

.social-btn--instagram {
  background: linear-gradient(120deg, #f77737, #c13584 48%, #405de6);
}

.social-btn--linkedin {
  background: linear-gradient(120deg, #005d92, #0a66c2);
}

.social-btn--whatsapp {
  background: linear-gradient(120deg, #1ea952, #25d366);
}

.social-btn--mail {
  background: linear-gradient(120deg, #7f1b31, #a42745);
}

.footer {
  background: var(--maroon-deep);
  color: #f6ebd8;
  padding: 2.6rem 0 1.2rem;
}

.footer__content {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(246, 235, 216, 0.22);
}

.footer__brand p {
  color: #e6d3bc;
}

.footer__links {
  display: grid;
  align-content: start;
  gap: 0.38rem;
}

.footer__links h4,
.footer__contact h4 {
  margin: 0 0 0.45rem;
  font-family: "Cinzel", serif;
  font-size: 1rem;
}

.footer__links a,
.footer__contact a {
  color: #f0e0c9;
}

.footer__contact {
  display: grid;
  align-content: start;
  gap: 0.38rem;
}

.footer__bottom {
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  color: #dcc8ac;
  font-size: 0.86rem;
}

.footer__legal {
  padding-top: 0.65rem;
  color: #cbb79a;
  font-size: 0.76rem;
}

.loader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 162, 77, 0.24), transparent 36%),
    radial-gradient(circle at 80% 80%, rgba(200, 162, 77, 0.24), transparent 36%),
    linear-gradient(140deg, #260811, #420f1b 48%, #280913);
  color: #f8e9d0;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  text-align: center;
  z-index: 150;
  transition: opacity 350ms ease, visibility 350ms ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__crest {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  justify-self: center;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #2f130d;
  background: linear-gradient(135deg, #f0d9a4, #c8a24d);
  box-shadow: 0 0 0 5px rgba(240, 217, 164, 0.18);
  animation: crestPulse 1.6s ease-in-out infinite;
}

.loader__title {
  margin: 0.25rem 0 0;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  color: #f8e6c9;
}

.loader__subtitle {
  margin: 0;
  font-size: 0.84rem;
  color: #e7d4b4;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(21, 10, 12, 0.75);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 120;
  padding: 1rem;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal__content {
  width: min(680px, 96vw);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  font-size: 1.7rem;
  color: var(--maroon);
}

.modal img {
  border-radius: 0.75rem;
  margin-bottom: 0.8rem;
}

.back-to-top,
.floating-cta {
  position: fixed;
  right: 1rem;
  z-index: 80;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.back-to-top {
  bottom: 1.4rem;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  transition: var(--transition);
}

.back-to-top svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-cta {
  bottom: 1.4rem;
  padding: 0.62rem 1rem;
  background: #25d366;
  color: #fff;
}

.theme-toggle {
  position: fixed;
  right: 1rem;
  bottom: 5.8rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--maroon);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  z-index: 85;
}

.theme-toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
}

.protect-notice {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(16px);
  background: rgba(17, 10, 11, 0.9);
  color: #f6e7ce;
  border: 1px solid rgba(242, 215, 155, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 120;
}

.protect-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes crestPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(240, 217, 164, 0.18);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(240, 217, 164, 0.12);
  }
}

@keyframes glowShift {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.04);
  }
}

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

@media (min-width: 720px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: none;
    display: flex;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    gap: 1rem;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

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

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

  .testimonial-track {
    grid-auto-columns: calc(50% - 0.5rem);
  }

  .contact-layout {
    grid-template-columns: 2fr 1fr;
  }

  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__content {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }

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

  .lang-switch {
    order: 3;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 3.8rem 0;
  }

  .brand {
    max-width: 68vw;
  }

  .brand__title {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .brand__tag {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .testimonial-track {
    grid-auto-columns: 100%;
  }

  .floating-cta {
    right: 0.75rem;
    bottom: 1rem;
    font-size: 0.86rem;
    padding: 0.56rem 0.9rem;
  }

  .back-to-top {
    right: 0.75rem;
    bottom: 1rem;
  }

  .theme-toggle {
    right: 0.75rem;
    bottom: 4.6rem;
  }

  .footer__bottom {
    flex-direction: column;
  }

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

  .protect-notice {
    width: min(92vw, 360px);
    text-align: center;
    border-radius: 14px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5.5rem 0;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-grid .feature-block:nth-child(1),
  .feature-grid .feature-block:nth-child(2),
  .feature-grid .feature-block:nth-child(3) {
    grid-column: span 1;
  }

  .feature-grid .feature-block:nth-child(4),
  .feature-grid .feature-block:nth-child(5),
  .feature-grid .feature-block:nth-child(6),
  .feature-grid .feature-block:nth-child(7) {
    grid-column: span 1;
  }

  .testimonial-track {
    grid-auto-columns: calc(33.33% - 0.67rem);
  }
}

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



