:root {
  --primary: #0e7c5a;
  --primary-dark: #0a5d44;
  --primary-light: #e6f5ef;
  --accent: #f97316;
  --bg: #ffffff;
  --soft: #f7faf9;
  --text: #0f1f1a;
  --muted: #5b6b66;
  --border: #e3eae7;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(14,124,90,.18);
  --shadow-lg: 0 25px 50px -20px rgba(14,124,90,.25);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { font-weight: 800; font-size: 18px; color: var(--text); }
.brand-slogan { font-size: 12px; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 60%);
  padding: 70px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { background: #d8efe5; color: var(--primary-dark); font-size: 13px; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; font-weight: 800; margin-bottom: 20px; letter-spacing: -.02em; }
.hero p { font-size: 17px; color: var(--muted); margin-bottom: 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1faa52; color: #fff; transform: translateY(-2px); }

.hero-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.hero-card h3 { font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.hero-card .phone { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.hero-card .small { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.hero-card .divider { height: 1px; background: var(--border); margin: 18px 0; }
.hero-info { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.hero-info b { color: var(--primary-dark); }

.stats { padding: 50px 0; background: var(--soft); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); text-align: center; transition: transform .2s; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.stat-card .value { font-size: 32px; font-weight: 800; color: var(--primary); }

section { padding: 70px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: all .25s; }
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon svg { width: 30px; height: 30px; fill: var(--primary); }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; }

.process { background: var(--soft); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.process-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); position: relative; }
.process-num { position: absolute; top: -16px; left: 24px; background: var(--primary); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.process-card h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.process-card p { color: var(--muted); font-size: 14px; }

.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 6px; }
.cta-band p { opacity: .9; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-band .btn-primary:hover { background: #f0f0f0; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty { text-align: center; color: var(--muted); padding: 60px 20px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-features { list-style: none; margin-top: 24px; }
.about-features li { padding: 10px 0; display: flex; align-items: center; gap: 10px; }
.about-features li::before { content: '✓'; color: var(--primary); font-weight: 800; background: var(--primary-light); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: var(--soft); padding: 30px; border-radius: var(--radius); }
.contact-info h3 { font-size: 22px; margin-bottom: 18px; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.contact-info li:last-child { border-bottom: none; }
.contact-info .label { font-size: 13px; color: var(--muted); }
.contact-info .value { font-weight: 600; }

.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: #fff; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); }
.form textarea { resize: vertical; min-height: 120px; }
.form button { justify-content: center; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d8efe5; color: var(--primary-dark); }
.alert-error { background: #fde2e2; color: #b91c1c; }

.site-footer { background: #0c1814; color: #c5d0cc; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 60px 0 30px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-title { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-text { color: #8a9994; font-size: 14px; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { padding: 6px 0; font-size: 14px; }
.footer-links a { color: #c5d0cc; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 12px; }
.social-row a { background: rgba(255,255,255,.08); width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.social-row a:hover { background: var(--primary); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--accent); font-weight: 600; }

.float-wa, .float-call {
  position: fixed; right: 22px; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 99; transition: transform .2s;
}
.float-wa { bottom: 22px; background: #25D366; }
.float-call { bottom: 90px; background: var(--primary); }
.float-wa:hover, .float-call:hover { transform: scale(1.08); }
.float-wa svg, .float-call svg { width: 28px; height: 28px; fill: #fff; }

.page-header { background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%); padding: 60px 0 40px; text-align: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 10px; }
.page-header p { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .header-inner { position: relative; }
  section { padding: 50px 0; }
}

.admin-body { background: #f4f6f8; min-height: 100vh; }
.admin-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.admin-login-card { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; }
.admin-login-card h1 { text-align: center; margin-bottom: 8px; font-size: 24px; }
.admin-login-card p { text-align: center; color: var(--muted); margin-bottom: 24px; font-size: 14px; }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0c1814; color: #fff; padding: 24px 0; }
.admin-sidebar .brand { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; color: #fff; }
.admin-sidebar .brand-title { color: #fff; font-size: 16px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 24px; color: #c5d0cc; font-weight: 500; font-size: 14px; transition: all .15s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(14,124,90,.2); color: #fff; border-left: 3px solid var(--primary); padding-left: 21px; }
.admin-main { padding: 30px 40px; overflow-x: auto; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 24px; font-weight: 700; }
.admin-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,.05); margin-bottom: 20px; }
.admin-card h2 { font-size: 18px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select { padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 90px; }
.field small { color: var(--muted); font-size: 12px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-table th { background: var(--soft); font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.dash-card { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.dash-card .label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.dash-card .value { font-size: 28px; font-weight: 800; color: var(--primary); }

.logo-preview { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.logo-preview img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--border); border-radius: 12px; padding: 6px; background: #fff; }

.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.gallery-admin-item { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--soft); }
.gallery-admin-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-admin-item .del-btn { position: absolute; top: 8px; right: 8px; background: rgba(220,38,38,.95); color: #fff; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-weight: 700; }

@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 14px 0; }
  .admin-nav { display: flex; overflow-x: auto; }
  .admin-nav a { white-space: nowrap; padding: 10px 14px; }
  .admin-nav a:hover, .admin-nav a.active { border-left: none; border-bottom: 3px solid var(--primary); padding-left: 14px; }
  .admin-main { padding: 20px; }
  .field-grid { grid-template-columns: 1fr; }
}
