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

:root {
  --background: #f5f0ea;
  --foreground: #3a2e24;
  --card: #faf7f3;
  --card-foreground: #3a2e24;
  --primary: #4a7c32;
  --primary-foreground: #f8f5f0;
  --secondary: #ebe4d8;
  --secondary-foreground: #4a3d30;
  --muted: #ece7de;
  --muted-foreground: #7a6e60;
  --accent: #c8943a;
  --accent-foreground: #3a2e24;
  --border: #ddd5c8;
  --input: #e4ded4;
  --ring: #4a7c32;
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

input, textarea {
  font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 247, 243, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.navbar__logo-icon svg {
  width: 20px;
  height: 20px;
}

.navbar__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.navbar__link:hover {
  color: var(--foreground);
}

.navbar__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}

.navbar__hamburger svg {
  width: 24px;
  height: 24px;
}

.navbar__mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding-bottom: 1rem;
}

.navbar__mobile-menu.active {
  display: block;
}

.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
}

.navbar__mobile-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s, color 0.2s;
}

.navbar__mobile-link:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.navbar__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0 0.75rem;
}

@media (min-width: 768px) {
  .navbar__links { display: flex; }
  .navbar__actions { display: flex; }
  .navbar__hamburger { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn--primary:hover {
  opacity: 0.9;
}

.btn--ghost {
  background: transparent;
  color: var(--foreground);
}
.btn--ghost:hover {
  background-color: var(--muted);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn--outline:hover {
  background-color: var(--muted);
}

.btn--outline-primary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn--outline-primary:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn--outline-light {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--primary-foreground);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.2);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 9999px;
}

.btn--lg svg {
  width: 20px;
  height: 20px;
}

.btn--rounded {
  border-radius: 9999px;
}

.btn--block {
  width: 100%;
}

.btn--white {
  background-color: var(--primary-foreground);
  color: var(--primary);
}
.btn--white:hover {
  opacity: 0.9;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 46, 36, 0.50);
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  padding: 0 1rem;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero__subtitle {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248, 245, 240, 0.8);
  font-family: 'Lato', sans-serif;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  text-wrap: balance;
}

.hero__title span {
  color: var(--accent);
}

.hero__description {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(248, 245, 240, 0.85);
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  color: rgba(248, 245, 240, 0.7);
}

.hero__stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.hero__stat-label {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(248, 245, 240, 0.2);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(248, 245, 240, 0.8);
  cursor: pointer;
}

.hero__scroll svg {
  width: 28px;
  height: 28px;
  animation: bounceDown 1.6s ease-in-out infinite;
  display: block;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0);     opacity: 1;   }
  50%       { transform: translateY(10px); opacity: 0.5; }
}

@media (min-width: 640px) {
  .hero__title { font-size: 3.25rem; }
  .hero__buttons { flex-direction: row; }
}
@media (min-width: 768px) {
  .hero__title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 4.5rem; }
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 6rem 0;
}

.section--bg-default {
  background-color: var(--background);
}

.section--bg-secondary {
  background-color: rgba(235, 228, 216, 0.5);
}

.section--bg-secondary-light {
  background-color: rgba(235, 228, 216, 0.3);
}

.section--bg-primary {
  background-color: var(--primary);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__tag {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-family: 'Lato', sans-serif;
}

.section__title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
}

.section__description {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .section__title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .section__title { font-size: 3rem; }
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.step {
  text-align: center;
}

.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 1rem;
  background-color: rgba(74, 124, 50, 0.1);
  transition: background-color 0.2s;
}

.step:hover .step__icon {
  background-color: rgba(74, 124, 50, 0.2);
}

.step__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.step__number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  margin-top: 0.5rem;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 0.5rem;
}

.step__description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

/* ===== PROFILES ===== */
.profiles-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .profiles-grid { grid-template-columns: repeat(4, 1fr); }
}

.profile-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.profile-card__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.profile-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.profile-card:hover .profile-card__image-wrap img {
  transform: scale(1.05);
}

.profile-card__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(58, 46, 36, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.profile-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.profile-card__location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  color: rgba(248, 245, 240, 0.8);
  font-size: 0.75rem;
}

.profile-card__location svg {
  width: 14px;
  height: 14px;
}

.profile-card__like {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s;
  color: var(--primary-foreground);
}

.profile-card__like:hover {
  background-color: var(--primary);
}

.profile-card__like svg {
  width: 20px;
  height: 20px;
}

.profile-card__body {
  padding: 1rem;
}

.profile-card__bio {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: rgba(74, 124, 50, 0.1);
  color: var(--primary);
  transition: background-color 0.2s;
}

.tag:hover {
  background-color: rgba(74, 124, 50, 0.2);
}

.section__footer {
  text-align: center;
  margin-top: 3rem;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: rgba(74, 124, 50, 0.3);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background-color: rgba(74, 124, 50, 0.1);
  transition: background-color 0.2s;
}

.feature-card:hover .feature-card__icon {
  background-color: rgba(74, 124, 50, 0.2);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-card__title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.feature-card__description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

.testimonial__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 1.5rem;
}

.testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__quote-icon {
  color: rgba(74, 124, 50, 0.2);
  margin-bottom: 1rem;
}

.testimonial__quote-icon svg {
  width: 40px;
  height: 40px;
}

.testimonial__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(58, 46, 36, 0.8);
}

.testimonial__author {
  margin-top: 1.5rem;
}

.testimonial__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.testimonial__meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.testimonial__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  transition: background-color 0.2s;
}

.testimonial__arrow:hover {
  background-color: var(--muted);
}

.testimonial__arrow svg {
  width: 20px;
  height: 20px;
}

.testimonial__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial__dot {
  height: 8px;
  border-radius: 9999px;
  transition: all 0.3s;
  background-color: var(--border);
  width: 8px;
}

.testimonial__dot.active {
  width: 32px;
  background-color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background-color: var(--primary);
}

.cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.cta__bg svg {
  width: 100%;
  height: 100%;
}

.cta__content {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.cta__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  text-wrap: balance;
}

.cta__description {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(248, 245, 240, 0.8);
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.cta__note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(248, 245, 240, 0.6);
}

@media (min-width: 640px) {
  .cta__title { font-size: 2.25rem; }
  .cta__buttons { flex-direction: row; }
}
@media (min-width: 1024px) {
  .cta__title { font-size: 3rem; }
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background-color: rgba(74, 124, 50, 0.1);
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact__info-label {
  font-weight: 500;
  color: var(--foreground);
}

.contact__info-value {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact__form-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

@media (min-width: 640px) {
  .contact__form-card { padding: 2rem; }
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .contact__form-row { grid-template-columns: 1fr 1fr; }
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 50, 0.15);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

textarea.form-input {
  resize: none;
  min-height: 120px;
}

.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.contact__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(74, 124, 50, 0.1);
}

.contact__success-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.contact__success h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.contact__success p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer__brand-description {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.footer__col-title {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__col-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer__col-link:hover {
  color: var(--foreground);
}

.footer__separator {
  height: 1px;
  background-color: var(--border);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; }
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer__made-with {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer__made-with svg {
  width: 12px;
  height: 12px;
  color: var(--primary);
}