/* ===========================================
   Lotwood Homepage
   Mobile-first
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- Hero banner (split-screen) --- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 50vh;
}

.hero-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  background: #f0ede8;
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #f0541e;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A1A;
  margin: 0 0 16px;
  text-transform: none;
  text-align: left;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4B5563;
  margin: 0 0 24px;
}

.hero-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #f0541e;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  text-align: center;
  align-self: flex-start;
}

.hero-cta:hover {
  background: #2d3f53;
  color: #fff;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hero-features span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-features i {
  font-size: 18px;
  color: #2d3f53;
}

/* --- Calculator cards (editorial) --- */
.home-calc-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.home-calc-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3 / 2;
}

.home-calc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease;
}

.home-calc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  pointer-events: none;
  transition: height 0.4s ease;
}

.home-calc-card:hover::after {
  height: 85%;
}

.home-calc-card:hover img {
  filter: brightness(0.85);
}

.home-calc-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
}

.home-calc-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
  text-transform: none;
  text-align: left;
}

.home-calc-card-body p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 14px;
}

.home-calc-card-cta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.home-calc-card:hover .home-calc-card-cta {
  border-color: #fff;
}

/* --- Intro block --- */
.home-intro {
  text-align: center;
  padding: 48px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.home-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none;
}

.home-intro-accent {
  width: 48px;
  height: 3px;
  background: #f0541e;
  margin: 0 auto 20px;
  border-radius: 2px;
}

.home-intro-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.home-intro-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}

/* --- Oak feature block --- */
.home-oak-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #f0ede8;
  padding: 48px 0;
  margin-top: 20px;
}

.home-oak {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-oak-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.home-oak-content {
  padding: 0;
}

.home-oak-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 8px;
  text-transform: none;
  text-align: left;
}

.home-oak-content .home-oak-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #f0541e;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.home-oak-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-oak-features li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #4B5563;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home-oak-features li:last-child {
  border-bottom: none;
}

.home-oak-features li strong {
  display: block;
  color: #1A1A1A;
  font-weight: 600;
  margin-bottom: 2px;
}

/* --- Gallery slider --- */
.home-gallery {
  padding: 48px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.home-gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 28px;
  color: #1A1A1A;
  text-transform: none;
}

#home-gallery .splide__slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

#home-gallery .splide__arrow {
  background: #2d3f53;
  opacity: 0.9;
  width: 36px;
  height: 36px;
}

#home-gallery .splide__arrow svg {
  fill: #fff;
  width: 16px;
  height: 16px;
}

.home-gallery-cta {
  text-align: center;
  margin-top: 28px;
}

.home-gallery-cta a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #2d3f53;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.home-gallery-cta a:hover {
  color: #f0541e;
}

.home-gallery-cta i {
  font-size: 20px;
}

/* --- Advantages grid --- */
.home-advantages {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #f0ede8;
  padding: 48px 0;
}

.home-advantages-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-advantages-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  margin: 0 0 40px;
  text-transform: none;
}

.home-advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.home-advantage {
  text-align: center;
}

.home-advantage-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 32px;
  color: #f0541e;
}

.home-advantage h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 6px;
  text-transform: none;
  text-align: center;
}

.home-advantage p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* --- SEO/GEO text block --- */
.home-seo {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px;
}

.home-seo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 36px 0 12px;
  text-transform: none;
  text-align: left;
}

.home-seo h3:first-child {
  margin-top: 0;
}

.home-seo p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #4B5563;
  margin: 0 0 14px;
}

.home-seo ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

.home-seo li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 6px;
}

.home-seo strong {
  color: #1A1A1A;
}

.home-seo a {
  color: #f0541e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.home-seo a:hover {
  border-bottom-color: #f0541e;
}

/* ===========================================
   Tablet — 600px+
   =========================================== */
@media (min-width: 600px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
  }

  .hero-img {
    aspect-ratio: auto;
  }

  .hero-content {
    padding: 48px 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .home-calc-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
  }

  .home-calc-card-body h3 {
    font-size: 26px;
  }

  .home-calc-card-body p {
    font-size: 14px;
  }

  .home-calc-card-cta {
    font-size: 15px;
  }

  .home-oak-section {
    padding: 56px 0;
  }

  .home-oak {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 32px;
    align-items: center;
  }

  .home-oak-content h2 {
    font-size: 28px;
  }

  .home-oak-features li {
    padding: 14px 0;
  }

  .home-gallery {
    padding: 56px 32px;
  }

  .home-gallery-title {
    font-size: 30px;
  }

  .home-intro {
    padding: 56px 32px 48px;
  }

  .home-intro h1 {
    font-size: 36px;
  }

  .home-intro-tagline {
    font-size: 15px;
  }

  .home-intro-desc {
    font-size: 16px;
  }

  .home-advantages {
    padding: 56px 0;
  }

  .home-advantages-inner {
    padding: 0 32px;
  }

  .home-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .home-advantages-title {
    font-size: 30px;
  }

  .home-seo {
    padding: 56px 32px;
  }

  .home-seo h3 {
    font-size: 22px;
  }

  .home-seo p,
  .home-seo li {
    font-size: 15px;
  }
}

/* ===========================================
   Desktop — 960px+
   =========================================== */
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    max-height: 700px;
  }

  .hero-content {
    padding: 64px 56px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-tag {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-cta {
    font-size: 16px;
    padding: 16px 40px;
  }

  .home-calc-cards {
    margin-bottom: 56px;
  }

  .home-intro {
    padding: 64px 40px 56px;
  }

  .home-intro h1 {
    font-size: 42px;
  }

  .home-gallery {
    padding: 64px 40px;
  }

  .home-gallery-title {
    font-size: 34px;
  }

  .home-oak-section {
    padding: 64px 0;
  }

  .home-oak {
    gap: 56px;
    padding: 0 40px;
  }

  .home-oak-content h2 {
    font-size: 32px;
  }

  .home-oak-features li {
    font-size: 15px;
  }

  .home-advantages {
    padding: 64px 0;
  }

  .home-advantages-inner {
    padding: 0 40px;
  }

  .home-advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 48px;
  }

  .home-advantages-title {
    font-size: 34px;
    margin-bottom: 48px;
  }

  .home-advantage p {
    font-size: 14px;
  }

  .home-seo {
    padding: 64px 40px;
  }

  .home-seo h3 {
    font-size: 24px;
  }
}
