/* ========================================
   GOBLIN HAT WORKS — Style Sheet
   Стиль: Гоблинкор (Goblin Core)
   ======================================== */

/* ----- FONTS (Google Fonts) ----- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ----- CSS VARIABLES ----- */
:root {
  /* Цветовая палитра */
  --color-dark-green: #2D4A22;
  --color-medium-green: #3A5F2E;
  --color-swamp-green: #5A7A3A;
  --color-brown: #5C4033;
  --color-light-brown: #8B5E3C;
  --color-earth: #7B6D5B;
  --color-mushroom: #E8DCC6;
  --color-dark-bg: #1A1A1A;
  --color-darker-bg: #2B2B2B;
  --color-rust: #B8860B;
  --color-gold: #D4A017;

  /* Типографика */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'EB Garamond', Georgia, 'Times New Roman', serif;

  /* Размеры */
  --container-width: 1200px;
  --section-padding: 80px 0;

  /* Транзишены */
  --transition-smooth: all 0.3s ease;
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark-bg);
  color: var(--color-mushroom);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BACKGROUND TEXTURES (CSS-only) ===== */

/* Subtle paper/aged texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.008) 2px,
      rgba(255,255,255,0.008) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.005) 3px,
      rgba(0,0,0,0.005) 6px
    );
  opacity: 0.6;
}

/* Aged paper texture for sections */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139,94,60,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(90,122,58,0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(184,134,11,0.08) 0%, transparent 40%);
}

/* Moss-like texture for specific elements */
.about__content::after,
.process__steps::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 10% 30%, var(--color-swamp-green) 1px, transparent 1px),
    radial-gradient(circle at 30% 70%, var(--color-medium-green) 1px, transparent 1px),
    radial-gradient(circle at 60% 20%, var(--color-dark-green) 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, var(--color-swamp-green) 1px, transparent 1px),
    radial-gradient(circle at 50% 90%, var(--color-medium-green) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Wood grain texture for cards */
.catalog__card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(139,94,60,0.5) 4px,
    rgba(139,94,60,0.5) 5px,
    transparent 5px,
    transparent 20px
  );
  border-radius: 12px;
}

/* ===== AGED / DISTRESSED HEADINGS EFFECT ===== */
.section__title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-mushroom);
  text-shadow:
    3px 3px 0 rgba(0,0,0,0.6),
    -1px -1px 0 rgba(0,0,0,0.3),
    0 0 40px rgba(184,134,11,0.12),
    1px 2px 0 rgba(184,134,11,0.08),
    0 0 60px rgba(184,134,11,0.05);
  margin-bottom: 16px;
  line-height: 1.2;
  /* Subtle ink bleed effect via letter-spacing */
  letter-spacing: 0.02em;
}

.section__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rust), var(--color-gold));
  margin: 16px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(184,134,11,0.3);
}

/* ===== DECORATIVE SVG BACKGROUND ELEMENTS ===== */

/* Decorative mushrooms floating in about section */
.about {
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  top: 5%;
  left: 3%;
  background: url('../assets/icons/mushroom.svg') no-repeat center/contain;
  opacity: 0.12;
  pointer-events: none;
  animation: slowFloat 6s ease-in-out infinite;
}

.about::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: 8%;
  right: 4%;
  background: url('../assets/icons/leaf.svg') no-repeat center/contain;
  opacity: 0.1;
  pointer-events: none;
  animation: slowFloat 8s ease-in-out infinite 1s;
}

/* Decorative elements for catalog */
.catalog::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  top: 3%;
  right: 5%;
  background: url('../assets/icons/acorn.svg') no-repeat center/contain;
  opacity: 0.08;
  pointer-events: none;
  animation: slowFloat 7s ease-in-out infinite 0.5s;
}

/* Decorative elements for process */
.process::before {
  content: '';
  position: absolute;
  width: 55px;
  height: 55px;
  bottom: 5%;
  left: 4%;
  background: url('../assets/icons/feather.svg') no-repeat center/contain;
  opacity: 0.08;
  pointer-events: none;
  animation: slowFloat 9s ease-in-out infinite 2s;
}

/* Decorative elements for reviews */
.reviews::before {
  content: '';
  position: absolute;
  width: 45px;
  height: 45px;
  top: 6%;
  left: 6%;
  background: url('../assets/icons/mushroom.svg') no-repeat center/contain;
  opacity: 0.08;
  pointer-events: none;
  animation: slowFloat 7s ease-in-out infinite;
}

.reviews::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: 4%;
  right: 5%;
  background: url('../assets/icons/leaf.svg') no-repeat center/contain;
  opacity: 0.07;
  pointer-events: none;
  animation: slowFloat 8s ease-in-out infinite 1.5s;
}

/* ===== ANIMATIONS ===== */

