:root {
  --cream: #fbf5ea;
  --cream-2: #fffaf1;
  --navy: #0b2d55;
  --navy-soft: #123b67;
  --gold: #c69142;
  --gold-light: #edc57d;
  --green: #16a75b;
  --green-dark: #0d8646;
  --text: #15304d;
  --muted: #58687b;
  --card: rgba(255, 255, 255, 0.84);
  --shadow: 0 18px 48px rgba(35, 38, 46, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(237, 197, 125, 0.28), transparent 24rem),
    radial-gradient(circle at 94% 18%, rgba(255, 255, 255, 0.85), transparent 22rem),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 10px max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255, 250, 241, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(198, 145, 66, 0.08);
}

.brand {
  color: var(--navy);
  min-width: 190px;
}

.brand-script {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.85rem, 2.7vw, 2.65rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.palm {
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

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

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(22, 167, 91, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 18px 36px rgba(22, 167, 91, 0.28);
}

.whatsapp-btn.small {
  padding: 9px 18px;
  border: 1px solid rgba(22, 167, 91, 0.7);
  background: #fff;
  color: var(--green);
  box-shadow: none;
}

.wa-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
}

.language-switcher {
  position: relative;
}

.language-current {
  min-width: 58px;
  padding: 9px 13px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(22, 36, 55, 0.08);
}

#currentFlag {
  display: none;
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  min-width: 150px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.language-switcher.open .language-menu {
  display: grid;
}

.language-menu button {
  border: 0;
  border-radius: 6px;
  padding: 9px 10px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover {
  background: #f7eddd;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background: var(--navy);
}

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 560px;
  margin: 0;
  padding: 34px max(24px, calc((100% - 1160px) / 2)) 56px;
  display: grid;
  grid-template-columns: minmax(340px, 0.48fr) minmax(420px, 0.52fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  background-image: url("assets/samia-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.94) 28%, rgba(255, 250, 241, 0.60) 43%, rgba(255, 250, 241, 0.10) 68%, rgba(255, 250, 241, 0) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 110vw;
  height: 70px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 0 50% 50%;
  pointer-events: none;
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-visual::before,
.hero-visual img {
  display: none;
}

.trust-badge {
  position: absolute;
  right: max(34px, calc((100% - 1160px) / 2 + 70px));
  bottom: 140px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9a85b, #c58a33);
  color: #fff;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 18px 38px rgba(98, 67, 30, 0.16);
}

.trust-badge span {
  margin-bottom: 6px;
  font-size: 1.85rem;
  line-height: 1;
}

.trust-badge strong {
  display: block;
  font-size: 1rem;
}

.eyebrow {
  display: none;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 570px;
  font-size: clamp(2.65rem, 4.7vw, 4.35rem);
}

h1::first-line {
  color: var(--navy);
}

.hero-copy h1 {
  color: var(--gold);
}

.hero-hand,
.footer-hand {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--navy);
}

.hero-hand {
  max-width: 510px;
  margin: 18px 0 12px;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.hero-text {
  max-width: 500px;
  margin: 0 0 22px;
  font-size: 1rem;
}

.hero-btn {
  min-height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 1.02rem;
}

.quick-note {
  margin: 13px 0 0;
  padding-left: 78px;
  color: var(--navy);
  font-size: 0.94rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
}

.ornament {
  display: block;
  width: 72px;
  height: 13px;
  margin: 13px auto 0;
  background: radial-gradient(circle at 8px 6px, transparent 6px, var(--gold) 7px, transparent 8px) 0 0 / 24px 13px repeat-x;
}

.services,
.popular,
.testimonials {
  padding: 34px 0;
}

.services {
  position: relative;
  z-index: 1;
  margin-top: -18px;
  padding-top: 22px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.service-card,
.testimonial-card {
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card {
  min-height: 222px;
  padding: 22px 16px 18px;
  text-align: center;
}

.service-card:hover,
.popular-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(20, 41, 69, 0.14);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 15px;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
}

.service-icon.blue { background: #e3eef1; color: #0d7094; }
.service-icon.gold { background: #fff0d8; color: #e5861b; }
.service-icon.green { background: #e7f0e4; color: #087097; }
.service-icon.soft { background: #edf0f4; color: #276091; }
.service-icon.coral { background: #f7e4dd; color: #e45540; }
.service-icon.sand { background: #f5ecdc; color: var(--gold); }

.service-card h3 {
  min-height: 48px;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.service-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

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

.popular-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 41, 69, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.popular-card img {
  width: 100%;
  aspect-ratio: 2.45 / 1;
  object-fit: cover;
}

.popular-card > div {
  padding: 20px 22px 18px;
}

.popular-card h3 {
  margin-bottom: 6px;
  font-size: 1.32rem;
}

.popular-card p {
  min-height: 44px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-row strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.price-row a,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.price-row a:hover,
.outline-btn:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: #fff;
}

.testimonials {
  padding-top: 28px;
  overflow: hidden;
}

.testimonial-carousel {
  overflow: hidden;
  width: 100%;
  padding: 2px 0 8px;
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 26px;
  animation: testimonial-scroll 52s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 calc((min(1160px, calc(100vw - 48px)) - 52px) / 3);
  min-height: 210px;
  padding: 22px;
}

.person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1dfbe;
  color: var(--navy);
  font-weight: 900;
}

.person h3 {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
}

.person p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.stars {
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.testimonial-card > p {
  margin: 0;
  line-height: 1.55;
}

.review-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.outline-btn.filled {
  background: var(--gold);
  color: #fff;
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.starter {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  width: min(1160px, calc(100% - 48px));
  min-height: 132px;
  margin: 28px auto 0;
  padding: 22px 30px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(238, 248, 252, 0.98) 0%, rgba(238, 248, 252, 0.95) 58%, rgba(246, 237, 220, 0.86) 100%);
  box-shadow: 0 12px 34px rgba(20, 41, 69, 0.06);
}

.starter::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: url("assets/starter-detail.png") right center / auto 100% no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.starter-icon,
.starter-copy,
.starter-form,
.starter .form-message {
  position: relative;
  z-index: 1;
}

.starter-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--gold);
  border: 1px solid rgba(198, 145, 66, 0.24);
  font-size: 2rem;
}

.starter h2 {
  font-size: 1.5rem;
}

.starter p {
  margin: 3px 0 0;
  max-width: 520px;
  line-height: 1.4;
}

.starter-form {
  display: flex;
  min-height: 48px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 41, 69, 0.08);
}

.starter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 22px;
  border-radius: 14px 0 0 14px;
  color: var(--navy);
  background: #fff;
  font: inherit;
}

.starter-form button {
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  background: var(--gold);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.starter-form button:hover {
  transform: translateY(-2px);
  background: #b87f2d;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--green-dark);
  font-weight: 800;
  text-align: center;
}

.starter .form-message:empty {
  display: none;
}

.testimonials .form-message:empty {
  display: none;
}

.site-footer {
  padding: 28px 0 16px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.82), #fff8ee);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
  gap: 42px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-hand {
  margin-top: 18px !important;
  color: var(--navy) !important;
  font-size: 1.12rem !important;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--navy);
  font-weight: 900;
}

.socials a:last-child {
  color: var(--green);
}

.copyright {
  width: min(1160px, calc(100% - 48px));
  margin: 22px auto 0 !important;
  text-align: center;
  font-size: 0.82rem !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

html[dir="rtl"] .main-nav,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .price-row,
html[dir="rtl"] .person,
html[dir="rtl"] .review-actions,
html[dir="rtl"] .socials {
  direction: rtl;
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

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

html[dir="rtl"] .quick-note {
  padding-left: 0;
  padding-right: 78px;
}

html[dir="rtl"] .starter-form input {
  border-radius: 0 14px 14px 0;
  text-align: right;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
    padding-inline: 24px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-open .main-nav,
  .menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .menu-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 12px;
  }

  .menu-open .header-actions {
    align-items: center;
    padding-bottom: 14px;
  }

  .hero {
    display: block;
    min-height: 520px;
    padding-top: 44px;
    padding-bottom: 44px;
    background-position: 60% center;
  }

  .hero-copy {
    max-width: 520px;
  }

  .trust-badge {
    right: 28px;
    bottom: 70px;
    width: 122px;
    height: 122px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-card {
    flex-basis: calc((min(1160px, calc(100vw - 48px)) - 26px) / 2);
  }

  .starter {
    grid-template-columns: auto 1fr;
  }

  .starter-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section,
  .footer-grid,
  .copyright {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    gap: 12px;
    padding: 9px 14px;
  }

  .brand-script {
    font-size: 2.2rem;
  }

  .brand-line {
    font-size: 0.68rem;
  }

  .palm {
    font-size: 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    min-height: 500px;
    padding: 32px 14px 42px;
    background-position: 64% center;
    width: 100%;
  }

  .hero-hand {
    font-size: 1.3rem;
  }

  .hero-btn {
    width: 100%;
  }

  .quick-note,
  html[dir="rtl"] .quick-note {
    padding: 0;
    text-align: center;
  }

  .trust-badge {
    display: none;
  }

  .service-grid,
  .popular-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    gap: 18px;
  }

  .testimonial-card {
    flex-basis: calc(100vw - 28px);
    min-height: 200px;
  }

  .service-card {
    min-height: 0;
  }

  .popular-card p {
    min-height: 0;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-actions {
    flex-direction: column;
  }

  .starter {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1160px);
    min-height: 0;
    padding: 24px 18px;
    text-align: center;
  }

  .starter::after {
    opacity: 0.12;
    width: 100%;
  }

  .starter-icon {
    margin: 0 auto;
  }

  .starter-form {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.86);
  }

  .starter-form input,
  html[dir="rtl"] .starter-form input {
    min-height: 48px;
    border-radius: 10px;
  }

  .starter-form button {
    min-height: 48px;
    border-radius: 10px;
  }
}
