/* =========================
   Linkfirst — style.css (FULL)
   ========================= */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Playfair Display', 'Georgia', serif;
}

:root {
  --earth: #8B4513;
  --forest: #2E8B57;
  --sage: #87A96B;
  --sand: #F5DEB3;
  --clay: #D2691E;
  --stone: #696969;
  --text: #2F4F4F;
  --light: #FFF8DC;
}

body {
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 5% 15%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 95% 85%, rgba(46, 139, 87, 0.03) 0%, transparent 50%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Focus (приятно в проде) */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(46, 139, 87, 0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ===== Organic Shapes ===== */
.organic-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(20px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--forest);
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--earth);
  bottom: -50px;
  right: 10%;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--clay);
  top: 40%;
  left: 80%;
}

/* ===== Header ===== */
.organic-header {
  padding: 40px 0;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--earth);
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
}

.logo::before {
  content: "🌿";
  margin-right: 10px;
  font-size: 2rem;
}

/* Nav (если подключишь) */
.nav-organic {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--forest);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--forest);
}

/* ===== Hero Section ===== */
.organic-hero {
  padding: 100px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-block;
  background: var(--forest);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--earth);
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--sage));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--stone);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}

.price-tag {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.price-tag::before {
  content: "₽";
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: -30px;
  color: var(--clay);
}

.price-from {
  font-size: 2rem;
  color: var(--clay);
  margin-right: 5px;
  text-transform: lowercase;
  display: inline-block;
  vertical-align: baseline;
}

/* (оставляю, как у тебя) */
.price-tag::before {
  content: "₽";
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: -30px;
  color: var(--clay);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-natural {
  background: var(--forest);
  color: white;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--forest);
  position: relative;
  overflow: hidden;
}

.btn-natural::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-natural:hover::before {
  left: 100%;
}

.btn-natural:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.natural-card {
  position: absolute;
  background: white;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: transform 0.3s ease;
}

.natural-card:nth-child(1) {
  top: 50px;
  left: 20px;
  transform: rotate(-3deg);
  width: 250px;
  z-index: 3;
}

.natural-card:nth-child(2) {
  top: 150px;
  right: 40px;
  transform: rotate(2deg);
  width: 280px;
  z-index: 2;
}

.natural-card:nth-child(3) {
  bottom: 80px;
  left: 100px;
  transform: rotate(-1deg);
  width: 220px;
  z-index: 1;
}

.natural-card:hover {
  transform: rotate(0) scale(1.05);
  z-index: 4;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--sage);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 1.3rem;
}

.card-title {
  font-weight: 700;
  color: var(--earth);
  font-size: 1.2rem;
}

.card-content {
  color: var(--stone);
  line-height: 1.6;
}

/* ===== Features Section ===== */
.organic-features {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-block;
  background: rgba(139, 69, 19, 0.1);
  color: var(--earth);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(139, 69, 19, 0.2);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--earth);
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--stone);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-item {
  background: white;
  border-radius: 25px;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--forest), var(--sage));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(46, 139, 87, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--forest);
  font-size: 2rem;
  border: 2px solid rgba(46, 139, 87, 0.2);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--earth);
}

.feature-desc {
  color: var(--stone);
  line-height: 1.7;
}

/* ===== Process Section ===== */
.organic-process {
  padding: 120px 0;
  background: rgba(139, 69, 19, 0.03);
  border-radius: 50px;
  margin: 80px 0;
  padding-top: 4rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 25px;
  padding: 40px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.process-step:hover {
  transform: translateX(10px);
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  margin-right: 30px;
  flex-shrink: 0;
  color: white;
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(46, 139, 87, 0.2);
  border-radius: 50%;
  top: -5px;
  left: -5px;
}

.step-content h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--earth);
}

.step-content p {
  color: var(--stone);
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.organic-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  padding-top: 0px;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--earth);
}

