/* ============================================
   ASNEL THE PAINTER — Brand tokens
   ============================================ */
:root {
  --green: #33513F;
  --green-deep: #2b4736;
  --green-title: #245e3b;
  --green-soft: #4A6E58;
  --charcoal: #2B2B29;
  --gold: #B8923F;
  --cream: #F7F4EC;
  --sage: #E7ECE4;
  --white: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow-soft: 0 12px 32px -12px rgba(31, 51, 39, 0.28);
  --shadow-lift: 0 20px 45px -16px rgba(31, 51, 39, 0.35);

  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============================================
   RESET & BASE
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block;}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1{ font-family: var(--font-display); margin: 0; color: var(--green-title); }
h2, h3 { font-family: var(--font-display); margin: 0; color: var(--green-deep); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0 0 0.75rem;
}
.eyebrow-light { color: #CFE0D5; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================
    DIVIDER (signature element)
   ============================================ */
.brush-divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 46px;
  z-index: 3;
  clip-path: polygon(
    0% 55%, 3% 20%, 7% 62%, 11% 15%, 15% 58%, 19% 10%, 23% 48%,
    27% 5%, 31% 42%, 35% 22%, 39% 60%, 43% 8%, 47% 45%, 51% 18%,
    55% 55%, 59% 12%, 63% 48%, 67% 4%, 71% 42%, 75% 24%, 79% 58%,
    83% 10%, 87% 38%, 91% 18%, 95% 52%, 100% 25%, 100% 100%, 0% 100%
  );
}
.brush-divider--cream { background: var(--cream); }
.brush-divider--quote { top: -1px; bottom: auto; background: var(--green-deep); transform: scaleY(-1); }

/* Brush underline under headings */
.brush-underline { position: relative; display: inline-block; padding-bottom: 0.35em; }
.brush-underline::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 104%;
  height: 0.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 30 4, 45 20, 70 10 S 120 2, 150 12 S 210 20, 240 8 S 280 4, 298 14' stroke='%23B8923F' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.brush-underline.in-view::after { transform: scaleX(1); }
.brush-underline--light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 30 4, 45 20, 70 10 S 120 2, 150 12 S 210 20, 240 8 S 280 4, 298 14' stroke='%23E7ECE4' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ============================================
   HEADER
   ============================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgba(43,43,41,0.08); }
.topbar { background: var(--green-deep); color: var(--sage); font-size: 0.82rem; }
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-phones { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-phones a { display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s ease; }
.topbar-phones a:hover { color: var(--gold); }
.topbar-phones strong { font-weight: 600; color: var(--white); }
.topbar-phones a:hover strong { color: var(--gold); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.topbar-social { display: flex; gap: 0.75rem; }
.topbar-social a { opacity: 0.85; transition: opacity 0.2s ease, transform 0.2s ease; }
.topbar-social a:hover { opacity: 1; transform: translateY(-1px); }

.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.headerLogoImage {
  height: 4rem;
  gap: 0rem;
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark { width: 42px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--green-deep); }
.brand-name em { font-style: italic; color: var(--gold); font-weight: 500; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-soft); }

.site-nav { display: flex; gap: 2rem; }
.site-nav a { font-weight: 600; font-size: 0.95rem; color: var(--charcoal); position: relative; padding: 0.25rem 0; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(.5);
  animation: hero-settle 1.6s ease-out forwards;
  opacity: 0.2;
}
@keyframes hero-settle { from { transform: scale(1.12); } to { transform: scale(1.06); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 12, 9, 0.92) 0%, rgba(20,32,25,0.78) 32%, rgba(20,32,25,0.42) 58%, rgba(20,32,25,0.15) 78%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  width: 100%;
  color: var(--white);
}
.hero-content h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 14ch;
  animation: rise 0.8s ease-out 0.15s both;
}
.hero-content h1 .ink { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-lead {
  display: block;
  margin-top: 1.25rem;
  font-size: 1.15rem;
  max-width: 40ch;
  color: rgba(255,255,255,0.88);
  animation: rise 0.8s ease-out 0.3s both;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; animation: rise 0.8s ease-out 0.45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  gap: 1.5rem;
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.65rem; color: var(--green-deep); }
.trust-item svg { color: var(--gold); }
.trust-item span { font-weight: 600; font-size: 0.92rem; color: var(--charcoal); }

/* ============================================
   SERVICES
   ============================================ */
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; padding: 0 1.5rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.section-lead { margin-top: 1rem; color: var(--green-soft); font-size: 1.05rem; }

.services { padding: 6rem 1.5rem; max-width: var(--container); margin: 0 auto; }
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-card-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.service-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage); color: var(--green);
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.2rem; color: var(--green-deep); }
.service-card ul { display: flex; flex-direction: column; gap: 0.65rem; }
.service-card li {
  list-style: none;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.96rem;
  color: var(--charcoal);
}
.service-card li::before {
  content: '';
  position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--sage);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.about-visual { position: relative; }
.about-frame {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  margin: 0 auto;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: 1rem;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.about-badge strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); }
.about-badge span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.about-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
.about-copy p { margin-bottom: 1rem; color: var(--charcoal); }
.about-copy p:last-of-type { margin-bottom: 0; }

/* ============================================
   PROCESS
   ============================================ */
.process { padding: 6rem 1.5rem; max-width: var(--container); margin: 0 auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: none;
}
.process-steps li { list-style: none; position: relative; padding-top: 0.5rem; }
.process-steps li:not(:last-child)::after {
  position: absolute;
  top: 1.6rem;
  left: calc(100% + 1rem);
  width: calc(2rem - 2rem + 2rem);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  display: none;
}
@media (min-width: 900px) {
  .process-steps li:not(:last-child)::after { display: block; }
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.process-steps h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--green-deep); }
.process-steps p { color: var(--charcoal); font-size: 0.95rem; }

/* ============================================
   QUOTE / CONTACT
   ============================================ */
.quote {
  position: relative;
  background: var(--green-deep);
  color: var(--white);
  padding: 7rem 1.5rem 5rem;
}
.quote-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.quote-copy h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.quote-sub { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 40ch; }
.quote-phones { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.quote-phones a { display: flex; flex-direction: column; gap: 0.25rem; }
.phone-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.quote-phones strong { font-size: 1.15rem; font-weight: 600; }

.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lift);
  color: var(--charcoal);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--green-deep); }
.field .optional { color: var(--green-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  border: 1.5px solid #DCE3DA;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,63,0.18);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 0.9rem; font-size: 0.9rem; min-height: 1.2em; color: var(--green); font-weight: 600; }
.form-note.error { color: #B04A3F; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.78); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-mark { width: 8rem; }
.footer-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin: 0; }
.footer-name span { color: var(--gold); font-size: 0.85rem; font-weight: 400; }
.footer-tag { font-size: 0.85rem; margin: 0.2rem 0 0; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .service-groups { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .quote-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem 1.5rem 1.5rem; gap: 1rem; box-shadow: 0 12px 20px -8px rgba(0,0,0,0.12); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-social { justify-content: center; }
  .hero-content { padding-top: 4rem; }
  .brand-sub { display: none; }
}

/* ============================================
   SERVICE AREA
   ============================================ */
.service-area {
  background: var(--sage);
  padding: 6rem 1.5rem;
  margin-bottom: 5rem;
}
.area-list {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
}
.area-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--green-deep);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.area-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

@media (max-width: 980px) {
  .area-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .area-list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--green-deep) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lang-switch:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(184,146,63,0.55);
}

@media (max-width: 760px) {
  .lang-switch {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}