:root {
  --sm-green: #052d18;
  --sm-green-soft: #0c3a24;
  --sm-gold: #d1a052;
  --sm-cream: #f4efe5;
  --sm-ivory: #fbf8f2;
  --sm-ink: #18251e;
  --sm-muted: #667068;
  --sm-line: rgba(5, 45, 24, .13);
}

body.page-template-page-services-marrakech .page-body,
body.page-template-page-templatespage-services-marrakech-php .page-body,
.page-body:has(.sm-page) { padding-top: 0; background: var(--sm-ivory); }
.sm-page, .sm-page * { box-sizing: border-box; }
.sm-page { overflow: clip; background: var(--sm-ivory); color: var(--sm-ink); font-family: "DM Sans", sans-serif; }
.sm-page img { display: block; max-width: 100%; }
.sm-page a { color: inherit; }
.sm-shell { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.sm-section { padding: clamp(86px, 9vw, 144px) 0; }

.sm-kicker, .sm-eyebrow {
  margin: 0 0 22px;
  color: var(--sm-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .33em;
  line-height: 1.4;
  text-transform: uppercase;
}
.sm-heading h2, .sm-custom h2, .sm-final h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .98;
}
.sm-heading h2 em, .sm-custom h2 em, .sm-final h2 em { color: var(--sm-gold); font-weight: 400; }
.sm-heading--split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 80px; margin-bottom: 60px; }
.sm-heading--split > p, .sm-heading--catalogue > p, .sm-faq .sm-heading > p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 15px;
  line-height: 1.8;
}
.sm-heading--center { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.sm-heading--catalogue { max-width: 780px; margin-bottom: 48px; }
.sm-heading--catalogue > p { max-width: 710px; margin-top: 28px; }

.sm-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.sm-button:hover { transform: translateY(-2px); }
.sm-button:focus-visible, .sm-page a:focus-visible, .sm-page button:focus-visible, .sm-page input:focus-visible, .sm-page summary:focus-visible { outline: 3px solid rgba(209, 160, 82, .65); outline-offset: 3px; }
.sm-button--gold { background: var(--sm-gold); color: var(--sm-green) !important; }
.sm-button--gold:hover { background: #e0b66f; }
.sm-button--outline { border-color: rgba(255, 255, 255, .48); color: #fff !important; }
.sm-button--outline:hover { border-color: var(--sm-gold); color: var(--sm-gold) !important; }
.sm-button--dark { border-color: var(--sm-green); background: transparent; color: var(--sm-green); cursor: pointer; }
.sm-button--dark:hover { background: var(--sm-green); color: #fff; }
.sm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sm-center { text-align: center; }
.sm-text-link { display: inline-block; color: var(--sm-green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.sm-text-link:hover { color: #9d712c; }

/* Hero */
.sm-hero { position: relative; min-height: min(810px, calc(100svh - 35px)); display: flex; align-items: center; isolation: isolate; background: var(--sm-green); color: #fff; }
.sm-hero__image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sm-hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3, 32, 18, .96) 0%, rgba(3, 32, 18, .82) 39%, rgba(3, 32, 18, .16) 72%, rgba(3, 32, 18, .08) 100%); }
.sm-hero__content { padding: 100px 0 122px; }
.sm-hero h1 { max-width: 870px; margin: 0 0 30px; font-family: "Cormorant Garamond", serif; font-size: clamp(54px, 6.7vw, 98px); font-weight: 400; letter-spacing: -.035em; line-height: .94; }
.sm-hero h1 em { color: var(--sm-gold); font-weight: 400; }
.sm-hero__lead { max-width: 690px; margin: 0 0 38px; color: rgba(255, 255, 255, .8); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.75; }
.sm-hero__scroll { position: absolute; bottom: 34px; left: 50%; display: grid; justify-items: center; gap: 12px; color: rgba(255,255,255,.74); font-size: 9px; font-weight: 700; letter-spacing: .26em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.sm-hero__scroll i { width: 1px; height: 34px; background: var(--sm-gold); }

/* Univers */
.sm-univers { background: var(--sm-ivory); }
.sm-universe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sm-universe-card { position: relative; min-height: 460px; overflow: hidden; border-radius: 2px; color: #fff !important; isolation: isolate; text-decoration: none; }
.sm-universe-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.sm-universe-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 30, 17, .03) 24%, rgba(4, 30, 17, .9) 100%); }
.sm-universe-card__content { position: absolute; inset: auto 0 0; display: grid; gap: 10px; padding: 28px 26px; }
.sm-universe-card small { color: var(--sm-gold); font-size: 9px; font-weight: 800; letter-spacing: .28em; }
.sm-universe-card strong { font-family: "Cormorant Garamond", serif; font-size: 30px; font-weight: 500; line-height: 1.05; }
.sm-universe-card__content > span { min-height: 54px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; }
.sm-universe-card b { margin-top: 5px; color: var(--sm-gold); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.sm-universe-card b i { margin-left: 5px; font-size: 16px; font-style: normal; transition: margin .2s; }
.sm-universe-card:hover img { transform: scale(1.045); }
.sm-universe-card:hover b i { margin-left: 10px; }

/* Catalogue */
.sm-catalogue { background: var(--sm-cream); }
.sm-catalogue-tools { position: relative; z-index: 2; margin-bottom: 34px; padding: 22px; border: 1px solid var(--sm-line); background: rgba(251, 248, 242, .94); }
.sm-search { position: relative; max-width: 490px; margin-bottom: 20px; }
.sm-search svg { position: absolute; top: 50%; left: 17px; width: 18px; height: 18px; fill: none; stroke: var(--sm-green); stroke-width: 1.5; transform: translateY(-50%); }
.sm-search input { width: 100%; height: 52px; padding: 0 18px 0 49px; border: 1px solid var(--sm-line); border-radius: 0; background: #fff; color: var(--sm-ink); font: 500 14px "DM Sans", sans-serif; }
.sm-search input::placeholder { color: #90968f; }
.sm-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-filters button { min-height: 38px; padding: 8px 13px; border: 1px solid rgba(5,45,24,.14); border-radius: 99px; background: transparent; color: #536057; font: 700 10px "DM Sans", sans-serif; letter-spacing: .05em; cursor: pointer; }
.sm-filters button span { margin-left: 4px; opacity: .56; }
.sm-filters button:hover, .sm-filters button.is-active { border-color: var(--sm-green); background: var(--sm-green); color: #fff; }
.sm-results { margin-bottom: 18px; color: #7b837d; font-size: 12px; letter-spacing: .06em; }
.sm-results strong { color: var(--sm-green); }
.sm-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sm-service-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid rgba(5,45,24,.1); background: var(--sm-ivory); }
.sm-service-card[hidden] { display: none !important; }
.sm-service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d9d3c8; }
.sm-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.sm-service-card:hover .sm-service-card__media img { transform: scale(1.035); }
.sm-service-card__media > span { position: absolute; top: 16px; left: 16px; max-width: calc(100% - 32px); padding: 8px 10px; background: rgba(5,45,24,.9); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sm-service-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 23px 22px; }
.sm-service-card__meta { display: flex; min-height: 17px; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #8b918c; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sm-service-card__meta strong { color: #a77830; text-align: right; }
.sm-service-card h3 { margin: 0 0 11px; font-family: "Cormorant Garamond", serif; font-size: 29px; font-weight: 600; line-height: 1.05; }
.sm-service-card__body > p { margin: 0 0 18px; color: var(--sm-muted); font-size: 13px; line-height: 1.7; }
.sm-service-card__details { margin: auto 0 18px; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); }
.sm-service-card__details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; color: var(--sm-green); font-size: 10px; font-weight: 800; letter-spacing: .12em; cursor: pointer; list-style: none; text-transform: uppercase; }
.sm-service-card__details summary::-webkit-details-marker { display: none; }
.sm-service-card__details summary span { font-size: 17px; font-weight: 400; transition: transform .2s; }
.sm-service-card__details[open] summary span { transform: rotate(45deg); }
.sm-service-card__details p { margin: 0; padding: 0 0 14px; color: var(--sm-muted); font-size: 12px; line-height: 1.65; }
.sm-service-card__link { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--sm-line); color: var(--sm-green); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; }
.sm-service-card__link span { color: var(--sm-gold); font-size: 18px; transition: transform .2s; }
.sm-service-card__link:hover span { transform: translateX(5px); }
.sm-load-wrap { margin-top: 38px; text-align: center; }
.sm-empty { padding: 54px 24px; border: 1px solid var(--sm-line); text-align: center; }
.sm-empty h3 { margin: 0 0 10px; font-family: "Cormorant Garamond", serif; font-size: 34px; }
.sm-empty p { margin: 0 0 18px; color: var(--sm-muted); font-size: 14px; }

/* Process */
.sm-process { background: var(--sm-green); color: #fff; }
.sm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 56px; padding: 0; list-style: none; }
.sm-steps li { position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 20px; padding: 15px 40px; border-right: 1px solid rgba(209,160,82,.26); }
.sm-steps li:first-child { padding-left: 0; }
.sm-steps li:last-child { padding-right: 0; border-right: 0; }
.sm-steps li > span { color: var(--sm-gold); font-family: "Cormorant Garamond", serif; font-size: 40px; line-height: .9; }
.sm-steps h3 { margin: 0 0 13px; font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 500; line-height: 1.05; }
.sm-steps p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }

/* Custom request */
.sm-custom { display: grid; min-height: 680px; grid-template-columns: 1fr 1fr; background: #071f14; color: #fff; }
.sm-custom__media { min-height: 580px; overflow: hidden; }
.sm-custom__media img { width: 100%; height: 100%; object-fit: cover; }
.sm-custom__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(60px, 8vw, 120px); }
.sm-custom h2 { font-size: clamp(48px, 5vw, 72px); }
.sm-custom__content > p:not(.sm-kicker) { max-width: 620px; margin: 30px 0 38px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.8; }

/* FAQ */
.sm-faq { background: var(--sm-ivory); }
.sm-faq__layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(60px, 9vw, 130px); }
.sm-faq .sm-heading { position: sticky; top: 120px; align-self: start; }
.sm-faq .sm-heading > p { margin: 28px 0 22px; }
.sm-faq__list { border-top: 1px solid var(--sm-line); }
.sm-faq__list details { border-bottom: 1px solid var(--sm-line); }
.sm-faq__list summary { display: grid; grid-template-columns: 42px 1fr 30px; align-items: center; gap: 14px; padding: 26px 0; color: var(--sm-ink); font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 600; line-height: 1.15; cursor: pointer; list-style: none; }
.sm-faq__list summary::-webkit-details-marker { display: none; }
.sm-faq__list summary span { color: var(--sm-gold); font: 700 9px "DM Sans", sans-serif; letter-spacing: .2em; }
.sm-faq__list summary i { color: var(--sm-gold); font-family: "DM Sans", sans-serif; font-size: 20px; font-style: normal; font-weight: 300; text-align: right; transition: transform .2s; }
.sm-faq__list details[open] summary i { transform: rotate(45deg); }
.sm-faq__list details p { margin: -4px 30px 28px 56px; color: var(--sm-muted); font-size: 14px; line-height: 1.8; }

/* Final CTA */
.sm-final { position: relative; min-height: 610px; display: grid; place-items: center; isolation: isolate; color: #fff; text-align: center; }
.sm-final > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sm-final__shade { position: absolute; inset: 0; z-index: -1; background: rgba(3,32,18,.7); }
.sm-final__content { width: min(920px, calc(100% - 44px)); padding: 80px 0; }
.sm-final h2 { margin-bottom: 36px; font-size: clamp(52px, 7vw, 90px); }
.sm-mobile-whatsapp { display: none; }

@media (max-width: 1080px) {
  .sm-shell { width: min(100% - 48px, 920px); }
  .sm-universe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-heading--split { gap: 40px; }
  .sm-steps { gap: 28px; }
  .sm-steps li { grid-template-columns: 40px 1fr; padding-inline: 18px; }
  .sm-custom { grid-template-columns: .85fr 1.15fr; }
  .sm-custom__content { padding: 64px 48px; }
}

@media (max-width: 760px) {
  .sm-shell { width: min(100% - 34px, 620px); }
  .sm-section { padding: 76px 0; }
  .sm-heading--split, .sm-faq__layout { grid-template-columns: 1fr; gap: 30px; }
  .sm-heading--split { margin-bottom: 38px; }
  .sm-heading h2, .sm-custom h2, .sm-final h2 { font-size: clamp(43px, 13vw, 58px); }
  .sm-hero { min-height: 760px; align-items: flex-end; }
  .sm-hero__image { object-position: 68% center; }
  .sm-hero__veil { background: linear-gradient(0deg, rgba(3,32,18,.98) 0%, rgba(3,32,18,.77) 58%, rgba(3,32,18,.2) 100%); }
  .sm-hero__content { padding: 170px 0 104px; }
  .sm-hero h1 { font-size: clamp(49px, 15vw, 68px); line-height: .93; }
  .sm-hero h1 br { display: none; }
  .sm-hero__lead { font-size: 15px; line-height: 1.65; }
  .sm-hero .sm-actions, .sm-custom .sm-actions { display: grid; width: 100%; }
  .sm-hero__scroll { display: none; }
  .sm-universe-grid { gap: 10px; }
  .sm-universe-card { min-height: 390px; }
  .sm-universe-card__content { padding: 22px 18px; }
  .sm-universe-card strong { font-size: 25px; }
  .sm-universe-card__content > span { min-height: 66px; font-size: 11px; }
  .sm-service-grid { grid-template-columns: 1fr; }
  .sm-catalogue-tools { padding: 16px; }
  .sm-filters { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .sm-filters::-webkit-scrollbar { display: none; }
  .sm-filters button { flex: 0 0 auto; }
  .sm-steps { grid-template-columns: 1fr; gap: 0; }
  .sm-steps li, .sm-steps li:first-child, .sm-steps li:last-child { grid-template-columns: 48px 1fr; padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(209,160,82,.22); }
  .sm-steps li:last-child { border-bottom: 0; }
  .sm-custom { grid-template-columns: 1fr; }
  .sm-custom__media { min-height: 410px; }
  .sm-custom__content { padding: 70px 24px 82px; }
  .sm-faq .sm-heading { position: static; }
  .sm-faq__list summary { grid-template-columns: 30px 1fr 22px; gap: 10px; font-size: 21px; }
  .sm-faq__list details p { margin-left: 40px; }
  .sm-final { min-height: 560px; }
  .sm-mobile-whatsapp { position: fixed; right: 14px; bottom: 14px; z-index: 100; display: inline-flex; min-height: 47px; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; background: #167c43; box-shadow: 0 12px 28px rgba(0,0,0,.24); color: #fff !important; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
  .sm-mobile-whatsapp svg { width: 21px; height: 21px; fill: currentColor; }
}

@media (max-width: 480px) {
  .sm-shell { width: calc(100% - 28px); }
  .sm-universe-grid { grid-template-columns: 1fr; }
  .sm-universe-card { min-height: 410px; }
  .sm-universe-card__content > span { min-height: 0; }
  .sm-button { width: 100%; }
  .sm-service-card__body { padding: 22px 18px; }
  .sm-faq__list details p { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-page *, .sm-page *::before, .sm-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
