/* Alfar Build & Repair — handcrafted stylesheet */
:root {
  --bg: #f7f3ec;
  --bg-card: #fffdf8;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --muted: #7a7468;
  --line: #e6dfd2;
  --accent: #d24a1a;
  --accent-dark: #a83812;
  --steel: #2b3a4a;
  --steel-soft: #3e5266;
  --gold: #c79a3a;
  --shadow: 0 8px 30px rgba(28,28,28,0.08);
  --shadow-lg: 0 20px 50px rgba(28,28,28,0.14);
  --radius: 6px;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
h1,h2,h3,h4 { font-family: 'Oswald', 'Inter', Impact, sans-serif; font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: 0.3px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-transform: uppercase; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .6rem; }
p { margin-bottom: 1rem; color: var(--ink-soft); }
ul, ol { margin: 0 0 1rem 1.2rem; color: var(--ink-soft); }
li { margin-bottom: .35rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,236,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.93rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; }
.nav-cta:hover { background: var(--accent-dark); }
.nav-cta::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(28,28,28,0.78) 0%, rgba(28,28,28,0.55) 60%, rgba(210,74,26,0.35) 100%); }
.hero-content { position: relative; z-index: 2; padding: 100px 0 80px; }
.hero .eyebrow { display: inline-block; background: var(--accent); color: #fff; padding: 6px 14px; font-family: 'Oswald'; letter-spacing: 3px; font-size: .82rem; margin-bottom: 18px; }
.hero h1 { color: #fff; max-width: 740px; }
.hero h1 span { color: #ffb88c; }
.hero p.lede { color: #f0e9dc; max-width: 620px; font-size: 1.1rem; margin: 18px 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: var(--radius);
  font-weight: 600; cursor: pointer; border: 0;
  font-family: 'Inter'; font-size: .98rem;
  transition: all .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); color: #fff; }

.hero-badges { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: #f0e9dc; font-size: .9rem; }
.hero-badge svg { width: 22px; height: 22px; fill: var(--accent); }

/* SECTIONS */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .kicker { font-family: 'Oswald'; letter-spacing: 4px; color: var(--accent); font-size: .85rem; text-transform: uppercase; }
.section-head h2 { margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* SERVICE CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .thumb img { transform: scale(1.06); }
.svc-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { color: var(--ink); }
.svc-card p { font-size: .95rem; flex: 1; }
.svc-card .link { color: var(--accent-dark); font-weight: 600; margin-top: 8px; font-size: .92rem; }
.svc-card .link::after { content: ' →'; transition: margin .2s; display: inline-block; }
.svc-card .link:hover::after { margin-left: 4px; }

/* WHY US strip */
.why {
  background: var(--ink);
  color: #f0e9dc;
  padding: 70px 0;
}
.why h2 { color: #fff; }
.why .section-head p { color: #bdb5a4; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 30px; }
.why-item { text-align: center; }
.why-item .num { font-family: 'Oswald'; font-size: 2.8rem; color: var(--accent); display: block; }
.why-item h4 { color: #fff; margin-bottom: 6px; font-size: 1.05rem; font-family: 'Inter'; font-weight: 600; }
.why-item p { color: #bdb5a4; font-size: .9rem; margin: 0; }

/* TESTIMONIALS */
.testimonial { background: var(--bg-card); padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.testimonial::before { content: '“'; position: absolute; top: -10px; left: 18px; font-size: 5rem; color: var(--accent); font-family: Georgia, serif; line-height: 1; }
.testimonial p { font-style: italic; color: var(--ink); font-size: 1rem; padding-top: 14px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial .who strong { color: var(--ink); display: block; font-size: .95rem; }
.testimonial .who small { color: var(--muted); font-size: .82rem; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(110deg, var(--steel), var(--ink));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c8d2dd; max-width: 600px; margin: 14px auto 26px; }

/* FOOTER */
footer {
  background: var(--ink); color: #c8c1b1;
  padding: 60px 0 30px;
  font-size: .92rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-family: 'Inter'; font-size: .95rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.foot-grid a { color: #c8c1b1; display: block; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand img { height: 50px; margin-bottom: 14px; filter: invert(1) brightness(1.3); }
.foot-nap p { color: #c8c1b1; margin-bottom: 8px; font-size: .92rem; }
.foot-nap strong { color: #fff; }
.foot-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid #2c2c2c;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: #888;
}
.foot-bottom a { color: #888; }
.foot-bottom a:hover { color: var(--accent); }
.foot-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.foot-badge { background: #2c2c2c; color: #c8c1b1; padding: 6px 12px; font-size: .72rem; letter-spacing: 1px; font-family: 'Oswald'; }

/* PAGE HEADER */
.page-head {
  background: linear-gradient(125deg, var(--ink) 0%, var(--steel) 100%);
  color: #fff;
  padding: 80px 0 60px;
  border-bottom: 4px solid var(--accent);
}
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head .crumbs { color: #bdb5a4; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; font-family: 'Oswald'; }
.page-head .crumbs a { color: var(--accent); }

/* CONTENT BLOCKS */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { margin-left: 1.4rem; }
.prose li { margin-bottom: .5rem; color: var(--ink-soft); }
.prose blockquote { border-left: 4px solid var(--accent); padding: 14px 22px; margin: 24px 0; background: var(--bg-card); font-style: italic; color: var(--ink); }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse > div:first-child { order: 2; }

/* PRICING */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { background: var(--bg-card); border: 1px solid var(--line); padding: 36px 28px; border-radius: var(--radius); text-align: center; transition: transform .25s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--accent); position: relative; }
.price-card.featured::before { content: 'MOST REQUESTED'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 4px 14px; font-family: 'Oswald'; font-size: .75rem; letter-spacing: 2px; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-card .price { font-family: 'Oswald'; font-size: 2.4rem; color: var(--accent); margin: 18px 0; }
.price-card .price small { font-size: .9rem; color: var(--muted); display: block; }
.price-card ul { list-style: none; margin: 20px 0; text-align: left; }
.price-card ul li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* PROJECTS */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.proj-card .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); }
.proj-card .ba > div { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proj-card .ba img { width: 100%; height: 100%; object-fit: cover; }
.proj-card .ba .tag { position: absolute; top: 8px; left: 8px; background: rgba(28,28,28,0.85); color: #fff; padding: 3px 9px; font-family: 'Oswald'; font-size: .7rem; letter-spacing: 2px; }
.proj-card .info { padding: 16px 20px 22px; }
.proj-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.proj-card .meta { color: var(--muted); font-size: .82rem; }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.02rem;
  user-select: none;
}
.faq-q::after { content: '+'; color: var(--accent); font-size: 1.6rem; font-weight: 300; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; padding: 0 22px; overflow: hidden; transition: all .35s ease; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 18px; }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .9rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-card); font-family: inherit; font-size: 1rem;
  transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { min-height: 120px; resize: vertical; }

/* CONTACT CARDS */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.contact-card { background: var(--bg-card); padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h4 { color: var(--accent); font-family: 'Oswald'; letter-spacing: 1.5px; font-size: .85rem; text-transform: uppercase; margin-bottom: 10px; }
.contact-card p, .contact-card a { color: var(--ink); font-size: 1.02rem; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px;
  max-width: 580px; margin: 0 auto;
  background: var(--ink); color: #fff;
  padding: 20px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
  border: 1px solid #333;
}
.cookie-banner.show { display: block; animation: slideUp .4s ease; }
.cookie-banner p { color: #d9d4c8; font-size: .92rem; margin-bottom: 14px; }
.cookie-banner p a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btns button {
  padding: 9px 18px; border: 0; border-radius: 4px; cursor: pointer;
  font-family: 'Inter'; font-weight: 600; font-size: .88rem;
  transition: all .2s;
}
.btn-accept { background: var(--accent); color: #fff; }
.btn-accept:hover { background: var(--accent-dark); }
.btn-decline { background: transparent; color: #d9d4c8; border: 1px solid #555 !important; }
.btn-decline:hover { background: #333; }

/* ANIMATIONS */
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(30px); transition: all .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* MAP */
.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* AREAS */
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; list-style: none; margin: 20px 0; }
.area-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink); }
.area-list li::before { content: '📍'; position: absolute; left: 0; }

/* BADGES STRIP */
.trust-strip { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 24px; color: var(--muted); font-family: 'Oswald'; letter-spacing: 2px; font-size: .85rem; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 22px; height: 22px; fill: var(--accent); }

/* OWNER NOTE */
.owner-note { background: var(--bg-card); padding: 40px; border-radius: var(--radius); border-left: 5px solid var(--accent); display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.owner-note img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; }
.owner-note .sig { font-family: 'Caveat', cursive; font-size: 1.8rem; color: var(--accent); display: block; margin-top: 14px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 72px; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 18px 22px; width: 240px; border-left: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(100%); transition: transform .3s; height: calc(100vh - 72px); align-items: flex-start; }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .menu-toggle { display: block; }
  .grid-3, .grid-4, .price-grid, .proj-grid, .contact-cards, .why-grid { grid-template-columns: 1fr; }
  .grid-2, .split, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .split.reverse > div:first-child { order: 0; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .owner-note { grid-template-columns: 1fr; text-align: center; }
  .owner-note img { margin: 0 auto; }
  section { padding: 56px 0; }
  .hero-content { padding: 70px 0 60px; }
}
@media (max-width: 540px) {
  .area-list { grid-template-columns: 1fr; }
}
