/* ===========================
   Kozy At Home — Main Stylesheet
   Colors:
   #8DB5AC — Sage Teal
   #CDAE80 — Warm Tan
   #38422C — Olive Green
   #F7F5F1 — Off-White
   #555555 — Body Text
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #555555;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #8DB5AC; text-decoration: none; transition: color 0.2s; }
a:hover { color: #38422C; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  color: #38422C;
  line-height: 1.2;
}
h4, h5, h6 { font-family: 'DM Sans', sans-serif; font-weight: 600; color: #38422C; }

h1 { font-size: 60px; }
h2 { font-size: 44px; }
h3 { font-size: 28px; }
h4 { font-size: 18px; }

/* ===========================
   LAYOUT
=========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section-center { text-align: center; }
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: #666; max-width: 580px; margin: 0 auto; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8DB5AC;
  margin-bottom: 12px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s, color 0.2s;
  letter-spacing: 0.02em;
  text-align: center;
}
.btn-primary { background: #38422C; color: #ffffff; }
.btn-primary:hover { background: #2e3824; transform: translateY(-1px); color: #ffffff; }
.btn-hero { background: #CDAE80; color: #38422C; font-size: 16px; padding: 16px 40px; font-weight: 700; }
.btn-hero:hover { background: #b99a6a; color: #38422C; }
.btn-outline { background: transparent; color: #38422C; border: 1.5px solid #8DB5AC; }
.btn-outline:hover { background: #8DB5AC; color: #ffffff; border-color: #8DB5AC; }
.btn-outline-light { background: transparent; color: #CDAE80; border: 1.5px solid #CDAE80; }
.btn-outline-light:hover { background: #CDAE80; color: #38422C; }
.btn-full { width: 100%; }

/* ===========================
   HEADER / NAV
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #F0EDE7;
  padding: 0 32px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { display: flex; align-items: center; }
.logo img { display: block; }
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38422C;
}
nav a:hover { color: #8DB5AC; }
nav a.active { color: #8DB5AC; }
.nav-cta { margin-left: 8px; }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #38422C 0%, #4a5a38 40%, #6b7c55 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1600&q=80') center/cover;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 40px 32px;
}
.hero h1 { color: #ffffff; margin-bottom: 20px; }
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-micro {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 14px;
}

/* ===========================
   PROPERTY CARDS
=========================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.property-card {
  background: #ffffff;
  border: 1px solid #E8E4DE;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.property-card:hover { box-shadow: 0 8px 32px rgba(56,66,44,0.12); transform: translateY(-3px); }
.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.card-body { padding: 20px; }
.property-location {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8DB5AC;
  margin-bottom: 6px;
}
.property-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #38422C;
  margin-bottom: 6px;
}
.property-stats { font-size: 13px; color: #999; margin-bottom: 10px; }
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #666;
}
.amenity svg { color: #8DB5AC; flex-shrink: 0; }
.property-desc { font-size: 14px; line-height: 1.65; color: #666; margin-bottom: 16px; }
.booking-buttons { display: flex; flex-direction: column; gap: 8px; }
.btn-micro { font-size: 11px; color: #999; text-align: center; margin-top: 3px; }

/* ===========================
   TRUST SECTION
=========================== */
.trust-section { background: #F7F5F1; }
.trust-item { text-align: center; }
.trust-icon {
  width: 48px;
  height: 48px;
  color: #8DB5AC;
  margin: 0 auto 16px;
}
.trust-item h4 { margin-bottom: 10px; }
.trust-item p { font-size: 15px; color: #666; line-height: 1.7; }

/* ===========================
   LOCATIONS SECTION
=========================== */
.locations-section { background: #38422C; }
.locations-section .section-header h2 { color: #ffffff; }
.locations-section .section-header p { color: #CDAE80; }
.location-col { padding: 0 40px; }
.location-col h3 { color: #CDAE80; margin-bottom: 8px; }
.location-col .subtitle { color: rgba(255,255,255,0.7); font-style: italic; font-size: 14px; margin-bottom: 16px; }
.location-col p { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.location-divider { border-right: 1px solid rgba(255,255,255,0.15); }

/* ===========================
   PM SECTION
=========================== */
.pm-section { background: #CDAE80; }
.pm-section h2, .pm-section h4, .pm-section p, .pm-section li { color: #38422C; }
.pm-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: #38422C; margin-bottom: 12px; display: block; }
.pm-checklist { list-style: none; margin-bottom: 32px; }
.pm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #38422C;
  margin-bottom: 10px;
}
.pm-checklist li::before { content: '✓'; font-weight: 700; color: #38422C; flex-shrink: 0; margin-top: 2px; }
.pm-link { font-size: 14px; color: #38422C; text-decoration: underline; display: block; margin-top: 12px; }
.pm-link:hover { color: #2e3824; }
.pm-image-placeholder {
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
}
.pm-image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ===========================
   BLOG CARDS
=========================== */
.blog-card {
  background: #ffffff;
  border: 1px solid #E8E4DE;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(56,66,44,0.1); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 20px; }
.post-category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #8DB5AC; font-weight: 600; margin-bottom: 8px; }
.post-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #38422C; margin-bottom: 10px; line-height: 1.3; }
.post-excerpt { font-size: 14px; color: #666; line-height: 1.65; margin-bottom: 16px; }
.read-more { color: #8DB5AC; font-size: 14px; font-weight: 600; }
.read-more:hover { color: #38422C; }

/* ===========================
   NEWSLETTER SECTION
=========================== */
.newsletter-section { background: #F7F5F1; }
.newsletter-form { max-width: 480px; margin: 0 auto; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #38422C; margin-bottom: 6px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #CDAE80;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #38422C;
  background: #ffffff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #8DB5AC;
  box-shadow: 0 0 0 3px rgba(141,181,172,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.radio-group { display: flex; gap: 24px; margin-top: 4px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #38422C; font-weight: 400; cursor: pointer; }
.privacy-note { font-size: 12px; color: #999; text-align: center; margin-top: 12px; }

/* ===========================
   FOOTER
=========================== */
.site-footer { background: #38422C; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { color: #ffffff; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.2s; }
.footer-social a:hover { color: #CDAE80; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col ul li a:hover { color: #CDAE80; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #CDAE80; }

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
  background: #F7F5F1;
  padding: 60px 0 48px;
  border-bottom: 1px solid #E8E4DE;
}
.page-hero h1 { font-size: 48px; color: #38422C; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: #666; max-width: 600px; }
.breadcrumb { font-size: 12px; color: #8DB5AC; margin-bottom: 16px; }
.breadcrumb a { color: #8DB5AC; }
.breadcrumb span { color: #999; margin: 0 6px; }

/* ===========================
   FILTER BAR
=========================== */
.filter-bar {
  background: #ffffff;
  border-bottom: 1px solid #E8E4DE;
  padding: 20px 0;
  position: sticky;
  top: 84px;
  z-index: 50;
}
.filter-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid #E8E4DE;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: #38422C;
  background: #38422C;
  color: #ffffff;
}
.filter-count { font-size: 13px; color: #999; margin-left: auto; }

/* ===========================
   COMPARISON TABLE (PM page)
=========================== */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid #E8E4DE; border-radius: 8px; overflow: hidden; }
.comparison-col { padding: 32px; }
.comparison-col.diy { background: #F7F5F1; }
.comparison-col.kozy { background: #38422C; }
.comparison-col h3 { font-size: 20px; margin-bottom: 24px; }
.comparison-col.diy h3 { color: #38422C; }
.comparison-col.kozy h3 { color: #CDAE80; font-family: 'Cormorant Garamond', serif; }
.comparison-list { list-style: none; }
.comparison-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.comparison-col.kozy .comparison-list li { border-bottom-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.comparison-col.diy .comparison-list li { color: #555; }
.comparison-list li .icon { flex-shrink: 0; margin-top: 3px; }
.comparison-col.diy .icon { color: #ccc; }
.comparison-col.kozy .icon { color: #8DB5AC; }

/* ===========================
   FAQ
=========================== */
.faq-item { border-bottom: 1px solid #E8E4DE; padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; color: #38422C; margin-bottom: 12px; }
.faq-answer { font-size: 15px; color: #666; line-height: 1.7; }

/* ===========================
   PROCESS STEPS
=========================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #38422C;
  color: #CDAE80;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 15px; color: #666; line-height: 1.7; }

/* ===========================
   SERVICES GRID
=========================== */
.service-card {
  background: #F7F5F1;
  border-radius: 8px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(56,66,44,0.08); }
.service-icon { color: #8DB5AC; margin-bottom: 16px; }
.service-card h4 { margin-bottom: 10px; }
.service-card p { font-size: 15px; color: #666; line-height: 1.65; }

/* ===========================
   TESTIMONIAL
=========================== */
.testimonial-block {
  background: #F7F5F1;
  border-left: 4px solid #8DB5AC;
  border-radius: 0 8px 8px 0;
  padding: 32px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-quote { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #38422C; line-height: 1.6; font-style: italic; margin-bottom: 20px; }
.testimonial-attr { font-size: 14px; font-weight: 600; color: #8DB5AC; }

/* ===========================
   CTA STRIP
=========================== */
.cta-strip {
  background: #38422C;
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 { color: #ffffff; margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===========================
   PAIN POINTS
=========================== */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pain-card {
  background: #ffffff;
  border: 1px solid #E8E4DE;
  border-radius: 8px;
  padding: 28px;
}
.pain-card h4 { margin-bottom: 10px; color: #38422C; }
.pain-card p { font-size: 15px; color: #666; line-height: 1.65; }
.pain-label { font-size: 12px; font-weight: 700; color: #CDAE80; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: block; }

/* ===========================
   HAMBURGER BUTTON
=========================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #38422C;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .container { padding: 0 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .grid-3, .grid-2, .grid-4, .steps-grid, .pain-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .location-col { padding: 0; }
  .location-divider { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 40px; margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .btn { width: 100%; text-align: center; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 36px; }
  .pm-section .grid-2 { grid-template-columns: 1fr; }
  .pm-image-placeholder { display: none; }
  .page-hero h1 { font-size: 34px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  nav {
    display: none;
    position: absolute;
    top: 84px;
    left: -32px;
    right: -32px;
    background: #ffffff;
    border-top: 1px solid #F0EDE7;
    border-bottom: 2px solid #8DB5AC;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  nav.open { display: flex; }
  nav a {
    padding: 16px 24px;
    font-size: 15px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #F0EDE7;
    text-align: left;
  }
  nav a:last-child { border-bottom: none; }
  .nav-cta {
    margin: 16px 24px !important;
    text-align: center !important;
    border-bottom: none !important;
    border-radius: 4px;
  }
}
