.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 600px; } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 0;
  text-align: center;
}
.hero-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
@media (min-width: 768px) { .hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .hero-title { font-size: 56px; } }
.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 22px; } }
.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-desc { font-size: 16px; } }
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: var(--accent-light); }
.btn-white { background: var(--white); color: var(--gray-900); }
.btn-white:hover { background: var(--gray-100); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); }
.hero-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
}
.hero-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}
.hero-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}
@media (min-width: 768px) { .hero-stat-value { font-size: 24px; } }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}
@media (min-width: 768px) { .hero-stat-label { font-size: 14px; } }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .section-header { margin-bottom: 56px; } }
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag-accent {
  background: rgba(249, 168, 37, 0.15);
  color: var(--accent-dark);
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
@media (min-width: 768px) { .section-title { font-size: 36px; } }
.section-desc {
  font-size: 14px;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (min-width: 768px) { .section-desc { font-size: 16px; } }

.card-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
@media (min-width: 768px) { .card { padding: 24px; } }
.card:hover {
  border-color: rgba(27, 94, 32, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: background 0.3s, color 0.3s;
}
.card:hover .card-icon { background: var(--primary); color: var(--white); }
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.card-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.feature-title { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.feature-desc { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

.two-col {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.img-rounded {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.img-rounded img { width: 100%; height: auto; object-fit: cover; }
.badge-float {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .badge-float { bottom: -24px; left: -24px; padding: 16px 24px; }
}
.badge-float strong { font-size: 20px; font-weight: 800; display: block; }
@media (min-width: 768px) { .badge-float strong { font-size: 24px; } }
.badge-float span { font-size: 12px; font-weight: 500; }
@media (min-width: 768px) { .badge-float span { font-size: 14px; } }

.floating-actions {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-actions a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}
.floating-actions a:hover { transform: translateY(-2px); }
.floating-actions .float-phone { background: var(--primary); }
.floating-actions .float-phone:hover { background: var(--primary-light); }
.floating-actions .float-whatsapp { background: #22c55e; }
.floating-actions .float-whatsapp:hover { background: #16a34a; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 14px; }
.breadcrumb a, .breadcrumb span { display: inline-flex; align-items: center; gap: 4px; color: var(--gray-500); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .active { color: var(--gray-900); font-weight: 500; }
.breadcrumb-light a, .breadcrumb-light span { color: rgba(255,255,255,0.7); }
.breadcrumb-light a:hover { color: var(--white); }
.breadcrumb-light .active { color: var(--white); }
.breadcrumb i { font-size: 16px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown:hover .dropdown-toggle { background: var(--gray-50); color: var(--primary); }
.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 50;
  display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-right .dropdown-menu { left: auto; right: 0; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--gray-700);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--primary); }
.dropdown-menu .dropdown-header {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 4px;
}
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; background: none; border: none; font-size: 14px; font-weight: 500; color: var(--gray-700); padding: 8px 12px; border-radius: var(--radius-sm); transition: all 0.2s; }
.dropdown-toggle:hover { background: var(--gray-50); color: var(--primary); }
.dropdown-toggle i { font-size: 16px; transition: transform 0.2s; }
.dropdown.open .dropdown-toggle i { transform: rotate(180deg); }

/* Mobile submenu */
.mobile-submenu { padding-left: 16px; display: none; }
.mobile-submenu.open { display: block; }
.mobile-submenu a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 13px; color: var(--gray-600); border-radius: var(--radius-sm); }
.mobile-submenu a:hover { background: var(--gray-50); color: var(--primary); }
.mobile-submenu .sub-header { font-size: 12px; font-weight: 600; color: var(--primary); padding: 6px 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.mobile-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--gray-700); background: none; border: none; cursor: pointer; border-radius: var(--radius-sm); }
.mobile-toggle:hover { background: var(--gray-50); }
.mobile-toggle i { transition: transform 0.2s; }
.mobile-toggle.open i { transform: rotate(180deg); }

/* Calc */
.calc-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .calc-form { padding: 40px; } }
.calc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.calc-icon { width: 40px; height: 40px; background: rgba(27,94,32,0.1); color: var(--primary); border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.calc-title { font-size: 20px; font-weight: 700; color: var(--primary-dark); }
@media (min-width: 768px) { .calc-title { font-size: 28px; } }
.calc-subtitle { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; padding-left: 52px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-group .btn-group-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-group .btn-group-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-group .btn-group-btn:hover:not(.active) { border-color: rgba(27,94,32,0.3); }
.range-wrap { margin-bottom: 24px; }
.range-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--gray-700); margin-bottom: 8px; }
.range-value { color: var(--primary); font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--primary); height: 6px; }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.result-box {
  background: rgba(249,168,37,0.15);
  border: 1px solid rgba(249,168,37,0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
}
.result-price { font-size: 32px; font-weight: 800; color: var(--primary-dark); }
.result-label { font-size: 14px; color: var(--gray-600); margin-bottom: 4px; }
.result-note { font-size: 12px; color: var(--gray-500); margin-top: 12px; }
.result-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .result-grid { grid-template-columns: repeat(3, 1fr); } }
.result-grid-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 8px 12px; font-size: 12px; color: var(--gray-500); text-align: center; }
.result-grid-item strong { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 2px; }

/* Calc item row (hacim) */
.calc-item-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 80px 60px 32px;
  gap: 8px;
  align-items: end;
  padding: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .calc-item-row { grid-template-columns: 1fr 1fr 1fr 32px; }
  .calc-item-row .col-hide-sm { display: none; }
}
.calc-item-row .form-group { margin-bottom: 0; }
.preset-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
}
@media (min-width: 640px) { .preset-panel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preset-panel { grid-template-columns: repeat(3, 1fr); } }
.preset-btn {
  text-align: left;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}
.preset-btn:hover { border-color: rgba(27,94,32,0.3); color: var(--primary); }
.preset-btn strong { display: block; font-size: 14px; font-weight: 500; color: var(--gray-800); margin-bottom: 2px; }
.preset-btn span { font-size: 12px; color: var(--gray-400); }

/* Meta grid (detail page) */
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 768px) { .meta-grid { grid-template-columns: repeat(4, 1fr); } }
.meta-item { background: var(--surface); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.meta-icon { width: 32px; height: 32px; background: rgba(27,94,32,0.1); color: var(--primary); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 8px; }
.meta-label { font-size: 12px; color: var(--gray-500); margin-bottom: 2px; }
.meta-value { font-size: 14px; font-weight: 700; color: var(--gray-900); }

/* Sidebar */
.sticky-sidebar { position: sticky; top: 96px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 20px; }
@media (min-width: 768px) { .sidebar-card { padding: 24px; } }
.sidebar-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.sidebar-text { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); transition: color 0.2s; }
.sidebar-links a:hover { color: var(--primary); }
.sidebar-divider { border-top: 1px solid var(--gray-200); margin: 16px 0; }