.cta-subtitle {
  font-size: 1.3rem;
  color: var(--stone);
  margin-bottom: 50px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
/* ===== Footer с 4 столбцами ===== */
.organic-footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(139, 69, 19, 0.2);
  padding-bottom: 0px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(auto, 320px) 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: minmax(auto, 320px) 1fr 1fr;
    gap: 30px;
  }
  
  .footer-contact {
    grid-column: span 3;
    width: 100%;
    max-width: 400px;
  }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-contact {
    grid-column: auto;
    max-width: 100%;
  }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
  .footer-grid {
    gap: 30px;
  }
}

/* ===== Остальные стили футера (без изменений) ===== */
.footer-brand {
  max-width: 100%;
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--earth);
  display: inline-block;
}

.footer-desc {
  color: var(--stone);
  margin-bottom: 30px;
  line-height: 1.7;
}

.payment-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.payment-icon {
  width: 50px;
  height: 50px;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--earth);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.2);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Arial', 'Helvetica', sans-serif;
  cursor: default;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.payment-icon:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 139, 87, 0.2);
  border-color: var(--forest);
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--earth);
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--forest);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a::before {
  content: "🌱";
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--forest);
}

/* Стили для service-item (без ссылок) */
.service-item {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  padding: 5px 0;
  position: relative;
}

