:root {
  --primary-color: #005a9c;
  --primary-dark: #003e6b;
  --secondary-color: #d9534f;
  --light-bg: #f8f9fa;
  --dark-text: #2d2d2d;
  --light-text: #555;
  --border-color: #e5e7eb;
  --white: #fff;
  --green: #28a745;
  --green-dark: #218838;
  --focus: #ffd166;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  direction: rtl;
  line-height: 1.8;
  color: var(--dark-text);
  background-color: var(--white);
}

/* Utils */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--primary-color); transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.skip-link {
  position: absolute;
  right: 10px;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 2000;
}
.skip-link:focus { top: 10px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.3; margin-bottom: 1rem; color: var(--primary-dark); }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: var(--light-text); }

.section { padding: 80px 0; }
.section.light { background: var(--light-bg); }
.section-title.center, .section-lead.center { text-align: center; }
.section-lead { font-size: 1.1rem; color: var(--dark-text); margin-bottom: 2rem; }
.section-lead.narrow { max-width: 640px; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; border-radius: 10px; cursor: pointer; transition: .2s ease;
}
.btn.primary { background: var(--primary-color); color: var(--white); }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn.ghost:hover { background: var(--primary-color); color: var(--white); }
.btn.block { display: block; width: 100%; }

/* Header */
.topbar {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.site-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; }
.brand-title { font-size: 1.4rem; color: var(--primary-dark); }
.brand-sub { font-size: .85rem; color: var(--light-text); }

.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-link { font-weight: 700; color: var(--dark-text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }

.actions { display: flex; gap: 10px; align-items: center; }
.cta-whatsapp {
  background: var(--green); color: var(--white); padding: 8px 16px; border-radius: 999px;
  font-weight: 800; font-size: .95rem; transition: background .2s;
}
.cta-whatsapp:hover { background: var(--green-dark); }

.mobile-toggle { display: none; font-size: 1.8rem; background: none; border: none; cursor: pointer; color: var(--primary-dark); }

/* Hero */
.hero-section { background: var(--light-bg); }
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero-lead { font-size: 1.15rem; margin-bottom: 1.2rem; }
.hero-bullets { margin: 1rem 0 1.8rem; }
.hero-bullets li { position: relative; padding-right: 28px; margin-bottom: 8px; font-size: 1.05rem; font-weight: 700; }
.hero-bullets li::before { content: '✓'; color: var(--green); position: absolute; right: 0; top: 0; }

.hero-cta-group { display: flex; gap: 12px; margin-bottom: 1.2rem; flex-wrap: wrap; }
.emergency-note {
  font-weight: 800; color: #7a1411; background: #fdeceb; border: 1px solid #f7c7c4;
  padding: 14px; border-radius: 10px;
}

/* Hero card */
.hero-card {
  flex-basis: 340px; background: var(--white); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06); overflow: hidden; border-top: 6px solid var(--primary-color);
}
.hero-card-header { background: var(--primary-color); color: var(--white); padding: 14px 18px; font-size: 1.2rem; font-weight: 800; }
.hero-card-body { padding: 18px; }
.mini-label { font-weight: 800; color: var(--dark-text); margin-bottom: 6px; }
.checklist li { position: relative; padding-right: 20px; margin-bottom: 8px; }
.checklist li::before { content: '•'; color: var(--primary-color); position: absolute; right: 0; top: -2px; }

/* About */
.two-col { display: flex; gap: 40px; align-items: flex-start; }
.text-block { flex: 2; }
.feature-box { flex: 1; background: var(--white); border-radius: 10px; border: 1px solid var(--border-color); overflow: hidden; position: sticky; top: 100px; }
.feature-head { padding: 14px 18px; font-size: 1.2rem; font-weight: 800; background: var(--primary-dark); color: var(--white); }
.feature-body { padding: 18px; }
.sub-hint { font-size: .95rem; font-style: italic; color: var(--light-text); }
.cards-inline { display: flex; gap: 14px; margin-top: 1.2rem; }
.mini-card { flex: 1; background: var(--white); padding: 14px; border-radius: 10px; border: 1px solid var(--border-color); }
.mini-card-title { font-weight: 800; color: var(--primary-color); margin-bottom: 6px; }
.mini-card-body { font-size: .98rem; line-height: 1.7; }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--border-color); padding: 20px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.03); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.service-card h3 { color: var(--primary-color); }

