:root{
  --brand-bg:#FAF7F2;
  --brand-surface:#FFFFFF;
  --brand-primary:#8C7C6B;
  --brand-accent:#D8C9B5;
  --brand-dark:#3F3A34;
  --brand-text:#4A443D;
  --brand-muted:#6D655C;

  /* Header height used for anchor offsets + mobile menu placement */
  --header-h:92px;
}

html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  color:var(--brand-text);
  background:var(--brand-bg)
}

.container{width:min(1100px,92%);margin:0 auto}
.section{padding:64px 0}
.section.light{background:var(--brand-surface)}

.section-title h2{
  font:800 14px Raleway,sans-serif;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--brand-muted);
  margin:0
}
.section-title p{
  font:800 32px Raleway,sans-serif;
  margin:8px 0 32px;
  color:var(--brand-dark)
}

.header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(8px);
  box-shadow:0 2px 12px rgba(0,0,0,.06)
}
.header-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  min-height: var(--header-h);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--brand-dark);
  text-decoration:none;
  font-weight:700
}
.brand img{height:90px; width:auto; display:block}

/* Desktop menu */
.navmenu ul{
  display:flex;
  gap:18px;
  list-style:none;
  padding:0;
  margin:0
}
.navmenu a{
  color:#000;
  text-transform:uppercase;
  font-weight:600;
  font-size:13px;
  text-decoration:none;
  position:relative;
  padding:10px 6px;            /* better click area */
  border-radius:8px;
}
.navmenu a:hover{
  background: rgba(140,124,107,.12);
}

