/* ============================================
   SunSinai Services — Final Prototype CSS
   ============================================ */

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

:root {
  --gold: #DBA74A;
  --gold-light: #E8C264;
  --ink: #0D1B2A;
  --ink-light: #162D44;
  --ink-mid: #1E3A52;
  --surface: #faf9f6;
  --text: #1a1a1a;
  --text-muted: #6b6f76;
  --white: #ffffff;
  --accent-accommodation: #c9835c;
  --accent-tourism: #3d9b8f;
  --accent-luxury: #DBA74A;
  --accent-events: #c95c6e;
  --accent-corporate: #4a6fa5;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'Montserrat', 'Segoe UI', sans-serif;
  --section-pad: clamp(3rem, 8vw, 7rem);
  --container: min(1280px, 90vw);
  --line: rgba(13, 27, 42, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button, input, select { font-family: inherit; }

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 2000;
}
.skip-link:focus {
  left: 8px;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo-img {
  width: 40px;
  height: 24px;
  object-fit: contain;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__logo {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav__tagline {
  font-size: 0.6rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--gold);
}

.nav__links a.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav__cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.6rem 1.3rem;
  border-radius: 4px;
  transition: background 0.25s, transform 0.25s;
}

.nav__cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__mobile {
  display: none;
}

/* ---------- HERO ---------- */
.hero {
  padding: calc(var(--section-pad) + 4rem) 0 var(--section-pad);
  background: linear-gradient(160deg, #0D1B2A 0%, #162D44 40%, #1E3A52 100%);
  text-align: center;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- BRANCH SELECTOR ---------- */
.branch-selector {
  background: var(--ink);
  padding: 1.5rem 0;
  position: sticky;
  top: 56px;
  z-index: 900;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.branch-selector__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.branch-selector__inner::-webkit-scrollbar { display: none; }

.branch-tab {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.branch-tab:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.branch-tab.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
}

/* ---------- BRANCH CONTENT ---------- */
.branch-content {
  padding: var(--section-pad) 0;
}

.branch-content__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

/* ---------- VISUAL SIDE PANEL ---------- */
.branch-visual {
  position: sticky;
  top: 140px;
}

.branch-visual__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-mid);
  isolation: isolate;
}

.branch-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.branch-visual__img.active {
  opacity: 1;
  transform: scale(1);
}

.branch-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 27, 42, 0.92) 100%);
  z-index: -1;
}

.branch-visual__overlay-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branch-visual__badge {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.branch-visual__name {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.branch-visual__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-top: 0.2rem;
}

/* ---------- DEPARTMENT GRID ---------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  opacity: 1;
  transition: opacity 0.35s var(--ease);
}

.dept-grid.fade-out {
  opacity: 0;
}

.dept-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: default;
  animation: cardIn 0.4s ease both;
}

.dept-card:nth-child(2) { animation-delay: 0.06s; }
.dept-card:nth-child(3) { animation-delay: 0.12s; }
.dept-card:nth-child(4) { animation-delay: 0.18s; }
.dept-card:nth-child(5) { animation-delay: 0.24s; }
.dept-card:nth-child(6) { animation-delay: 0.30s; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}

.dept-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
}

.dept-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dept-card__name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.dept-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dept-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.dept-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.05);
  color: var(--text-muted);
}

.dept-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.25s, gap 0.25s;
  background: none;
  border: none;
  padding: 0;
}

.dept-card__link:hover {
  color: var(--ink);
  gap: 10px;
}

/* ---------- PLANNER ---------- */
.planner {
  background: linear-gradient(170deg, #0D1B2A 0%, #162D44 100%);
  padding: var(--section-pad) 0;
}

.planner__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.planner__title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.planner__subtitle {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
}

.planner__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: left;
}

.planner__field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}

.planner__field select,
.planner__field input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.planner__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.planner__field select option {
  background: var(--ink);
  color: var(--white);
}

.planner__field select:focus,
.planner__field input:focus {
  border-color: var(--gold);
}

.planner__submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  justify-self: center;
}

.planner__submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(250, 246, 239, 0.65);
  padding: 70px 0 30px;
}

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

