/*
Theme Name: LWS - Lora Web Studio
Theme URI: https://lorasites.com
Description: Custom theme for Lora Web Studio - RTL Arabic
Author: Lora Web Studio
Version: 1.5
Text Domain: lws-theme
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg: #F3EADF;
  --bg-card: #FBF7F2;
  --brown-btn: #5C3015;
  --brown-accent: #B8906A;
  --brown-footer: #1E0C05;
  --text-dark: #2C1810;
  --text-body: #5C3D2E;
  --white: #FFFFFF;
  --green-wa: #25D366;
  --border-color: #E3D5C3;
  --shadow: 0 1px 2px rgba(60,30,10,.04), 0 8px 24px rgba(60,30,10,.06);
  --shadow-lg: 0 4px 6px rgba(60,30,10,.06), 0 16px 40px rgba(60,30,10,.12);
  --shadow-hover: 0 8px 12px rgba(60,30,10,.08), 0 24px 48px rgba(60,30,10,.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
  --font-arabic: 'Cairo', 'Arial', sans-serif;
  --font-logo: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --gutter: 24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  lang: ar;
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg);
  color: var(--text-body);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

body.rtl {
  direction: rtl;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-arabic);
}

input, textarea, select {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-arabic);
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
  text-wrap: balance;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-padding {
  padding: 112px 0;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 56px;
  max-width: 580px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--brown-btn);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  transition: all var(--transition);
  border: 2px solid var(--brown-btn);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn-primary:hover {
  background: #4A2612;
  border-color: #4A2612;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 48, 21, 0.35);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--brown-accent);
  outline-offset: 3px;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--brown-btn);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  transition: all var(--transition);
  border: 1.5px solid var(--brown-btn);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn-outline:hover {
  background: var(--brown-btn);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--brown-accent);
  outline-offset: 3px;
}

.btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(240, 229, 213, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(240, 229, 213, 0.98);
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 20px rgba(92, 48, 21, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

/* Logo */
.logo-img {
  display: block;
  height: 56px !important;
  max-height: 56px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  max-width: 190px;
  max-height: 70px;
  overflow: hidden;
  text-decoration: none;
}

.logo-lws {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-btn);
  line-height: 1;
  letter-spacing: 2px;
}

.logo-sub {
  font-family: var(--font-arabic);
  font-size: 0.65rem;
  color: var(--brown-accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Primary Nav */
.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #3A2418;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  position: relative;
}

.primary-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--brown-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.primary-nav ul li a:hover,
.primary-nav ul li a.active {
  color: var(--brown-btn);
}

.primary-nav ul li a:hover::after,
.primary-nav ul li a.active::after {
  transform: scaleX(1);
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn-primary {
  padding: 10px 20px;
  font-size: 0.9375rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(92, 48, 21, 0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-btn);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 140px 0 90px;
  background: var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  order: 1;
}

.hero-visual {
  order: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown-accent);
  background: rgba(184, 144, 106, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--brown-btn);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 52ch;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1.5px solid var(--border-color);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,144,106,0.05) 0%, rgba(92,48,21,0.05) 100%);
  z-index: 1;
}

.video-card.has-video::before {
  display: none;
}

.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.direct-video {
  padding: 0;
}

.direct-video::before {
  display: none;
}

.hero-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  display: block;
  background: #000;
  object-fit: contain;
  z-index: 2;
}

.play-btn-circle {
  width: 72px;
  height: 72px;
  background: var(--brown-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(92, 48, 21, 0.4);
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all var(--transition);
}

.play-btn-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(92, 48, 21, 0.5);
}

.play-btn-circle svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  margin-right: -4px;
}

.video-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 90px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brown-accent);
}

.service-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brown-btn), var(--brown-accent));
  margin: -32px -24px 28px;
  border-radius: 0;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(184, 144, 106, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--brown-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.7;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: '✓';
  color: var(--brown-accent);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============================================================
   LEAD MAGNET / FREE GUIDE SECTION
   ============================================================ */
.guide-section {
  padding: 90px 0;
  background: var(--bg);
}

.guide-inner {
  background: var(--brown-btn);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.guide-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
}

.guide-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  line-height: 1.75;
}

.guide-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-bullets li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.guide-bullets li::before {
  content: '✓';
  color: var(--brown-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

/* Guide Form */
.guide-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.3);
}

.guide-form-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #E3D5C3;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brown-btn);
  box-shadow: 0 0 0 3px rgba(92, 48, 21, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9C8470;
}

.guide-form-note {
  font-size: 0.78rem;
  color: var(--text-body);
  opacity: 0.7;
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   HOW WE WORK SECTION
   ============================================================ */
.how-section {
  padding: 90px 0;
  background: var(--bg-card);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 52px;
  position: relative;
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--brown-accent) 0, var(--brown-accent) 6px,
    transparent 6px, transparent 16px
  );
  opacity: 0.5;
  pointer-events: none;
}

.how-step {
  text-align: right;
  position: relative;
}

.how-step-number {
  font-family: var(--font-arabic);
  font-size: 3.5rem;
  font-weight: 800;
  color: #C9A882;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.how-step p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 90px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  order: 1;
}

.about-photo-col {
  order: 2;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 62ch;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-value {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: right;
}

.about-value h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brown-btn);
  margin-bottom: 7px;
}

.about-value p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 0;
}

/* About Photo */
.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 420px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--brown-accent);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--bg-card);
}

.about-photo-placeholder svg {
  width: 60px;
  height: 60px;
  stroke: var(--brown-accent);
  fill: none;
  opacity: 0.5;
}

