/* Make Shop Easy - main stylesheet
   Colors: teal (trust), orange (action), warm cream (background) */

:root {
  --teal: #0e7c7b;
  --teal-dark: #0a4f4e;
  --teal-soft: #e6f4f3;
  --orange: #ff7a1a;
  --orange-dark: #e0620a;
  --cream: #fff8ef;
  --ink: #1f2a37;
  --grey: #5b6675;
  --line: #e4e8ec;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 12px; color: var(--teal-dark); }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- top bar ---------- */
.topbar { background: var(--teal-dark); color: #fff; font-size: 0.9rem; }
.topbar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }

/* ---------- header and menu ---------- */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.nav a:hover, .nav a.active { background: var(--teal-soft); color: var(--teal-dark); }
.nav a.nav-btn { background: var(--orange); color: #fff; }
.nav a.nav-btn:hover { background: var(--orange-dark); }

/* mobile menu works with a hidden checkbox, no scripts needed */
.menu-check { display: none; }
.menu-btn { display: none; cursor: pointer; font-weight: 700; color: var(--teal-dark); border: 2px solid var(--teal); border-radius: 6px; padding: 6px 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 26px; border-radius: 8px; border: 0; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); padding: 10px 24px; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { background: var(--cream); padding: 60px 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero .label { color: var(--orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.hero p.big { font-size: 1.15rem; color: var(--grey); }
.hero .buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* page title banner for inner pages */
.page-title { background: var(--teal-soft); padding: 44px 0; text-align: center; }
.page-title h1 { margin-bottom: 6px; }
.page-title p { color: var(--grey); margin: 0; }
.crumbs { font-size: 0.9rem; margin-bottom: 10px; color: var(--grey); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.tint { background: var(--teal-soft); }
.section.cream { background: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head p { color: var(--grey); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* ---------- info boxes ---------- */
.box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.box .icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin-bottom: 12px;
}
.box p:last-child { margin-bottom: 0; }

.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }

/* ---------- category cards ---------- */
.cat { display: block; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cat:hover { border-color: var(--teal); box-shadow: 0 6px 18px rgba(14, 124, 123, 0.15); }
.cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat div { padding: 14px 18px 18px; }
.cat h3 { margin-bottom: 2px; }
.cat span { color: var(--grey); font-size: 0.9rem; }

/* ---------- product cards ---------- */
.product { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f3f4f6; }
.product .info { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1rem; flex: 1; color: var(--ink); }
.product .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.price { font-size: 1.25rem; font-weight: 700; color: var(--teal-dark); }
.price small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--grey); }

/* ---------- steps ---------- */
.step { text-align: center; padding: 10px 20px; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700;
}

/* ---------- call-to-action band ---------- */
.cta { background: var(--teal); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 640px; margin: 0 auto 20px; }

/* ---------- blog ---------- */
.post { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post div { padding: 18px 20px 22px; }
.post .date { color: var(--grey); font-size: 0.85rem; }
.article { max-width: 780px; margin: 0 auto; }
.article img { border-radius: 12px; margin-bottom: 24px; width: 100%; }
.article h2 { margin-top: 28px; font-size: 1.5rem; }

/* ---------- text pages (policies) ---------- */
.text-page { max-width: 820px; margin: 0 auto; }
.text-page h2 { margin-top: 30px; font-size: 1.4rem; }

/* ---------- forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.form label { display: block; font-weight: 600; margin-bottom: 4px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c5ccd4; border-radius: 6px; font: inherit; margin-bottom: 16px;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.form .check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.form .check label { font-weight: 400; margin: 0; }

.contact-line { margin-bottom: 18px; }
.contact-line b { display: block; color: var(--teal-dark); }

/* ---------- faq ---------- */
details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); }
details p { margin: 10px 0 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfd6de; padding-top: 52px; font-size: 0.95rem; }
.footer .wrap.cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h4 { color: #fff; }
.footer a { color: #cfd6de; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer .logo img { height: 42px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #36424f; margin-top: 36px; padding: 18px 0; font-size: 0.88rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { margin-left: 16px; }

/* ---------- tablet and phone ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap.cols { grid-template-columns: 1fr 1fr; }

  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .menu-check:checked ~ .nav { display: flex; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer .wrap.cols { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

/* photos in the hero and about sections */
.hero img, .split > img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
