

:root {
  --brand: #15803d;
  --brand-light: #22c55e;
  --brand-dark: #065f46;
  --accent: #eefdf3;
  --text: #111827;
  --text-light: #4b5563;
  --bg: #ffffff;
  --bg-alt: #f5fdf7;
  --border: #e4e9e6;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.12);
  --transition: all 0.25s ease;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: 16px/1.6 var(--font-body);
  background: radial-gradient(circle at top left, #ecfdf3 0, #ffffff 45%, #ecfdf3 100%);
  color: var(--text);
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Utility: hide the text caret when an element should never show it */
.no-caret,
.no-caret * {
  caret-color: transparent !important;
}

.no-caret {
  cursor: default;
  user-select: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--brand-dark);
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section .lead {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-light);
}

.bg-alt {
  background: var(--bg-alt);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.25);
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(21, 128, 61, 0.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.btn-light {
  background: #ffffff;
  color: var(--brand-dark);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.08);
}

.btn-light:hover {
  background: #ecfdf3;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(21, 128, 61, 0.35);
}

.btn-light:active {
  transform: translateY(0);
  filter: brightness(0.95);
}
.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1.5px solid #ef4444;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: #fecaca;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.32);
}

.btn-danger:active {
  transform: translateY(0);
  filter: brightness(0.94);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
}

.small {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}



.topbar {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #ffffff;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.top-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}



.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 999px;
  transition: var(--transition);
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: absolute;
  top: 58px; 
  right: 16px; 
  background: #ffffff;
  width: 240px;
  padding: 1.2rem;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 3000;
}

body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.nav-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-overlay li + li {
  border-top: 1px solid #edf2f7;
}

.nav-overlay a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--brand-dark);
}

.mobile-nav li + li {
  border-top: 1px solid #edf2f7;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--brand-dark);
  transition: var(--transition);
}

.mobile-nav a i {
  font-size: 1.3rem;
}

.mobile-nav a:hover {
  background: #ecfdf3;
  padding-left: 0.4rem;
  border-radius: 12px;
}

.mobile-nav {
  all: unset;
  display: block;
}

.mobile-nav ul {
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  border: none;
}




.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 6rem 1rem 4.5rem;
}

.hero-logo {
  width: 600px;
  max-width: 70vw;
  opacity: 0.5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


.hero h1 {
  margin-bottom: 0.75rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}



.badges {
  margin-top: -2.6rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.badge-card {
  background: #ffffff;
  padding: 1.5rem 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.badge-card i {
  font-size: 1.6rem;
  color: var(--brand);
}

.badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(21, 128, 61, 0.32);
}



.info-card,
.service-card,
.review-summary-card,
.review-form-card,
.contact-card,
.faq-card,
.card {
  background: #ffffff;
  padding: 2.25rem 2.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.process-step {
  background: #ffffff;
  padding: 1.6rem 1.4rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.service-card:hover,
.contact-card:hover,
.review-summary-card:hover,
.review-form-card:hover,
.card:hover,
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.25);
}


.info-card i,
.service-card i,
.review-summary-card i,
.review-form-card i,
.contact-card i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 1rem;
  display: block;
}

.info-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-light);
}

.info-card ul li + li {
  margin-top: 0.35rem;
}

.service-card p {
  margin: 0.9rem 0 1.15rem;
  color: var(--text-light);
}

.pill-list {
  list-style: none;
  margin-top: 0.8rem;
}

.pill-list li {
  display: inline-block;
  background: #ecfdf3;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin: 0.25rem 0.15rem;
}



.cta-strip-section {
  padding: 3.1rem 0;
}

.cta-strip {
  background: linear-gradient(135deg, #ecfdf3, #d1fae5);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.cta-strip p {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}



.comparison-table {
  margin-top: 3rem;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th {
  background: #ecfdf3;
  padding: 1.1rem 1.3rem;
  text-align: left;
  font-weight: 700;
}

.comparison-table td {
  padding: 0.95rem 1.3rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
}



.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.7rem;
  text-align: center;
}

.process-step {
  background: #ffffff;
  padding: 1.6rem 1.4rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-grid a:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.3);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}



.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  max-width: 90vw;
  max-height: 80vh;
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox figcaption {
  margin-top: 0.75rem;
  color: #e5e7eb;
}

.lightbox .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}



