:root {
  --bg-main: #fdfaf5;
  --bg-process-start: #f5ede0;
  --bg-process-end: #fdfaf5;
  --bg-contact-coral: #fae8e4;
  --bg-contact-jade: #e4f4f1;
  --accent-coral: #d4614a;
  --accent-jade: #4a9b8e;
  --accent-gold: #e8a84c;
  --text-main: #2d1b0e;
  --text-soft: #7a6355;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --nav-height: 62px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
  position: relative;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(3rem, 5.7vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

p {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.86rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--white);
  border: 1px solid var(--accent-gold);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 24px;
}

.subtitle {
  margin-top: 0.4rem;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(253, 250, 245, 0.9);
  border-bottom: 1px solid rgba(232, 168, 76, 0.35);
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.95;
  color: var(--text-main);
}

.brand-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.brand-mark {
  width: 44px;
  height: 6px;
  margin-top: 3px;
  border-radius: 60% 40% 65% 35% / 50% 65% 35% 50%;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-gold), var(--accent-jade));
  transform: rotate(-1.5deg);
  opacity: 0.95;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent-gold);
  transition: transform 0.25s ease;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px auto;
  border-radius: 4px;
  transition: 0.3s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-height) + 0.8rem) 0 1.2rem;
  position: relative;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--bg-main) 0%, var(--bg-process-start) 55%, var(--bg-main) 100%);
}

.hero-drop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.liquid-blob {
  position: absolute;
  display: block;
  filter: blur(4px);
  animation: liquid-float 4s ease-in-out infinite, liquid-blur 4s ease-in-out infinite;
}

.liquid-blob path {
  fill: currentColor;
}

.blob-1 {
  width: clamp(180px, 18vw, 250px);
  top: 8%;
  left: 70%;
  color: var(--accent-coral);
  opacity: 0.68;
  animation-delay: 0s;
}

.blob-2 {
  width: clamp(170px, 16vw, 230px);
  top: 28%;
  left: 58%;
  color: var(--accent-jade);
  opacity: 0.58;
  animation-delay: -1.3s;
}

.blob-3 {
  width: clamp(160px, 15vw, 220px);
  top: 52%;
  left: 78%;
  color: var(--accent-gold);
  opacity: 0.64;
  animation-delay: -2.1s;
}

.blob-4 {
  width: clamp(140px, 13vw, 190px);
  top: 64%;
  left: 52%;
  color: var(--accent-coral);
  opacity: 0.47;
  animation-delay: -0.8s;
}

.blob-5 {
  width: clamp(120px, 12vw, 170px);
  top: 18%;
  left: 62%;
  color: var(--accent-jade);
  opacity: 0.42;
  animation-delay: -2.8s;
}

@keyframes liquid-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(4px, -4px, 0) scale(1.02);
  }

  50% {
    transform: translate3d(-3px, -6px, 0) scale(0.99);
  }

  75% {
    transform: translate3d(5px, -2px, 0) scale(1.01);
  }
}

@keyframes liquid-blur {
  0%,
  100% {
    filter: blur(2px);
  }

  50% {
    filter: blur(12px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -18px;
}

.hero-content h1 {
  max-width: 14ch;
  margin: 0 auto;
}

.hero-content .subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.28rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.58rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: var(--accent-coral);
  color: var(--white);
  border: 1px solid var(--accent-coral);
  font-size: 0.97rem;
  font-weight: 400;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(212, 97, 74, 0.26);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-coral);
  box-shadow: 0 14px 28px rgba(212, 97, 74, 0.32);
  filter: brightness(0.92);
}

