:root {
  --ivory: #f6f1e8;
  --paper: #fbf8f3;
  --sand: #efe4d2;
  --gold: #b8924a;
  --gold-deep: #8d6a32;
  --bronze: #6e5328;
  --ink: #2a241c;
  --muted: #6d6256;
  --line: rgba(122, 91, 46, 0.22);
  --shadow: 0 18px 46px rgba(80, 58, 24, 0.08);
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --display: "Amiri", "Times New Roman", serif;
}

* { box-sizing: border-box; }

::selection {
  background: #e6d3a4;
  color: var(--ink);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.85;
}

img { max-width: 100%; }

h1, h2, h3, .footer-name {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0.35rem 0 0.8rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.4rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.45rem; }

p { color: var(--muted); }

a { color: var(--bronze); }

.skip-link {
  position: absolute;
  top: -48px;
  inset-inline-start: 1rem;
  z-index: 2000;
  background: #fff;
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

.skip-link:focus { top: 0.7rem; }

.topbar {
  background: #5e4522;
  color: #f8f1e4;
  font-size: 0.92rem;
  padding: 0.45rem 0;
}

.topbar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover { color: #fff; }

.topbar span { font-weight: 700; }

.site-nav {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(80, 58, 24, 0.05);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--bronze);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav .nav-link {
  color: var(--ink);
  font-weight: 700;
  padding: 0.45rem 0.85rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--gold-deep); }

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(184, 146, 74, 0.25);
}

.hero {
  position: relative;
  padding: 2.4rem 0 3.2rem;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(212, 188, 134, 0.45), transparent 52%),
    var(--ivory);
}

.hero-card,
.photo-frame,
.hero-frame,
.service-card,
.branch-card,
.ship-card,
.form-card,
.aside-card,
.gallery-item {
  background: var(--paper);
  border: 1px solid rgba(184, 146, 74, 0.28);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 28px;
  padding: 1.4rem 1.4rem 1.6rem;
  text-align: center;
}

.hero-logo {
  width: min(250px, 78%);
  height: auto;
  margin-bottom: 0.4rem;
}

.eyebrow {
  margin: 0;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-lead { margin-bottom: 1.2rem; }

.hero-frame,
.photo-frame {
  margin: 0;
  padding: 12px;
  border-radius: 28px;
}

.hero-frame img,
.photo-frame img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

.hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hero-facts li {
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  text-align: center;
}

.hero-facts strong,
.steps strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
}

section[id],
header[id] { scroll-margin-top: 5.5rem; }

.hero-facts span,
.steps p { margin: 0; }

.hero-facts span { color: var(--muted); font-weight: 600; }

.btn-gold,
.btn-line {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-weight: 800;
}

