/* ============================================================
   شركة المجد الذهبي لتربية وإنتاج الدواجن - Main Stylesheet
   RTL Arabic Design | Mobile-First
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --gold:         #C8861A;
  --gold-light:   #E5A827;
  --gold-dark:    #9E6A0F;
  --brown:        #3B2009;
  --brown-mid:    #5C3310;
  --brown-light:  #7A4A1E;
  --cream:        #FDF6EC;
  --cream-dark:   #F5E8D0;
  --orange:       #D9691E;
  --green:        #3B6B3B;
  --green-light:  #4E8A4E;

  /* Neutrals */
  --white:        #FFFFFF;
  --text-dark:    #1E1008;
  --text-mid:     #4A3020;
  --text-muted:   #7A6050;
  --border:       #E8D5B8;
  --bg-light:     #FEFAF4;

  /* Shadows */
  --shadow-sm:    0 1px 4px rgba(59,32,9,.08);
  --shadow-md:    0 4px 16px rgba(59,32,9,.12);
  --shadow-lg:    0 8px 32px rgba(59,32,9,.16);
  --shadow-xl:    0 16px 48px rgba(59,32,9,.20);

  /* Typography */
  --font-primary: 'Cairo', 'Tajawal', sans-serif;

  /* Spacing */
  --section-pad: 80px 0;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --tr-fast: 0.2s ease;
  --tr-mid:  0.35s ease;
  --tr-slow: 0.5s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Utility Classes ───────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,134,26,.1);
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(200,134,26,.25);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--brown);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 660px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr-mid);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,134,26,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,134,26,.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--brown);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  background: var(--cream);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-green {
  background: linear-gradient(135deg, #25D366, #1aaa52);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}

.btn-call {
  background: linear-gradient(135deg, var(--brown-mid), var(--brown));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,32,9,.3);
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,32,9,.4);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ── Header / Navbar ───────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(253,246,236,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr-mid), background var(--tr-mid);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(253,246,236,.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--brown);
  padding: 6px;
}

.nav-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-name .main {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brown);
}

.nav-name .sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--tr-mid);
  transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Mobile Menu ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--tr-fast);
}

.hamburger:hover { background: var(--cream-dark); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--tr-mid);
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(253,246,236,.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--tr-mid), opacity var(--tr-mid);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--tr-fast), color var(--tr-fast);
}

.mobile-link:hover {
  background: var(--cream-dark);
  color: var(--gold-dark);
}

.mobile-menu-cta {
  margin-top: 16px;
}

/* ── Hero Section ──────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-farm.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

#hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59,32,9,.82) 0%,
    rgba(59,32,9,.65) 50%,
    rgba(92,51,16,.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,134,26,.2);
  border: 1px solid rgba(200,134,26,.4);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-title .highlight {
  color: var(--gold-light);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,.85);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 400;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

.hero-stat .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── About Section ─────────────────────────────────────────── */
#about {
  padding: var(--section-pad);
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-img-float {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 220px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-badge-float {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-float .year {
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.pillar-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  background: rgba(200,134,26,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  padding-top: 4px;
}

/* ── Fields of Work Section ────────────────────────────────── */
#fields {
  padding: var(--section-pad);
  background: var(--cream);
}

.fields-header {
  text-align: center;
  margin-bottom: 56px;
}

.fields-header .section-subtitle {
  margin: 0 auto;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.field-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: all var(--tr-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: transform var(--tr-mid);
  transform-origin: right;
}

.field-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.field-card:hover::before {
  transform: scaleX(1);
}

.field-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(200,134,26,.12), rgba(200,134,26,.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: background var(--tr-mid);
  border: 1px solid rgba(200,134,26,.15);
}

.field-card:hover .field-icon-wrap {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.field-card:hover .field-icon-wrap .emoji {
  filter: brightness(0) invert(1);
}

.field-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brown);
  line-height: 1.3;
}

.field-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Quality Section ───────────────────────────────────────── */
#quality {
  padding: var(--section-pad);
  background: var(--white);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quality-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.quality-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.quality-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quality-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-right: 4px solid var(--gold);
  transition: box-shadow var(--tr-fast), transform var(--tr-fast);
}

.quality-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

.quality-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(200,134,26,.25);
}

.quality-item-body {}
.quality-item-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
}

.quality-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.quality-image-wrap {
  position: relative;
}

.quality-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.quality-img-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: rgba(59,32,9,.88);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(200,134,26,.3);
  max-width: 200px;
  text-align: center;
  line-height: 1.5;
}

.quality-img-badge .icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
}

/* ── Contact Section ───────────────────────────────────────── */
#contact {
  padding: var(--section-pad);
  background: linear-gradient(160deg, var(--brown) 0%, var(--brown-mid) 100%);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,134,26,.15) 0%, transparent 70%);
  pointer-events: none;
}

#contact::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200,134,26,.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,134,26,.15);
  border: 1px solid rgba(200,134,26,.3);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.contact-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 32px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.phone-display {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 2px;
  direction: ltr;
}

.domain-display {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 32px;
}

.domain-display a {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
  background: var(--brown);
  border-top: 1px solid rgba(200,134,26,.2);
  padding: 48px 0 24px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: rgba(200,134,26,.15);
  border-radius: 50%;
  padding: 8px;
  border: 1px solid rgba(200,134,26,.25);
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  max-width: 200px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
}

.footer-info-item .icon { font-size: 1rem; }
.footer-info-item a {
  color: var(--gold-light);
  transition: color var(--tr-fast);
}

.footer-info-item a:hover { color: var(--gold); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.footer-nav-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--tr-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-link:hover { color: var(--gold-light); }

.footer-nav-link::before {
  content: '←';
  font-size: 0.75rem;
  opacity: 0.5;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin-bottom: 24px;
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-bottom span { color: var(--gold); }

/* ── Scroll to Top ─────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--tr-mid);
  z-index: 900;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover { transform: translateY(-3px); }

/* ── Animations ────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Responsive: Tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  .fields-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .quality-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { order: -1; }
  .about-img-float { display: none; }
  .about-img-main,
  .quality-img { height: 360px; }
  .footer-main { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 60px 0 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; }

  .about-pillars { grid-template-columns: 1fr; }

  .fields-grid { grid-template-columns: 1fr; }

  .contact-card { padding: 28px 20px; }
  .phone-display { font-size: 1.35rem; }
  .contact-buttons { flex-direction: column; }
  .contact-buttons .btn { width: 100%; }

  .quality-img-badge { position: static; margin-top: 16px; border-radius: var(--radius-md); }

  .footer-main { flex-direction: column; gap: 28px; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-brand .nav-name .sub { display: none; }
  .hero-title { font-size: 1.65rem; }
  .section-title { font-size: 1.6rem; }
  .hero-badge { font-size: 0.78rem; padding: 6px 12px; }
}