.testimonials-bar {
  background: linear-gradient(135deg, var(--brand-dark), #052e16);
  color: #ffffff;
  padding: 2rem 0;
}

.testimonial-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.testimonial-item i {
  color: #fbbf24;
}



.review-slider-wrapper {
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.review-slider {
  background: linear-gradient(135deg, #f5fdf7, #e0f2fe);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.review-slides .slide {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0;
  transition: opacity 0.4s ease;
  min-height: 3em;
}

.review-slides .slide.is-active {
  opacity: 1;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border: none;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
  transition: var(--transition);
  cursor: pointer;
}

.slider-btn:hover {
  transform: scale(1.1) translateY(-1px);
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.rating-large {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.stars-large {
  color: #fbbf24;
  font-size: 1.8rem;
  margin: 0.75rem 0;
}

.review-summary-card .review-count {
  color: var(--text-light);
}

.review-form-card form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-form-card input,
.review-form-card select,
.review-form-card textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  margin-top: 0.35rem;
  font: inherit;
  transition: var(--transition);
}

.review-form-card textarea {
  min-height: 110px;
  resize: vertical;
}

.review-form-card .form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.submit-review {
  margin-top: 0.4rem;
  align-self: flex-start;
}



.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.review {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.review-name {
  font-weight: 600;
}

.review-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.review-text {
  color: var(--text-light);
}

.stars i.star {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e5e7eb;
  margin-right: 3px;
}

.stars i.filled {
  background: #fbbf24;
}

.pagination {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
}



.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-card {
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--brand);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07), #ffffff);
}

.faq-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.08), transparent 40%);
  pointer-events: none;
}

.faq-card summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.faq-card summary i {
  color: var(--brand);
}

.faq-card[open] summary {
  color: var(--brand-dark);
}

.faq-card p {
  margin: 0.65rem 0 0.35rem;
  color: #1f2937;
  line-height: 1.6;
}

.faq-list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #334155;
}

.faq-list li::marker {
  color: var(--brand);
}



.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}

#contactForm label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid #d1d5db;
  font: inherit;
  transition: var(--transition);
}

#contactForm textarea {
  resize: none;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-card ul {
  list-style: none;
  margin: 1rem 0;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.contact-card li i {
  color: var(--brand);
  font-size: 1.2rem;
}

.contact-card .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}



.footer {
  background: linear-gradient(135deg, #052e16, var(--brand-dark));
  color: #e5e7eb;
  padding: 3rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-nav a {
  color: #a7f3d0;
  font-weight: 600;
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: #a7f3d0;
  opacity: 0;
  transform: scaleX(0.5);
  transition: var(--transition);
}

.footer-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}



.quote-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #ffffff;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  max-width: 300px;
  z-index: 80;
}

.quote-widget h4 {
  margin-bottom: 0.45rem;
}

.quote-widget p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}



.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  z-index: 80;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}



input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}



.cards {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.grid {
  display: grid;
}



.table-wrap table th,
.table-wrap table td {
  font-size: 0.9rem;
}



body.show-focus a:focus,
body.show-focus button:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 3px;
}



.hp {
  position: absolute;
  left: -9999px;
}



body.admin-page .top-actions .btn {
  display: inline-flex !important;
}

.admin-card,
.admin-panel .card {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.admin-card h3,
.admin-panel h3 {
  margin-bottom: 1rem;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid label {
  font-weight: 600;
  color: var(--text);
}

.form-grid input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  font: inherit;
  caret-color: var(--text);
  text-align: left;
}

.admin-logout-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: #ecfdf3;
  font-weight: 700;
  color: var(--brand-dark);
}

.admin-table tbody tr:hover {
  background: #f5fdf7;
}

