/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0b7a3e;
  --primary-dark: #065a2c;
  --primary-light: #e8f5ee;
  --accent: #f59e0b;
  --dark: #1a1a2e;
  --gray-900: #1e293b;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav__logo span {
  color: var(--dark);
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--primary);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero__badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
}

.hero__text {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,122,62,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICES ===== */
.services {
  background: var(--gray-100);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  background: var(--primary-light);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about__text p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--gray-100);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact__info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact__info p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact__item-text strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact__item-text span {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact__map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
}

.contact__map a {
  display: block;
}

.contact__map iframe {
  display: block;
  width: 100%;
}
}

/* Form */
.contact__form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form__checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form__checkbox label {
  font-size: 0.85rem;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 0;
}

.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form__success.show {
  display: block;
}

.form__success h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand .nav__logo {
  color: #34d399;
  margin-bottom: 0.5rem;
  display: block;
}

.footer__brand .nav__logo span {
  color: var(--white);
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer__links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #34d399;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer__legal a {
  margin-left: 1.5rem;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: #34d399;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  color: var(--white);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: block;
}

.cookie__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie__text {
  font-size: 0.9rem;
  flex: 1;
  min-width: 250px;
}

.cookie__text a {
  color: #34d399;
  text-decoration: underline;
}

.cookie__buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie__btn {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie__btn--accept {
  background: var(--primary);
  color: var(--white);
}

.cookie__btn--accept:hover {
  background: var(--primary-dark);
}

.cookie__btn--decline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-500);
}

.cookie__btn--decline:hover {
  border-color: var(--white);
}

/* ===== LEGAL PAGES ===== */
.legal {
  padding-top: calc(72px + 3rem);
  padding-bottom: 4rem;
  min-height: 70vh;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p, .legal li {
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
}

.legal .placeholder-hint {
  background: #fef3c7;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #92400e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image {
    order: -1;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__form {
    order: -1;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__content {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    display: flex;
    gap: 1rem;
  }

  .footer__legal a {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about__stats {
    gap: 1.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
}
