:root {
  --bg: #f2f7f7;
  --bg-alt: #e8f0ef;
  --surface: #ffffff;
  --text: #0f1720;
  --muted: #536374;
  --accent: #0e7a78;
  --accent-2: #f95f2d;
  --border: #d8e1e3;
  --danger: #c62828;
  --shadow: 0 20px 40px rgba(15, 23, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 0%, #d9efec 0%, transparent 35%), var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(242, 247, 247, 0.8);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand span {
  font-size: 1.5rem;
  line-height: 1;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(14, 122, 120, 0.2);
}

.nav-links {
  display: inline-flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  position: relative;
  padding: 72px 0 36px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy h1 {
  margin: 8px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
}

.lead {
  color: var(--muted);
  max-width: 56ch;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: linear-gradient(170deg, #12343b, #0e7a78);
  color: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.hero-card-foot {
  margin-top: 16px;
  color: #c6f7f7;
}

.bg-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  z-index: -1;
}

.orb-1 {
  right: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(249, 95, 45, 0.3), transparent 65%);
}

.orb-2 {
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(14, 122, 120, 0.26), transparent 65%);
}

.section {
  padding: 54px 0;
}

.page-hero {
  padding-top: 64px;
  padding-bottom: 24px;
}

.page-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 6px 0 10px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(232, 240, 239, 0.7));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 18px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card-link .service-card {
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.service-card-link:hover .service-card {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.service-content {
  padding: 16px;
}

.chip {
  display: inline-block;
  margin: 0 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e4f5f4;
  color: #0b5f5d;
  font-size: 0.8rem;
  font-weight: 700;
}

.service-content h3 {
  margin: 6px 0;
  font-family: "Space Grotesk", sans-serif;
}

.service-content p {
  color: var(--muted);
}

.service-content ul {
  padding-left: 18px;
  margin: 12px 0 0;
  display: grid;
  gap: 5px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.info-card h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.process-grid h3 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.price-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.price-card.featured {
  border-color: #2ca6a2;
  transform: translateY(-6px);
}

.service-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.service-detail-card img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.service-detail-card ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.offering-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.offering-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.offering-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.offering-price {
  margin: 0;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.order-form, .admin-grid-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.btn {
  border: none;
  background: linear-gradient(135deg, var(--accent), #0b5f5d);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-sm {
  padding: 8px 12px;
}

.btn-ghost {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-danger {
  background: #fff3f3;
  border: 1px solid #ffc8c8;
  color: var(--danger);
}

.form-message, .muted {
  color: var(--muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
}

.site-footer {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-body {
  background: radial-gradient(circle at 90% 0%, #ffede8 0%, transparent 34%), var(--bg);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.portal-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.payment-grid {
  display: grid;
  gap: 10px;
}

.disabled-link {
  opacity: 0.5;
  pointer-events: none;
}

.admin-header {
  position: static;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 18px;
}

.admin-highlight {
  border-color: #8cd1cf;
  background: linear-gradient(180deg, #f7fffe, #ffffff);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stats-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.stats-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.stats-card h3 {
  margin: 4px 0 0;
  font-size: 1.8rem;
  font-family: "Space Grotesk", sans-serif;
}

.login-card {
  max-width: 560px;
  margin: 0 auto;
}

.login-form {
  grid-template-columns: 1fr;
}

.admin-card h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.admin-flex-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.list-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  align-items: start;
}

.list-card img {
  width: 120px;
  aspect-ratio: 4 / 3;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.offering-admin-card img {
  width: 120px;
  height: 90px;
}

.list-card h3 {
  margin: 0 0 2px;
}

.list-actions, .order-controls {
  display: grid;
  gap: 8px;
}

.order-card {
  grid-template-columns: 1fr auto;
}

.file-label input {
  display: none;
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  background: #1fae52;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.whatsapp-float:hover {
  background: #1a9647;
}

.upload-preview {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16 / 9;
  height: 120px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: none;
}

@media (max-width: 1200px) {
  .container {
    width: min(1040px, 94%);
  }

  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(980px, 95%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-grid,
  .process-grid,
  .card-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .services-grid,
  .process-grid,
  .card-grid,
  .pricing-grid,
  .portal-grid,
  .service-detail-card,
  .offerings-grid,
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .list-card,
  .order-card {
    grid-template-columns: 1fr;
  }

  .order-form,
  .admin-grid-form {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.9rem;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .nav-wrap {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero {
    padding-top: 44px;
  }

  .section {
    padding: 42px 0;
  }

  .hero-card {
    padding: 18px;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: 94%;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .service-card img {
    height: 170px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-wrap {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: 93%;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand span {
    font-size: 1.3rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .btn {
    width: 100%;
    min-height: 42px;
  }

  .btn-sm {
    width: auto;
    min-height: auto;
  }

  .upload-actions .btn-sm {
    width: 100%;
  }

  .service-content,
  .admin-card,
  .price-card,
  .process-grid article,
  .info-card {
    padding: 14px;
  }

  input, select, textarea {
    min-height: 42px;
    font-size: 16px;
  }

  textarea {
    min-height: 110px;
  }

  .list-card img {
    width: 100%;
    height: 170px;
  }
}

@media (max-width: 400px) {
  .hero-copy h1,
  .page-title {
    line-height: 1.2;
  }

  .nav-links {
    font-size: 0.86rem;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .whatsapp-float span {
    display: none;
  }
}