.hero-stats {
  margin-top: 0.62rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.48rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.hero-stats .dot {
  color: var(--accent-gold);
}

.products {
  background: var(--bg-main);
}

.products-more {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.more-products-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  background: var(--accent-jade);
  color: var(--white);
  border: 1px solid var(--accent-jade);
  font-size: 0.94rem;
  font-weight: 400;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.more-products-button:hover,
.more-products-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(0.94);
}

.gallery-section .section-header {
  margin-bottom: 14px;
}

.gallery-status {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 1rem;
  min-height: 1.2rem;
}

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

.gallery-image-wrap {
  background: linear-gradient(135deg, var(--accent-gold), var(--bg-main));
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-main {
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.order-section {
  background: linear-gradient(150deg, var(--bg-main) 0%, var(--bg-process-start) 100%);
}

.thanks-page,
.gallery-page,
.admin-page {
  min-height: 100vh;
}

.thanks-main,
.gallery-main,
.admin-main {
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.thanks-main {
  display: grid;
  align-items: center;
}

.thanks-shell {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 168, 76, 0.45);
  border-radius: 24px;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  box-shadow: 0 14px 28px rgba(45, 27, 14, 0.12);
}

.thanks-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.order-shell {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 168, 76, 0.45);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: 0 14px 28px rgba(45, 27, 14, 0.12);
}

.order-header h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
}

.order-header .subtitle strong {
  color: var(--text-main);
}

.order-form {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.3rem;
}

.order-form label {
  font-size: 0.92rem;
  color: var(--text-main);
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(45, 27, 14, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-main);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  padding: 0.75rem 0.82rem;
}

.order-form textarea {
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: 2px solid rgba(74, 155, 142, 0.34);
  outline-offset: 1px;
}

.submit-order {
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent-coral);
  color: var(--white);
  min-height: 48px;
  padding: 0.72rem 1.4rem;
  font-size: 0.96rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.submit-order:hover,
.submit-order:focus-visible {
  transform: translateY(-2px);
  filter: brightness(0.94);
}

.order-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.admin-section {
  background: linear-gradient(150deg, var(--bg-main) 0%, #f9f0e7 100%);
}

.admin-login-shell,
.admin-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(232, 168, 76, 0.45);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(45, 27, 14, 0.1);
}

.admin-login-shell {
  max-width: 620px;
  margin: 0 auto;
}

.admin-login-shell h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.admin-login-shell p {
  color: var(--text-soft);
  margin-top: 0.25rem;
}

.admin-login-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.admin-login-form label {
  font-size: 0.92rem;
}

.admin-login-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(45, 27, 14, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  padding: 0.75rem 0.82rem;
}

.admin-login-form input:focus {
  outline: 2px solid rgba(74, 155, 142, 0.34);
  outline-offset: 1px;
}

.admin-toolbar {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.admin-user {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.admin-logout {
  border: 1px solid rgba(45, 27, 14, 0.2);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

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

.admin-stats article {
  border: 1px solid rgba(232, 168, 76, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.stat-value {
  margin-top: 0.18rem;
  font-size: clamp(1.8rem, 2.7vw, 2.2rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1;
}

.admin-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.9rem;
}

.admin-card h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.card-subtitle {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.admin-mail-button {
  margin-top: 0.8rem;
}

.admin-table-wrap {
  margin-top: 0.65rem;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(45, 27, 14, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.68rem 0.72rem;
  border-bottom: 1px solid rgba(45, 27, 14, 0.1);
  font-size: 0.88rem;
}

.admin-table thead th {
  font-weight: 500;
  background: rgba(253, 250, 245, 0.92);
}

.admin-request-cell {
  white-space: pre-wrap;
  min-width: 260px;
}

.admin-table .mini-cta {
  margin-top: 0;
}

.admin-create-form {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.65rem;
}

.admin-create-form label {
  font-size: 0.9rem;
}

.admin-create-form input,
.admin-create-form textarea,
.admin-create-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(45, 27, 14, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  padding: 0.72rem 0.82rem;
}

.admin-create-form textarea {
  resize: vertical;
}

.admin-create-form input:focus,
.admin-create-form textarea:focus,
.admin-create-form select:focus {
  outline: 2px solid rgba(74, 155, 142, 0.34);
  outline-offset: 1px;
}

.admin-list-title {
  margin-top: 1rem;
}

.admin-creaciones-list {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.7rem;
}

.admin-mini-card {
  border: 1px solid rgba(45, 27, 14, 0.14);
  border-top-width: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.6rem;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.7rem;
}

.admin-mini-card img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.admin-mini-card h4 {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.admin-mini-card p {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.admin-hide-btn {
  margin-top: 0.45rem;
  border: 1px solid rgba(45, 27, 14, 0.2);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.36rem 0.7rem;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(45, 27, 14, 0.08);
  border-top-width: 4px;
  box-shadow: 0 8px 20px rgba(45, 27, 14, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-top-width 0.28s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-top-width: 7px;
  box-shadow: 0 18px 30px rgba(45, 27, 14, 0.15);
}

.accent-coral {
  border-top-color: var(--accent-coral);
}

.accent-jade {
  border-top-color: var(--accent-jade);
}

.accent-gold {
  border-top-color: var(--accent-gold);
}

.product-image {
  height: 220px;
  background: linear-gradient(135deg, var(--accent-gold), var(--bg-main));
}

.image-opener,
.image-bookmark,
.image-decor {
  background: linear-gradient(135deg, var(--accent-gold), var(--bg-main));
}

.card-body {
  padding: 1.15rem 1.1rem 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border: 1px solid currentColor;
  background: rgba(253, 250, 245, 0.7);
}

.accent-coral .badge {
  color: var(--accent-coral);
}

.accent-jade .badge {
  color: var(--accent-jade);
}

.accent-gold .badge {
  color: var(--accent-gold);
}

.card-body h3 {
  margin-top: 0.72rem;
}

.card-body p {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.mini-cta {
  display: inline-flex;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.accent-coral .mini-cta {
  color: var(--accent-coral);
}

.accent-jade .mini-cta {
  color: var(--accent-jade);
}

.accent-gold .mini-cta {
  color: var(--accent-gold);
}

.process {
  background: linear-gradient(180deg, var(--bg-process-start) 0%, var(--bg-process-end) 100%);
  padding-bottom: 60px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.95rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 40px;
  height: 2px;
  background: rgba(232, 168, 76, 0.4);
}

.timeline-step {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 168, 76, 0.28);
  padding: 1rem 0.9rem 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.timeline-step .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  background: var(--white);
  margin: 0 auto 0.8rem;
  border: 1px solid rgba(232, 168, 76, 0.42);
}

.timeline-step:nth-child(1) .icon {
  color: var(--accent-coral);
}

.timeline-step:nth-child(2) .icon {
  color: var(--accent-jade);
}

.timeline-step:nth-child(3) .icon {
  color: var(--accent-gold);
}

.timeline-step:nth-child(4) .icon {
  color: var(--accent-coral);
}

.timeline-step:nth-child(5) .icon {
  color: var(--accent-jade);
}

.timeline-step h3 {
  text-align: center;
}

.timeline-step p {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  text-align: center;
  color: var(--text-soft);
}

.contact {
  background: linear-gradient(135deg, var(--bg-contact-coral) 0%, var(--bg-contact-jade) 100%);
}

.contact-content {
  text-align: center;
}

.contact-content .subtitle {
  margin-left: auto;
  margin-right: auto;
}

.contact-highlights {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-highlights p {
  border-radius: 12px;
  border: 1px solid rgba(232, 168, 76, 0.42);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-align: center;
}

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

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 62px;
  border-radius: 16px;
  font-weight: 400;
  color: var(--white);
  border: 0;
  box-shadow: 0 10px 20px rgba(45, 27, 14, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-button.email {
  background: var(--accent-coral);
}

.contact-button.instagram {
  background: var(--accent-jade);
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(45, 27, 14, 0.18);
  filter: saturate(1.05);
}

.footer {
  border-top: 1px solid rgba(232, 168, 76, 0.45);
  padding: 1.1rem 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  background: var(--bg-main);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--accent-coral);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(212, 97, 74, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

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

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content {
    max-width: 620px;
    margin-right: auto;
    margin-left: 4%;
    text-align: left;
  }

  .hero-content h1,
  .hero-content .subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 1080px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline::before {
    display: none;
  }

}

@media (max-width: 860px) {
  :root {
    --nav-height: 56px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--nav-height) + 4px);
    right: 4%;
    left: 4%;
    background: var(--bg-main);
    border-radius: 16px;
    border: 1px solid rgba(232, 168, 76, 0.48);
    box-shadow: 0 8px 22px rgba(45, 27, 14, 0.12);
    padding: 0.85rem;
    display: grid;
    gap: 0.55rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.2rem);
    padding-bottom: 1.8rem;
  }

  .hero-content {
    margin-top: -8px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

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

@media (max-width: 620px) {
  .section {
    padding: 80px 0;
  }

  .product-grid,
  .gallery-grid,
  .timeline,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-mini-card {
    grid-template-columns: 1fr;
  }

  .admin-mini-card img {
    width: 100%;
    height: 180px;
  }

  .thanks-actions {
    flex-direction: column;
  }

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

  .hero-stats {
    display: grid;
    gap: 0.4rem;
  }

  .hero-stats .dot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .liquid-blob {
    animation: none;
    filter: blur(6px);
  }
}