.btn-gold {
  background: linear-gradient(180deg, #c6a25c, #967033);
  color: #fffaf2;
  border: 0;
}

.btn-gold:hover,
.btn-gold:focus {
  color: #fff;
  filter: brightness(1.06);
}

.btn-line {
  background: transparent;
  color: var(--bronze);
  border: 1px solid var(--gold);
}

.btn-line:hover,
.btn-line:focus {
  background: #fff;
  color: var(--bronze);
  border-color: var(--gold-deep);
}

.btn:focus-visible,
.gallery-item:focus-visible,
.wa-fab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.section { padding: 5rem 0; }

.section-sand { background: linear-gradient(180deg, #f3eadc, #f7f2e9); }

.section-head { text-align: center; margin-bottom: 2rem; }

.section-note {
  max-width: 38rem;
  margin: 0.8rem auto 0;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.ornament span {
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.check-list li {
  position: relative;
  padding-inline-start: 1.6rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.service-card,
.branch-card,
.ship-card,
.form-card,
.aside-card {
  border-radius: 24px;
  height: 100%;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.service-body,
.branch-card,
.ship-card { padding: 1.2rem 1.25rem 1.4rem; }

.service-card p,
.branch-card p,
.ship-card p { margin-bottom: 0; }

.service-card,
.branch-card,
.ship-card {
  transition: transform 0.25s ease;
}

.service-card:hover,
.branch-card:hover,
.ship-card:hover { transform: translateY(-4px); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
}

.steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.steps li > span {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #5e4522;
  color: #f8f1e4;
  font-family: var(--display);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 230px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item-tall {
  height: 100%;
  min-height: 478px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.gallery-item:hover img { transform: scale(1.045); }

.gallery-item span {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  width: fit-content;
  background: rgba(251, 248, 243, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.phone {
  display: block;
  margin: 0.35rem 0 1rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bronze);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-align: start;
}

.phone span,
.topbar span,
.site-footer a span {
  direction: ltr;
  unicode-bidi: isolate;
}

.phone:hover { color: var(--gold-deep); }

.ship-card { text-align: center; padding: 1.8rem 1.2rem; }

.ship-card i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 1.4rem;
}

.form-card,
.aside-body { padding: 1.5rem; }

.form-card h2 { margin-bottom: 0.3rem; }

.form-label { font-weight: 700; color: var(--ink); }

.form-control,
.form-select {
  background: #fffdf9;
  border: 1px solid rgba(122, 91, 46, 0.25);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(184, 146, 74, 0.18);
}

.form-hint {
  margin: 0;
  min-height: 1.4rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.aside-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.aside-body .phone:last-child { margin-bottom: 0; }

.site-footer {
  background: #3f321f;
  color: #f4eadc;
  padding: 3rem 0 1.5rem;
}

.site-footer p,
.site-footer a { color: #f0e4d0; }

.footer-logo {
  width: 170px;
  height: auto;
  background: #f7f2ea;
  border-radius: 18px;
  padding: 0.3rem;
}

.footer-name {
  display: block;
  color: #f8f1e4;
  font-size: 1.7rem;
}

.site-footer a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.site-footer a:hover { color: #fff; }

.footer-ornament { margin: 1.4rem 0 0.6rem; }

.footer-ornament span:first-child { background: linear-gradient(90deg, transparent, #d4bc86); }
.footer-ornament span:last-child { background: linear-gradient(90deg, #d4bc86, transparent); }
.footer-ornament i { border-color: #d4bc86; }

.copy {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
}

.wa-dock {
  position: fixed;
  z-index: 1040;
  bottom: 1.15rem;
  inset-inline-start: 1.15rem;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #1f8a4c;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 12px 26px rgba(20, 80, 40, 0.28);
}

.wa-fab::after { display: none; }

.wa-dock .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.35rem;
  min-width: 12rem;
  box-shadow: var(--shadow);
}

.wa-dock .dropdown-item {
  border-radius: 10px;
  font-weight: 700;
}

.wa-dock .dropdown-item:hover { background: #f6efe2; color: var(--bronze); }

.modal-content {
  background: #1c1814;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #111;
}

.modal-content p {
  color: #f6efe2;
  text-align: center;
  margin: 0;
  padding: 0.75rem 1rem 1rem;
}

.modal-content .btn-close {
  position: absolute;
  top: 0.7rem;
  inset-inline-end: 0.7rem;
  z-index: 2;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.55rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
  .gallery-item,
  .gallery-item-tall {
    height: 220px;
    min-height: 0;
  }

  .steps { grid-template-columns: 1fr 1fr; }

  .site-nav .nav-link {
    padding: 0.75rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 767.98px) {
  .section { padding: 3.3rem 0; }
  .hero-facts,
  .steps { grid-template-columns: 1fr; }
  .topbar { font-size: 0.82rem; }
  .hero { padding-top: 1.4rem; }
  .hero-logo { width: min(180px, 68%); }
  .site-footer { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .gallery-item img,
  .service-card,
  .branch-card,
  .ship-card { transition: none; }
}
