:root {
  color-scheme: light;
  --bg: #efe4cf;
  --bg-soft: #e4d5b9;
  --panel: rgba(255, 251, 245, 0.8);
  --panel-strong: rgba(252, 245, 234, 0.92);
  --panel-deep: rgba(19, 34, 24, 0.9);
  --text: #1b2e23;
  --text-soft: #566557;
  --heading: #122318;
  --line: rgba(18, 35, 24, 0.1);
  --line-strong: rgba(18, 35, 24, 0.18);
  --accent: #1d4d34;
  --accent-2: #2f6d49;
  --accent-3: #b68c57;
  --shadow: 0 22px 60px rgba(28, 44, 33, 0.14);
  --shadow-lg: 0 34px 86px rgba(28, 44, 33, 0.18);
  --max-width: 1180px;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1711;
  --bg-soft: #132118;
  --panel: rgba(20, 29, 22, 0.82);
  --panel-strong: rgba(18, 28, 21, 0.92);
  --panel-deep: rgba(243, 236, 221, 0.92);
  --text: #efe4cf;
  --text-soft: #c6baa2;
  --heading: #faf3e8;
  --line: rgba(243, 236, 221, 0.08);
  --line-strong: rgba(243, 236, 221, 0.16);
  --accent: #88c09b;
  --accent-2: #a5d7b5;
  --accent-3: #d1b180;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.38);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(182, 140, 87, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(47, 109, 73, 0.12), transparent 28%),
    var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-family: "Fraunces", serif; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(47, 109, 73, 0.35); outline-offset: 3px; }