.dot-list { margin-top: .8rem; }
.dot-list li { position: relative; padding-right: 18px; margin-bottom: 6px; font-weight: 700; }
.dot-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-color); position: absolute; right: 0; top: 10px; }

.followup-box { display: flex; margin-top: 2rem; background: var(--light-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); }
.followup-title { background: var(--primary-dark); color: var(--white); padding: 18px 24px; font-size: 1.15rem; font-weight: 800; min-width: 180px; text-align: center; }
.followup-body { padding: 18px 24px; font-size: 1.05rem; }
.tiny-note { font-size: .9rem; color: var(--light-text); margin-top: 8px; }

/* Conditions */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cond-card { background: var(--white); border-radius: 12px; padding: 20px; border: 1px solid var(--border-color); }
.alert-text { font-weight: 800; color: var(--secondary-color); }

/* Contact */
.contact-section { background: var(--primary-dark); color: var(--white); }
.contact-section .section-title, .contact-section .section-lead { color: var(--white); }
.contact-section a { color: var(--white); font-weight: 800; }
.contact-section a:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }
.contact-card { background: rgba(255,255,255,.06); border-radius: 12px; padding: 20px; }
.contact-row { display: flex; margin-bottom: 14px; gap: 10px; }
.contact-row .label { flex-basis: 120px; font-weight: 800; }
.contact-row .value { flex: 1; }

.contact-warning {
  color: #fff; background: rgba(217,83,79,.6); padding: 12px; border-radius: 10px; margin-top: 12px;
}

.contact-form-wrapper { background: var(--white); color: var(--dark-text); padding: 24px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.contact-form h3 { text-align: center; font-size: 1.6rem; color: var(--primary-dark); margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form label span { display: block; font-weight: 800; margin-bottom: 6px; color: var(--dark-text); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--light-bg); font-family: inherit;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 3px solid var(--focus); border-color: var(--primary-color);
}
.field-hint { display: block; font-size: .85rem; color: #b00020; min-height: 1.2em; }

/* FAQ */
.faq-section { background: var(--light-bg); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faq-item { background: var(--white); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.faq-item h4 { color: var(--primary-color); margin-bottom: .4rem; }

/* Footer */
.footer { background: #1f2937; color: #cbd5e1; padding: 48px 0 20px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 20px; }
.footer-brand { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: .4rem; }
.footer-sub { line-height: 1.9; max-width: 360px; }
.footer-head { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-links li, .footer-contact li { margin-bottom: .8rem; }
.footer-links a, .footer-contact a { color: #cbd5e1; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact .address { line-height: 1.8; }
.copyright { text-align: center; padding-top: 16px; border-top: 1px solid #334155; color: #94a3b8; font-size: .9rem; }

/* Floating CTAs */
.floating-cta {
  position: fixed; bottom: 18px; left: 18px; display: flex; gap: 10px; z-index: 1100;
}
.floating-cta a {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 999px; font-size: 1.2rem;
  background: var(--primary-color); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.floating-cta .floating-whatsapp { background: var(--green); }
.floating-cta a:focus { outline: 3px solid var(--focus); }

/* Responsive */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-sub { max-width: none; margin-inline: auto; }

  .nav-menu {
    display: none; flex-direction: column; width: 100%; text-align: center; background: var(--white);
    position: absolute; top: 78px; right: 0; left: 0; padding: 10px 0; border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 10px rgba(0,0,0,.05);
  }
  .nav-menu.active { display: flex; }
  .nav-link { padding: 10px 20px; }
  .mobile-toggle { display: inline-block; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; } h2 { font-size: 1.7rem; }
  .hero-inner { flex-direction: column-reverse; }
  .hero-card { flex-basis: auto; width: 100%; }
  .hero-cta-group { flex-direction: column; }
  .two-col { flex-direction: column; }
  .feature-box { position: static; }
  .cards-inline { flex-direction: column; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}


/* Card images */
.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
  .card-image { height: 180px; }
}
