/* =====================================================================
   South West Living Space LLC — site styles
   ---------------------------------------------------------------------
   THEME: Change the variables in :root below to re-skin the whole site.
   The site is plain HTML + this one stylesheet. No build step.
   ===================================================================== */

:root {
  /* --- Palette (Desert Modern) --- */
  --espresso:  #3a2e26;
  --clay:      #6b4a34;
  --terracotta:#d98f4e;
  --terracotta-dark:#c87e3c;
  --sand:      #e3b98a;
  --cream:     #f7f1e8;
  --ink:       #2a201a;
  --muted:     #6f5f50;
  --line:      #e6dccd;
  --white:     #ffffff;

  /* --- Type --- */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* --- Shape & spacing --- */
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1080px;
  --gap: 22px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1,h2,h3,h4,p,ul,figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* --- Base --- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--espresso);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-block; background: var(--terracotta); color: var(--ink);
  font-weight: 600; font-size: 14px; padding: 13px 24px;
  border-radius: var(--radius-sm); text-decoration: none; border: none; cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* --- Navigation --- */
nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
}
.brand { font-family: var(--font-head); font-weight: 600; color: var(--clay);
  font-size: 18px; text-decoration: none; line-height: 1.1; }
.brand small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 9px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase;
  margin-top: 2px;
}
.links { display: flex; align-items: center; }
.links a { margin-left: 26px; text-decoration: none; color: var(--espresso);
  font-size: 14px; font-weight: 500; }
.links a:hover, .links a.active { color: var(--terracotta); }
.links .btn { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
  font-size: 22px; color: var(--espresso); line-height: 1;
}

/* --- Hero --- */
.hero { position: relative; color: #fff; min-height: 520px; display: flex; align-items: center; }
.hero .bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(42,32,26,.88) 30%, rgba(58,46,38,.45));
}
.hero .in { position: relative; z-index: 1; max-width: 640px; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); margin: 14px 0; }
.hero p { font-size: 17px; color: #f1e7da; max-width: 540px; margin-bottom: 26px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-inline { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap;
  font-size: 13px; color: #e9dccb; }
.trust-inline b { color: #fff; }

/* Smaller page hero (interior pages) */
.page-hero { background: var(--espresso); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 44px); margin: 12px 0 8px; }
.page-hero p { color: #e9dccb; max-width: 620px; font-size: 16px; }

/* --- Section heads --- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 10px 0; }
.sec-head p { color: var(--muted); }

/* --- Services cards --- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column; }
.card .ph { height: 190px; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .bd { padding: 22px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.card a.more { color: var(--clay); font-weight: 600; font-size: 13px; text-decoration: none; }
.card a.more:hover { color: var(--terracotta); }

/* --- Stats / trust strip --- */
.bg-cream { background: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat .n { font-family: var(--font-head); font-size: 40px; color: var(--clay); font-weight: 600; line-height: 1; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* --- Work grid --- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.work-grid figure { position: relative; border-radius: 12px; overflow: hidden; margin: 0; }
.work-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-grid figure:hover img { transform: scale(1.05); }
.work-grid .tall { grid-row: span 2; }
.work-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  background: linear-gradient(transparent, rgba(42,32,26,.85)); color: #fff;
  font-size: 13px; font-weight: 600;
}
.work-cat { margin-top: 8px; }
.work-cat h2 { font-size: 24px; margin-bottom: 18px; }
.work-cat + .work-cat { margin-top: 48px; }

/* --- Testimonials --- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote .stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-style: italic; color: var(--espresso); margin-bottom: 14px; }
.quote .who { font-size: 13px; color: var(--muted); font-weight: 600; }

/* --- CTA band --- */
.cta-band { background: var(--espresso); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 10px; }
.cta-band p { color: #e9dccb; margin-bottom: 24px; }

/* --- About: process & values --- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14px; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num {
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: #fff;
  background: var(--terracotta); width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.callout {
  background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--terracotta);
  border-radius: var(--radius); padding: 26px 28px;
}
.callout h3 { font-size: 20px; margin-bottom: 8px; }
.callout p { color: var(--muted); }

.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.area-list span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; font-weight: 500; color: var(--clay);
}

/* --- Two-column layouts (about intro, contact) --- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-2 .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.split-2 .media img { width: 100%; height: 100%; object-fit: cover; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); }
.prose .eyebrow { color: var(--terracotta); }
.prose h2 { font-size: clamp(26px,3.5vw,34px); margin: 10px 0 16px; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 16px; }
.form label { font-size: 13px; font-weight: 600; color: var(--espresso); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(217,143,78,.18);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; } /* honeypot */

.contact-aside { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-aside h3 { font-size: 18px; margin-bottom: 14px; }
.contact-aside .item { margin-bottom: 16px; }
.contact-aside .item .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-aside .item a, .contact-aside .item span { display: block; font-size: 16px; color: var(--espresso); text-decoration: none; font-weight: 500; }
.contact-aside .item a:hover { color: var(--terracotta); }

/* --- Footer --- */
footer { background: var(--ink); color: #b9a892; font-size: 13px; padding: 44px 0; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer b { color: #f0e4d4; font-family: var(--font-head); font-weight: 600; }
footer a { color: #cdbba6; text-decoration: none; }
footer a:hover { color: #fff; }
.foot-links a { margin-right: 14px; }

/* --- Responsive --- */
@media (max-width: 820px) {
  section { padding: 56px 0; }
  .services, .quotes, .values { grid-template-columns: 1fr; }
  .trust-grid, .process { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .split-2, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 18px;
  }
  .links.open { display: flex; }
  .links a { margin: 8px 0; }
  .nav-toggle { display: block; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .tall { grid-row: span 1; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
