/* ========== ПЕРЕМЕННЫЕ И БАЗА ========== */
:root{
  --green-dark: #0d2b1f;
  --green-main: #1a4a36;
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --cream: #fcfaf5;
  --text: #333;
  --muted: #666;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;
  --font-cursive: 'Marck Script', cursive;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x: hidden;}
body{
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img{max-width:100%;display:block;height:auto; object-fit: cover;}
a{color:inherit;text-decoration:none;transition:0.3s}
ul{list-style:none}
.container{max-width:1240px;margin:0 auto;padding:0 20px; width: 100%;}
.text-gold{color:var(--gold)}
.text-cursive{font-family:var(--font-cursive); color:var(--gold); font-size:2rem; line-height:1.2;}
.text-center{text-align:center}

/* ========== ШАПКА ========== */
header{
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(13, 43, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
  padding: 10px 0;
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;}
.logo-block{display:flex;align-items:center;gap:15px;cursor:pointer; text-decoration:none; z-index: 1001;}
.logo-img{height: 60px; width: auto; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.3); object-fit: contain;}

/* Бургер-меню */
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.burger span { display: block; width: 25px; height: 2px; background: var(--gold); transition: 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links{display:flex;gap:24px;flex-wrap:wrap;}
.nav-links a{color:#fff;font-size:0.9rem;font-weight:500;letter-spacing:0.5px;position:relative;padding-bottom:4px;}
.nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--gold);transition:width 0.3s;}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.nav-links a:hover, .nav-links a.active{color:var(--gold);}
.header-phones{display:flex;flex-direction:column;gap:4px;}
.header-phones a{color:#fff;font-size:0.95rem;font-weight:600;display:flex;align-items:center;gap:8px;}
.header-phones a:hover{color:var(--gold);}

/* ========== ОБЩИЕ КОМПОНЕНТЫ ========== */
.btn-gold{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background: linear-gradient(135deg, #e6c85a, #d4af37, #b8952c);
  color: var(--green-dark); padding:14px 32px; border-radius: 40px;
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px;
  font-family: var(--font-body); text-align: center;
}
.btn-gold:hover{transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6); color: var(--green-dark);}
.btn-outline-gold{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background: transparent; color: var(--gold); padding:14px 32px; border-radius: 40px;
  font-weight: 600; font-size: 1rem; border: 2px solid var(--gold); cursor: pointer;
  transition: all 0.3s ease; font-family: var(--font-body); text-align: center;
}
.btn-outline-gold:hover{background: var(--gold); color: var(--green-dark);}

.section-padding{padding: clamp(40px, 8vw, 80px) 0;}
.section-title{font-family:var(--font-heading); font-size:clamp(1.8rem, 4vw, 2.5rem); color:var(--green-dark); margin-bottom:20px; line-height:1.2;}
.section-tag{color:var(--gold); text-transform:uppercase; letter-spacing:2px; font-size:0.85rem; font-weight:600; margin-bottom:10px; display:block;}

/* Анимация появления */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ========== ГЛАВНАЯ: HERO ========== */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  padding: 120px 0 60px;
}
.hero::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(90deg, rgba(13,43,31,0.9) 0%, rgba(13,43,31,0.7) 50%, rgba(13,43,31,0.3) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.hero-sub { font-size: clamp(0.8rem, 2vw, 1.1rem); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; color: var(--gold-light); }
.hero-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; font-style: italic; margin-bottom: 40px; }
.hero-title span { font-style: normal; font-weight: 600; }
.hero-actions { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.hero-phone-box {
  background: rgba(13,43,31,0.8); backdrop-filter: blur(5px);
  border: 1px solid rgba(212,175,55,0.3); border-radius: 20px; padding: 15px 25px;
  display: flex; align-items: center; gap: 15px; width: 100%; max-width: 320px;
}
.hero-phone-box svg { stroke: var(--gold); flex-shrink: 0;}
.hero-phone-box div { display: flex; flex-direction: column; }
.hero-phone-box a { color: #fff; font-weight: 600; font-size: clamp(1rem, 2vw, 1.1rem); line-height: 1.4; }
.hero-phone-box a:hover { color: var(--gold); }

/* ========== ПРЕИМУЩЕСТВА ========== */
.features-bar {
  background: var(--cream); border-bottom: 1px solid #e0d8c3;
  padding: 40px 0; position: relative; z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.features-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px 15px;}
.feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; flex: 1; min-width: 140px; }
.feature-icon {
  width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; background: #fff;
  transition: transform 0.3s; flex-shrink: 0;
}
.feature-item:hover .feature-icon { transform: scale(1.1); background: var(--cream); }
.feature-icon svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.feature-text { font-weight: 600; font-size: 0.95rem; color: var(--green-dark); line-height: 1.3; }

/* ========== БЛОК "О НАС" ========== */
.about-home { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-home-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; }
.about-home-img-main { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(13,43,31,0.15); width: 100%; }
.about-home-img-main img { width: 100%; height: 100%; min-height: 300px; max-height: 450px; object-fit: cover; transition: transform 0.5s; }
.about-home-img-main:hover img { transform: scale(1.05); }
.img-label {
  position: absolute; bottom: 20px; left: 20px; background: rgba(13,43,31,0.9);
  color: #fff; padding: 10px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--gold);
}
.img-label svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }

/* ========== СЕТКА ГАЛЕРЕИ ========== */
.gallery-section { padding-bottom: 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor: pointer; height: 280px;}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; bottom: 15px; left: 15px; background: rgba(13,43,31,0.85);
  backdrop-filter: blur(5px); color: #fff; padding: 8px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 8px;
}
.gallery-label svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; }

