/* =========================================================
   Papa Jamil SPELLS CASTER — Source-matched romantic theme
   Palette: deep crimson / charcoal / white / soft rose
   No yellow. Full-width sections, boxed content, mobile-first
   ========================================================= */

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

:root {
  --crimson: #B11226;
  --crimson-dark: #7A0C2E;
  --crimson-deep: #5C0A22;
  --ink: #1A1A1A;
  --charcoal: #222222;
  --header-bg: #1E1E1E;
  --white: #FFFFFF;
  --off: #F7F4F5;
  --muted: #5A5A5A;
  --rose-soft: #F5E6EA;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --shadow: 0 10px 40px rgba(0,0,0,.12);
  --shadow-soft: 0 4px 18px rgba(0,0,0,.08);
  --radius: 4px;
  --max: 1140px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration: none; transition: .25s ease; }
a:hover { color: var(--crimson-dark); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .02em;
}

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

/* ========== TOP STRIP ========== */
.top-strip {
  background: var(--crimson-deep);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  letter-spacing: .03em;
}
.top-strip a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.top-strip a:hover { color: #ffd0d8; }

/* ========== HEADER (dark like source) ========== */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: .55rem 1.1rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px 6px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.brand-text .name .dr { color: #E8E8E8; }
.brand-text .name .Papa Jamil { color: var(--crimson); }
.brand-text .motto {
  font-size: .68rem;
  color: #C9C9C9;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.brand-text .phone-mini {
  font-size: .72rem;
  color: #fff;
  font-weight: 700;
  margin-top: 2px;
}

.nav-toggle {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  border-radius: 4px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
}
.nav-toggle span {
  width: 20px; height: 2px; background: #fff; display: block; transition: .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: #161616;
  border-top: 1px solid rgba(255,255,255,.08);
}
.main-nav.open { display: block; }
.main-nav a {
  display: block;
  color: #EDEDED;
  padding: .95rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-transform: capitalize;
}
.main-nav a:hover,
.main-nav a.active { color: var(--crimson); background: rgba(177,18,38,.12); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #111 center/cover no-repeat;
  padding: 4.5rem 1.2rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,8,10,.55) 0%, rgba(20,6,12,.72) 55%, rgba(10,4,8,.82) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.hero-kicker {
  font-size: clamp(1.05rem, 3.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  color: #fff;
}
.hero-title {
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: .95;
  margin: 0 auto 1.6rem;
  max-width: 640px;
  font-weight: 500;
}
.hero .btn { min-width: 210px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: .25s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-red {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 8px 22px rgba(177,18,38,.35);
}
.btn-red:hover {
  background: var(--crimson-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,.3);
}
.btn-wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--crimson-dark); }
.btn-wide { width: 100%; max-width: 520px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Big phone CTA strip like source */
.phone-cta-bar {
  background: var(--white);
  padding: 1.4rem 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.phone-cta-bar .btn {
  font-size: clamp(.95rem, 2.8vw, 1.25rem);
  padding: 1.05rem 1.5rem;
  width: 100%;
  max-width: 640px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 3.2rem 0;
  width: 100%;
}
.section-off { background: var(--off); }
.section-dark {
  background: var(--charcoal);
  color: #fff;
}
.section-crimson {
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  color: #fff;
  text-align: center;
}
.section-title {
  text-align: center;
  margin-bottom: 2rem;
}
.section-title h2 {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .55rem;
}
.section-dark .section-title h2,
.section-crimson .section-title h2 { color: #fff; }
.section-title p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}
.section-dark .section-title p,
.section-crimson .section-title p { color: rgba(255,255,255,.85); }
.section-title .line {
  width: 56px; height: 3px;
  background: var(--crimson);
  margin: .85rem auto 0;
}

/* ========== IMAGE + TEXT SPLITS ========== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
  min-height: 240px;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.split-copy h2,
.split-copy h3 {
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .7rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.split-copy p { color: var(--muted); margin-bottom: .9rem; }
.split-copy .btn { margin-top: .4rem; }

/* ========== SERVICE CARDS WITH IMAGES ========== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: .3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card-img {
  height: 200px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body {
  padding: 1.35rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--crimson-dark);
  margin-bottom: .45rem;
}
.card-body p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1rem;
  flex: 1;
}

/* ========== TESTIMONIALS ========== */
.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.quote {
  background: #fff;
  border-left: 4px solid var(--crimson);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border-radius: 0 6px 6px 0;
}
.quote p {
  font-style: italic;
  color: #333;
  margin-bottom: .8rem;
}
.quote .who { font-weight: 800; color: var(--crimson-dark); }
.quote .where { color: #888; font-size: .85rem; }

/* ========== CONTACT FORM ========== */
.form-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.25rem;
  max-width: 640px;
  margin: 0 auto;
  border-top: 4px solid var(--crimson);
}
.form-panel h3 {
  text-align: center;
  color: var(--crimson-dark);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
.field { margin-bottom: .95rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--crimson-deep);
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid #E0D4D8;
  border-radius: 4px;
  font: inherit;
  background: #FAFAFA;
  transition: .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(177,18,38,.12);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-status {
  display: none;
  margin-top: .9rem;
  padding: .8rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}
.form-status.ok { display: block; background: #E8F8EE; color: #146C2E; }
.form-status.err { display: block; background: #FDECEC; color: #A11212; }

/* ========== PAGE BANNER ========== */
.page-banner {
  background: var(--header-bg) center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 3.2rem 1.2rem;
  position: relative;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(12,6,10,.68);
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 {
  text-transform: uppercase;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  margin-bottom: .35rem;
}
.page-banner p { opacity: .9; }

/* ========== CONTENT BLOCK ========== */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.content-wrap h2 {
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .8rem;
}
.content-wrap h3 {
  color: var(--crimson-dark);
  margin: 1.4rem 0 .5rem;
  text-transform: uppercase;
}
.content-wrap p { color: var(--muted); margin-bottom: .9rem; }
.spell-item {
  background: #fff;
  border: 1px solid #eee;
  border-left: 4px solid var(--crimson);
  padding: 1.1rem 1.2rem;
  margin-bottom: .75rem;
  border-radius: 0 6px 6px 0;
  box-shadow: var(--shadow-soft);
}
.spell-item strong {
  display: block;
  color: var(--crimson-dark);
  text-transform: uppercase;
  margin-bottom: .25rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #141414;
  color: #C8C8C8;
  padding: 3rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
}
.footer-col h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: .95rem;
  margin-bottom: .8rem;
  letter-spacing: .06em;
}
.footer-col a { color: #BDBDBD; }
.footer-col a:hover { color: var(--crimson); }
.footer-col li { margin-bottom: .4rem; }
.footer-col p { font-size: .92rem; line-height: 1.65; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.2rem 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .82rem;
  color: #888;
}

/* ========== PROFESSIONAL FLOATING WIDGETS (Chaty-style) ========== */
.float-dock {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.float-btn:hover { transform: translateY(-2px) scale(1.03); color: #fff; }
.float-btn .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-btn .icon svg { width: 26px; height: 26px; fill: #fff; }
.float-btn .label {
  padding: 0 1rem 0 0;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.float-call {
  background: var(--crimson);
}
.float-call .icon { background: var(--crimson-dark); }
.float-wa {
  background: var(--wa);
}
.float-wa .icon { background: var(--wa-dark); }

@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.45); }
  50% { box-shadow: 0 8px 28px rgba(0,0,0,.28), 0 0 0 10px rgba(37,211,102,0); }
}
.float-wa { animation: soft-pulse 2.4s infinite; }

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.features-2 {
  grid-template-columns: 1fr;
  width: 100%;
}
.features-2 .feature {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.feature h4 {
  color: var(--crimson-dark);
  text-transform: uppercase;
  margin-bottom: .35rem;
  font-size: 1rem;
}
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ========== RESPONSIVE ========== */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features-2 { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .float-btn .label { display: inline; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    gap: .15rem;
  }
  .main-nav a {
    border: none;
    padding: .55rem .8rem;
    font-size: .9rem;
    border-radius: 4px;
  }
  .brand img { height: 58px; }
  .hero { min-height: 85vh; padding: 5.5rem 2rem; }
  .split { grid-template-columns: 1.05fr .95fr; gap: 2.2rem; }
  .split.reverse .split-media { order: 2; }
  .split.reverse .split-copy { order: 1; }
  .split-media img { min-height: 340px; }
}

@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1.4fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .features-2 { grid-template-columns: 1fr 1fr; }
}

.footer-disclaimer p {
  font-size: .88rem;
  line-height: 1.65;
  color: #B0B0B0;
}
/* Hide labels on very small screens to avoid crowding */
@media (max-width: 420px) {
  .float-btn .label { display: none; }
  .float-btn { border-radius: 50%; }
  .float-btn .icon { width: 52px; height: 52px; }
}
