/* ===== Royal Gulf Group – main stylesheet ===== */
:root {
  --red: #d71f26;
  --red-dark: #b0161c;
  --green: #3aa935;
  --green-dark: #2b8a27;
  --dark: #15191e;
  --text: #4a525c;
  --light: #f5f7f4;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Poppins", system-ui, sans-serif; color: var(--text); line-height: 1.7; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: .95rem; transition: all .3s var(--ease); border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(215, 31, 38, .35); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--dark); }
.btn--light { background: var(--white); color: var(--red-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.eyebrow--dark { color: var(--red); }
.title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.title::after { content: ""; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, var(--red) 50%, var(--green) 50%); border-radius: 2px; margin-top: 14px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__head .title::after { margin-left: auto; margin-right: auto; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #c9ced4; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar__tagline { color: var(--green); font-style: italic; font-weight: 500; }
.ico { color: var(--green); margin-right: 4px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 15px rgba(0, 0, 0, .06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 56px; height: 56px; }
.logo__text { font-weight: 800; font-size: 1.35rem; color: var(--red); text-transform: uppercase; line-height: 1; letter-spacing: .5px; }
.logo__text small { display: block; font-size: .7rem; color: var(--green); letter-spacing: 5px; margin-top: 4px; }
.logo--light .logo__text { color: var(--white); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--dark); position: relative; transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease); }
.nav a:not(.btn):hover, .nav a.active { color: var(--red); }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav__cta { color: var(--white) !important; padding: 10px 24px; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 26px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 3px; background: var(--dark); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { top: 22px; }
.burger.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ---------- Hero slider ---------- */
.slider { position: relative; height: calc(100vh - 115px); min-height: 480px; max-height: 760px; overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transform: scale(1.08); transition: opacity 1s var(--ease), transform 6s linear, visibility 1s; display: flex; align-items: center; }
.slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 16, .85) 0%, rgba(10, 12, 16, .55) 45%, rgba(10, 12, 16, .1) 100%); }
.slide__content { position: relative; z-index: 2; color: var(--white); }
.slide__content > * { max-width: 620px; opacity: 0; transform: translateY(30px); transition: all .8s var(--ease); }
.slide.active .slide__content > * { opacity: 1; transform: none; }
.slide.active .slide__content > *:nth-child(2) { transition-delay: .2s; }
.slide.active .slide__content > *:nth-child(3) { transition-delay: .4s; }
.slide.active .slide__content > *:nth-child(4) { transition-delay: .6s; }
.slide h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 18px; }
.slide h1 span { color: var(--green); display: block; }
.slide p { font-size: 1.1rem; margin-bottom: 30px; color: #e3e6ea; }
.slide__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .25); color: var(--white); font-size: 1.1rem; cursor: pointer; transition: .3s; }
.slider__arrow:hover { background: var(--red); border-color: var(--red); }
.slider__arrow--prev { left: 24px; }
.slider__arrow--next { right: 24px; }
.slider__dots { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.slider__dots button { width: 12px; height: 12px; border-radius: 50px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: all .3s var(--ease); }
.slider__dots button.active { width: 34px; background: var(--green); }

/* ---------- Strip ---------- */
.strip { position: relative; z-index: 5; margin-top: -50px; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 0; }
.strip__item { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-right: 1px solid #eee; transition: background .3s; }
.strip__item:last-child { border-right: 0; }
.strip__item:hover { background: var(--light); }
.strip__ico { font-size: 2rem; }
.strip__item h4 { font-size: 1rem; }
.strip__item p { font-size: .85rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media::before { content: ""; position: absolute; top: -18px; left: -18px; width: 60%; height: 70%; border: 4px solid var(--green); border-radius: var(--radius); z-index: -1; }
.about__img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.about__badge { position: absolute; bottom: -24px; right: 24px; background: var(--red); color: var(--white); padding: 18px 28px; border-radius: var(--radius); text-align: center; box-shadow: 0 10px 25px rgba(215, 31, 38, .4); }
.about__badge strong { display: block; font-size: 2rem; line-height: 1; }
.about__badge span { font-size: .85rem; }
.about blockquote { border-left: 4px solid var(--green); padding: 6px 0 6px 18px; margin-bottom: 18px; font-style: italic; color: var(--dark); font-weight: 500; }
.about p { margin-bottom: 14px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; color: var(--dark); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white); font-size: .7rem; display: grid; place-items: center; }

/* ---------- Counters ---------- */
.counters { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: var(--white); padding: 60px 0; }
.counters__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.counter__num, .counter__plus { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.counter p { margin-top: 8px; opacity: .9; }

/* ---------- Services ---------- */
.services { background: var(--light); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); padding: 36px 28px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--red), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.card:hover::before { transform: scaleX(1); }
.card__ico { width: 70px; height: 70px; border-radius: 50%; background: rgba(58, 169, 53, .12); display: grid; place-items: center; font-size: 2rem; margin-bottom: 20px; }
.card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.card p { font-size: .93rem; }

/* ---------- Features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.feature:last-child { margin-bottom: 0; }
.feature--reverse .feature__img { order: 2; }
.feature__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature__img img { width: 100%; transition: transform .6s var(--ease); }
.feature__img:hover img { transform: scale(1.05); }
.feature__text p { margin-bottom: 14px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(rgba(176, 22, 28, .9), rgba(176, 22, 28, .9)), url("../assets/images/gallery/fresh-produce.jpg") center/cover fixed; color: var(--white); padding: 70px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta p { max-width: 640px; opacity: .92; }

/* ---------- Opening ---------- */
.opening__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.tag { display: inline-block; background: var(--green); color: var(--white); font-size: .8rem; font-weight: 600; padding: 4px 14px; border-radius: 50px; margin-bottom: 14px; }
.opening__text p { margin-bottom: 14px; }
.opening__badges { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.opening__badges div { background: var(--light); border-left: 4px solid var(--red); padding: 14px 20px; border-radius: 8px; }
.opening__badges strong { display: block; color: var(--dark); }
.opening__badges span { font-size: .85rem; }
.opening__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Gallery ---------- */
.gallery { background: var(--light); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 49 / 33; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: var(--white); background: rgba(215, 31, 38, .55); opacity: 0; transition: opacity .35s; }
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Testimonials ---------- */
.tslider { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.tslide { display: none; animation: fadeIn .6s var(--ease); }
.tslide.active { display: block; }
.tslide p { font-size: 1.25rem; font-style: italic; color: var(--dark); margin-bottom: 22px; }
.tslide p::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--green); font-style: normal; margin-bottom: 12px; }
.tslide h4 { color: var(--red); }
.tslide span { font-size: .9rem; }
.tslider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.tslider__dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #d3d7db; cursor: pointer; transition: .3s; }
.tslider__dots button.active { background: var(--red); transform: scale(1.2); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

/* ---------- News ---------- */
.news { background: var(--light); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.post:hover { transform: translateY(-6px); }
.post img { width: 100%; height: 220px; object-fit: cover; }
.post__body { padding: 24px; }
.post__date { font-size: .8rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.post h3 { font-size: 1.1rem; margin: 8px 0 10px; }
.post p { font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: #c9ced4; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.contact__info ul { margin-top: 26px; display: grid; gap: 14px; }
.contact__info li { display: flex; align-items: center; gap: 12px; }
.contact__info li span { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex-shrink: 0; }
.contact__info a:hover { color: var(--white); }
.form { background: var(--white); padding: 40px; border-radius: var(--radius); display: grid; gap: 16px; }
.form h3 { font-size: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid #dde1e5; border-radius: 8px; font-family: inherit; font-size: .95rem; color: var(--dark); background: var(--white); transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(58, 169, 53, .15); }
.form .invalid { border-color: var(--red); }
.form button { justify-self: start; }
.form__msg { font-size: .9rem; font-weight: 500; min-height: 1.2em; }
.form__msg.ok { color: var(--green-dark); }
.form__msg.err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: #0e1114; color: #9aa2ab; padding-top: 70px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer .logo { margin-bottom: 16px; }
.footer h4 { color: var(--white); margin-bottom: 18px; font-size: 1.05rem; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; text-align: center; font-size: .85rem; }

/* ---------- Lightbox & back to top ---------- */
.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 85vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: var(--white); font-size: 2.6rem; cursor: pointer; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Inner pages: hero + breadcrumb ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; padding: 110px 0 90px; color: var(--white); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10, 12, 16, .88), rgba(10, 12, 16, .55)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 12px; }
.page-hero--article h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); max-width: 900px; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .95rem; color: #d5d9de; }
.breadcrumb a { color: var(--green); font-weight: 500; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 10px; opacity: .6; }
.nav__cta.is-current { background: var(--green); }

/* ---------- About page ---------- */
.counters__grid--4 { grid-template-columns: repeat(4, 1fr); }
.about__text .btn { margin-top: 10px; }
.md__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.md__card { background: linear-gradient(160deg, var(--red), var(--red-dark)); color: var(--white); border-radius: var(--radius); padding: 50px 30px; text-align: center; box-shadow: 0 18px 40px rgba(215, 31, 38, .3); }
.md__avatar { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 22px; background: var(--white); color: var(--red); display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; border: 6px solid rgba(255, 255, 255, .35); background-clip: padding-box; }
.md__card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.md__card span { font-size: .9rem; opacity: .9; }
.md__text p { margin-bottom: 14px; }
.md__lead { font-weight: 600; color: var(--dark); }
.md__sign { font-family: "Brush Script MT", cursive; font-size: 1.8rem; color: var(--red); margin-top: 6px; }
.mvv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--red), var(--green)); border-radius: 2px; }
.timeline__item { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px; margin-bottom: 26px; }
.timeline__item::before { content: ""; position: absolute; left: -37px; top: 30px; width: 19px; height: 19px; border-radius: 50%; background: var(--white); border: 4px solid var(--green); }
.timeline__year { display: inline-block; background: var(--red); color: var(--white); font-size: .8rem; font-weight: 600; padding: 3px 14px; border-radius: 50px; margin-bottom: 10px; }
.timeline__item h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* ---------- Services page ---------- */
a.card { display: block; }
.card__more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--red); }
.feature + .info__grid { margin-top: 50px; }
.feature__text .checks { margin-bottom: 20px; }
.info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.info__grid--2 { grid-template-columns: repeat(2, 1fr); }
.info { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.info h3 { font-size: 1.15rem; margin-bottom: 14px; }
.bullets { display: grid; gap: 10px; margin-bottom: 18px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.bullets strong { color: var(--dark); }

/* ---------- Gallery page ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { font-family: inherit; font-size: .92rem; font-weight: 500; padding: 9px 22px; border-radius: 50px; border: 1px solid #dde1e5; background: var(--white); color: var(--dark); cursor: pointer; transition: .3s; }
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button.active { background: var(--red); border-color: var(--red); color: var(--white); }
.gallery__item.hide { display: none; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .12); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: .3s; }
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox.single .lightbox__nav { display: none; }

/* ---------- News & articles ---------- */
.post h3 a:hover { color: var(--red); }
.post__more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--red); }
.post--wide { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 30px; }
.post--wide .post__img img { height: 100%; min-height: 280px; }
.post--wide .post__body { padding: 40px; align-self: center; }
.post--wide h3 { font-size: 1.5rem; }
.article__grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 50px; align-items: start; }
.article__img { width: 100%; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow); }
.article__content { margin-bottom: 30px; }
.article__content h2 { font-size: 1.45rem; margin: 32px 0 12px; }
.article__content p { margin-bottom: 14px; }
.article__lead { font-size: 1.12rem; color: var(--dark); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 24px; }
.widget { background: var(--light); border-radius: var(--radius); padding: 26px; }
.widget h4 { font-size: 1.1rem; margin-bottom: 16px; }
.widget__posts { display: grid; gap: 16px; }
.widget__posts a { display: flex; gap: 14px; align-items: center; font-weight: 500; font-size: .92rem; color: var(--dark); line-height: 1.4; }
.widget__posts a:hover { color: var(--red); }
.widget__posts img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.widget--cta { background: linear-gradient(140deg, var(--green-dark), var(--green)); color: var(--white); }
.widget--cta h4 { color: var(--white); }
.widget--cta p { margin-bottom: 16px; }

