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

:root {
  --clr-primary: #2C5F2E;
  --clr-primary-light: #3a7d3c;
  --clr-primary-dark: #1e4220;
  --clr-accent: #D4A853;
  --clr-accent-light: #e8c070;
  --clr-bg: #FAFAF8;
  --clr-bg-alt: #F4F2EE;
  --clr-surface: #FFFFFF;
  --clr-text: #1A1A1A;
  --clr-text-muted: #5C5C5C;
  --clr-text-light: #8A8A8A;
  --clr-border: #E5E0D8;
  --clr-error: #C0392B;
  --clr-success: #27AE60;

  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-display: 'Playfair Display', Georgia, serif;

  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --fs-xs: clamp(0.75rem, 1.5vw, 0.813rem);
  --fs-sm: clamp(0.875rem, 2vw, 0.938rem);
  --fs-base: clamp(1rem, 2.5vw, 1.063rem);
  --fs-md: clamp(1.125rem, 3vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 3.5vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 4vw, 2rem);
  --fs-2xl: clamp(2rem, 5vw, 2.75rem);
  --fs-3xl: clamp(2.5rem, 7vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.15);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-h: 72px;
}

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.btn--primary:hover, .btn--primary:focus-visible {
  background-color: var(--clr-primary-light);
  border-color: var(--clr-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn--ghost:hover, .btn--ghost:focus-visible {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

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

.btn--outline:hover, .btn--outline:focus-visible {
  background-color: var(--clr-primary);
  color: #fff;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-base);
}

.btn--full {
  width: 100%;
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--space-3);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--clr-text);
  line-height: 1.2;
}

.section-desc {
  margin-top: var(--space-4);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background-color: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: var(--clr-text);
  font-weight: var(--fw-normal);
  flex-shrink: 0;
}

.nav__logo strong {
  color: var(--clr-primary);
}

.logo-icon {
  color: var(--clr-primary);
  font-size: 1rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-primary);
  transition: width var(--transition);
}

.nav__link:hover, .nav__link:focus-visible {
  color: var(--clr-primary);
}

.nav__link:hover::after, .nav__link:focus-visible::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-4);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--clr-text);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A2E1A 0%, #2C5F2E 45%, #1e3a20 100%);
  z-index: -2;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(212,168,83,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(44,95,46,0.4) 0%, transparent 50%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.02) 60px,
      rgba(255,255,255,0.02) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.02) 60px,
      rgba(255,255,255,0.02) 61px
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: var(--space-20);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-5);
}

.hero__tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--clr-accent);
}

.hero h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: italic;
  color: var(--clr-accent);
}

.hero__desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  line-height: 1;
}

.stat span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-1);
}

.categories {
  padding-block: var(--space-20);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.cat-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: all var(--transition-slow);
  cursor: pointer;
}

.cat-card:hover, .cat-card:focus-visible {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cat-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}

.cat-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: var(--space-3);
}

.cat-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.cat-card__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-primary);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.cat-card__link:hover {
  gap: var(--space-2);
}