.shell { width: min(calc(100% - 32px), var(--max-width)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-row, .header-actions, .brand-lockup, .site-nav, .cta-row, .footer-links, .carousel-controls, .capabilities {
  display: flex;
  align-items: center;
}
.header-row, .footer-grid { justify-content: space-between; gap: 24px; }
.header-row { padding: 16px 0; }
.header-actions, .site-nav { flex-wrap: wrap; gap: 14px 18px; }
.brand-lockup { gap: 14px; }
.brand-logo, .brand-logo-shell {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.brand-logo-shell { display: grid; place-items: center; font-weight: 800; }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-soft); }
.brand-title { font-weight: 800; letter-spacing: 0.08em; }
.site-nav a, .inline-link { color: var(--text-soft); position: relative; }
.site-nav a::after, .inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav a:hover::after, .inline-link:hover::after { transform: scaleX(1); }
.theme-toggle, .button, .ghost-button, .carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.theme-toggle, .ghost-button, .carousel-controls button { background: var(--panel); color: var(--heading); }
.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #f8f1e6;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(29, 77, 52, 0.24);
}
.theme-toggle:hover, .button:hover, .ghost-button:hover, .carousel-controls button:hover { transform: translateY(-2px); }
.hero-section, .section, .dashboard-shell, .auth-shell, .legal-shell, .service-request-shell { padding: 42px 0 56px; }
.hero-grid, .services-grid, .project-grid, .ops-grid, .legal-grid, .dashboard-grid, .stats-grid, .dashboard-panels, .workflow-grid, .pricing-summary, .hosting-grid, .payment-flow { display: grid; gap: 18px; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; }
.panel, .card, .auth-card, .legal-page-card, .testimonial-stage {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.panel, .card, .auth-card, .legal-page-card, .testimonial-stage { padding: 24px; }
.hero-copy { padding: clamp(28px, 4vw, 48px); }
.hero-title { font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.98; max-width: 11ch; margin: 14px 0; }
.hero-lead { max-width: 42rem; color: var(--text-soft); line-height: 1.7; font-size: 1.05rem; }
.hero-lead.small { font-size: 0.98rem; }
.metrics, .mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.metric, .mini-grid article, .list-row, .workflow-item, .sidebar-block, .legal-content-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel-strong) 86%, transparent);
}
.metric, .mini-grid article, .workflow-item, .sidebar-block, .legal-content-block { padding: 16px; }
.metric strong { display: block; font-size: 1.3rem; color: var(--heading); margin-bottom: 6px; }
.metric span, .mini-grid span, .fine-print, .workflow-item p, .sidebar-block p { color: var(--text-soft); line-height: 1.65; }
.status-board {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-deep) 12%, var(--panel)), var(--panel));
  border: 1px solid var(--line);
}
.status-pill, .card-tag { display: inline-flex; width: fit-content; padding: 7px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.status-pill { background: rgba(29, 77, 52, 0.12); color: var(--accent); }
.list-grid, .project-gallery, .legal-sections, .workflow-stack, .table-like { display: grid; gap: 12px; }
.list-grid { margin: 18px 0; }
.list-row, .table-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
}
.list-row span:last-child, .table-row span { font-weight: 700; color: var(--accent); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.section-head p { max-width: 42rem; color: var(--text-soft); line-height: 1.7; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-section { background: color-mix(in srgb, var(--panel-strong) 36%, transparent); border-block: 1px solid var(--line); }
.pricing-summary { grid-template-columns: 1.1fr 1fr 1fr; margin-bottom: 18px; }
.pricing-summary article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.pricing-summary strong, .pricing-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 1.2rem;
}
.pricing-summary article:first-child strong { font-size: clamp(2rem, 4vw, 3rem); }
.pricing-summary p, .pricing-card p, .flow-step p { color: var(--text-soft); line-height: 1.65; }
.hosting-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.payment-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
}
.flow-step {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 86%, transparent);
}
.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(29, 77, 52, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
}
.project-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr; }
.ops-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-tag {
  margin-bottom: 14px;
  background: rgba(182, 140, 87, 0.12);
  color: var(--accent-3);
  border: 1px solid rgba(182, 140, 87, 0.2);
}
.card h3, .legal-card h3, .panel-head h2 { margin-bottom: 10px; font-size: 1.3rem; }
.card p, .legal-card p, .panel-head span { color: var(--text-soft); line-height: 1.7; }
.project-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.project-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.testimonial-video {
  display: grid;
  place-items: center;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(29, 77, 52, 0.9), rgba(182, 140, 87, 0.78));
  color: #f8f1e6;
}
.play-badge {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.quote { display: grid; gap: 12px; margin-top: 18px; }
.quote blockquote { font-size: 1.18rem; line-height: 1.65; color: var(--heading); }
.legal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.footer { padding: 26px 0 54px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
.workflow-groups, .workflow-stack { display: grid; gap: 12px; margin-top: 14px; }
.auth-shell, .legal-shell { min-height: 100vh; display: grid; place-items: center; }
.auth-card, .legal-page-card { width: min(calc(100% - 32px), 760px); }
.flash-stack {
  position: sticky;
  top: 12px;
  z-index: 60;
  width: min(calc(100% - 32px), 720px);
  margin: 12px auto 0;
  display: grid;
  gap: 10px;
}
.flash-message {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.flash-message.success {
  border-color: rgba(29, 77, 52, 0.22);
  color: var(--accent);
}
.auth-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 12px 0; }
.auth-copy { color: var(--text-soft); }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.auth-form label { display: grid; gap: 8px; color: var(--text-soft); }
.auth-form input, select, input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  color: var(--heading);
}
.dashboard-grid { grid-template-columns: 320px 1fr; align-items: start; }
.dashboard-sidebar { position: sticky; top: 106px; }
.dashboard-title { margin-top: 10px; }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.dashboard-full { grid-column: 1 / -1; }
.image-manager-layout { grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); align-items: start; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 14px; }
.table-row + .table-row { border-top: 1px solid var(--line); }
.workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.image-list { display: grid; gap: 14px; }
.image-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 86%, transparent);
}
.image-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.image-card-body, .image-actions {
  display: flex;
  gap: 14px;
}
.image-card-body {
  align-items: center;
  justify-content: space-between;
}
.image-card-body p { color: var(--text-soft); line-height: 1.6; }
.form-error {
  color: #8f2f2f;
  font-size: 0.92rem;
}
.service-request-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-inline: 16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-soft) 42%, transparent), transparent 42%),
    var(--bg);
}
.service-request-card {
  width: min(100%, 900px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--panel-strong);
  box-shadow: var(--shadow-lg);
}
.service-request-hero {
  padding: clamp(32px, 6vw, 54px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg-soft) 74%, transparent), color-mix(in srgb, var(--panel-strong) 88%, transparent));
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  text-align: center;
}
.service-request-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
}
.service-request-eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.service-request-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--heading);
  line-height: 1;
  margin-bottom: 14px;
}
.service-request-hero p {
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--text-soft);
}
.service-request-form { padding: clamp(24px, 5vw, 50px); }
.service-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service-request-grid label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-weight: 700;
}
.service-request-grid label span { color: var(--heading); }
.service-request-grid .full { grid-column: 1 / -1; }
.service-request-grid textarea {
  min-height: 150px;
  resize: vertical;
}
.service-submit-button {
  width: 100%;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 80%, #000);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 76%, var(--accent-3)));
  color: #f8f1e6;
  font-size: 1.06rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(29, 77, 52, 0.26);
}
.service-request-note {
  margin: 0 clamp(24px, 5vw, 50px) clamp(24px, 5vw, 50px);
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-soft) 46%, var(--panel-strong));
  color: var(--text-soft);
  line-height: 1.7;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1120px) {
  .services-grid, .ops-grid, .legal-grid, .workflow-grid, .stats-grid, .hosting-grid, .payment-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid, .dashboard-grid, .footer-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
}
@media (max-width: 860px) {
  .hero-grid, .services-grid, .ops-grid, .dashboard-panels, .project-gallery, .mini-grid, .metrics, .image-manager-layout, .image-card, .pricing-summary { grid-template-columns: 1fr; }
  .service-request-grid { grid-template-columns: 1fr; }
  .section-head, .header-row { flex-direction: column; align-items: start; }
  .image-card-body, .image-actions { flex-direction: column; align-items: start; }
}
@media (max-width: 680px) {
  .shell { width: min(calc(100% - 20px), var(--max-width)); }
  .legal-grid, .stats-grid, .workflow-grid, .hosting-grid, .payment-flow { grid-template-columns: 1fr; }
  .table-row, .list-row { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
