/* ============================================
   Mevagissey House Clearance - Main Stylesheet
   ============================================ */

:root {
  --colour-bg:        #f7f5f1;
  --colour-surface:   #ffffff;
  --colour-ink:       #1e2a38;
  --colour-ink-soft:  #4a5765;
  --colour-primary:   #1d3a52;
  --colour-primary-d: #14283a;
  --colour-accent:    #c9752b;
  --colour-accent-d:  #a85f1f;
  --colour-line:      #dcd8d0;
  --colour-success:   #2f6b4a;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 8px rgba(30, 42, 56, 0.08);
  --shadow-lg: 0 8px 28px rgba(30, 42, 56, 0.12);
  --max-width: 1140px;
  --gutter: 1.25rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.6;
  color: var(--colour-ink);
  background: var(--colour-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--colour-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--colour-accent-d); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--colour-ink); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 4rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--alt { background: var(--colour-surface); }

/* --- Header --- */
.site-header {
  background: var(--colour-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.site-header a { color: #fff; text-decoration: none; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand span { display: block; font-weight: 400; font-size: 0.72rem; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }
.header-phone {
  background: var(--colour-accent);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.header-phone:hover { background: var(--colour-accent-d); color: #fff !important; }

nav.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
nav.main-nav a {
  font-size: 0.95rem;
  opacity: 0.92;
}
nav.main-nav a:hover { opacity: 1; text-decoration: underline; }

/* --- Hero --- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--colour-bg) 100%);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--colour-line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--colour-accent-d);
  background: rgba(201, 117, 43, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 0.75rem; }
.hero-lead {
  font-size: 1.15rem;
  color: var(--colour-ink-soft);
  margin-bottom: 1.75rem;
  max-width: 34em;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--colour-ink-soft);
}
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--colour-line);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn--primary {
  background: var(--colour-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--colour-accent-d); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--colour-primary);
  border-color: var(--colour-primary);
}
.btn--ghost:hover { background: var(--colour-primary); color: #fff; }

/* --- Trust strip --- */
.trust-strip {
  background: var(--colour-primary);
  color: #fff;
  padding: 1.25rem 0;
}
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.95rem;
}
.trust-strip strong { display: block; font-size: 1.05rem; }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--colour-surface);
  border: 1px solid var(--colour-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.service-card h3 { margin-top: 0; }
.service-card p { margin-bottom: 0; color: var(--colour-ink-soft); font-size: 0.95rem; }

/* --- Before / After --- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.ba-item {
  background: var(--colour-surface);
  border: 1px solid var(--colour-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ba-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-label {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--colour-bg);
  border-top: 1px solid var(--colour-line);
}
.ba-label--before { color: #8a3b3b; }
.ba-label--after { color: var(--colour-success); }

/* --- Area / areas --- */
.area-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-list li {
  background: var(--colour-surface);
  border: 1px solid var(--colour-line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.92rem;
}

/* --- Contact --- */
.contact-band {
  background: var(--colour-primary-d);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.contact-band h2 { color: #fff; }
.contact-band p { color: rgba(255,255,255,0.85); max-width: 40em; margin: 0 auto 1.5rem; }
.contact-band .btn--primary { background: #fff; color: var(--colour-primary); }
.contact-band .btn--primary:hover { background: var(--colour-accent); color: #fff; }
.contact-band .phone-big {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.site-footer {
  background: #0f1b27;
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.82rem;
  text-align: center;
}

/* --- Accessibility helpers --- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--colour-accent);
  outline-offset: 3px;
}

/* --- Utilities --- */
.text-centre { text-align: center; }
.mt-2 { margin-top: 2rem; }


/* Form Styles */
.form-grid { display: grid; gap: 1.2rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea { 
  width: 100%; padding: 0.8rem; border: 1px solid var(--line); 
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; 
  background: var(--surface); color: var(--ink); 
  box-sizing: border-box;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { 
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,92,56,.15); 
}
.honey { display: none !important; }
.btn-submit {
  width: 100%; padding: 1rem; font-size: 1.1rem; 
  background-color: #c99b2a; color: #fff; border: none; 
  border-radius: var(--radius); font-weight: 700; cursor: pointer;
}
.btn-submit:hover { background-color: #b08520; }

/* --- Form Styles --- */
.form-grid { display: grid; gap: 1.2rem; margin-bottom: 1.5rem; width: 100%; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-weight: 600; font-size: 0.95rem; color: #1c2c30; }
.form-group input, .form-group select, .form-group textarea { 
  width: 100%; padding: 0.8rem; border: 1px solid #e0d8ce; 
  border-radius: 6px; font-family: inherit; font-size: 1rem; 
  background: #fff; color: #1c2c30; box-sizing: border-box;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { 
  outline: none; border-color: #b85c38; box-shadow: 0 0 0 3px rgba(184,92,56,.15); 
}
.honey { display: none !important; }
.btn-submit {
  display: block;
  width: 100%; 
  padding: 1rem; 
  font-size: 1.1rem; 
  background-color: #c99b2a; 
  color: #fff; 
  border: none; 
  border-radius: 6px; 
  font-weight: 700; 
  cursor: pointer;
  text-align: center;
}
.btn-submit:hover { 
  background-color: #b08520; 
}
