/* ============================================
   ABODE+ — SHARED STYLES
   Refined organic luxury aesthetic
   Cormorant Garamond + DM Sans
   ============================================ */

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

/* --- Variables --- */
:root {
  --cream: #F7F3ED;
  --white: #FEFCF9;
  --charcoal: #252120;
  --body: #4A4542;
  --muted: #7A756F;
  --sage: #6E8F6A;
  --sage-light: #EBF0E9;
  --brass: #B5903F;
  --border: #DDD8D0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(254, 252, 249, 0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Tenor Sans', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.nav-logo span {
  color: var(--sage);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--sage); }
.nav-links a.active { color: var(--charcoal); font-weight: 500; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-phone {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--sage);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background var(--transition);
}
.nav-phone:hover { background: #5a7a56; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--charcoal);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--sage); color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 400;
  color: var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--sage); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover { background: #5a7a56; }

/* --- Section base --- */
section { padding: 100px 48px; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  color: var(--sage);
}
.section-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  max-width: 560px;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 25, 22, 0.72) 0%,
    rgba(30, 25, 22, 0.28) 50%,
    rgba(30, 25, 22, 0.08) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 780px;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}
.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 12px;
}
.hero-location {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.6); }
}

/* --- Page hero (inner pages) --- */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  padding-left: 48px;
  padding-right: 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.page-hero-title em { font-style: italic; color: var(--sage); }
.page-hero-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
}

/* --- How it Works --- */
.how-it-works {
  background: var(--white);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--border);
}
.step {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.step:last-child { border-right: none; }
.step:hover { background: var(--cream); }
.step-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
  transition: color var(--transition);
}
.step:hover .step-number { color: var(--sage); }
.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.step-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

/* --- Bathroom feature (split) --- */
.bathroom-feature {
  background: var(--cream);
  padding: 0;
  overflow: hidden;
}
.bathroom-feature .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.bathroom-feature-text {
  padding: 100px 80px 100px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bathroom-feature-img {
  position: relative;
  overflow: hidden;
}
.bathroom-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bathroom-feature:hover .bathroom-feature-img img {
  transform: scale(1.03);
}

/* --- Feature cards --- */
.features {
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 64px;
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--white);
  padding: 48px 44px;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--cream); }
.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.feature-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

/* --- Contact form section --- */
.contact-section {
  background: var(--sage-light);
  color: var(--charcoal);
}
.contact-section .section-label { color: var(--sage); }
.contact-section .section-title { color: var(--charcoal); }
.contact-section .section-title em { color: var(--sage); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}
.contact-info {
  padding-top: 8px;
}
.contact-info p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--body);
  font-size: 14px;
}
.contact-detail-icon {
  width: 20px;
  color: var(--sage);
  flex-shrink: 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Services list (How We Can Help) --- */
.services {
  background: var(--white);
}
.services-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
}
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid var(--border);
  transition: background var(--transition);
}
.service-item:last-child { border-bottom: 1px solid var(--border); }
.service-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  transition: color var(--transition);
}
.service-item:hover .service-num { color: var(--sage); }
.service-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.service-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--sage-light);
  color: var(--sage);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-top: 16px;
}

/* --- Image break --- */
.image-break {
  padding: 0;
  height: 480px;
  overflow: hidden;
  position: relative;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.image-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(37,33,32,0.55) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 0 48px;
}
.image-break-text {
  max-width: 480px;
  color: var(--white);
}
.image-break-text p {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  font-style: italic;
}
.image-break-text .image-break-sub {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  margin-top: 16px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- About page --- */
.about-intro {
  background: var(--cream);
}
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro-img {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 2px;
}
.about-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- FAQ --- */
.faq-section {
  background: var(--white);
}
.faq-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  max-width: 780px;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--sage); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq-icon::before { width: 14px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform var(--transition), opacity var(--transition); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer {
  display: none;
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
}
.faq-item.open .faq-answer { display: block; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--sage-light);
  padding: 80px 48px;
  text-align: center;
}
.cta-banner .section-title { margin-bottom: 16px; }
.cta-banner p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 60px 48px 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 240px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  section { padding: 80px 32px; }
  .nav { padding: 0 32px; }
  .hero { padding: 0 32px 64px; }
  .page-hero { padding-left: 32px; padding-right: 32px; }
  .service-item { grid-template-columns: 60px 1fr; gap: 28px; }
  .service-tag { display: none; }
  footer { padding: 60px 32px 40px; }
  .cta-banner { padding: 80px 32px; }
  .image-break-overlay { padding: 0 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 64px 24px; }
  .nav { padding: 0 24px; }
  .nav-links, .nav-phone { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 0 24px 56px; }
  .hero-scroll { display: none; }
  .page-hero { padding: calc(var(--nav-height) + 48px) 24px 60px; }
  .page-hero .container { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .bathroom-feature .container { grid-template-columns: 1fr; }
  .bathroom-feature-text { padding: 60px 24px; }
  .bathroom-feature-img { height: 320px; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .about-intro .container { grid-template-columns: 1fr; }
  .about-intro-img { height: 280px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .service-item { grid-template-columns: 48px 1fr; gap: 20px; padding: 36px 0; }
  .hero-title { font-size: clamp(42px, 10vw, 64px); }
  .image-break { height: 360px; }
  footer { padding: 48px 24px 32px; }
  .cta-banner { padding: 64px 24px; }
  .image-break-overlay { padding: 0 24px; }
  .mobile-menu { padding: 32px 24px; }
}