.service-item::before {
  content: "🌱";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.service-item:hover {
  color: var(--forest);
}

.service-item:hover::before {
  transform: scale(1.2);
  content: "🌿";
}

.service-item:hover {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: -5px;
  margin-right: -5px;
  border-radius: 5px;
  background: rgba(46, 139, 87, 0.05);
}

/* Контакты */
.footer-contact ul.footer-links li a {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Нижняя часть футера */
.footer-bottom {
  padding: 40px 0;
  border-top: 1px solid rgba(139, 69, 19, 0.2);
  text-align: center;
  padding-bottom: 0px;
}

.footer-bottom-content {
  max-width: 800px;
  margin: 0 auto;
}

.copyright {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.legal-info {
  color: var(--stone);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(139, 69, 19, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.legal-info p {
  margin-bottom: 8px;
}

/* Ссылка в копирайте */
.organic-footer div.container div.footer-bottom p a {
  color: #2E8B57;
  text-decoration: none;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .payment-icons {
    gap: 12px;
    margin-top: 15px;
  }

  .payment-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    padding: 30px 0;
  }

  .footer-bottom-content {
    padding: 0 15px;
  }

  .copyright {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .legal-info {
    font-size: 0.8rem;
    padding: 12px;
    margin-bottom: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .payment-icons {
    gap: 10px;
  }

  .payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    padding: 25px 0;
  }

  .copyright {
    font-size: 0.85rem;
  }

  .legal-info {
    font-size: 0.75rem;
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .payment-icons {
    gap: 8px;
  }

  .payment-icon {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
  .payment-icon:active {
    transform: scale(0.95);
  }

  .payment-icon:hover {
    transform: none;
  }
  
  .service-item:active {
    color: var(--forest);
    background: rgba(46, 139, 87, 0.1);
  }

  .service-item:active::before {
    transform: scale(1.2);
    content: "🌿";
  }
}

/* ===== Responsive (общий) ===== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .nav-organic {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .price-tag {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .natural-card {
    position: relative;
    margin: 20px auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .hero-visual {
    height: auto;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* ===== Mobile Adaptation ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .organic-hero {
    padding: 60px 0;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero-badge {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-title::after {
    width: 70px;
    height: 3px;
    bottom: -10px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .price-tag {
    font-size: 3rem;
    margin-bottom: 25px;
  }

  .price-from {
    font-size: 1.5rem;
  }

  .price-tag::before {
    font-size: 1.5rem;
    top: 8px;
    right: -25px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .btn-natural,
  .btn-outline {
    padding: 18px 25px;
    font-size: 1rem;
    justify-content: center;
    text-align: center;
  }

  .hero-visual {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .natural-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 25px;
    z-index: 1 !important;
  }

  .natural-card:hover {
    transform: scale(1.02) !important;
  }

  .shape-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    left: -50px;
  }

  .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    right: 5%;
  }

  .shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 70%;
  }
}

@media (max-width: 480px) {
  .organic-header {
    padding: 25px 0;
  }

  .logo {
    font-size: 1.8rem;
  }

  .logo::before {
    font-size: 1.5rem;
  }

  .nav-organic {
    gap: 15px;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .price-tag {
    font-size: 2.5rem;
  }

  .price-from {
    font-size: 1.2rem;
  }

  .price-tag::before {
    font-size: 1.2rem;
    top: 6px;
    right: -20px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .card-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .btn-natural,
  .btn-outline {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-badge {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .nav-organic {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-link {
    padding: 5px 0;
  }

  .price-tag {
    font-size: 2rem;
  }

  .price-tag::before {
    font-size: 1rem;
    top: 4px;
    right: -15px;
  }
}

/* Orientation specific */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .natural-card {
    flex: 1;
    min-width: calc(50% - 10px);
  }
}

/* Для очень высоких мобильных устройств */
@media (max-width: 768px) and (min-height: 1000px) {
  .organic-hero {
    padding: 80px 0;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
  }
}

/* Улучшение касаний на мобильных устройствах */
@media (hover: none) and (pointer: coarse) {
  .btn-natural:active,
  .btn-outline:active {
    transform: scale(0.98);
  }

  .natural-card:active {
    transform: scale(0.98) !important;
  }

  .nav-link:hover::after,
  .nav-link:hover {
    width: 0;
    color: var(--text);
  }

  .nav-link:active::after {
    width: 100%;
  }

  .nav-link:active {
    color: var(--forest);
  }
}

/* ===== Phone Number Styles ===== */
.header-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 24px;
  background: rgba(46, 139, 87, 0.1);
  border-radius: 50px;
  border: 2px solid rgba(46, 139, 87, 0.2);
  transition: all 0.3s ease;
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.phone-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* У тебя в HTML span без .phone-number — поэтому дублирую на span */
.phone-number,
.header-phone span {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.header-phone:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 139, 87, 0.2);
}

.header-phone:hover .phone-icon {
  transform: scale(1.1);
  animation: phone-ring 0.3s ease;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0) scale(1.1); }
  25% { transform: rotate(-10deg) scale(1.1); }
  75% { transform: rotate(10deg) scale(1.1); }
}

/* Mobile Adaptation for Header */
@media (max-width: 768px) {
  .header-phone {
    order: 2;
    padding: 10px 20px;
    font-size: 1rem;
    gap: 10px;
    min-width: auto;
  }

  .phone-icon {
    width: 20px;
    height: 20px;
  }

  .phone-number {
    font-size: 1rem;
    letter-spacing: 0.3px;
  }

  /* Показываем сокращенную версию на планшетах */
  .header-phone .phone-number span:not(.phone-full) {
    display: none;
  }

  .header-phone::after {
    content: "+7 (915) 383-38-35";
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
  }

  .header-phone span {
    display: none;
  }

  .organic-process {
    margin-top: 0px;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .header-phone .phone-number {
    display: none;
  }

  .header-phone::after {
    content: "Позвонить";
    font-family: 'Playfair Display', 'Georgia', serif;
  }
}

/* ===== Hide hero cards on <= 992px ===== */
@media (max-width: 992px) {
  .organic-hero div.container div.hero-grid div.hero-visual { display: none; } /* FIX: Display -> display */
  .organic-features { padding-top: 0px; }
}

@media (max-width: 480px) {
  .header-phone {
    order: 2;
    width: 100%;
    justify-content: center;
    padding: 12px 25px;
    font-size: 1.05rem;
  }

  .phone-icon {
    width: 18px;
    height: 18px;
  }

  .phone-number {
    font-size: 1.05rem;
    letter-spacing: 0.4px;
  }

  .header-phone span {
    display: inline !important;
  }

  .header-phone::after {
    content: "" !important;
  }
}

@media (max-width: 360px) {
  .header-phone {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  .phone-icon {
    width: 16px;
    height: 16px;
  }

  .phone-number {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
  }

  .header-phone .phone-number {
    font-size: 0.9rem;
  }

  .header-phone .phone-number::before {
    content: "+7 915 383-38-35";
  }

  .header-phone .phone-number span {
    display: none;
  }
}

/* Для очень маленьких экранов (iPhone SE и подобные) */
@media (max-width: 320px) {
  .header-phone {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .phone-number {
    font-size: 0.85rem;
  }

  .header-phone .phone-number::before {
    content: "+79153833835";
    letter-spacing: 0.2px;
  }
}

/* Touch device optimization for header */
@media (hover: none) and (pointer: coarse) {
  .header-phone:active {
    transform: scale(0.95);
  }

  .header-phone:active .phone-icon {
    transform: scale(1);
    animation: none;
  }

  .nav-link:active {
    background: var(--forest);
    color: white;
  }

  .nav-link:hover::after {
    width: 0;
  }

  .nav-link:active::after {
    width: 100%;
    background: white;
  }
}

/* Фикс для Safari iOS */
@supports (-webkit-touch-callout: none) {
  .header-phone {
    -webkit-tap-highlight-color: transparent;
  }

  .phone-number,
  .header-phone span {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ===== Payment Icons ===== */
.payment-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.payment-icon {
  width: 50px;
  height: 50px;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--earth);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.2);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Arial', 'Helvetica', sans-serif;
  cursor: default;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.payment-icon:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 139, 87, 0.2);
  border-color: var(--forest);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
  .payment-icons {
    gap: 12px;
    margin-top: 15px;
  }

  .payment-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .payment-icons {
    gap: 10px;
  }

  .payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .payment-icons {
    gap: 8px;
  }

  .payment-icon {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
  .payment-icon:active {
    transform: scale(0.95);
  }

  .payment-icon:hover {
    transform: none;
  }
}

/* ===== Typography overrides (как у тебя) ===== */
.footer-contact ul.footer-links li a { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.organic-header div.container div.header-content a.header-phone span { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.hero-content div.hero-actions a.btn-natural { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.cta-buttons a.btn-natural { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.footer-bottom div.footer-bottom-content p.copyright { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.organic-footer div.container div.footer-bottom p a { color: #2E8B57; text-decoration: none; }

/* ===== Service Items without links ===== */
.service-item {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  padding: 5px 0;
  position: relative;
}

.service-item::before {
  content: "🌱";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.service-item:hover {
  color: var(--forest);
}

.service-item:hover::before {
  transform: scale(1.2);
  content: "🌿";
}

.service-item:hover {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: -5px;
  margin-right: -5px;
  border-radius: 5px;
  background: rgba(46, 139, 87, 0.05);
}

@media (max-width: 768px) {
  .service-item {
    padding: 4px 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .service-item:active {
    color: var(--forest);
    background: rgba(46, 139, 87, 0.1);
  }

  .service-item:active::before {
    transform: scale(1.2);
    content: "🌿";
  }
}

/* ===== Footer Bottom (твоя расширенная версия) ===== */
.footer-bottom {
  padding: 40px 0;
  border-top: 1px solid rgba(139, 69, 19, 0.2);
  text-align: center;
  padding-bottom: 0px;
}

.footer-bottom-content {
  max-width: 800px;
  margin: 0 auto;
}

.copyright {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.legal-info {
  color: var(--stone);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(139, 69, 19, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.legal-info p {
  margin-bottom: 8px;
}

.legal-info p:last-child {
  margin-bottom: 0;
}

.privacy-link {
  margin-top: 15px;
}

.privacy-link a {
  color: var(--forest);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.privacy-link a::before {
  content: "🔒";
  font-size: 0.8rem;
}

.privacy-link a:hover {
  color: var(--earth);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding: 30px 0;
  }

  .footer-bottom-content {
    padding: 0 15px;
  }

  .copyright {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .legal-info {
    font-size: 0.8rem;
    padding: 12px;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .privacy-link a {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    padding: 25px 0;
  }

  .copyright {
    font-size: 0.85rem;
  }

  .legal-info {
    font-size: 0.75rem;
    padding: 10px;
  }

  .legal-info p {
    margin-bottom: 6px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .privacy-link a:active {
    color: var(--earth);
  }
}

/* ===== Более агрессивная адаптация CTA ===== */
@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 25px !important;
    text-align: center !important;
  }

  .cta-title br {
    display: block !important;
    content: " " !important;
    margin-bottom: 5px !important;
  }
}

@media (max-width: 400px) {
  .cta-title {
    font-size: 1.7rem !important;
  }


}


/* Cookie banner (short) */
.lf-cookie-mini[hidden] { display: none !important; }

.lf-cookie-mini {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 14px;
  display: flex;
  justify-content: center;
}

.lf-cookie-mini__box {
  width: min(1100px, 100%);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(139, 69, 19, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
  backdrop-filter: blur(4px);
}

.lf-cookie-mini__text {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.45;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.lf-cookie-mini__link {
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}
.lf-cookie-mini__link:hover { text-decoration: underline; }

.lf-cookie-mini__btn {
  border: 2px solid var(--forest);
  background: var(--forest);
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  white-space: nowrap;
}

.lf-cookie-mini__btn:active { transform: scale(0.98); }
.lf-cookie-mini__btn:hover { box-shadow: 0 12px 24px rgba(46,139,87,0.25); }

@media (max-width: 680px) {
  .lf-cookie-mini__box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lf-cookie-mini__btn { 
    width: 100%;
    text-align: center; 
  }
}



/* ===== Linkfirst Privacy Modal ===== */
body.lf-modal-open { overflow: hidden; }

.lf-modal[hidden] { display: none !important; }

.lf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 18, 0.55);
  backdrop-filter: blur(6px);
}

.lf-modal__panel {
  position: relative;
  width: min(980px, calc(100vw - 24px));
  max-height: min(86vh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
  border: 1px solid rgba(46,139,87,0.18); /* #2E8B57 */
}

.lf-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(46,139,87,0.10), rgba(46,139,87,0.02));
  border-bottom: 1px solid rgba(46,139,87,0.14);
}

.lf-modal__title {
  font-weight: 700;
  font-size: 16px;
  color: #1f2a24;
}

.lf-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(46,139,87,0.22);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #2E8B57;
}

.lf-modal__body {
  padding: 0;
  flex: 1;
  min-height: 320px;
  background: #fff;
}

/* ВАЖНО: скролл внутри модалки */
.lf-modal__scroll {
  height: 100%;
  overflow: auto;
  padding: 16px;
}

/* Небольшой фирменный стиль текста политики */
.lf-privacy h2 {
  margin: 16px 0 8px;
  font-size: 16px;
  color: #1f2a24;
}

.lf-privacy p, .lf-privacy li {
  color: #405148;
  line-height: 1.6;
  font-size: 14px;
  padding-bottom: 15px;
}

.lf-privacy a {
  color: #2E8B57;
  text-decoration: none;
  font-weight: 600;
}

.lf-modal__foot {
  padding: 12px 16px;
  border-top: 1px solid rgba(46,139,87,0.14);
  background: rgba(255,255,255,0.94);
  display: flex;
  justify-content: flex-end;
}

.lf-modal__btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  background: #2E8B57;
  color: #fff;
  font-weight: 700;
}


#lfCookieMini.lf-cookie-mini div.lf-cookie-mini__box div.lf-cookie-mini__text a{
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
} 

