/* ============================================
   MATCHAMS PROPERTY GROUP — STYLESHEET
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* --- Tokens --- */
:root {
  --green-dark:   #1C3D2A;
  --green-mid:    #2D5A3D;
  --green-light:  #EAF3E6;
  --green-muted:  #8FBD9F;
  --text-primary: #1a1a1a;
  --text-muted:   #6b7a6d;
  --border:       rgba(0,0,0,0.08);
  --bg-soft:      #f8f8f6;
  --radius-md:    8px;
  --radius-lg:    14px;
}

/* --- Layout --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 1.5rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0 2rem; }

/* --- Typography helpers --- */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 0.75rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--green-dark);
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-dark {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-dark:hover { opacity: 0.85; }

.btn-nav {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}
.logo span { color: var(--green-mid); }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--green-dark);
  color: #fff;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-muted);
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.hero h1 {
  font-size: 48px;
  max-width: 620px;
  margin: 0 auto 1.25rem;
  color: #fff;
}

.hero-sub {
  font-size: 16px;
  color: #A8C9B4;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SERVICES
   ============================================ */
.section h2 { font-size: 30px; margin-top: 0.25rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 2.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   LANDLORDS
   ============================================ */
.landlords {
  background: var(--bg-soft);
  padding: 5rem 1.5rem;
}

.landlords h2 { font-size: 30px; margin-top: 0.25rem; }
.landlords .section-sub { margin-bottom: 2.5rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 3rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.benefit-icon { font-size: 22px; margin-bottom: 0.5rem; display: block; }

.benefit-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.benefit-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* How it works */
.how-it-works { margin-bottom: 3rem; }
.how-it-works h3 {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.steps { display: flex; flex-direction: column; gap: 1rem; }

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

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQs */
.faqs { margin-bottom: 2.5rem; }
.faqs h3 {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 0;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--green-mid); }
.faq-question[aria-expanded="true"]::after { content: '−'; }

.faq-answer {
  display: none;
  padding-bottom: 1rem;
}
.faq-answer.open { display: block; }

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 { font-size: 28px; margin: 0.25rem 0 1rem; }
.about-text p { color: var(--text-muted); font-size: 15px; margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }

.credential-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.credential-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.credential-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.credential-card > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.credential-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-mid);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 5px 12px;
  border-radius: var(--radius-md);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-grid h2 { font-size: 28px; margin: 0.25rem 0 0.75rem; }

.contact-details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-details li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details a { color: var(--green-mid); }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-mid);
}

.contact-form textarea { resize: vertical; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: #A8C9B4;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer p { font-size: 13px; line-height: 1.8; }

.footer a {
  color: #A8C9B4;
  transition: color 0.2s;
}
.footer a:hover { color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }

  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; align-items: center; }
}
