/* ============================================================
   Orga Farming — pixel recreation
   ============================================================ */
:root {
  --green: #77b81e;
  --green-dark: #6aa61a;
  --dark: #2a3a48;
  --heading: #222222;
  --body: #666666;
  --topbar: #ececec;
  --grey: #efefef;
  --footer: #2a3a48;
  --footer-bottom: #111822;
  --container: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; overflow-x: hidden; }

.orga {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 28px;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}

.orga img { max-width: 100%; height: auto; display: block; border: 0; }
.orga a { text-decoration: none; color: inherit; transition: color .3s ease; }
.orga ul { list-style: none; margin: 0; padding: 0; }
.orga p { margin: 0 0 20px; }

.orga h1, .orga h2, .orga h3, .orga h4, .orga h5, .orga h6 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 15px;
  letter-spacing: .5px;
  line-height: 1.3;
}
.orga h2 { font-size: 50px; }
.orga h3 { font-size: 18px; }
.orga h4 { font-size: 16px; }
.orga h5 { font-size: 14px; }
.orga h6 { font-size: 14px; font-weight: 400; letter-spacing: 3px; color: #051220; }

.container {
  width: var(--container);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.g { color: var(--green); }
.d { color: var(--dark); }

/* ---------- section titles ---------- */
.sec-title { text-align: center; margin-bottom: 60px; }
.sec-title h6 { margin-bottom: 14px; }
.sec-title h2 { margin: 0; color: var(--dark); }
.sec-title h2 strong { font-weight: 700; }
.sec-title h4 { font-size: 36px; color: var(--dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  padding: 14px 32px;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--dark); color: #fff; }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--dark);
  font-weight: 500;
  padding: 14px 30px;
  position: relative;
  background: transparent;
  transition: background .3s ease, color .3s ease;
}
.btn-outline:before {
  content: "";
  position: absolute;
  top: -8px; right: -8px;
  width: 60%; height: 8px;
  background: rgba(119, 184, 30, .25);
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--topbar);
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  color: #000;
}
.top-bar p { margin: 0; line-height: 50px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { height: 100px; background: #fff; }
.site-header .container { display: flex; align-items: center; height: 100px; }
.logo img { width: 143px; height: 80px; }
.header-info { margin-left: auto; display: flex; gap: 46px; }
.header-info .item { display: flex; align-items: center; gap: 14px; }
.header-info .ic { color: #111; flex: none; }
.header-info .ic svg { width: 26px; height: 26px; fill: #111; }
.header-info .tx { font-size: 14px; line-height: 24px; color: #000; }
.header-info .tx a { color: var(--green); }
.header-info .tx a:hover { color: var(--dark); }

/* ============================================================
   NAV
   ============================================================ */
.main-nav { background: var(--green); height: 83px; position: relative; z-index: 60; }
.main-nav .container { display: flex; align-items: center; height: 83px; }
.nav-menu { display: flex; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0 15px;
  line-height: 83px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}
.nav-menu > li:first-child > a { padding-left: 0; }
.nav-menu > li:hover > a,
.nav-menu > li.current > a { color: var(--dark); }

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 80;
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li { position: relative; }
.nav-menu .sub-menu a {
  display: block;
  padding: 8px 20px;
  color: #555;
  font-size: 13px;
  line-height: 22px;
}
.nav-menu .sub-menu a:hover { color: var(--green); }
.nav-menu .sub-menu .sub-menu { top: 0; left: 100%; }

.nav-search { margin-left: auto; display: flex; align-items: center; position: relative; gap: 12px; }
.nav-search button,
.nav-search .nav-icon {
  background: none; border: 0; cursor: pointer; padding: 0; color: #fff; line-height: 0; display: inline-flex; align-items: center; justify-content: center;
}
.nav-search .nav-icon { text-decoration: none; }
.nav-search svg { width: 18px; height: 18px; fill: #fff; }
.search-panel {
  position: absolute;
  right: 0; top: 100%;
  background: #fff;
  padding: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  display: none;
}
.search-panel.open { display: block; }
.search-panel input {
  border: 1px solid #ddd; padding: 10px 14px; width: 240px;
  font-family: "Poppins", sans-serif; font-size: 13px; outline: none;
}

.menu-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero { position: relative; height: 800px; overflow: hidden; }
.hero .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero .slide.active { opacity: 1; }
.hero .slide-inner { height: 100%; display: flex; align-items: center; }
.hero-caption { max-width: 450px; }
.hero-caption h1 {
  font-family: "Roboto Slab", serif;
  color: #fff;
  margin: 0;
  font-size: 76px;
  line-height: 86px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-caption h1 span { display: block; font-weight: 100; font-size: 64px; line-height: 78px; }
.hero-caption p {
  color: #fff; font-size: 16px; line-height: 26px; margin: 26px 0 34px; font-weight: 300;
}
.hero-caption .btn { color: #fff; }
.hero-caption .btn:hover { background-color: #ffffff; color: var(--green); }
.hero .slide.active .hero-caption h1 { animation: heroUp .9s both .1s; }
.hero .slide.active .hero-caption p { animation: heroUp .9s both .3s; }
.hero .slide.active .hero-caption .btn { animation: heroUp .9s both .5s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .25); color: #fff; font-size: 22px; line-height: 48px;
  opacity: 0; transition: opacity .3s ease, background .3s ease;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--green); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent;
  margin: 0 5px; padding: 0; cursor: pointer;
}
.hero-dots button.active { background: var(--green); border-color: var(--green); }

/* ============================================================
   INTRO + ICON BOXES
   ============================================================ */
.intro { padding: 90px 0 0; text-align: center; }
.intro h6 { margin-bottom: 18px; }
.intro h2 { color: var(--dark); margin-bottom: 40px; }
.intro h2 .g { color: var(--green); }
.intro > .container > p { max-width: 1080px; margin: 0 auto; font-size: 15px; line-height: 30px; color: #555; }

.icon-boxes { padding: 70px 0 90px; }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 60px; }
.icon-box { display: flex; gap: 26px; }
.icon-box .ib-icon { flex: none; width: 68px; }
.icon-box h4 { margin: 0 0 12px; padding-bottom: 12px; position: relative; color: var(--heading); }
.icon-box h4:after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: #d8d8d8;
}
.icon-box p { margin: 0; font-size: 14px; line-height: 24px; }

/* ============================================================
   SPECIAL OFFER
   ============================================================ */
.offer { display: grid; grid-template-columns: 1fr 1fr; }
.offer .offer-img {
  min-height: 858px;
  background: url("../images/home-bg1.jpg") center/cover no-repeat;
}
.offer .offer-body { background: var(--green); display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.offer-card { background: #fff; width: 75%; max-width: 100%; padding: 55px 40px; text-align: center; }
.offer-card h6 { margin-bottom: 18px; }
.offer-card h2 { margin: 0 0 30px; color: var(--dark); }
.offer-card h2 .g { color: var(--green); }
.offer-card h4 { font-size: 15px; text-transform: uppercase; margin-bottom: 32px; color: var(--heading); }
.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cd-unit { width: 86px; }
.cd-num {
  background: #efefef; font-family: "Roboto Slab", serif; font-size: 34px; font-weight: 400;
  color: var(--dark); line-height: 86px; height: 86px;
}
.cd-lbl { font-size: 13px; color: #555; margin-top: 8px; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products { padding: 90px 0; }
.products .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product {
  border: 1px solid #e8e8e8;
  text-align: center;
  background: #fff;
  transition: box-shadow .3s ease, transform .3s ease;
}
.product:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
.product .pimg { overflow: hidden; }
.product .pimg img { width: 100%; transition: transform .5s ease; }
.product:hover .pimg img { transform: scale(1.08); }
.product .picon {
  width: 110px; height: 80px; margin: -55px auto 0; position: relative;
  background: #fff; border-radius: 110px 110px 0 0;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px;
}
.product .picon img { width: 65px; }
.product .pbody { padding: 20px 28px 40px; }
.product h3 { color: var(--green); text-transform: uppercase; margin-bottom: 18px; }
.product p { margin: 0; font-size: 14px; line-height: 28px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog { padding: 20px 0 90px; }
.blog .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post .pthumb { overflow: hidden; }
.post .pthumb img { width: 100%; transition: transform .5s ease; }
.post:hover .pthumb img { transform: scale(1.08); }
.post .meta { font-size: 13px; color: #888; margin: 18px 0 10px; letter-spacing: .3px; }
.post .meta a { color: #888; }
.post .meta a:hover { color: var(--green); }
.post h4 { font-size: 17px; text-transform: uppercase; margin-bottom: 14px; }
.post h4 a:hover { color: var(--green); }
.post p { font-size: 14px; line-height: 28px; margin-bottom: 22px; }
.post .btn-outline { padding: 8px 18px; font-size: 13px; }
.post .btn-outline svg { width: 13px; height: 13px; margin-left: 8px; vertical-align: middle; fill: currentColor; }

/* ============================================================
   CONTACT / QUERIES
   ============================================================ */
.queries {
  background:
    linear-gradient(to right, rgba(236, 236, 236, .96) 45%, rgba(236, 236, 236, 0) 75%),
    url("../images/home-bg2.jpg") center bottom/cover no-repeat;
  padding: 90px 0;
}
.queries h6 { margin-bottom: 10px; }
.queries h4 { font-size: 36px; color: var(--dark); margin-bottom: 50px; }
.contact-form { max-width: 525px; }
.field { margin-bottom: 30px; }
.field label { display: block; font-size: 14px; color: #444; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--green);
  background: transparent; padding: 8px 0; font-family: "Poppins", sans-serif;
  font-size: 14px; color: #444; outline: none;
}
.field select { appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2377b81e'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right center/20px 20px; }
.field textarea { resize: vertical; min-height: 60px; }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding: 90px 0; }
.team .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; }
.member { background: #ececec; padding: 45px 25px 40px; text-align: center; position: relative; overflow: hidden; }
.member .avatar { width: 150px; height: 150px; margin: 0 auto 25px; border-radius: 50%; overflow: hidden; }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h4 { font-size: 20px; margin-bottom: 4px; color: var(--heading); }
.member h5 { font-size: 15px; font-weight: 400; color: #444; letter-spacing: 1px; margin-bottom: 18px; }
.member .sep { width: 40px; height: 3px; background: var(--green); margin: 0 auto 22px; }
.member p { font-size: 14px; line-height: 28px; margin: 0; }
.member .socials {
  display: flex; justify-content: center; gap: 10px;
  max-height: 0; opacity: 0; overflow: hidden; transition: all .35s ease;
}
.member:hover .socials { max-height: 60px; opacity: 1; margin-bottom: 18px; }
.member .socials a {
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.member .socials a:hover { background: var(--dark); }
.member .socials svg { width: 14px; height: 14px; fill: #fff; }

/* ============================================================
   CAREER CALLOUT
   ============================================================ */
.career { padding: 20px 0 0; }
.career .container { display: flex; align-items: flex-end; gap: 50px; }
.career .cimg { flex: none; width: 248px; }
.career .ctext { flex: 1; padding-bottom: 60px; }
.career h3 { font-size: 30px; color: var(--green); margin-bottom: 16px; }
.career p { font-size: 14px; line-height: 28px; margin: 0; max-width: 520px; }
.career .caction { padding-bottom: 60px; }

/* ============================================================
   TESTIMONIAL FEATURES (Smiles)
   ============================================================ */
.smiles { display: grid; grid-template-columns: 1fr 1fr; background: var(--grey); }
.smiles .simg {
  min-height: 869px;
  background: url("../images/home-bg4.jpg") center/cover no-repeat;
}
.smiles .sbody { padding: 90px 80px 90px 80px; display: flex; flex-direction: column; justify-content: center; }
.smiles h6 { margin-bottom: 10px; }
.smiles h4 { font-size: 34px; color: var(--dark); margin-bottom: 26px; }
.smiles > .sbody > p { font-size: 14px; line-height: 28px; }
.smiles hr { border: 0; border-top: 1px solid var(--green); margin: 24px 0 34px; }
.smiles .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.smiles .fgrid h4 { font-size: 16px; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.smiles .fgrid h4 svg { width: 18px; height: 18px; fill: var(--green); flex: none; }
.smiles .fgrid p { font-size: 14px; line-height: 28px; margin: 0; }

/* ============================================================
   PORTFOLIO / GALLERY
   ============================================================ */
.gallery-sec { padding: 90px 0 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
}
.gitem { position: relative; overflow: hidden; }
.gitem:before { content: ""; display: block; padding-top: 100%; }
.gitem.big { grid-column: span 2; grid-row: span 2; }
.gitem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gitem:hover img { transform: scale(1.1); }
.gitem .gov {
  position: absolute; inset: 0;
  background: rgba(119, 184, 30, .88);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  opacity: 0; transition: opacity .4s ease;
}
.gitem:hover .gov { opacity: 1; }
.gitem .gov h3 { color: #fff; font-size: 16px; text-transform: none; margin-bottom: 6px; }
.gitem .gov span { color: #fff; font-size: 13px; }
.gitem .gov .glinks { display: flex; gap: 10px; margin-top: 16px; }
.gitem .gov .glinks a {
  width: 36px; height: 36px; border: 1px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.gitem .gov .glinks a:hover { background: #fff; }
.gitem .gov .glinks svg { width: 15px; height: 15px; fill: #fff; }
.gitem .gov .glinks a:hover svg { fill: var(--green); }

/* ============================================================
   RESOURCES
   ============================================================ */
.resources { background: linear-gradient(to right, #ffffff 0%, #fbfaf3 45%, #f7f6ec 100%); padding: 60px 0; }
.resources .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.resources h6 { margin-bottom: 10px; }
.resources h4 { font-size: 34px; color: var(--dark); margin-bottom: 26px; }
.resources .lead { font-family: "Roboto Slab", serif; font-weight: 700; color: var(--heading); font-size: 15px; margin-bottom: 14px; }
.resources p { font-size: 14px; line-height: 28px; }
.resources hr { border: 0; border-top: 1px solid #ddd; margin: 26px 0; }
.resources .lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.resources .lists li { display: flex; gap: 12px; font-size: 14px; line-height: 28px; }
.resources .lists svg { width: 14px; height: 14px; fill: var(--green); flex: none; margin-top: 7px; }

/* ============================================================
   COUNTERS
   ============================================================ */
.counters { padding: 80px 0 90px; }
.counters .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.counter { position: relative; padding: 30px 0 30px 40px; }
.counter:before, .counter:after {
  content: ""; position: absolute; width: 45px; height: 45px;
}
.counter:before { top: 0; left: 0; border-top: 2px solid var(--green); border-left: 2px solid var(--green); }
.counter:after { bottom: 0; right: 0; border-bottom: 2px solid var(--green); border-right: 2px solid var(--green); }
.counter .cwm {
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  opacity: .07;
}
.counter .cwm svg { width: 90px; height: 90px; fill: #555; }
.counter .num {
  font-family: "Roboto Slab", serif; font-size: 42px; font-weight: 700; color: var(--dark); line-height: 1;
}
.counter h4 { font-size: 15px; text-transform: uppercase; margin: 12px 0 0; color: var(--heading); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 0 0 90px; }
.tslider { position: relative; overflow: hidden; }
.ttrack { display: flex; transition: transform .6s ease; }
.tslide { min-width: 100%; padding: 0 0 10px; }
.tquote { display: flex; gap: 20px; }
.tquote .qm { color: var(--green); font-family: "Roboto Slab", serif; font-size: 46px; line-height: 40px; flex: none; }
.tquote p { font-size: 16px; line-height: 30px; color: #444; margin: 0; }
.tslide hr { border: 0; border-top: 1px solid #ddd; margin: 26px 0 30px; }
.tauthor { display: flex; align-items: center; gap: 24px; padding-left: 60px; }
.tauthor .ava {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--green); flex: none;
}
.tauthor .ava img { width: 100%; height: 100%; object-fit: cover; }
.tauthor h5 { color: var(--green); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px; }
.tauthor h5 sup { color: var(--green); font-size: 20px; }
.tauthor span { font-size: 14px; color: #888; font-style: italic; }
.tnav { display: flex; justify-content: flex-end; gap: 18px; margin-top: 10px; }
.tnav button { background: none; border: 0; cursor: pointer; color: var(--dark); line-height: 0; padding: 6px; }
.tnav svg { width: 26px; height: 18px; fill: var(--dark); }
.tnav button:hover svg { fill: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: url("https://orga.wpenginepowered.com/wp-content/uploads/2017/06/footer-bg.jpg") center/cover no-repeat;
  color: #cfd6dc;
}
.site-footer:before { content: ""; position: absolute; inset: 0; background: rgba(42, 58, 72, .94); }
.site-footer .container { position: relative; }
.footer-top { padding: 70px 0; }
.footer-top .grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 20px; position: relative; padding-bottom: 12px; margin-bottom: 24px; }
.site-footer h4:after { content: ""; position: absolute; left: 0; bottom: 0; width: 45px; height: 3px; background: var(--green); }
.site-footer p { font-size: 14px; line-height: 28px; color: #cfd6dc; }
.footer-logo { margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 12px; font-size: 14px; line-height: 24px; }
.footer-contact svg { width: 15px; height: 15px; fill: #cfd6dc; flex: none; margin-top: 5px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); }
.footer-social svg { width: 15px; height: 15px; fill: #fff; }
.subscribe { margin-top: 24px; position: relative; }
.subscribe input {
  width: 100%; background: rgba(255, 255, 255, .08); border: 0; padding: 16px 50px 16px 18px;
  color: #fff; font-family: "Poppins", sans-serif; font-size: 14px; outline: none;
}
.subscribe input::placeholder { color: #cfd6dc; }
.subscribe button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; line-height: 0;
}
.subscribe svg { width: 20px; height: 20px; fill: #cfd6dc; }
.subscribe button:hover svg { fill: var(--green); }

.footer-bottom { position: relative; background: var(--footer-bottom); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.footer-bottom p { margin: 0; font-size: 14px; color: #cfd6dc; }
.footer-bottom a { color: #cfd6dc; }
.footer-bottom a:hover { color: var(--green); }
.footer-menu { display: flex; gap: 26px; font-size: 14px; }

/* ---------- scroll top ---------- */
.to-top {
  position: fixed; right: 30px; bottom: 30px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); border: 0; cursor: pointer; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--dark); }
.to-top svg { width: 26px; height: 26px; fill: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .nav-menu > li > a { padding: 0 11px; font-size: 13px; }
  .header-info { gap: 26px; }
  .smiles .sbody { padding: 60px 40px; }
}

@media (max-width: 1023px) {
  .top-bar { font-size: 13px; }
  .site-header { height: auto; }
  .site-header .container { height: auto; flex-direction: column; gap: 20px; padding: 24px 0; }
  .header-info { margin: 0; flex-wrap: wrap; justify-content: center; gap: 24px 34px; }

  .menu-toggle { display: block; }
  .main-nav .container { position: relative; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    display: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .15); padding: 10px 0;
    max-height: 70vh; overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { line-height: 44px; color: var(--dark); padding: 0 20px; }
  .nav-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; display: none; padding: 0 0 0 16px;
  }
  .nav-menu li.open > .sub-menu { display: block; }
  .nav-menu li.has-children > a:after { content: "+"; float: right; }
  .nav-menu li.has-children.open > a:after { content: "\2212"; }

  .hero { height: 560px; }
  .hero-caption h1 { font-size: 52px; line-height: 60px; }
  .hero-caption h1 span { font-size: 44px; line-height: 54px; }

  .icon-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .offer { grid-template-columns: 1fr; }
  .offer .offer-img { min-height: 420px; }
  .products .grid, .blog .grid { grid-template-columns: repeat(2, 1fr); }
  .team .grid { grid-template-columns: repeat(2, 1fr); }
  .queries { background-image: none; background: var(--grey); }
  .smiles { grid-template-columns: 1fr; }
  .smiles .simg { min-height: 420px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gitem.big { grid-column: span 2; grid-row: span 2; }
  .resources .container { grid-template-columns: 1fr; }
  .counters .grid { grid-template-columns: repeat(2, 1fr); }
  .career .container { flex-wrap: wrap; }
  .footer-top .grid { grid-template-columns: repeat(2, 1fr); }
  .sec-title h2, .orga h2 { font-size: 38px; }
}

@media (max-width: 767px) {
  .top-bar, .top-bar p { line-height: 40px; height: 40px; }
  .header-info { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero { height: 480px; }
  .hero-caption h1 { font-size: 38px; line-height: 46px; }
  .hero-caption h1 span { font-size: 32px; line-height: 42px; }
  .hero-caption p { font-size: 14px; }
  .icon-grid { grid-template-columns: 1fr; }
  .products .grid, .blog .grid, .team .grid, .counters .grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gitem.big { grid-column: span 2; grid-row: span 2; }
  .smiles .fgrid { grid-template-columns: 1fr; }
  .resources .lists { grid-template-columns: 1fr; }
  .career .container { flex-direction: column; align-items: center; text-align: center; }
  .career .ctext, .career .caction { padding-bottom: 20px; }
  .footer-top .grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; height: auto; padding: 20px; gap: 10px; text-align: center; }
  .footer-menu { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .sec-title h2, .orga h2 { font-size: 30px; }
  .intro { padding-top: 60px; }
  .icon-boxes, .products, .blog, .team, .counters, .queries { padding: 50px 0; }
  .tauthor { padding-left: 0; flex-wrap: wrap; }
}
