/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c8963e;
  --gold-dark: #a87b2c;
  --ink: #1f2328;
  --gray: #5b6470;
  --line: #e6e8eb;
  --bg-alt: #f6f7f9;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 35, 40, .07);
  --shadow-hover: 0 12px 34px rgba(31, 35, 40, .13);
  --transition: .28s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Segoe UI", "Tahoma", "Cairo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 20px rgba(200,150,62,.35); }

.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #1eb257; box-shadow: 0 8px 20px rgba(37,211,102,.35); }

.btn-lg { padding: 16px 30px; font-size: 17px; width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-icon { color: var(--gold); font-size: 22px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f0e8 100%);
  padding: 70px 0 80px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(200,150,62,.13);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.45;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero p { color: var(--gray); font-size: 17px; margin-bottom: 30px; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }

.hero-phone { font-size: 15px; color: var(--gray); }
.hero-phone a { font-weight: 800; color: var(--gold-dark); font-size: 19px; }

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(23px, 3vw, 33px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-head p { color: var(--gray); font-size: 16px; }

/* ===== GRIDS ===== */
.grid { display: grid; gap: 22px; }

.services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200,150,62,.4);
}
.service-icon {
  font-size: 26px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(200,150,62,.12);
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.service-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 14.5px; line-height: 1.75; }

/* ===== ABOUT ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 { font-size: clamp(23px, 3vw, 32px); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--gray); margin-bottom: 16px; }
.about-list { display: grid; gap: 10px; margin-top: 20px; }
.about-list li {
  position: relative;
  padding-right: 26px;
  font-weight: 600;
}
.about-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 14px;
}
.about-image img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ===== WHY US ===== */
.why-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.why-icon {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid; place-items: center;
  font-size: 24px;
  font-weight: 800;
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 800; }
.why-card p { color: var(--gray); font-size: 14.5px; }

/* ===== PROJECTS ===== */
.projects-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.07); }

/* ===== SEO ===== */
.seo-content { max-width: 900px; }
.seo-content h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 18px; }
.seo-content p { color: var(--gray); margin-bottom: 16px; font-size: 16px; }
.seo-content strong { color: var(--ink); font-weight: 700; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  align-items: start;
}
.contact-buttons { display: grid; gap: 16px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fbfbfc;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,62,.15);
}
.field textarea { resize: vertical; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: rgba(200,150,62,.5); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  text-align: right;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-icon {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }
.faq-a p { color: var(--gray); font-size: 15px; }

/* ===== FOOTER ===== */
.footer { background: #1f2328; color: #cfd3d8; padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer h3 { color: #fff; font-size: 20px; margin-bottom: 12px; font-weight: 800; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-weight: 700; }
.footer p { font-size: 14.5px; line-height: 1.8; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { font-size: 14.5px; transition: color var(--transition); }
.footer ul a:hover { color: var(--gold); }
.footer a[href^="tel"] { color: var(--gold); font-weight: 700; font-size: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom a { color: var(--gold); font-weight: 700; }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; left: 30px;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--gold); }

/* ===== FLOATING BUTTONS ===== */
.float-btn {
  position: fixed;
  bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #fff;
  z-index: 950;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-call { right: 22px; background: var(--gold); }
.float-wa { left: 22px; background: var(--wa); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-inner, .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 72px; right: 0; left: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 380px; }
  .nav-links a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .section { padding: 60px 0; }
  .hero { padding: 50px 0 60px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .float-btn { width: 52px; height: 52px; font-size: 22px; bottom: 18px; }
  .float-call { right: 16px; }
  .float-wa { left: 16px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}