/* ===========================================================
   Al Dupane Souq — Stylesheet
   Palette: #FFFFFD  #FE7943 (orange)  #8BBF62 (green)  #005F3E (deep green)
   =========================================================== */

:root {
  --cream: #FFFFFD;
  --orange: #FE7943;
  --green: #8BBF62;
  --deep: #005F3E;

  --ink: #1f2d27;
  --muted: #5d6b63;
  --line: #e6eae5;
  --soft: #f4f8f1;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(0, 95, 62, 0.35);
  --shadow-lg: 0 30px 60px -28px rgba(0, 95, 62, 0.45);
  --max: 1160px;
  --font: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.section { padding: 92px 0; }

h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(254, 121, 67, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag.light { color: #fff; background: rgba(255, 255, 255, .18); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-lead { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 24px -10px rgba(254,121,67,.6); }
.btn-primary:hover { background: #ef6228; }
.btn-outline { background: transparent; border-color: var(--deep); color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--cream); }
.btn-block { width: 100%; }
.btn-call { background: var(--deep); color: #fff; padding: 11px 20px; }
.btn-call:hover { background: #00492f; }
.btn-call .phone-ico { width: 18px; height: 18px; fill: currentColor; }

/* ===========================================================
   BLOCK 1 — Header
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 253, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--deep); letter-spacing: .01em; }

.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--orange);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--deep); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.social-icons { display: flex; gap: 8px; }
.social-icons a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--soft);
  transition: background .2s ease, transform .2s ease;
}
.social-icons a svg { width: 18px; height: 18px; fill: var(--deep); }
.social-icons a:hover { background: var(--green); transform: translateY(-2px); }
.social-icons a:hover svg { fill: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--deep); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================================================
   BLOCK 2 — Hero
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(139,191,98,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(254,121,67,.12), transparent 60%),
    var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 84px 22px 96px;
}
.eyebrow {
  display: inline-block;
  font-weight: 600; font-size: .85rem; letter-spacing: .06em;
  color: var(--deep);
  background: rgba(139,191,98,.18);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  letter-spacing: -.01em;
  color: var(--deep);
}
.hero h1 { margin-bottom: 18px; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li { font-size: .94rem; font-weight: 500; color: var(--ink); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  rotate: -3deg;
  transition: rotate .3s ease, transform .3s ease;
  width: min(420px, 88%);
}
.hero-card:hover { rotate: 0deg; transform: translateY(-4px); }
.hero-photo {
  width: 100%;
  height: clamp(360px, 46vw, 480px);
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.blob { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 1; }
.blob-green { width: 150px; height: 150px; background: rgba(139,191,98,.45); top: 6%; right: 8%; animation: float 7s ease-in-out infinite; }
.blob-orange { width: 110px; height: 110px; background: rgba(254,121,67,.4); bottom: 8%; left: 6%; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-18px); } }

/* ===========================================================
   BLOCK 3 — About
   =========================================================== */
.about-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text h2 { margin-bottom: 18px; color: var(--deep); }
.about-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stat { }
.stat strong { display: block; font-size: 1.7rem; color: var(--orange); font-weight: 800; line-height: 1; }
.stat span { font-size: .88rem; color: var(--muted); }

.quote-card {
  background: linear-gradient(155deg, var(--deep), #00754c);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.quote-card::before {
  content: "“";
  font-family: var(--serif);
  position: absolute; top: 4px; left: 20px;
  font-size: 5rem; color: rgba(255,255,255,.18); line-height: 1;
}
.quote-card p { font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin-bottom: 16px; position: relative; }
.quote-card span { font-size: .9rem; opacity: .85; font-weight: 500; }

/* ===========================================================
   BLOCK 4 — Services
   =========================================================== */
.services { background: var(--soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-media { overflow: hidden; }
.service-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 24px 26px 28px; }
.service-ico {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(139,191,98,.2), rgba(254,121,67,.15));
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.18rem; color: var(--deep); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .96rem; }
.service-card--cta { background: linear-gradient(155deg, var(--green), var(--deep)); border-color: transparent; color: #fff; justify-content: center; }
.service-card--cta h3, .service-card--cta p { color: #fff; }
.service-card--cta .service-ico { background: rgba(255,255,255,.2); }
.link-arrow { display: inline-block; margin-top: 12px; font-weight: 600; color: #fff; }
.link-arrow:hover { color: var(--cream); }

/* ===========================================================
   BLOCK 5 — Why Choose Us
   =========================================================== */
.why {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(139,191,98,.25), transparent 55%),
    var(--deep);
  color: #fff;
}
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: center; }
.why-intro h2 { color: #fff; margin-bottom: 16px; }
.why-intro p { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.why-list { list-style: none; display: grid; gap: 18px; }
.why-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  transition: background .2s ease, transform .2s ease;
}
.why-list li:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.why-ico { font-size: 1.5rem; line-height: 1.4; }
.why-list h3 { color: #fff; font-size: 1.08rem; margin-bottom: 3px; }
.why-list p { color: rgba(255,255,255,.78); font-size: .94rem; margin: 0; }

/* ===========================================================
   BLOCK 6 — Contact
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.contact-info h2 { color: var(--deep); margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }

.info-list { list-style: none; display: grid; gap: 18px; margin-bottom: 26px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; }
.info-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--soft); border-radius: 12px;
}
.info-list strong { display: block; color: var(--deep); font-size: .9rem; }
.info-list a { color: var(--muted); transition: color .18s ease; }
.info-list a:hover { color: var(--orange); }

.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: .88rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  background: var(--soft); color: var(--deep);
  border: 1px solid var(--line);
  transition: .18s ease;
}
.chip:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.chip-wa { background: var(--green); color: #fff; border-color: var(--green); }
.chip-wa:hover { background: var(--deep); border-color: var(--deep); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--deep); margin-bottom: 20px; font-size: 1.3rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  font-family: inherit; font-size: .98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color .18s ease, box-shadow .18s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(139,191,98,.18);
}
.field input.invalid, .field textarea.invalid { border-color: var(--orange); }
.form-note { margin-top: 14px; font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form-note.ok { color: var(--deep); }
.form-note.err { color: var(--orange); }

/* ===========================================================
   BLOCK 7 — Footer
   =========================================================== */
.site-footer { background: #07291d; color: rgba(255,255,255,.78); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.brand-footer .brand-name { color: #fff; }
.footer-about p { margin: 16px 0 18px; font-size: .95rem; max-width: 360px; }
.footer-social a { background: rgba(255,255,255,.1); }
.footer-social a svg { fill: #fff; }
.footer-social a:hover { background: var(--orange); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .95rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: .86rem; color: rgba(255,255,255,.6); margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 14px 30px -10px rgba(0,95,62,.6);
  transition: transform .2s ease, background .2s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); background: var(--deep); }

/* ===========================================================
   Reveal animation
   =========================================================== */
.section, .service-card, .why-list li { will-change: opacity, transform; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { order: -1; min-height: 280px; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px;
    transform: translateY(-130%);
    transition: transform .3s ease;
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; order: 3; }
  .social-icons { display: none; }
  .brand-name { font-size: 1.05rem; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
  .btn-call span, .btn-call { font-size: .9rem; padding: 10px 16px; }
  .about-stats { gap: 20px; }
}
