/* =============================================
   TIMBERLY LOFT - SERVICES PAGE
   Nav styles are in ../shared/nav.css
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --brown-dark:    #3B1F0F;
  --brown-mid:     #6B3A1F;
  --brown-warm:    #8C4A22;
  --brown-light:   #C48A5C;
  --cream-deep:    #F0E6D3;
  --cream-light:   #FAF6EF;
  --cream-white:   #FFFDF9;
  --text-primary:  #2A1608;
  --text-secondary:#6B5744;
  --text-muted:    #A08060;

  --font-display: 'Host Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:        80px;
  --section-pad:  clamp(64px, 8vw, 120px);
  --container:    1200px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    24px;

  --transition:   0.3s ease;
  --shadow-soft:  0 4px 24px rgba(59, 31, 15, 0.08);
  --shadow-card:  0 8px 40px rgba(59, 31, 15, 0.12);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--cream-white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section-pad { padding: var(--section-pad) 0; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-warm);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--brown-light); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--brown-dark);
  color: var(--cream-light);
  border-color: var(--brown-dark);
  width: 100%;
  margin-top: auto;
}
.btn-primary:hover {
  background-color: var(--brown-mid);
  border-color: var(--brown-mid);
  transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent;
  color: var(--cream-light);
  border-color: rgba(250, 246, 239, 0.5);
  width: 100%;
  margin-top: auto;
}
.btn-outline-light:hover {
  background-color: rgba(250, 246, 239, 0.1);
  border-color: var(--cream-light);
}
.btn-lg { padding: 18px 44px; font-size: 1rem; width: auto; }

/* ===== IMG PLACEHOLDER ===== */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-deep) 0%, #DEC5A8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: clamp(360px, 50vw, 520px);
  margin-top: var(--nav-h);
  overflow: hidden;
}
.page-hero-image {
  position: absolute;
  inset: 0;
}
.page-hero-image .img-placeholder {
  height: 100%;
  background: linear-gradient(135deg, #6B3A1F 0%, #3B1F0F 100%);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(59,31,15,0.75) 40%, rgba(59,31,15,0.2) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 80px);
  max-width: 700px;
}
.page-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--cream-white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero-subtext {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(250, 246, 239, 0.8);
  max-width: 480px;
  line-height: 1.7;
}

/* ===== INTRO / PROCESS ===== */
.services-intro { background-color: var(--cream-white); }

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--cream-deep);
  padding-left: 0;
  margin-top: 8px;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0 0 36px 32px;
  position: relative;
}
.process-step:last-child { padding-bottom: 0; }

.step-num {
  position: absolute;
  left: -18px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--brown-warm);
  color: var(--cream-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  padding-top: 4px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== SERVICES GRID ===== */
.services-list { background-color: var(--cream-deep); }

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.services-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}
.services-note a {
  color: var(--brown-warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.services-note a:hover { color: var(--brown-dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--cream-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.service-card--accent {
  background-color: var(--brown-dark);
  color: var(--cream-light);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-icon {
  color: var(--brown-warm);
  flex-shrink: 0;
}
.service-card--accent .service-icon { color: var(--brown-light); }

.service-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: rgba(140, 74, 34, 0.1);
  color: var(--brown-warm);
  padding: 4px 10px;
  border-radius: 100px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}
.service-card--accent .service-title { color: var(--cream-white); }

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}
.service-card--accent .service-desc { color: rgba(250, 246, 239, 0.75); }

.service-includes {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 0;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}
.service-card--accent .service-includes {
  border-color: rgba(250, 246, 239, 0.15);
}
.service-includes li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.service-includes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brown-light);
  font-size: 0.75rem;
}
.service-card--accent .service-includes li { color: rgba(250, 246, 239, 0.7); }

.service-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-from {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.service-card--accent .price-from { color: rgba(250, 246, 239, 0.5); }
.price-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-warm);
}
.service-card--accent .price-value { color: var(--brown-light); }
.price-value small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}
.service-card--accent .price-value small { color: rgba(250,246,239,0.5); }

/* ===== PRICING NOTE ===== */
.pricing-note-section { background-color: var(--cream-light); }

.pricing-note-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background-color: var(--cream-white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-note-icon {
  font-size: 1.4rem;
  color: var(--brown-warm);
  flex-shrink: 0;
  padding-top: 2px;
}

.pricing-note-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-note-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}
.pricing-note-inner p:last-child { margin-bottom: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brown-mid) 0%, var(--brown-dark) 100%);
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C48A5C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--cream-white);
  margin-bottom: 16px;
}
.cta-subtext {
  font-size: 1rem;
  color: rgba(250, 246, 239, 0.7);
  margin-bottom: 40px;
}
.cta-banner .btn-primary {
  background-color: var(--brown-light);
  border-color: var(--brown-light);
  color: var(--brown-dark);
  font-weight: 600;
  width: auto;
}
.cta-banner .btn-primary:hover {
  background-color: var(--cream-light);
  border-color: var(--cream-light);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--brown-dark);
  color: var(--cream-deep);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(250, 246, 239, 0.1);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream-white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--brown-light); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(240, 230, 211, 0.65);
  line-height: 1.65;
  max-width: 260px;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 20px;
}
.footer-nav ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-contact a, .footer-contact li {
  font-size: 0.875rem;
  color: rgba(240, 230, 211, 0.7);
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--cream-white); }
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-links a {
  font-size: 0.875rem;
  color: rgba(240, 230, 211, 0.7);
  transition: color var(--transition);
}
.social-links a:hover { color: var(--brown-light); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(240, 230, 211, 0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero-content { animation: fadeUp 0.7s ease both; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .pricing-note-inner { flex-direction: column; padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}