/* Fade-in animation for sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes drift {
  0% { transform: translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.4; }
  100% { transform: translateX(-120px) rotate(45deg); opacity: 0; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--color-rust);
  cursor: pointer;
  transition: var(--transition-bounce);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-rust), var(--color-gold));
  color: var(--color-dark-bg);
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn--primary:hover,
.btn--primary:focus {
  background: linear-gradient(135deg, var(--color-gold), var(--color-rust));
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(184, 134, 11, 0.5);
  outline: none;
}

.btn--small {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ===== SECTION COMMON STYLES ===== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section:nth-child(odd) {
  background: linear-gradient(180deg, var(--color-darker-bg), var(--color-dark-bg));
}

.section:nth-child(even) {
  background: linear-gradient(180deg, var(--color-dark-bg), var(--color-darker-bg));
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__decor {
  font-size: 1.5rem;
  margin-bottom: 16px;
  letter-spacing: 12px;
}

.section__decor span {
  display: inline-block;
  animation: sparkle 3s ease-in-out infinite;
}

.section__decor span:nth-child(2) {
  animation-delay: 0.5s;
}

.section__decor span:nth-child(3) {
  animation-delay: 1s;
}

.section__subtitle {
  font-size: 1.2rem;
  color: var(--color-earth);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ANIMATION ON SCROLL ===== */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"].animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform, background-position;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,26,0.3) 0%,
    rgba(26,26,26,0.6) 50%,
    rgba(26,26,26,0.9) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-mushroom);
  text-shadow:
    3px 3px 6px rgba(0,0,0,0.7),
    0 0 30px rgba(184,134,11,0.3),
    -1px -1px 0 rgba(0,0,0,0.4),
    1px 2px 0 rgba(184,134,11,0.05);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1.2s ease;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  font-size: 1.4rem;
  color: var(--color-earth);
  margin-bottom: 40px;
  font-style: italic;
  animation: fadeInUp 1.2s ease 0.2s both;
}

.hero__cta {
  animation: fadeInUp 1.2s ease 0.4s both;
}

.hero__decorations {
  margin-top: 60px;
  font-size: 2rem;
  animation: fadeIn 1.5s ease 0.8s both;
}

.hero__decorations span {
  display: inline-block;
  margin: 0 10px;
  animation: slowFloat 3s ease-in-out infinite;
}

.hero__decorations span:nth-child(2) { animation-delay: 0.5s; }
.hero__decorations span:nth-child(3) { animation-delay: 1s; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.nav--scrolled {
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-mushroom);
  transition: var(--transition-smooth);
}

.nav__logo-icon {
  font-size: 1.5rem;
}

.nav__logo:hover {
  color: var(--color-gold);
}

.nav__menu {
  display: flex;
  gap: 30px;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-mushroom);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-mushroom);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* ===== ABOUT SECTION ===== */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.about__text p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--color-earth);
  line-height: 1.8;
}

.about__text strong {
  color: var(--color-mushroom);
}

.about__text em {
  color: var(--color-gold);
  font-style: italic;
}

.about__decorations {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.about__svg {
  animation: slowFloat 4s ease-in-out infinite;
  opacity: 0.8;
}

.about__svg:nth-child(2) {
  animation-delay: 0.7s;
}

.about__svg:nth-child(3) {
  animation-delay: 1.4s;
}

/* ===== CATALOG SECTION ===== */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.catalog__card {
  background: linear-gradient(145deg, var(--color-darker-bg), var(--color-dark-bg));
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-bounce);
  position: relative;
}

.catalog__card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-rust);
  box-shadow: 0 12px 40px rgba(184,134,11,0.2), 0 0 60px rgba(184,134,11,0.05);
}

.catalog__card-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-medium-green);
}

.catalog__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.catalog__card:hover .catalog__card-image img {
  transform: scale(1.08);
}

.catalog__card-body {
  padding: 20px;
}

.catalog__card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-mushroom);
  margin-bottom: 8px;
}

.catalog__card-desc {
  font-size: 0.95rem;
  color: var(--color-earth);
  line-height: 1.5;
  margin-bottom: 16px;
}

.catalog__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog__card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold);
}

.catalog__card-btn {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.catalog__card-btn:hover {
  background: var(--color-gold);
  color: var(--color-dark-bg);
}

/* ===== PROCESS SECTION ===== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process__step {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, var(--color-darker-bg), var(--color-dark-bg));
  border: 1px solid rgba(90,122,58,0.3);
  border-radius: 16px;
  position: relative;
  transition: var(--transition-smooth);
}

.process__step:hover {
  border-color: var(--color-swamp-green);
  box-shadow: 0 8px 30px rgba(90,122,58,0.15);
}

.process__step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process__step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: var(--color-rust);
  color: var(--color-dark-bg);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-mushroom);
  margin-bottom: 12px;
}

.process__step-desc {
  font-size: 0.95rem;
  color: var(--color-earth);
  line-height: 1.6;
}

/* ===== REVIEWS / CAROUSEL ===== */
.carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 12px;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  padding: 20px;
}