.navmenu a.cta{
  color:#fff;
  background:var(--brand-primary);
  padding:10px 14px;
  border-radius:8px
}
.navmenu a.cta:hover{background:#6f6254}

.mobile-nav-toggle{
  display:none;
  font-size:22px;
  background:none;
  border:1px solid #e8e4dc;
  border-radius:10px;
  cursor:pointer;
  padding:10px 12px;
  line-height:1;
}

/* Mobile menu panel */
@media (max-width:992px){
  /* Header height tends to shrink a bit on mobile; update variable */
  :root{ --header-h:76px; }
  .brand img{ height:72px; }

  .mobile-nav-toggle{display:block}

  .navmenu ul{
    display:none;
    position:fixed;
    inset:calc(var(--header-h) + 8px) 16px 16px 16px;
    background:var(--brand-surface);
    border:1px solid #e8e4dc;
    border-radius:12px;
    padding:18px;
    flex-direction:column;
    gap:10px;
    z-index:9998;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    overflow-y:auto;
  }

  .mobile-nav-active .navmenu ul{display:flex}

  .navmenu a{
    font-size:14px;
    padding:12px 10px;         /* larger tap targets */
  }

  .navmenu a.cta{
    width:100%;
    text-align:center;
  }
}

/* HERO */
.hero-grid-full{
  position:relative;
  min-height:calc(100vh - var(--header-h));
  display:flex;
  align-items:center;
  background:var(--brand-surface)
}
.hero-grid-full::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:rgba(250,247,242,.55)
}
.hero-container{min-height:inherit;display:grid;align-content:center}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
  width:100%;
  position:relative;
  z-index:1
}
.hero h1{font:800 48px Raleway,sans-serif;color:var(--brand-dark);margin:0 0 8px}
.hero p{font-size:18px;color:#5a544d}
.hero-ctas{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.hero-img-wrap img{width:100%;height:auto;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.12)}
.hero-copy{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

@media (max-width:992px){
  .hero-grid{grid-template-columns:1fr}
  .hero-img-wrap{margin-top:20px}
  .hero h1{font-size:38px}
}

/* CARDS / STEPS / GALLERY / PRICING / ETC */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--brand-surface);padding:22px;border-radius:12px;box-shadow:0 2px 18px rgba(0,0,0,.06)}
.card h3{font:700 20px Raleway,sans-serif;color:var(--brand-dark);margin-top:0}
.card ul{margin:12px 0 0;padding-left:18px}
@media (max-width:992px){.cards{grid-template-columns:1fr}}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.steps li{background:var(--brand-surface);border-radius:12px;padding:16px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
@media (max-width:992px){.steps{grid-template-columns:1fr 1fr}}

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gallery img{width:100%;border-radius:10px;display:block;box-shadow:0 2px 12px rgba(0,0,0,.06)}
@media (max-width:992px){.gallery{grid-template-columns:1fr 1fr}}

.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.price-card{background:var(--brand-surface);padding:22px;border-radius:12px;box-shadow:0 2px 18px rgba(0,0,0,.06);position:relative}
.price-card .price{font:800 28px Raleway,sans-serif;color:var(--brand-dark)}
.price-card.featured{border:2px solid var(--brand-accent)}
.price-card .badge{position:absolute;top:16px;right:16px;background:var(--brand-accent);color:#2e2a25;padding:6px 8px;border-radius:999px;font-size:12px;font-weight:700}
.note{color:#6f6a63;margin-top:10px}
@media (max-width:992px){.price-grid{grid-template-columns:1fr}}

.testimonials{display:grid;grid-template-columns:1fr 1fr;gap:18px}
blockquote{background:var(--brand-surface);padding:18px;border-left:4px solid var(--brand-primary);border-radius:8px;margin:0}
cite{display:block;margin-top:12px;color:#7c7267}
@media (max-width:992px){.testimonials{grid-template-columns:1fr}}

details{background:var(--brand-surface);padding:16px;border-radius:10px;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:10px}
details summary{cursor:pointer;font-weight:600}
details[open]{border:1px solid #e8e4dc}

.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}
.contact-form label{display:block;font-weight:600;margin-top:10px}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:16px;
  background:#fff
}
.contact-form .form-note{font-size:13px;color:#7c7267;margin-top:8px}
.contact-info h3{margin-top:0}
@media (max-width:992px){.contact-grid{grid-template-columns:1fr}}

.footer{background:var(--brand-surface);padding:24px 0;border-top:1px solid #e8e4dc}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer a{color:#000;text-decoration:none;margin-left:16px;font-weight:600}

/* Buttons */
.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  line-height:1.2;
  cursor:pointer;
  transition:background .2s, color .2s, box-shadow .2s;
}
.btn.primary{background:var(--brand-primary);color:#fff}
.btn.primary:hover,.btn.primary:focus{
  background:#6f6254;
  box-shadow:0 0 0 3px rgba(140,124,107,.25);
}
.btn.ghost{
  border:2px solid var(--brand-primary);
  color:var(--brand-primary);
  background:transparent
}
.btn.ghost:hover,.btn.ghost:focus{
  background:var(--brand-primary);
  color:#fff;
  box-shadow:0 0 0 3px rgba(140,124,107,.25);
}
.btn:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(140,124,107,.35);
}
.hero-ctas .btn{font-size:16px;padding:14px 20px}

/* Prevent header from covering anchored sections */
section{scroll-margin-top:var(--header-h)}

/* Honeypot utility */
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px;height:1px;
  overflow:hidden;opacity:0
}
/* ==========================
   Admin / Login Page Styles
   (used by login.php)
   ========================== */

.login-wrap{
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 0;
}

.login-card{
  background: var(--brand-surface);
  border: 1px solid #e8e4dc; /* matches your existing border tone */
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
}

.login-card h1{
  margin: 0 0 6px;
  font-family: Raleway, Inter, system-ui, Arial, sans-serif;
  font-size: 26px;
  color: var(--brand-dark);
}

.login-card p{
  margin: 0 0 14px;
  color: var(--brand-muted);
}

/* Alert messages */
.msg{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.msg.error{
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.msg.ok{
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* Login form fields */
.form-grid label{
  display:block;
  margin: 10px 0 6px;
  font-weight: 600;
  color: var(--brand-dark);
}

.form-grid input[type="email"],
.form-grid input[type="password"]{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 15px;
  background: #fff;
  color: var(--brand-text);
}

.form-grid input[type="email"]:focus,
.form-grid input[type="password"]:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(140,124,107,.25);
  border-color: rgba(140,124,107,.55);
}

/* Checkbox + actions row */
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.check{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  color: var(--brand-text);
  user-select:none;
}

.login-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
}

/* Button style that matches your theme but works for <button> */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  background: var(--brand-primary);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  transition: background .2s, box-shadow .2s;
}

.btn-primary:hover,
.btn-primary:focus{
  background: #6f6254;
  box-shadow: 0 0 0 3px rgba(140,124,107,.25);
  outline: none;
}

.btn-link{
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.btn-link:hover{
  text-decoration: underline;
}
/* Allow CTA styling on buttons too (so login submit can match nav CTA) */
.cta-btn{
  color:#fff;
  background:var(--brand-primary);
  padding:10px 14px;
  border-radius:8px;
  border:0;
  font-weight:600;
  font-size:13px;
  text-transform:uppercase;
  cursor:pointer;
  transition: background .2s, box-shadow .2s;
}
.cta-btn:hover{ background:#6f6254; }
.cta-btn:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(140,124,107,.25);
}