.catalog {
  background-color: var(--clr-bg-alt);
  padding-block: var(--space-20);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background-color: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--transition-slow);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card__img {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.product-card__img--sofa {
  background: linear-gradient(135deg, #E8DDD0 0%, #C8B89A 100%);
}

.product-card__img--sofa::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 55%;
  background: linear-gradient(180deg, #8B6914 0%, #6B4F10 100%);
  border-radius: 40px 40px 8px 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.product-card__img--mesa {
  background: linear-gradient(135deg, #F0EBE3 0%, #D9CFC3 100%);
}

.product-card__img--mesa::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 6px;
  background: linear-gradient(180deg, #7D6035 0%, #5A4525 100%);
  border-radius: 4px;
  box-shadow: 0 8px 0 #4A3820, 0 15px 0 #7D6035;
}

.product-card__img--cama {
  background: linear-gradient(135deg, #EAE4DC 0%, #CFC5B8 100%);
}

.product-card__img--cama::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 45%;
  background: linear-gradient(180deg, #A89070 0%, #7A6550 100%);
  border-radius: 12px 12px 4px 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card__img--escritorio {
  background: linear-gradient(135deg, #EFF2F4 0%, #D8DDE3 100%);
}

.product-card__img--escritorio::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 5px;
  background: linear-gradient(180deg, #F5F5F5 0%, #E0E0E0 100%);
  border-radius: 3px;
  box-shadow: 0 5px 0 #B0B0B0, 0 40px 0 #E0E0E0;
}

.product-card__img--librero {
  background: linear-gradient(135deg, #F2EDE6 0%, #DDD5CA 100%);
}

.product-card__img--librero::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 60%;
  background:
    repeating-linear-gradient(
      180deg,
      #8B7355 0px,
      #8B7355 10px,
      #F0EBE3 10px,
      #F0EBE3 11px
    );
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.product-card__img--closet {
  background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
}

.product-card__img--closet::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 65%;
  background: linear-gradient(90deg, #F5F5F5 0%, #F5F5F5 49%, #E0E0E0 49%, #E8E8E8 100%);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid #D0D0D0;
}

.product-card__body {
  padding: var(--space-6);
}

.product-card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background-color: rgba(44,95,46,0.08);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.product-card__body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.product-card__body p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.about {
  padding-block: var(--space-20);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about__visual {
  position: relative;
  height: 480px;
}

.about__visual-card {
  position: absolute;
  border-radius: var(--radius-xl);
  background-color: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
}

.about__visual-card--1 {
  width: 75%;
  height: 75%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #2C5F2E 0%, #3a7d3c 100%);
}

.about__visual-card--2 {
  width: 65%;
  height: 65%;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, #D4A853 0%, #e8c070 100%);
  opacity: 0.7;
}

.about__badge {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-xl);
  text-align: center;
  z-index: 1;
  min-width: 130px;
}

.about__badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  color: var(--clr-primary);
  line-height: 1;
}

.about__badge span {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: var(--space-1);
  display: block;
}

.about__text h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  margin-bottom: var(--space-6);
  color: var(--clr-text);
}

.about__text p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.about__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
}

.about__list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.process {
  background-color: var(--clr-bg-alt);
  padding-block: var(--space-20);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  counter-reset: step;
}

.process__step {
  position: relative;
  padding: var(--space-8);
  background-color: var(--clr-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
}

.process__step-num {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: rgba(44,95,46,0.1);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.process__step h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: var(--space-3);
}

.process__step p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.65;
}

.testimonials {
  padding-block: var(--space-20);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.testimonial {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--ff-display);
  font-size: 4rem;
  color: var(--clr-accent);
  line-height: 1;
  opacity: 0.5;
}

.testimonial p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  padding-top: var(--space-6);
  font-style: italic;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial footer strong {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
}

.testimonial footer span {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

.contact {
  background-color: var(--clr-bg-alt);
  padding-block: var(--space-20);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__info h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  margin-bottom: var(--space-5);
  color: var(--clr-text);
}

.contact__info > p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.contact__details a {
  color: var(--clr-primary);
  font-weight: var(--fw-medium);
}

.contact__details a:hover {
  text-decoration: underline;
}

.contact__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact__notice {
  background-color: rgba(44,95,46,0.06);
  border-left: 3px solid var(--clr-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-4) var(--space-5);
}

.contact__notice p {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  line-height: 1.65;
}

.contact__form-wrap {
  background-color: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235C5C5C'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(44,95,46,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--clr-error);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group--check {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3);
}

.form-group--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--clr-primary);
  cursor: pointer;
}

.form-group--check label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  font-weight: var(--fw-normal);
  line-height: 1.5;
}

.form-group--check label a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--clr-error);
  min-height: 1rem;
}

.form-success {
  background-color: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--clr-success);
  text-align: center;
}

.footer {
  background-color: #111A11;
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .nav__logo {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.footer__advertiser {
  font-size: var(--fs-xs) !important;
  color: rgba(255,255,255,0.4) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-4);
  line-height: 1.7 !important;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer__col h4 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a, .footer__col li {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  padding-block: var(--space-6);
}

.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.footer__bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background-color: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--clr-primary-light);
  box-shadow: var(--shadow-lg);
}

#cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  max-width: 420px;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transition: all var(--transition-slow);
}

#cookie-banner p {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

#cookie-banner a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
}

#cookie-accept {
  flex: 1;
  padding: var(--space-2) var(--space-4);
  background-color: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  font-family: inherit;
  cursor: pointer;
  transition: background-color var(--transition);
}

#cookie-accept:hover {
  background-color: var(--clr-primary-light);
}

#cookie-reject {
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-muted);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

#cookie-reject:hover {
  border-color: var(--clr-text-muted);
  color: var(--clr-text);
}

.legal-page {
  padding-top: calc(var(--header-h) + var(--space-12));
  padding-bottom: var(--space-20);
  min-height: 100vh;
}

.legal-page .container {
  max-width: 780px;
}

.legal-page__header {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--clr-border);
}

.legal-page__header h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--clr-text);
  margin-bottom: var(--space-3);
}

.legal-page__meta {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

.legal-page__body h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-page__body h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-page__body p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.legal-page__body ul, .legal-page__body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-page__body ul {
  list-style: disc;
}

.legal-page__body ol {
  list-style: decimal;
}

.legal-page__body li {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-2);
}

.legal-page__body a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.legal-page__body .notice-box {
  background-color: rgba(44,95,46,0.06);
  border-left: 4px solid var(--clr-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-5) var(--space-6);
  margin-block: var(--space-6);
}

.legal-page__body .notice-box p {
  margin-bottom: 0;
  font-weight: var(--fw-medium);
  color: var(--clr-primary-dark);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.legal-nav a {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--clr-primary);
  background-color: rgba(44,95,46,0.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.legal-nav a:hover {
  background-color: var(--clr-primary);
  color: #fff;
}

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

  .about__visual {
    height: 300px;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--clr-surface);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--space-6) var(--space-6);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-slow);
    margin-left: 0;
  }

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

  .nav__link {
    padding-block: var(--space-3);
    font-size: var(--fs-base);
    color: var(--clr-text);
    border-bottom: 1px solid var(--clr-border);
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
    margin-left: auto;
  }

  .hero__content {
    padding-block: var(--space-12);
    max-width: 100%;
  }

  .hero__stats {
    gap: var(--space-6);
  }

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

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

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }

  #cookie-banner {
    left: var(--space-4);
    right: var(--space-4);
    max-width: none;
    bottom: var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

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

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

  .footer__bottom .container {
    text-align: left;
  }
}

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