/* Detail layout */
.detail-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: 2fr 1fr; gap: 48px; } }
.detail-img { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px; }
.detail-img img { width: 100%; height: 256px; object-fit: cover; }
@media (min-width: 768px) { .detail-img img { height: 320px; } }
.detail-body { font-size: 15px; line-height: 1.7; color: var(--gray-700); }
.detail-body h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-top: 24px; margin-bottom: 12px; }
.detail-body ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.detail-body ul li { margin-bottom: 8px; }
.detail-body strong { color: var(--gray-900); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  background: rgba(27,94,32,0.1);
  color: var(--primary);
  transition: all 0.2s;
  text-decoration: none;
}
.detail-tag:hover { background: var(--primary); color: var(--white); }

/* Media card (service/region list) */
.media-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: block;
  text-decoration: none;
}
.media-card:hover {
  border-color: rgba(27, 94, 32, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.media-card-img { height: 160px; overflow: hidden; }
@media (min-width: 768px) { .media-card-img { height: 192px; } }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.media-card:hover .media-card-img img { transform: scale(1.05); }
.media-card-body { padding: 20px; }
.media-card-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; transition: color 0.2s; }
.media-card:hover .media-card-title { color: var(--primary); }
.media-card-text { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media-card-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--gray-500); margin-bottom: 12px; }
.media-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--primary); }
.media-card-link i { font-size: 16px; }

/* CTA box */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
@media (min-width: 768px) { .cta-box { padding: 32px; } }
.cta-title { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
@media (min-width: 768px) { .cta-title { font-size: 22px; } }
.cta-text { font-size: 14px; color: var(--gray-600); max-width: 640px; margin: 0 auto 20px; line-height: 1.6; }
.cta-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.cta-buttons .btn { flex: 1; min-width: 140px; max-width: 200px; }

/* Checkbox helper */
.checkbox-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); cursor: pointer; margin-top: 8px; }
.checkbox-wrap input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }

/* Add item dashed button */
.btn-dashed {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-500);
  background: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.btn-dashed:hover { color: var(--primary); border-color: rgba(27,94,32,0.3); }

/* Remove item button */
.btn-remove {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--gray-400);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-remove:hover { color: #ef4444; background: rgba(239,68,68,0.08); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--primary-dark);
  padding: 64px 0;
}
@media (min-width: 768px) { .page-hero { padding: 96px 0; } }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.page-hero-content { position: relative; z-index: 1; }

/* Quick link cards */
.quick-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}
.quick-card:hover { border-color: rgba(27,94,32,0.2); box-shadow: var(--shadow-lg); }
.quick-card-icon { width: 40px; height: 40px; background: rgba(27,94,32,0.1); color: var(--primary); border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 8px; }
.quick-card-title { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.quick-card-text { font-size: 12px; color: var(--gray-500); }