/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0e1b;
  --bg-card: #111827;
  --bg-card-hover: #1a2236;
  --gold: #f5a623;
  --gold-light: #fbbf24;
  --gold-dark: #d4890a;
  --green: #22c55e;
  --green-dark: #16a34a;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(245, 166, 35, 0.15);
  --glow-gold: rgba(245, 166, 35, 0.35);
  --glow-green: rgba(34, 197, 94, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Page Wrapper ===== */
.page-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 100px;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 8px 0 24px;
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.logo-ring {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
}

.logo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.logo-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a2236, #0d1220);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--glow-gold), inset 0 0 20px rgba(0,0,0,0.4);
}

.logo-icon {
  width: 52px;
  height: 52px;
}

.logo-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 2px;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 0 8px;
}

/* ===== Quick Actions ===== */
.quick-actions {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 32px;
}

.action-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
  border-left: 1px solid var(--border);
}

.action-item:first-child {
  border-left: none;
}

.action-item svg {
  width: 20px;
  height: 20px;
}

.action-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.action-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0e1b !important;
  font-weight: 700;
  border-left: none;
}

.action-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.action-cta svg {
  stroke: #0a0e1b;
}

/* ===== Contact Section ===== */
.contact-section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.5;
}

.section-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.7;
}

.btn-text {
  flex: 1;
  text-align: center;
}

.btn-icon svg {
  width: 22px;
  height: 22px;
}

.btn-phone {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0e1b;
  box-shadow: 0 4px 20px var(--glow-gold);
}

.btn-phone:hover {
  box-shadow: 0 6px 28px var(--glow-gold);
}

.btn-phone .btn-icon svg {
  stroke: #0a0e1b;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-green);
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 28px var(--glow-green);
}

/* ===== Cards ===== */
.featured-card,
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.featured-card:hover,
.service-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.services-grid .service-card {
  margin-bottom: 0;
}

.services-grid .card-title {
  font-size: 0.88rem;
}

.services-grid .card-desc {
  font-size: 0.75rem;
}

.services-grid .card-icon {
  width: 28px;
  height: 28px;
}

/* ===== Stats ===== */
.stats-row {
  display: flex;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  margin-bottom: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Legal / Footer ===== */
.legal-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.legal-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'Cairo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s;
}

.legal-toggle:hover {
  opacity: 0.8;
}

.chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.legal-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.legal-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.legal-content.open {
  max-height: 600px;
  padding-top: 16px;
}

.legal-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 12px;
  text-align: justify;
}

.legal-content a {
  color: var(--gold);
  font-weight: 600;
}

.copyright {
  text-align: center !important;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-muted) !important;
}

/* ===== Floating Action Buttons ===== */
.fab-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 1000;
  padding: 0 16px;
  max-width: 480px;
  width: 100%;
  justify-content: center;
}

.fab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fab-enter 0.5s ease backwards;
}

.fab:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes fab-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fab:hover {
  transform: translateY(-3px);
}

.fab:active {
  transform: translateY(0);
}

.fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.fab-call {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0e1b;
  box-shadow: 0 6px 24px var(--glow-gold);
}

.fab-call svg {
  stroke: #0a0e1b;
}

.fab-call:hover {
  box-shadow: 0 8px 32px var(--glow-gold);
}

.fab-whatsapp {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 24px var(--glow-green);
}

.fab-whatsapp:hover {
  box-shadow: 0 8px 32px var(--glow-green);
}

.fab-label {
  white-space: nowrap;
}

/* ===== Responsive — wider screens ===== */
@media (min-width: 481px) {
  .page-wrapper {
    max-width: 520px;
    padding: 32px 24px 110px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .page-wrapper {
    max-width: 600px;
  }

  .services-grid {
    gap: 16px;
  }
}
