/* Components — Apple-soft chrome */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform var(--duration) var(--ease-out), background var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: #b0050b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(176, 5, 11, 0.28);
}

.btn--primary:hover {
  background: #8e0409;
  color: #fff;
  box-shadow: 0 6px 18px rgba(176, 5, 11, 0.36);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: #fff;
  transition: border-color var(--duration) var(--ease-out), color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn--wa:hover {
  border-color: #25d366;
  color: #25d366;
}

/* ==========================================================================
   Top Notification Strip
   ========================================================================== */
.top-notice {
  background: #0d1117;
  color: #e2e8f0;
  font-size: 0.775rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  min-height: 38px;
}

.top-notice__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  min-width: 0;
}

.top-notice__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f8fafc;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.top-notice__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  color: #22c55e;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

.top-notice__divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 0.15rem;
  font-size: 0;
  user-select: none;
}

.top-notice__desk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
}

.top-notice__desk-label {
  color: #94a3b8;
  font-weight: 500;
}

.top-notice__tel {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.top-notice__tel:hover {
  color: var(--brand-ember, #ffb340);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.top-notice__sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: bold;
}

.top-notice__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.top-notice__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.775rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.top-notice__contact-link svg {
  color: var(--brand-ember, #ffb340);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.top-notice__contact-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.top-notice__contact-link:hover svg {
  transform: scale(1.12);
}

/* RTL / Arabic isolation */
[dir="rtl"] .top-notice__right,
body.is-rtl .top-notice__right,
html.is-rtl .top-notice__right {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

[dir="rtl"] .top-notice__tel,
[dir="rtl"] .top-notice__contact-link,
[lang="ar"] .top-notice__tel,
[lang="ar"] .top-notice__contact-link,
body.is-rtl .top-notice__tel,
body.is-rtl .top-notice__contact-link {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  unicode-bidi: isolate;
}

[dir="rtl"] .top-notice__contact-link svg,
body.is-rtl .top-notice__contact-link svg,
html.is-rtl .top-notice__contact-link svg {
  transform: none;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .top-notice__right a:last-child {
    display: none;
  }
}

@media (max-width: 900px) {
  .top-notice__right {
    display: none;
  }
  .top-notice__inner {
    justify-content: center;
  }
  .top-notice__left {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .top-notice {
    font-size: 0.72rem;
    padding: 0.35rem 0;
  }
  .top-notice__inner {
    min-height: auto;
  }
  .top-notice__left {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  .top-notice__divider {
    display: none;
  }
  .top-notice__desk {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.brand__logo--white {
  display: none;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.nav__item {
  position: relative;
}

.nav__item--services::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
}

.nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__arrow {
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav__item--services:hover .nav__arrow {
  transform: rotate(180deg);
  color: #b0050b;
}

.nav__item--services:hover .nav__dropdown,
.nav__item--services:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 900px;
  max-width: calc(100vw - 2rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2.5rem;
  padding: 2.25rem 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
  z-index: 200;
}

.nav__dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.nav__dropdown a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.nav__dropdown a:hover {
  background: transparent;
  transform: translateX(3px);
  box-shadow: none;
  border-color: transparent;
}

.nav__dropdown a strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: color 0.18s ease;
}

.nav__dropdown a:hover strong {
  color: #b0050b;
}

.nav__dropdown a span {
  font-size: 0.81rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.45;
  transition: color 0.18s ease;
}

.nav__dropdown a:hover span {
  color: #374151;
}

.nav__dropdown a:focus-visible {
  outline: 2px solid #b0050b;
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-actions .icon-btn {
  display: none;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.lang-switch__btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.lang-switch__btn.is-active {
  background: var(--ink);
  color: #fff;
}

.lang-switch__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1rem 0 1.25rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

/* Our Services accordion button */
.mobile-nav__services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.mobile-nav__services-toggle:hover {
  color: #c8102e;
}

.mobile-nav__services-arrow {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.mobile-nav__services-toggle[aria-expanded="true"]
.mobile-nav__services-arrow {
  transform: rotate(180deg);
}

/* Hide services until clicked */
.mobile-nav__services {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.5rem 0 0.75rem 1rem;
  border-left: 2px solid #c8102e;
  margin: 0.4rem 0 0.6rem;
}

.mobile-nav__services.is-open {
  display: grid;
}

/* Individual service links */
.mobile-nav__services a {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav__services a:hover,
.mobile-nav__services a:focus-visible {
  background: var(--surface);
  color: #c8102e;
}

.mobile-nav__cta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.mobile-nav .mobile-nav__cta .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-bottom: 0;
  text-align: center;
  font-size: 1rem;
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions .icon-btn {
    display: inline-flex;
  }
}

@media (min-width: 980px) and (max-width: 1100px) {
  .nav__dropdown {
    width: min(900px, calc(100vw - 9rem));
  }
}

@media (max-width: 979px) {
  [dir="rtl"] .header-actions .icon-btn,
  body.is-rtl .header-actions .icon-btn {
    display: none !important;
  }
}

.header-actions .btn--primary {
  display: none !important;
}

/* Footer */
.site-footer {
  background: #1d1d1f;
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3rem, 6vw, 4rem) 0 1.4rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .brand__logo {
  display: none;
}

.site-footer .brand__logo--white {
  display: block;
  height: 38px;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: 0.92rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: grid;
  gap: 0.45rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}




/* Crafted by AFIT */
.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  flex-shrink: 0;
  text-decoration: none;
}

.footer-credit__label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.footer-credit__logo {
  display: block;
  width: 115px;
  height: 42px;
  object-fit: contain;
  padding: 5px 10px;
  background: #fff;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.footer-credit:hover .footer-credit__logo {
  transform: translateY(-2px);
}


@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  }
}

/* Mobile responsive */
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-credit {
    align-self: flex-end;
  }

  .footer-credit__logo {
    width: 100px;
    height: 38px;
  }
}
.whatsapp-float {
  display: none;
}

/* Floating action dock */
.action-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(12px);
  animation: dock-in 500ms var(--ease-out) 400ms forwards;
}

.action-dock__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  transition: transform var(--duration) var(--ease-out), background var(--duration) var(--ease-out), color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.action-dock__btn svg {
  width: 20px;
  height: 20px;
}

.action-dock__btn:hover,
.action-dock__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.action-dock__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(91, 74, 74, 0.35);
}

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

.action-dock__btn--book {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.action-dock__tip {
  position: absolute;
  right: calc(100% + 0.55rem);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease-out);
}

.action-dock__btn:hover .action-dock__tip,
.action-dock__btn:focus-visible .action-dock__tip {
  opacity: 1;
}

@keyframes dock-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Visible on tablet and top width devices only, completely hidden on mobile view */
@media (max-width: 768px) {
  .action-dock,
  [dir="rtl"] .action-dock,
  body.is-rtl .action-dock {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .action-dock {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.stub-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.stub-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.stub-page p {
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
  margin-bottom: 1.4rem;
}

/* RTL Component Rules */
[dir="rtl"] .nav__dropdown,
body.is-rtl .nav__dropdown {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(12px);
  text-align: right;
}

[dir="rtl"] .nav__item--services:hover .nav__dropdown,
[dir="rtl"] .nav__item--services:focus-within .nav__dropdown,
body.is-rtl .nav__item--services:hover .nav__dropdown,
body.is-rtl .nav__item--services:focus-within .nav__dropdown {
  transform: translateX(-50%) translateY(0);
}

[dir="rtl"] .nav__dropdown a,
body.is-rtl .nav__dropdown a {
  align-items: flex-start;
  text-align: right;
}

[dir="rtl"] .nav__dropdown a:hover,
body.is-rtl .nav__dropdown a:hover {
  transform: translateX(-3px);
}

[dir="rtl"] .mobile-nav {
  text-align: right;
}

[dir="rtl"] .mobile-nav a,
[dir="rtl"] .mobile-nav__services-toggle {
  text-align: right;
}

[dir="rtl"] .mobile-nav__services-arrow {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

[dir="rtl"] .action-dock,
body.is-rtl .action-dock {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .action-dock__btn,
body.is-rtl .action-dock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] .action-dock__btn svg,
body.is-rtl .action-dock__btn svg {
  transform: none;
}

[dir="rtl"] .action-dock__tip,
body.is-rtl .action-dock__tip {
  right: auto;
  left: calc(100% + 0.55rem);
  text-align: right;
  direction: rtl;
}

/* Navbar action icon buttons in RTL */
[dir="rtl"] .header-actions,
body.is-rtl .header-actions {
  flex-direction: row;
}

[dir="rtl"] .icon-btn,
body.is-rtl .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[dir="rtl"] .icon-btn svg,
body.is-rtl .icon-btn svg {
  transform: none;
}

[dir="rtl"] .footer-brand,
[dir="rtl"] .footer-col,
body.is-rtl .footer-brand,
body.is-rtl .footer-col {
  text-align: right;
}

[dir="rtl"] .footer-bottom,
body.is-rtl .footer-bottom {
  text-align: right;
}

.mobile-nav__lang {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

