/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2d8a4e;
  --green-dark:  #1e6b3a;
  --green-light: #e8f5ee;
  --green-mid:   #c6e8d1;
  --orange:      #f5841f;
  --yellow:      #f9c43a;
  --red:         #e53935;
  --text:        #1a1a2e;
  --muted:       #6b7280;
  --light:       #9ca3af;
  --border:      #e5e7eb;
  --white:       #ffffff;
  --bg:          #f9fafb;
  --bg2:         #f3f4f6;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 600; }

/* ── LAYOUT ─────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; border: none;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-green  { background: var(--green); color: var(--white); }
.btn-green:hover  { background: var(--green-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-green-outline { background: transparent; border: 1.5px solid var(--green); color: var(--green); }
.btn-green-outline:hover { background: var(--green); color: var(--white); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { opacity: .88; }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { opacity: .88; }
.btn-lg { padding: 13px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 14px; font-size: .8rem; }
.btn-block { width: 100%; }

/* ── FORM ELEMENTS ───────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; color: var(--text);
  background: var(--white); outline: none; transition: border .2s;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,138,78,.12); }
.form-control::placeholder { color: var(--light); }
.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 40px; }
.input-icon-wrap .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.input-icon-wrap .icon-right { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; cursor: pointer; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type=checkbox], .form-check input[type=radio] { accent-color: var(--green); width: 16px; height: 16px; cursor: pointer; }
.form-check label { font-size: .875rem; color: var(--muted); cursor: pointer; }
.form-select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; color: var(--text);
  background: var(--white); outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.form-select:focus { border-color: var(--green); }

/* ── STARS ───────────────────────────────────────── */
.stars { display: flex; align-items: center; gap: 2px; }
.stars i { color: var(--yellow); font-size: .8rem; }
.stars .score { font-weight: 700; font-size: .85rem; margin-left: 5px; }
.stars .count { font-size: .78rem; color: var(--muted); margin-left: 3px; }

/* ── BADGE ───────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
}
.badge-green  { background: var(--green-light); color: var(--green); }
.badge-orange { background: #fff3e0; color: var(--orange); }
.badge-yellow { background: #fffde7; color: #f59e0b; }
.badge-red    { background: #fdecea; color: var(--red); }
.badge-gray   { background: var(--bg2); color: var(--muted); }

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 14px 0; font-size: .82rem; color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ── CARD ─────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}

/* ── HEADER ──────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; }
.logo-icon {
  width: 34px; height: 34px; background: var(--green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.logo-icon i { color: var(--white); font-size: .85rem; }
.logo em { color: var(--green); font-style: normal; }

nav.main-nav { display: flex; align-items: center; gap: 24px; }
nav.main-nav a { font-size: .88rem; font-weight: 500; color: var(--muted); transition: color .2s; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--green); }
nav.main-nav a.active { border-bottom: 2px solid var(--green); padding-bottom: 2px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; font-size: 1.3rem; cursor: pointer; padding: 4px; }

/* ── MOBILE NAV ──────────────────────────────────── */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 200; }
.mobile-nav.open { display: block; }
.mobile-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.mobile-drawer {
  position: absolute; top: 0; left: 0; bottom: 0; width: 260px;
  background: var(--white); padding: 24px; overflow-y: auto;
}
.mobile-close { font-size: 1.3rem; cursor: pointer; margin-bottom: 20px; }
.mobile-drawer a { display: block; padding: 11px 0; font-weight: 500; border-bottom: 1px solid var(--border); font-size: .9rem; }

/* ── FOOTER ──────────────────────────────────────── */
footer { background: #111827; color: #d1d5db; padding: 44px 0 22px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 48px;
  align-items: start;
  margin-bottom: 34px;
}
.footer-brand .logo { margin-bottom: 14px; color: var(--white); }
.footer-brand p { font-size: .83rem; line-height: 1.7; color: #9ca3af; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .85rem; transition: background .2s;
}
.footer-socials a:hover { background: var(--green); }
.footer-col h4 { color: var(--white); font-size: .92rem; font-weight: 700; margin-bottom: 14px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9ca3af; font-size: .84rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #374151; padding-top: 18px; text-align: center; color: #6b7280; font-size: .8rem; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .nav-actions .btn-outline, .nav-actions .btn-green-outline { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
