/* ══════════════════════════════════════════════════════
   MACCOLLAB — MAIN STYLESHEET
   ══════════════════════════════════════════════════════ */

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

:root {
  --burgundy:   #640017;
  --burgundy-d: #4a0011;
  --burgundy-l: #8a0020;
  --cream:      #f9efdf;
  --cream-d:    #f0e4cc;
  --white:      #ffffff;
  --text:       #1a1a1a;
  --text-muted: #6b6b6b;
  --border:     #e8ddd0;
  --shadow:     0 4px 24px rgba(100, 0, 23, 0.08);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: 0.25s ease;
  --ff-serif:   'League Spartan', Georgia, sans-serif;
  --ff-sans:    'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── TYPOGRAPHY ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-muted); font-size: 0.975rem; line-height: 1.7; }

/* ─── UTILITIES ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-sub {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--ff-sans);
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-d);
  border-color: var(--burgundy-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(100, 0, 23, 0.28);
}

.btn-light {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ─── DIVIDER LINE ──────────────────────────────────── */
.section + .section {
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  backdrop-filter: blur(8px);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
  color: var(--text);
}

.navbar.scrolled .logo {
  color: #640017;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.logo {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-with-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: block;
  /* Default (navbar transparent / fundal rosu) → logo alb */
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

/* Navbar scrolled (fundal alb) → logo #640017 */
.navbar.scrolled .logo-mark {
  filter: invert(8%) sepia(80%) saturate(6000%) hue-rotate(332deg) brightness(75%) contrast(110%);
}

/* Footer (fundal burgundy) → logo alb */
.footer .logo-mark {
  filter: brightness(0) invert(1);
}

.logo-light { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.navbar.scrolled .nav-links a { color: var(--text-muted); }
.navbar.scrolled .nav-links a:hover { color: var(--burgundy); }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--text); }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback gradient when no hero image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8a1428 0%, #3d0010 60%, #1a0007 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(100, 0, 23, 0.62);
  z-index: 1;
}

.hero-img { z-index: 0; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.about { background: var(--white); border-top: none; }

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

.about-text .section-label { display: block; }

.about-text h2 {
  margin-bottom: 20px;
  max-width: 420px;
}

.about-desc {
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  flex-shrink: 0;
}

.stat-item h4 { margin-bottom: 4px; font-size: 1rem; }
.stat-item p { font-size: 0.88rem; }

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  /* Fallback gradient */
  background: linear-gradient(135deg, #c4a882 0%, #8a6a40 100%);
}

.about-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(100, 0, 23, 0.35);
}

.badge-num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-label {
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════
   OFFICES
   ══════════════════════════════════════════════════════ */
.offices { background: var(--cream); }

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.office-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(100, 0, 23, 0.14);
}

.office-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #d4c4b0 0%, #a08060 100%);
}

.office-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.office-card:hover .office-img-wrap img {
  transform: scale(1.04);
}

.desk-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.office-info {
  padding: 20px 20px 24px;
}

.office-info h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.office-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.office-info p { font-size: 0.875rem; }

.office-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
  transition: gap var(--transition);
}

a.office-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.office-card:hover .office-link { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   FACILITIES
   ══════════════════════════════════════════════════════ */
.facilities { background: var(--white); }

.facilities-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.fac-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #b0a090 0%, #786050 100%);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fac-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.fac-icon {
  width: 44px;
  height: 44px;
  background: rgba(100, 0, 23, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  flex-shrink: 0;
}

.fac-item h4 { margin-bottom: 4px; }
.fac-item p { font-size: 0.875rem; }

/* ══════════════════════════════════════════════════════
   WHY MACCOLLAB
   ══════════════════════════════════════════════════════ */
.why {
  background: var(--burgundy);
  border-top: none;
}

.why .section-header { margin-bottom: 56px; }

.why-header h2,
.why-header .section-sub { color: var(--white); }

.label-light { color: rgba(255,255,255,0.65) !important; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.why-item h3, .why-item p { color: var(--white); }
.why-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 12px; }

.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 20px;
}

.why-item h3 { font-size: 1.05rem; }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════ */
.testimonials { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.testi-card:hover { transform: translateY(-4px); }

.stars {
  color: var(--burgundy);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testi-card > p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.testi-author span { font-size: 0.82rem; color: var(--burgundy); font-weight: 500; }

/* ══════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════ */
.faq { background: var(--white); }

.faq-wrap { max-width: 760px; }

.faq-list { margin-top: 8px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--burgundy); }
.faq-q[aria-expanded="true"] { color: var(--burgundy); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--burgundy);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-a.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-a p { font-size: 0.93rem; line-height: 1.75; }

/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.contact-form-col h2 { margin: 12px 0 8px; }
.contact-form-col .section-sub { text-align: left; margin: 0 0 36px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0a898; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(100, 0, 23, 0.08);
}

.form-msg {
  font-size: 0.88rem;
  min-height: 20px;
  text-align: center;
  margin-top: -4px;
}
.form-msg.success { color: #2d7a2d; }
.form-msg.error { color: var(--burgundy); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-item h4 { margin-bottom: 3px; font-size: 0.95rem; }
.contact-item p { font-size: 0.9rem; color: var(--text); }
.contact-item .muted { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: #e8e0d8;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.map-placeholder p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--burgundy-d);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer .logo {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-social { display: flex; gap: 12px; align-items: center; }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), border-color var(--transition);
}

.social-icon:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 48px 40px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--cream-d); color: var(--burgundy); }

.modal-box h2 { margin: 8px 0 6px; font-size: 1.8rem; }
.modal-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.93rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row .form-group { margin: 0; }

.modal-box .form-group { margin-bottom: 14px; }

.modal-box select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.modal-box select:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(100, 0, 23, 0.08);
}

.modal-box input[type="date"] {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.modal-box input[type="date"]:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(100, 0, 23, 0.08);
}

.modal-box .form-msg { margin-top: 12px; }

@media (max-width: 560px) {
  .modal-box { padding: 32px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* stagger children */
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-group.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-group.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.reveal-group.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.reveal-group.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.reveal-group.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.reveal-group.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }
.reveal-group.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.6s; }
.reveal-group.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.7s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img { height: 360px; }
  .about-badge { left: 16px; bottom: 16px; }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Navbar mobile */
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.open {
    max-height: 400px;
    padding: 12px 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 28px;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-links a:last-child { border-bottom: none; }

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

  /* Hero */
  .hero { min-height: 520px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 220px; }

  /* Offices */
  .offices-grid { grid-template-columns: 1fr 1fr; }

  /* Facilities */
  .facilities-photos { grid-template-columns: 1fr; }
  .fac-photo { height: 240px; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 520px) {
  .offices-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .about-badge { left: 50%; transform: translateX(-50%); bottom: -24px; }
  .about-img-wrap { padding-bottom: 16px; }
}
