/*
Theme Name: Mantrade Theme
Theme URI: https://mantrade.com.ua
Author: Юрій
Description: Кастомна тема для ТОВ «Мантрейд» на основі готового HTML/CSS макету.
Version: 1.0.0
Text Domain: mantrade
*/

html { font-size: 1.08rem; }
.mantrade-root {
  --text-main: #83291F;
  --text-mid: #A63F33;
  --text-light: #C4675B;
  --text-pale: #E2AD9F;
  --text-dark: #83291F;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D0;
  --cream-deeper: #C8B89A;
  --ivory: #FAFAF5;
  --green-deep: #4A6741;
  --green-mid: #6B8F5E;
  --green-light: #A8C49A;
  --green-pale: #E8F0E4;
}
.mantrade-root * { box-sizing: border-box; color: #83291F; }
.mantrade-root a { text-decoration: none; color: #83291F; }
.mt-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: .6rem 4rem; background: rgba(248,252,245,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(107,143,94,.18); }
.mt-nav-logo img { display: block; height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.mt-nav-links { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.mt-nav-links a { font-size: .82rem; color: #83291F; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; font-weight: 500; }
.mt-nav-links a:hover { color: #A63F33; }
.mt-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem 4rem 4rem; position: relative; overflow: hidden; }
.mt-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.32); z-index: 0; }
.mt-hero-overlay { position: absolute; inset: 0; background: linear-gradient(130deg,rgba(74,103,65,.78) 0,rgba(107,143,94,.28) 60%,transparent 100%); z-index: 1; }
.mt-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.mt-hero-left { flex: 1; max-width: 640px; }
.mt-hero-label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: #83291F; margin-bottom: 1.5rem; font-weight: 600; }
.mt-hero-title { font-family: 'Cormorant Garamond',serif; font-size: clamp(3rem,6.5vw,6rem); font-weight: 400; color: #83291F; line-height: 1.05; margin-bottom: 1.5rem; }
.mt-hero-title em { font-style: italic; color: #83291F; }
.mt-hero-subtitle { font-size: 1.02rem; color: #83291F; max-width: 520px; line-height: 1.8; margin-bottom: 2.5rem; font-weight: 400; }
.mt-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.mt-btn-primary { padding: .9rem 2rem; background: var(--green-deep); color: var(--cream); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: background .2s,transform .15s; display: inline-block; border: none; cursor: pointer; }
.mt-btn-primary * { color: var(--cream); }
.mt-btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.mt-btn-outline { padding: .9rem 2rem; color: #83291F; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(131,41,31,.6); transition: all .2s; display: inline-block; font-weight: 600; }
.mt-btn-outline:hover { border-color: #83291F; background: rgba(131,41,31,.1); }
.mt-hero-right-logos { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.mt-hero-logo-img { width: 448px; max-width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(107,143,94,.35)) brightness(1.2); }
.mt-hero-stats { position: relative; z-index: 2; display: flex; gap: 3rem; margin-top: 3rem; }
.mt-stat-num { font-family: 'Cormorant Garamond',serif; font-size: 2.4rem; font-weight: 400; color: #83291F; display: block; line-height: 1; }
.mt-stat-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #83291F; display: block; margin-top: .4rem; font-weight: 600; }
.mt-intro { background: var(--green-pale); padding: 3rem 4rem; display: flex; align-items: center; gap: 3rem; border-bottom: 1px solid var(--green-light); }
.mt-intro-line { width: 60px; height: 1px; background: var(--green-mid); flex-shrink: 0; }
.mt-intro p { font-family: 'Cormorant Garamond',serif; font-size: 1.35rem; font-weight: 400; color: #83291F; font-style: italic; max-width: 820px; line-height: 1.6; margin: 0; }
.mt-section-label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #A63F33; margin-bottom: 1rem; font-weight: 600; }
.mt-section-title { font-family: 'Cormorant Garamond',serif; font-size: clamp(2rem,4vw,3rem); font-weight: 400; color: #83291F; line-height: 1.2; margin-bottom: 3rem; }
.mt-slider-section { padding: 6rem 4rem; background: var(--ivory); }
.mt-slider { position: relative; max-width: 1200px; margin: 0 auto; height: min(70vh,620px); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(74,103,65,.5); }
.mt-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.mt-slide.active { opacity: 1; }
.mt-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-slide-caption { position: absolute; left: 0; bottom: 0; right: 0; padding: 2rem 3rem; background: linear-gradient(to top,rgba(74,103,65,.85),transparent); color: var(--cream); font-family: 'Cormorant Garamond',serif; font-size: 1.6rem; font-weight: 300; font-style: italic; }
.mt-slide-caption * { color: var(--cream); }
.mt-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(74,103,65,.55); color: var(--cream); border: 1px solid rgba(168,196,154,.4); width: 52px; height: 52px; font-size: 2rem; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; line-height: 1; }
.mt-slider-btn * { color: var(--cream); }
.mt-slider-btn:hover { background: var(--green-mid); }
.mt-slider-btn.prev { left: 1.5rem; }
.mt-slider-btn.next { right: 1.5rem; }
.mt-slider-dots { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .6rem; z-index: 2; }
.mt-slider-dots button { width: 34px; height: 3px; background: rgba(245,240,232,.35); border: none; cursor: pointer; transition: background .2s; padding: 0; }
.mt-slider-dots button.active { background: var(--cream); }
.mt-products { padding: 6rem 4rem; background: var(--ivory); }
.mt-products-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; background: var(--green-light); border: 1px solid var(--green-light); max-width: 1100px; margin: 0 auto; }
.mt-product { background: var(--ivory); position: relative; transition: background .25s; }
.mt-product:hover { background: var(--green-pale); }
.mt-product-img { overflow: hidden; }
.mt-product-img img { width: 100%; height: 260px; object-fit: cover; display: block; filter: brightness(.9) saturate(.85); transition: all .5s; }
.mt-product:hover .mt-product-img img { filter: brightness(1) saturate(1); transform: scale(1.04); }
.mt-product-body { padding: 2rem 2.2rem 2.4rem; position: relative; }
.mt-product-body::before { content: ''; display: block; width: 36px; height: 2px; background: var(--green-mid); margin-bottom: 1rem; }
.mt-product-num { position: absolute; top: 1.5rem; right: 1.8rem; font-family: 'Cormorant Garamond',serif; font-size: 3.5rem; font-weight: 300; color: rgba(131,41,31,.15); line-height: 1; }
.mt-product h3 { font-family: 'Cormorant Garamond',serif; font-size: 1.5rem; font-weight: 500; color: #83291F; margin: 0 0 .7rem; }
.mt-product p { font-size: .9rem; color: #C4675B; line-height: 1.75; margin: 0 0 .8rem; font-weight: 400; }
.mt-tag { display: inline-block; margin-top: .8rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #83291F; border: 1px solid rgba(131,41,31,.4); padding: .3rem .85rem; font-weight: 500; }
.mt-quality { background: var(--green-pale); border-top: 1px solid var(--green-light); border-bottom: 1px solid var(--green-light); padding: 5rem 4rem; }
.mt-quality-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 3rem; max-width: 1200px; margin: 0 auto; }
.mt-q-num { font-family: 'Cormorant Garamond',serif; font-size: 1.1rem; color: #A63F33; display: block; margin-bottom: .8rem; letter-spacing: .1em; }
.mt-q-title { font-family: 'Cormorant Garamond',serif; font-size: 1.4rem; color: #83291F; font-weight: 600; margin: 0 0 .6rem; }
.mt-q-desc { font-size: .9rem; color: #A63F33; line-height: 1.7; font-weight: 400; margin: 0; }
.mt-about { background: var(--cream-dark); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 7rem 4rem; }
.mt-about-text p { font-size: .98rem; color: #A63F33; line-height: 1.9; font-weight: 400; margin: 0 0 1.2rem; }
.mt-origins { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.mt-origin { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #83291F; border: 1px solid rgba(131,41,31,.4); padding: .35rem .9rem; font-weight: 500; }
.mt-about-photo img { width: 100%; height: 560px; object-fit: cover; display: block; filter: brightness(.9) saturate(.9); }
.mt-features { background: var(--green-pale); padding: 5rem 4rem; }
.mt-features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.mt-feature { border-left: 2px solid var(--green-mid); padding-left: 1.5rem; }
.mt-feature-title { font-family: 'Cormorant Garamond',serif; font-size: 1.25rem; font-weight: 600; color: #83291F; margin: 0 0 .5rem; }
.mt-feature-desc { font-size: .88rem; color: #A63F33; font-weight: 400; line-height: 1.7; margin: 0; }
.mt-storage { background: var(--ivory); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; padding: 7rem 4rem; }
.mt-storage-video { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(74,103,65,.35); }
.mt-storage-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mt-storage-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; margin-top: 2rem; }
.mt-storage-card { border-top: 2px solid var(--green-mid); padding-top: 1.5rem; }
.mt-storage-title { font-family: 'Cormorant Garamond',serif; font-size: 1.2rem; color: #83291F; font-weight: 600; margin: 0 0 .65rem; }
.mt-storage-text { font-size: .88rem; color: #C4675B; line-height: 1.75; font-weight: 400; margin: 0; }
.mt-storage-highlight { display: inline-block; margin-top: .8rem; font-family: 'Cormorant Garamond',serif; font-size: 1.9rem; font-weight: 500; color: #83291F; }
.mt-contact { background: var(--cream-dark); color: #83291F; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; padding: 7rem 4rem; align-items: start; }
.mt-contact .mt-section-label { color: #A63F33; }
.mt-contact .mt-section-title { color: #83291F; }
.mt-info { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.mt-info-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: #A63F33; margin-bottom: .4rem; font-weight: 600; }
.mt-info-value { font-size: 1rem; color: #83291F; font-weight: 400; }
.mt-info-value a { color: #83291F; transition: color .2s; font-weight: 500; }
.mt-info-value a:hover { color: #A63F33; }
.mt-contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #A63F33; font-weight: 600; }
.form-input { background: rgba(255,255,255,.85); border: 1px solid rgba(131,41,31,.25); color: #83291F; padding: .8rem 1rem; font-family: 'DM Sans',sans-serif; font-size: .9rem; font-weight: 400; outline: 0; transition: border-color .2s; width: 100%; }
.form-input::placeholder { color: #C4675B; }
.form-input:focus { border-color: var(--green-mid); }
textarea.form-input { resize: vertical; min-height: 100px; }
.mt-footer { background: var(--green-deep); padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(74,103,65,.3); }
.mt-footer-logo { font-family: 'Cormorant Garamond',serif; font-size: 1.3rem; font-weight: 600; color: var(--cream); letter-spacing: .05em; }
.mt-footer-logo * { color: var(--cream); }
.mt-footer-logo span { color: var(--green-light); font-style: italic; }
.mt-footer p { font-size: .8rem; color: var(--green-light); font-weight: 300; margin: 0; }
.mt-footer p * { color: var(--green-light); }
@media (max-width:960px){
  .mt-nav { padding: 1rem 1.2rem; }
  .mt-nav-links { gap: 1rem; }
  .mt-nav-links a { font-size: .78rem; }
  .mt-hero { padding: 7rem 1.5rem 4rem; }
  .mt-hero-inner { flex-direction: column; align-items: flex-start; }
  .mt-hero-right-logos { flex-direction: column; width: 100%; }
  .mt-hero-logo-img { width: 220px; }
  .mt-hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .mt-intro { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; gap: 1rem; }
  .mt-about,.mt-contact,.mt-features,.mt-products,.mt-quality,.mt-slider-section,.mt-storage { padding: 4rem 1.5rem; }
  .mt-slider { height: 55vh; }
  .mt-slide-caption { font-size: 1.1rem; padding: 1.2rem 1.5rem; }
  .mt-products-grid { grid-template-columns: 1fr; }
  .mt-quality-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mt-about,.mt-contact,.mt-storage { grid-template-columns: 1fr; gap: 2.5rem; }
  .mt-about-photo img,.mt-storage-video { height: 340px; }
  .mt-features-grid,.mt-storage-grid { grid-template-columns: 1fr; }
  .mt-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}