/* ==========================================================================
   Loines Property Services — Design System
   ========================================================================== */

:root {
  /* Brand */
  --green: #4caf32;
  --green-dark: #386f24;
  --green-darker: #2b5a1b;
  --green-light: #7ed957;
  --ink: #111111;
  --ink-soft: #1b1f1a;
  --ink-elevated: #232823;

  /* Neutrals */
  --paper: #ffffff;
  --paper-soft: #f5f7f3;
  --paper-muted: #e9ede6;
  --gray-600: #5b625a;
  --gray-500: #767d74;
  --line: #dfe4db;

  /* Type */
  --font-head: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 12px 32px rgba(17, 17, 17, 0.12);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.18);

  --header-h: 84px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--gray-600); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 780px) { section { padding: 64px 0; } }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-elevated); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--paper); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.phone-link svg { width: 18px; height: 18px; color: var(--green-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: var(--paper-soft);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .header-actions .phone-link span { display: none; }
  .nav-toggle { display: flex; }
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 32px 24px;
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 20px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 100px 0 0;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-copy h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
}
.hero-copy h1 em { color: var(--green); font-style: normal; }
.hero-copy p { color: rgba(255,255,255,0.72); font-size: 1.15rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 40px; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 600; }
.hero-badge svg { width: 20px; height: 20px; color: var(--green); flex: none; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-logo { width: 100%; max-width: 420px; height: auto; margin: 0 auto; display: block; }

.hero-divider {
  width: 100%;
  height: 64px;
  display: block;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-art { order: -1; max-width: 380px; margin: 0 auto; }
}

/* ---- Page banner (interior pages) ---- */
.page-banner {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 78px 0 96px;
  overflow: hidden;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner .eyebrow { color: var(--green-light); }
.page-banner h1 { color: var(--paper); font-size: clamp(2.1rem, 4vw, 3rem); max-width: 720px; }
.page-banner p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 620px; }
.page-banner .hero-divider { position: absolute; left: 0; right: 0; bottom: -2px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; font-weight: 600; letter-spacing: 0.03em; }
.breadcrumb a:hover { color: var(--paper); }

/* ---- Cards / Grid ---- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--green-dark); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.card p { margin-bottom: 1.2em; font-size: 0.97rem; }
.card-link { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.section-alt { background: var(--paper-soft); }

/* ---- Why choose us ---- */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--green); }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.feature p { font-size: 0.94rem; margin-bottom: 0; }

/* ---- Service area ---- */
.coverage {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.coverage-copy p { color: rgba(255,255,255,0.7); }
.coverage-copy h2 { color: var(--paper); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--paper);
}
.coverage-art { display: flex; align-items: center; justify-content: center; }
.coverage-art svg { width: 100%; max-width: 320px; height: auto; color: var(--green); }
@media (max-width: 860px) {
  .coverage { grid-template-columns: 1fr; padding: 36px 26px; }
  .coverage-art { order: -1; max-width: 220px; margin: 0 auto; }
}

/* ---- Testimonials ---- */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; color: var(--green); }
.testimonial blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink); font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper-muted);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: var(--green-dark);
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { display: block; font-size: 0.82rem; color: var(--gray-500); }

/* ---- Gallery placeholders ---- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--green); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item { display: none; }
.gallery-item.show { display: block; }
.gallery-tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--paper-muted), var(--paper-soft));
  border: 1.5px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.gallery-tile svg { width: 34px; height: 34px; color: var(--gray-500); }
.gallery-tile .cat { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.gallery-tile .label { font-size: 0.82rem; color: var(--gray-500); }

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 40px;
}
.notice svg { width: 22px; height: 22px; color: var(--green-dark); flex: none; margin-top: 2px; }
.notice p { margin: 0; font-size: 0.95rem; }
.notice strong { color: var(--ink); }

/* ---- FAQ accordion ---- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.accordion-trigger .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-soft); position: relative; transition: background 0.18s ease; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ""; position: absolute; background: var(--ink);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.accordion-trigger .plus::before { width: 11px; height: 2px; }
.accordion-trigger .plus::after { width: 2px; height: 11px; transition: opacity 0.18s ease; }
.accordion-item.open .plus { background: var(--green); }
.accordion-item.open .plus::after { opacity: 0; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-panel-inner { padding: 0 4px 24px; }
.accordion-panel-inner p { margin: 0; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 560px; }
.cta-band .btn-dark:hover { background: var(--ink-elevated); }
@media (max-width: 640px) { .cta-band { padding: 36px 26px; text-align: center; justify-content: center; } }

/* ---- Contact page ---- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper-soft);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--paper);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; }

.info-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.info-card h3 { color: var(--paper); font-size: 1.15rem; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.info-row strong { display: block; font-size: 0.92rem; }
.info-row span, .info-row a { font-size: 0.9rem; color: rgba(255,255,255,0.72); }
.info-row a:hover { color: var(--paper); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: var(--paper); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a, .footer-col span { font-size: 0.92rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--paper); }

/* ---- Reveal animation ---- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