/* ========== SEO ТЕКСТ ========== */
.seo-text-block { background: #fff; border: 1px solid #eee; padding: clamp(20px, 4vw, 40px); border-radius: 20px; margin-top: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.02);}
.seo-text-block h2 { font-family: var(--font-heading); color: var(--green-dark); margin-bottom: 20px; font-size: clamp(1.5rem, 3vw, 2rem);}
.seo-text-block h3 { font-family: var(--font-heading); color: var(--green-dark); margin: 25px 0 15px; font-size: clamp(1.2rem, 2.5vw, 1.5rem);}
.seo-text-block p { color: var(--muted); margin-bottom: 15px; font-size: clamp(0.95rem, 2vw, 1.05rem);}
.seo-text-block ul { list-style: disc; padding-left: 20px; color: var(--muted); margin-bottom: 20px; font-size: clamp(0.95rem, 2vw, 1.05rem);}

/* ========== БЛОК КОНТАКТОВ ========== */
.contact-banner {
  background: url('../img/banner-bg.jpg') center/cover no-repeat;
  position: relative; padding: clamp(40px, 8vw, 80px) 0; color: #fff;
}
.contact-banner::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(90deg, rgba(252,250,245,0.7) 0%, rgba(13,43,31,0.6) 50%, rgba(13,43,31,0.95) 100%); }
.contact-banner-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; }
.contact-banner-left { max-width: 400px; }
.contact-banner-left .text-cursive { font-size: clamp(2rem, 5vw, 3rem); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.contact-box {
  background: var(--green-dark); border: 2px solid rgba(212,175,55,0.3); border-radius: 20px;
  padding: clamp(20px, 4vw, 40px); max-width: 450px; display: flex; gap: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); width: 100%;
}
.contact-box-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.contact-box-icon svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; }
.contact-box-content h4 { font-size: 1.3rem; margin-bottom: 5px; color: var(--gold-light); }
.contact-box-content p { font-size: 0.9rem; color: #ccc; margin-bottom: 15px; }
.contact-box-content a { display: block; font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; color: #fff; margin-bottom: 5px; transition: color 0.3s; }
.contact-box-content a:hover { color: var(--gold); }

/* ========== ПОДВАЛ ========== */
footer { background: var(--green-dark); color: #a0b0a5; padding: 40px 0; border-top: 4px solid var(--gold); }
.footer-top { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; margin-bottom: 20px; }
.footer-item { display: flex; align-items: center; gap: 15px; }
.footer-item svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0;}
.footer-item div h5 { color: #fff; font-size: 1rem; margin-bottom: 4px; font-weight: 500; }
.footer-item div p { font-size: 0.9rem; }
.footer-bottom { text-align: center; font-size: 0.85rem; }
.footer-seo { font-size: 0.75rem; opacity: 0.6; text-align: center; margin-top: 15px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.4; }

/* ========== ВНУТРЕННИЕ СТРАНИЦЫ ========== */
.inner-hero {
  background: url('../img/inner-bg.jpg') center/cover no-repeat;
  position: relative; padding: 140px 0 80px; text-align: center; color: #fff;
}
.inner-hero::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(13,43,31,0.85); }
.inner-hero h1 { position: relative; z-index: 2; font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.inner-hero p { position: relative; z-index: 2; color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase; font-size: clamp(0.8rem, 2vw, 0.9rem); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card-design {
  background: #fff; border-radius: 15px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s ease;
  border: 1px solid #eee; display: flex; flex-direction: column;
}
.card-design:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(13,43,31,0.15); border-color: var(--gold); }
.card-design img { width: 100%; height: 220px; object-fit: cover; }
.card-design-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column;}
.card-design-body h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--green-dark); margin-bottom: 10px; }
.card-design-body p { color: var(--muted); font-size: 0.95rem; }

/* Таблицы */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); min-width: 600px; }
.price-table th, .price-table td { padding: 20px; text-align: left; border-bottom: 1px solid #eee; }
.price-table th { background: var(--green-dark); color: var(--gold-light); font-weight: 500; letter-spacing: 1px; white-space: nowrap;}
.price-table tr:hover td { background: var(--cream); }
.price-table td:last-child { color: var(--green-dark); font-weight: 700; font-size: 1.1rem; white-space: nowrap;}

/* Контакты */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.contact-card { background: #fff; padding: 30px; border-radius: 15px; border-top: 4px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; display: flex; flex-direction: column; align-items: center;}
.contact-card svg { width: 40px; height: 40px; stroke: var(--gold); margin: 0 auto 15px; fill: none; }
.contact-card h3 { font-family: var(--font-heading); color: var(--green-dark); margin-bottom: 10px; font-size: 1.3rem; }
.contact-card a { display: block; font-size: 1.2rem; font-weight: 600; color: var(--green-dark); margin-bottom: 5px; }
.contact-card a:hover { color: var(--gold); }

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--green-dark); flex-direction: column; align-items: center; justify-content: center;
    transition: right 0.4s ease; z-index: 1000; gap: 30px;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.2rem; }
  .header-phones { display: none; }
  .about-home { grid-template-columns: 1fr; gap: 40px; }
  .contact-banner-inner { flex-direction: column; text-align: center; }
  .contact-box { max-width: 100%; justify-content: center; text-align: left;}
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 50px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-phone-box { max-width: 100%; justify-content: center; }
  .features-grid { flex-direction: column; gap: 25px; align-items: center; }
  .feature-item { width: 100%; max-width: 280px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-box { flex-direction: column; align-items: center; text-align: center; padding: 25px 20px; }
  .contact-box-content a { font-size: 1.3rem; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; padding-left: 10px;}
  .price-table th, .price-table td { padding: 15px; font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .logo-img { height: 45px; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  .btn-gold, .btn-outline-gold { width: 100%; padding: 12px 20px; font-size: 0.9rem;}
}