.review {
  background: linear-gradient(145deg, var(--color-darker-bg), var(--color-dark-bg));
  border: 1px solid rgba(184,134,11,0.15);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.review__avatar {
  margin-bottom: 16px;
  display: inline-block;
}

.review__author {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-mushroom);
  margin-bottom: 8px;
}

.review__stars {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.review__text {
  font-size: 1.1rem;
  color: var(--color-earth);
  line-height: 1.8;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.carousel__btn {
  background: none;
  border: 2px solid var(--color-rust);
  color: var(--color-gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.carousel__btn:hover,
.carousel__btn:focus {
  background: var(--color-rust);
  color: var(--color-dark-bg);
  outline: none;
}

.carousel__dots {
  display: flex;
  gap: 8px;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-rust);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.carousel__dot--active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(212,160,23,0.5);
}

.carousel__dot:hover {
  background: var(--color-rust);
}

/* ===== CONTACT / FORM SECTION ===== */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact__info-card {
  background: linear-gradient(145deg, var(--color-darker-bg), var(--color-dark-bg));
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 12px;
  padding: 40px;
}

.contact__info-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-mushroom);
  margin-bottom: 24px;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--color-earth);
}

.contact__info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact__link {
  color: var(--color-gold);
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.contact__link:hover,
.contact__link:focus {
  color: var(--color-mushroom);
  border-bottom-color: var(--color-gold);
}

.contact__info-decor {
  margin-top: 24px;
  font-size: 1.5rem;
  letter-spacing: 8px;
  text-align: center;
}

/* ----- FORM ----- */
.form {
  background: linear-gradient(145deg, var(--color-darker-bg), var(--color-dark-bg));
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 12px;
  padding: 40px;
}

.form__group {
  margin-bottom: 24px;
  position: relative;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-mushroom);
  margin-bottom: 8px;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,220,198,0.15);
  border-radius: 8px;
  color: var(--color-mushroom);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form__input::placeholder {
  color: rgba(232,220,198,0.3);
  font-style: italic;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(212,160,23,0.15);
  background: rgba(255,255,255,0.08);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__input--error {
  border-color: #c0392b;
  box-shadow: 0 0 10px rgba(192,57,43,0.3);
}

.form__input--success {
  border-color: var(--color-swamp-green);
  box-shadow: 0 0 10px rgba(90,122,58,0.3);
}

.form__error {
  display: block;
  font-size: 0.85rem;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 1.2em;
}

.form__actions {
  margin-top: 32px;
}

.form__submit {
  width: 100%;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--color-darker-bg), #0a0a0a);
  border-top: 1px solid rgba(184,134,11,0.15);
  padding: 60px 0 30px;
  text-align: center;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo {
  font-size: 2rem;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-mushroom);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232,220,198,0.2);
  border-radius: 50%;
  transition: var(--transition-bounce);
}

.footer__social-link:hover,
.footer__social-link:focus {
  border-color: var(--color-gold);
  background: var(--color-rust);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(184,134,11,0.3);
}

.footer__decor {
  font-size: 1.2rem;
  letter-spacing: 8px;
  opacity: 0.5;
}

.footer__copyright {
  font-size: 0.9rem;
  color: var(--color-earth);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__content {
  position: relative;
  background: linear-gradient(145deg, var(--color-darker-bg), var(--color-dark-bg));
  border: 1px solid var(--color-rust);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(184,134,11,0.1);
  animation: fadeInUp 0.4s ease;
  z-index: 1;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-mushroom);
}

.modal__close {
  background: none;
  border: none;
  color: var(--color-earth);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
}

.modal__close:hover {
  color: var(--color-mushroom);
  transform: rotate(90deg);
}

.modal__body {
  text-align: center;
}

.modal__icon {
  margin-bottom: 20px;
}

.modal__body p {
  font-size: 1.1rem;
  color: var(--color-earth);
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal__footer {
  margin-top: 24px;
  text-align: center;
}

/* ===== RESPONSIVE ===== */

/* Desktop large (1200+) - already default */

/* Tablet (768–1199) */
@media (max-width: 1199px) {
  .section__title {
    font-size: 2.4rem;
  }

  .hero__title {
    font-size: 3.2rem;
  }

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

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

  .about__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__decorations {
    order: -1;
  }

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

/* Mobile (<768) */
@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 1.8rem;
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  /* Mobile nav */
  .nav__toggle {
    display: block;
    z-index: 101;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26,26,26,0.98);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.4s ease;
    backdrop-filter: blur(10px);
  }

  .nav__menu--open {
    right: 0;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review {
    padding: 24px;
  }

  .review__text {
    font-size: 1rem;
  }

  .form {
    padding: 24px;
  }

  .contact__info-card {
    padding: 24px;
  }

  .footer__social {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}