/* If image fails to load */
.about-photo[src$="lora-photo.jpg"]:not([complete]),
.about-photo.img-error {
  display: none;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 90px 0;
  background: var(--bg-card);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-top: 1.5px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: 1.5px solid var(--border-color);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  margin: 0 -16px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  transition: background var(--transition);
  border-radius: var(--radius);
  width: calc(100% + 32px);
}

.faq-question:hover {
  background: rgba(240, 230, 218, 0.8);
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  flex: 1;
  transition: color var(--transition);
}

.faq-question:hover h3 {
  color: var(--brown-btn);
}

.faq-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(184, 144, 106, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.faq-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--brown-accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.faq-item.open .faq-arrow {
  background: var(--brown-btn);
}

.faq-item.open .faq-arrow svg {
  stroke: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 90px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 52px;
  align-items: start;
}

.contact-info {
  order: 1;
}

.contact-form-col {
  order: 2;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  transition: all var(--transition);
  text-decoration: none;
}

.contact-info-card:hover {
  border-color: var(--brown-accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon.wa {
  background: rgba(37, 211, 102, 0.12);
}

.contact-info-icon.wa svg {
  width: 24px;
  height: 24px;
  fill: var(--green-wa);
}

.contact-info-icon.email {
  background: rgba(184, 144, 106, 0.12);
}

.contact-info-icon.email svg {
  width: 22px;
  height: 22px;
  stroke: var(--brown-accent);
  fill: none;
  stroke-width: 2;
}

.contact-info-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-info-text strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-form-card textarea {
  min-height: 110px;
  resize: vertical;
}

/* Form Messages */
.form-message {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(37, 211, 102, 0.12);
  color: #1a7a3f;
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: block;
}

.form-message.error {
  background: rgba(220, 50, 50, 0.08);
  color: #c0392b;
  border: 1px solid rgba(220, 50, 50, 0.2);
  display: block;
}

/* Honeypot */
.hp-field {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* ============================================================
   COURSES PAGE
   ============================================================ */
.courses-header {
  padding: 130px 0 60px;
  background: var(--bg);
  text-align: right;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 20px 0 90px;
}

.course-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brown-accent);
}

.course-thumbnail {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--bg);
  overflow: hidden;
}

.course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card), var(--bg));
  color: var(--brown-accent);
  font-size: 2.5rem;
}

.course-level-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brown-btn);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.course-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.course-body p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.course-meta-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--brown-accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px solid var(--border-color);
  padding-top: 18px;
  margin-top: auto;
  gap: 12px;
}

.course-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brown-btn);
}

.course-price span {
  font-size: 0.85rem;
  font-weight: 600;
}

.course-buy-btn {
  background: var(--brown-btn);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.course-buy-btn:hover {
  background: #7a3f1e;
  color: var(--white);
  transform: translateY(-1px);
}

.courses-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-body);
}

.courses-empty h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brown-footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-lws {
  color: var(--white);
  font-size: 1.8rem;
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer logo: invert to white on dark background */
.footer-logo-img {
  height: 55px !important;
  max-height: 55px !important;
  max-width: 170px !important;
  width: auto !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brown-accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-direction: row-reverse;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  direction: ltr;
  text-align: left;
}

.footer-contact-item:hover {
  color: var(--brown-accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--brown-accent);
}

/* ============================================================
   GENERIC PAGE & SINGLE POST
   ============================================================ */
.page-content {
  padding: 130px 0 90px;
}

.page-content .container {
  max-width: 860px;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-section {
  padding: 160px 0 100px;
  text-align: center;
}

.not-found-number {
  font-family: var(--font-logo);
  font-size: 10rem;
  font-weight: 700;
  color: rgba(184, 144, 106, 0.25);
  line-height: 1;
  margin-bottom: 0;
}

.not-found-section h1 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.not-found-section p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 36px;
}

/* ============================================================
   LOADING / SPINNER
   ============================================================ */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 0 var(--gutter);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================================
   SCROLL BAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--brown-accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brown-btn);
}

/* ============================================================
   RESPONSIVE — 1024px (tablet landscape)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-inner {
    padding: 48px 40px;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — 768px (tablet portrait / mobile)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  /* Header */
  .primary-nav {
    display: none;
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    background: rgba(240, 229, 213, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 24px var(--gutter);
    z-index: 999;
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .primary-nav ul li a {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
    border-radius: var(--radius);
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-section {
    padding: 100px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-text h1 {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }


  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Guide */
  .guide-inner {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }

  .guide-text h2 {
    font-size: 1.55rem;
  }

  /* How */
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-col {
    order: -1;
  }

  .about-photo-wrapper {
    max-width: 340px;
    margin: 0 auto;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Courses */
  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* Section */
  .section-heading {
    font-size: clamp(1.5rem, 5vw, 1.875rem);
  }

  .section-padding {
    padding: 72px 0;
  }

  /* Process steps: vertical on mobile */
  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-grid::before {
    display: none;
  }

  .how-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .how-step-number {
    font-size: 2.5rem;
    min-width: 56px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* ============================================================
   RESPONSIVE — 480px (small mobile)
   ============================================================ */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
  }

  .guide-inner {
    padding: 28px 20px;
  }

  .contact-form-card,
  .guide-form-card {
    padding: 24px 18px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .not-found-number {
    font-size: 7rem;
  }

  .about-values {
    gap: 12px;
  }

  .service-card {
    padding: 32px 20px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    min-height: 52px;
    font-size: 1rem;
  }
}