/* ---------- Contact page ---------- */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.office { text-align: center; padding: 36px 28px; border-radius: var(--radius); box-shadow: var(--shadow); border-bottom: 4px solid var(--red); }
.office .card__ico { margin: 0 auto 18px; }
.office h3 { margin-bottom: 8px; }
.branch-search { width: 100%; max-width: 460px; margin-top: 10px; padding: 13px 22px; border: 1px solid #dde1e5; border-radius: 50px; font-family: inherit; font-size: .95rem; }
.branch-search:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(58, 169, 53, .15); }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.branch { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .3s var(--ease); border-left: 4px solid var(--green); }
.branch:hover { transform: translateY(-5px); }
.branch.hide { display: none; }
.branch h3 { font-size: 1.02rem; margin-bottom: 12px; }
.branch p { font-size: .92rem; margin-bottom: 6px; display: flex; gap: 8px; }
.branch p a:hover { color: var(--red); }
.branch__map { display: inline-block; margin-top: 8px; font-weight: 600; font-size: .88rem; color: var(--red); }
.branches__empty { text-align: center; margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid #eee; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .branches { grid-template-columns: repeat(2, 1fr); }
  .counters__grid--4 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; top: 80px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--white); padding: 10px 20px 24px; box-shadow: 0 15px 25px rgba(0, 0, 0, .08); transform: translateY(-130%); transition: transform .4s var(--ease); z-index: -1; }
  .nav.open { transform: none; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; padding: 12px 24px !important; }

  .section { padding: 70px 0; }
  .about__grid, .feature, .opening__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .feature--reverse .feature__img { order: 0; }
  .news__grid, .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .slider__arrow { display: none; }
  .cta { background-attachment: scroll; }
  .md__grid, .article__grid, .post--wide { grid-template-columns: 1fr; }
  .mvv__grid, .info__grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .page-hero { padding: 80px 0 60px; }
  .post--wide .post__body { padding: 26px; }
}

@media (max-width: 600px) {
  .topbar { display: none; }
  .slider { height: 78vh; min-height: 440px; }
  .slide__overlay { background: rgba(10, 12, 16, .65); }
  .slide p { font-size: 1rem; }
  .slider__dots { bottom: 24px; }
  .strip { margin-top: 0; }
  .strip__grid { grid-template-columns: 1fr; border-radius: 0; }
  .strip__item { border-right: 0 !important; border-bottom: 1px solid #eee; }
  .services__grid, .news__grid, .gallery__grid, .form__row, .checks, .footer__grid, .counters__grid { grid-template-columns: 1fr; }
  .counters__grid { row-gap: 30px; }
  .branches, .offices, .info__grid--2, .counters__grid--4 { grid-template-columns: 1fr; }
  .timeline { padding-left: 30px; }
  .timeline__item { padding: 22px; }
  .timeline__item::before { left: -27px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .form { padding: 26px 20px; }
  .about__media::before { display: none; }
  .logo img { width: 46px; height: 46px; }
  .logo__text { font-size: 1.1rem; }
}

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