footer .brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .brand-name {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

footer .brand-slogan {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 5px;
  white-space: nowrap;
}

footer .brand-logo {
  height: 100px;
  width: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

footer .brand { margin-bottom: 18px; }
footer .brand-logo { height: 100px; }
footer p.about-line {
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 32ch;
  color: rgba(250, 246, 239, 0.6);
}

footer h5 {
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

footer ul { list-style: none; display: grid; gap: 10px; }
footer ul a {
  font-size: 0.92rem;
  transition: color 0.25s;
}
footer ul a:hover { color: var(--gold-light); }

footer .contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  margin-bottom: 12px;
}
footer .contact-row svg { flex-shrink: 0; color: var(--gold-light); margin-top: 2px; }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 239, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 246, 239, 0.8);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.newsletter-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: rgba(250, 246, 239, 0.5);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 160px;
  padding: 10px 16px;
  border: 1px solid rgba(250, 246, 239, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.85rem;
  outline: 0;
  font-family: var(--ff-body);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  border: 0;
  cursor: pointer;
  transition: background 0.25s;
}

.newsletter-form button:hover {
  background: var(--gold-light);
}

.legal {
  border-top: 1px solid rgba(250, 246, 239, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(250, 246, 239, 0.5);
}

.legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.legal a:hover {
  color: var(--gold-light);
}

/* ---------- DRAWER ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.35s var(--ease) forwards;
}

.drawer-overlay[hidden] {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.drawer {
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateX(100%);
  animation: slideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  to { transform: translateX(0); }
}

.drawer-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 27, 42, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s, transform 0.3s;
  line-height: 1;
}

.drawer-close-btn:hover {
  background: rgba(13, 27, 42, 0.85);
  transform: rotate(90deg);
}

.drawer-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.drawer-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.1) 0%, rgba(13,27,42,0.85) 100%);
}

.drawer-hero-content {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  color: #fff;
}

.drawer-badge {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.drawer-hero-content h2 {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 600;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  -webkit-overflow-scrolling: touch;
}

.drawer-section h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.drawer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.drawer-section p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.drawer-list li::before {
  content: "\2726";
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.drawer-packages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pkg-card {
  padding: 20px 24px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}

.pkg-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
}

.pkg-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.pkg-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.drawer-footer {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.drawer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  white-space: nowrap;
}

.drawer-action--wa {
  background: #25d366;
  color: #fff;
}

.drawer-action--wa:hover {
  background: #1fb854;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.drawer-action--email {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(13, 27, 42, 0.2);
}

.drawer-action--email:hover {
  background: rgba(13, 27, 42, 0.04);
  border-color: rgba(13, 27, 42, 0.4);
  transform: translateY(-2px);
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .branch-content__inner {
    grid-template-columns: 1fr;
  }

  .branch-visual {
    position: static;
  }

  .branch-visual__frame {
    aspect-ratio: 16 / 7;
  }

  .nav__links,
  .nav__cta:not(.nav__cta--mobile) {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile.is-open {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav__mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav__mobile-links a {
    display: block;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav__mobile-links a.is-active {
    color: var(--gold);
  }

  .nav__cta--mobile {
    margin-top: 1rem;
    text-align: center;
    display: block;
  }

  .nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .planner__form {
    grid-template-columns: 1fr;
  }

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

  .branch-tab {
    font-size: 0.72rem;
    padding: 0.5rem 1rem;
  }

  .drawer {
    max-width: 100%;
    height: 100%;
  }
  .drawer-close-btn {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
  .drawer-hero {
    height: 220px;
  }
  .drawer-body {
    padding: 30px 20px;
  }
.drawer-view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  white-space: nowrap;
  text-decoration: none;
  margin: 0 32px 8px;
}
.drawer-view-link:hover {
  background: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.25);
}

.drawer-footer {
    padding: 16px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- RTL SUPPORT ---------- */
html[dir="rtl"] .branch-selector__inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .branch-content__inner {
  direction: rtl;
}

html[dir="rtl"] .branch-visual {
  text-align: right;
}

html[dir="rtl"] .branch-visual__overlay-content {
  right: 24px;
  left: auto;
}

html[dir="rtl"] .dept-card {
  text-align: right;
}

html[dir="rtl"] .dept-card__tags {
  flex-direction: row-reverse;
}

html[dir="rtl"] .planner__form {
  direction: rtl;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .contact-row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .socials {
  justify-content: flex-end;
}

html[dir="rtl"] .newsletter-form {
  direction: rtl;
}

html[dir="rtl"] .legal {
  text-align: right;
}

html[dir="rtl"] .nav__links {
  direction: rtl;
}

html[dir="rtl"] .nav__mobile-links {
  text-align: right;
}

html[dir="rtl"] .drawer-hero-content {
  left: 32px;
  right: auto;
}

html[dir="rtl"] .drawer-section h3::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .drawer-list li {
  flex-direction: row-reverse;
}

html[dir="rtl"] .skip-link {
  left: auto;
  right: -9999px;
}

html[dir="rtl"] .skip-link:focus {
  right: 8px;
  left: auto;
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