.admin-panel {
  display: none;
}

.gallery-card {
  background: #ffffff;
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.gallery-card h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}



.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}


.gallery-scroll {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;

  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 12px;

  scrollbar-width: thin;                 
  scrollbar-color: var(--brand-light) #e5e7eb;
}


.gallery-scroll > * {
  flex: 0 0 auto;
  display: block;
}



.gallery-scroll::-webkit-scrollbar {
  height: 10px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 8px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--brand-light);
  border-radius: 8px;
}



.gallery-scroll img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-scroll a:hover img {
  transform: scale(1.06);
}


.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  z-index: 5;
}

.gallery-arrow.left {
  left: 8px;
}

.gallery-arrow.right {
  right: 8px;
}

.gallery-arrow:hover {
  transform: translateY(calc(-50% - 3px));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.35);
  filter: brightness(1.08);
}

.gallery-arrow:active {
  transform: translateY(-50%);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.2);
}
  


.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}





.quote-page {
  padding: 4rem 0;
}


.quote-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}


.quote-card {
  background: #ffffff;
  padding: 2.4rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15,23,42,0.25);
}

.quote-card h2 {
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
  font-size: 1.8rem;
}

.quote-card p.lead {
  text-align: left;
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: 1.05rem;
}


.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.quote-form label {
  font-weight: 600;
  color: var(--text);
  display: block;
  font-size: 0.95rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #d1d5db;
  font: inherit;
  margin-top: 0.4rem;
  transition: var(--transition);
  background: #fff;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

.quote-form-status {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light);
  min-height: 1.2em;
}


.quote-upload {
  border: 2px dashed rgba(16,185,129,0.4);
  padding: 1.8rem;
  border-radius: 18px;
  background: #f5fdf7;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  margin-top: 0.5rem;
}

.quote-upload:hover {
  background: #ecfdf3;
  border-color: var(--brand);
}

.quote-upload i {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
  display: block;
}

.quote-upload .upload-text {
  font-weight: 600;
  color: var(--brand-dark);
}

.quote-upload input {
  display: none;
}


.estimator-card {
  background: #ffffff;
  padding: 1.9rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow);
  height: fit-content;
  top: 0;
  position: sticky;
}

.estimator-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}

.estimator-card h3 {
  margin-bottom: 1.1rem;
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 600;
}

.estimator-copy {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.estimator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.estimator-card label {
  font-weight: 600;
  color: var(--text);
  display: block;
  font-size: 0.9rem;
}

.estimator-card input,
.estimator-card select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1.4px solid #d1d5db;
  font: inherit;
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

.estimator-card input:focus,
.estimator-card select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

.estimator-hint {
  background: #f0fdf4;
  border: 1px dashed rgba(22,163,74,0.4);
  color: var(--text-light);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.estimator-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.estimator-actions .btn.small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

#estOut {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.estimator-footnote {
  margin-top: 0.4rem;
  color: #4b5563;
  font-size: 0.88rem;
}



body.admin-page {
  font: 16px/1.6 var(--font-body);
  background: radial-gradient(circle at top left, #f3fbf5 0, #ffffff 50%, #e7f7ed 100%);
  color: var(--text);
  min-height: 100vh;
  caret-color: transparent;
}

.admin-page input,
.admin-page textarea,
.admin-page select {
  caret-color: auto;
}

.admin-shell {
  max-width: 1400px;
  margin: 2rem auto 3rem;
  padding: 0 1.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.4);
  background: #ffffff;
  color: var(--brand-dark);
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: #ecfdf3;
  border-color: rgba(34,197,94,0.5);
}

.admin-login {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.login-card {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5fff7 100%);
  padding: 2.2rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.15);
}

.login-card-header {
  margin-bottom: 0.9rem;
}

.login-card-header p {
  color: var(--text-light);
  margin-top: 0.35rem;
}

.login-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.login-points i {
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.login-copy {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 8px 26px rgba(15, 118, 110, 0.14);
}

.login-copy h3 {
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}

.login-copy p {
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.welcome-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 8px 26px rgba(15, 118, 110, 0.14);
  height: 100%;
}

.dashboard-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.dashboard-actions .btn {
  align-self: flex-start;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

#loginCard {
  margin: 0 auto;
  background: #ffffff;
  padding: 2.2rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
  max-width: 460px;
  width: 100%;
}

#loginCard h3 {
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
}

#panel {
  margin-top: 1.5rem;
}

.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.admin-sidebar {
  background: #ffffff;
  padding: 1.9rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}

.admin-sidebar h3 {
  margin-bottom: 1.1rem;
  color: var(--brand-dark);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-nav button {
  text-align: left;
  width: 100%;
  background: #ecfdf3;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(16,185,129,0.35);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--brand-dark);
  transition: var(--transition);
}

.admin-nav button:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.admin-nav button.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand-dark);
  box-shadow: 0 8px 18px rgba(21, 128, 61, 0.25);
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.module-card {
  background: #ffffff;
  padding: 1.85rem 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow);
  display: none;
}

.module-card.active {
  display: block;
}

.module-card,
.admin-table,
.admin-table td,
.admin-table th,
.welcome-card,
#loginCard,
.metric-box {
  cursor: default;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.metric-box {
  background: #ffffff;
  padding: 1.4rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow);
}

.metric-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.metric-value {
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 0.2rem;
  color: var(--brand-dark);
}

.search-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.search-row input,
.search-row select {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid #d1d5db;
  font: inherit;
  background: #ffffff;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  white-space: normal;
}

.admin-table th {
  background: #ecfdf3;
  color: var(--brand-dark);
  font-weight: 700;
}

.admin-table tbody tr:hover {
  background: #f5fdf7;
}

.admin-table.subtle thead th {
  background: #f8fafc;
}

.table-heading {
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 0.6rem;
}

.action-select {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.status-open { background: #ecfdf3; color: var(--brand-dark); }
.status-completed { background: #e0f2fe; color: #075985; }
.status-deleted { background: #fee2e2; color: #991b1b; }

.badge-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.scope-cell {
  max-width: 320px;
}

.scope-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.45rem;
}

.scope-box {
  --scope-collapsed-height: 4.5em;
  overflow: hidden;
  max-height: var(--scope-collapsed-height);
  transition: max-height 0.35s ease;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.scope-inner {
  white-space: normal;
  line-height: 1.5;
}

.quote-actions {
  display: flex;
  gap: 0.5rem;
}

.form-status {
  min-height: 1.2rem;
  font-weight: 600;
  color: var(--brand-dark);
}


.admin-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.admin-gallery-overlay.open {
  opacity: 1;
  visibility: visible;
}

.gallery-image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: none;
  border: none;
  color: #ffffffcc;
  cursor: pointer;
  padding: 0 20px;
}

.gallery-left { left: 10px; }
.gallery-right { right: 10px; }

.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 30, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9998;
}

.gallery-overlay.open {
  opacity: 1;
  visibility: visible;
}

.gallery-overlay .gallery-image {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.gallery-overlay .gallery-close,
.gallery-overlay .gallery-nav {
  color: #fff;
}

.settings-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(420px, 90vw);
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid rgba(148,163,184,0.35);
  box-shadow: 12px 0 28px rgba(15, 23, 42, 0.12);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  padding: 1.25rem 1.35rem;
  z-index: 10000;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}

.settings-drawer.open {
  transform: translateX(0);
}

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.settings-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1rem 0.25rem;
  background: #f8fafc;
}

.settings-card h5 {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audit-list,
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.audit-controls {
  margin-bottom: 0.75rem;
}

.audit-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.audit-controls select {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
}

.audit-list li,
.history-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.audit-main p,
.history-list p {
  margin: 0.1rem 0 0;
}

.audit-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 120px;
  text-align: right;
}

.audit-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.85rem;
  font-weight: 600;
}

.muted {
  color: var(--text-light);
  font-size: 0.92rem;
}

.history-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.history-meta small {
  color: var(--text-light);
}
