/*
Theme Name: Sultan Fönsterputs
Theme URI: https://sultanfonsterputs.se
Author: Sultan Fönsterputs
Description: Skräddarsytt tema för Sultan Fönsterputs &amp; Flyttstäd i Angered, Göteborg. Modernt skandinaviskt uttryck. Kopplas mot StädSystem-pluginet för bokning och kundhantering.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sultan
Tags: business, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-bg: #F5F1EA;
  --color-bg-alt: #FBF8F1;
  --color-bg-warm: #F0EADF;
  --color-card: #FFFFFF;
  --color-primary: #1B3A2F;
  --color-primary-light: #2A5443;
  --color-primary-soft: #E8F0EA;
  --color-accent: #D97757;
  --color-accent-soft: #FDEDE6;
  --color-text: #1A1A1A;
  --color-text-soft: #2B2B2B;
  --color-muted: #6B6B6B;
  --color-muted-light: #8A8170;
  --color-border: #E5DFD2;
  --color-border-soft: #F0EADF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --max-width-text: 720px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(27,58,47,0.06);
  --shadow: 0 1px 3px rgba(27,58,47,0.06), 0 8px 24px rgba(27,58,47,0.04);
  --shadow-lg: 0 12px 48px rgba(27,58,47,0.08);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }
::selection { background: var(--color-primary); color: white; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.02em; color: var(--color-primary);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.125rem; }
em { font-style: italic; font-weight: 300; }
p { line-height: 1.65; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 1.5rem; }
.container--text { max-width: var(--max-width-text); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 234, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: var(--max-width); margin: 0 auto;
  gap: 2rem;
}
.site-brand { display: flex; align-items: center; }
.site-brand img, .site-brand svg { height: 56px; width: auto; max-width: 260px; }
.site-brand--small img, .site-brand--small svg { height: 42px; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav ul {
  display: flex; gap: 1.75rem; list-style: none;
  font-size: 0.875rem; font-weight: 500;
}
.site-nav a {
  color: var(--color-text); position: relative; padding: 0.35rem 0;
  display: inline-block;
}
.site-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--color-primary);
  transition: width var(--transition);
}
.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after { width: 100%; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; width: 44px; height: 44px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--color-primary); margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
}
.site-nav.is-open ~ .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.site-nav.is-open ~ .menu-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open ~ .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: white; }
.btn--primary:hover { background: var(--color-primary-light); opacity: 1; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn--ghost:hover { background: var(--color-bg-alt); border-color: var(--color-primary); opacity: 1; }
.btn--accent { background: var(--color-accent); color: white; }
.btn--accent:hover { background: #C26747; opacity: 1; transform: translateY(-1px); }
.btn--lg { padding: 1.1rem 2rem; font-size: 0.9375rem; }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.8125rem; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,0.3); color: white; }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: white; opacity: 1; }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 5rem 0 6rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -250px; right: -250px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,47,0.07), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; bottom: -400px; left: -300px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,87,0.08), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--color-muted); margin-bottom: 1.75rem;
  padding: 0.4rem 1rem; border: 1px solid var(--color-border);
  border-radius: 999px; background: rgba(255,255,255,0.5);
}
.hero__eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent); display: inline-block;
}
.hero__title { max-width: 18ch; margin-bottom: 1.75rem; }
.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  max-width: 52ch; color: var(--color-muted); margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__meta {
  margin-top: 4rem; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem; padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}
.hero__meta-item { }
.hero__meta-num {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-primary); display: block; line-height: 1;
  font-weight: 500;
}
.hero__meta-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--color-muted); margin-top: 0.75rem; display: block;
}

/* Page hero (sub-pages) */
.page-hero {
  padding: 4rem 0 3rem; text-align: left;
  border-bottom: 1px solid var(--color-border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,47,0.05), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: var(--max-width-text); }
.page-hero__crumbs {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-muted); margin-bottom: 1rem;
}
.page-hero__crumbs a { color: var(--color-muted); }
.page-hero__crumbs a:hover { color: var(--color-primary); opacity: 1; }
.page-hero__crumbs::before { content: '→ '; }
.page-hero h1 { max-width: 22ch; margin-bottom: 1rem; }
.page-hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  color: var(--color-muted); max-width: 52ch; line-height: 1.6;
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 5rem 0; position: relative; }
.section--lg { padding: 6.5rem 0; }
.section--alt { background: var(--color-bg-alt); }
.section--warm { background: var(--color-bg-warm); }
.section--dark { background: var(--color-primary); color: rgba(255,255,255,0.85); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: white; }

.section__head { margin-bottom: 3.5rem; max-width: 720px; }
.section__head--center { margin: 0 auto 3.5rem; text-align: center; }
.section__eyebrow {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--color-muted); display: block; margin-bottom: 1rem;
}
.section--dark .section__eyebrow { color: rgba(255,255,255,0.6); }
.section__title { margin-bottom: 1.25rem; max-width: 22ch; }
.section__head--center .section__title { margin-left: auto; margin-right: auto; }
.section__lede {
  max-width: 60ch; color: var(--color-muted); font-size: 1.0625rem;
  line-height: 1.65;
}
.section--dark .section__lede { color: rgba(255,255,255,0.75); }
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   SERVICE CARDS
============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--color-primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  font-size: 2rem; margin-bottom: 1.25rem; display: inline-flex;
  width: 56px; height: 56px; align-items: center; justify-content: center;
  background: var(--color-bg-alt); border-radius: 16px;
}
.service-card__title { font-size: 1.375rem; margin-bottom: 0.625rem; }
.service-card__desc { font-size: 0.9375rem; color: var(--color-muted); margin-bottom: 1.5rem; flex: 1; line-height: 1.6; }
.service-card__list { list-style: none; margin-bottom: 1.5rem; }
.service-card__list li {
  font-size: 0.875rem; color: var(--color-text-soft);
  padding: 0.4rem 0; padding-left: 1.5rem; position: relative;
  border-bottom: 1px dashed var(--color-border-soft);
}
.service-card__list li:last-child { border-bottom: 0; }
.service-card__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0.4rem;
  color: var(--color-accent); font-weight: 700;
}
.service-card__price {
  font-family: var(--font-display); color: var(--color-primary);
  font-size: 1rem; padding-top: 1.25rem; margin-top: auto;
  border-top: 1px solid var(--color-border-soft);
}
.service-card__price strong { font-size: 1.375rem; }

/* ============================================================
   FEATURES (Why us)
============================================================ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
.feature { }
.feature__num {
  font-family: var(--font-display); font-size: 0.95rem;
  color: var(--color-accent); display: block; margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.feature__title { font-size: 1.1875rem; margin-bottom: 0.625rem; }
.feature__desc { font-size: 0.9375rem; color: var(--color-muted); line-height: 1.65; }

/* ============================================================
   PROCESS (How it works)
============================================================ */
.process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; counter-reset: step;
}
.process-step {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative; counter-increment: step;
  transition: transform var(--transition);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 3rem;
  color: var(--color-bg-warm); line-height: 1; font-weight: 500;
}
.process-step:hover { transform: translateY(-3px); }
.process-step__title { font-size: 1.125rem; margin-bottom: 0.75rem; max-width: 12ch; }
.process-step__desc { font-size: 0.875rem; color: var(--color-muted); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column;
}
.testimonial__quote {
  font-family: var(--font-display); font-size: 1.0625rem;
  line-height: 1.55; color: var(--color-primary);
  margin-bottom: 1.25rem; flex: 1; font-style: italic; font-weight: 400;
}
.testimonial__quote::before { content: '"'; font-size: 2.5rem; line-height: 0; vertical-align: -0.4em; color: var(--color-accent); margin-right: 0.25rem; }
.testimonial__meta {
  display: flex; align-items: center; gap: 0.875rem;
  padding-top: 1.25rem; border-top: 1px solid var(--color-border-soft);
}
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-bg-warm); display: grid; place-items: center;
  font-family: var(--font-display); color: var(--color-primary);
  font-weight: 600; font-size: 0.875rem; flex-shrink: 0;
}
.testimonial__name { font-weight: 600; font-size: 0.875rem; }
.testimonial__role { font-size: 0.75rem; color: var(--color-muted); }
.testimonial__stars { color: #E8B86A; font-size: 0.875rem; margin-top: 0.15rem; letter-spacing: 0.1em; }

/* ============================================================
   AREAS SERVED
============================================================ */
.areas-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.625rem;
}
.area-pill {
  padding: 0.85rem 1rem; background: var(--color-card);
  border: 1px solid var(--color-border); border-radius: 10px;
  font-size: 0.875rem; text-align: center; color: var(--color-text);
  transition: all var(--transition); cursor: default;
}
.area-pill:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ============================================================
   CONTACT CARDS
============================================================ */
.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-bottom: 3rem;
}
.contact-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  text-align: left; transition: transform var(--transition), border-color var(--transition);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--color-primary); }
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--color-bg-alt); display: grid; place-items: center;
  margin-bottom: 1.25rem; font-size: 1.25rem;
}
.contact-card__label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-muted); margin-bottom: 0.5rem;
}
.contact-card__value {
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--color-primary); font-weight: 500; line-height: 1.3;
  display: block; word-break: break-word;
}
.contact-card__value a { color: inherit; }
.contact-card__sub {
  font-size: 0.875rem; color: var(--color-muted); margin-top: 0.5rem;
}

/* ============================================================
   MAP
============================================================ */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ============================================================
   OPENING HOURS
============================================================ */
.hours-list { list-style: none; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 0.625rem 0; border-bottom: 1px solid var(--color-border-soft);
  font-size: 0.9375rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--color-muted); }
.hours-list .time { font-weight: 500; color: var(--color-text); }
.hours-list .closed { color: var(--color-accent); }

/* ============================================================
   BOOKING FORM
============================================================ */
.booking-section { background: var(--color-primary); color: white; padding: 5.5rem 0; position: relative; overflow: hidden; }
.booking-section::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
}
.booking-section h2 { color: white; }
.booking-section .section__eyebrow { color: rgba(255,255,255,0.6); }
.booking-section .section__lede { color: rgba(255,255,255,0.75); }
.booking-form {
  max-width: 760px; margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 2.75rem;
  backdrop-filter: blur(4px); position: relative; z-index: 1;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row--full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7); font-weight: 500;
}
.form-field input, .form-field select, .form-field textarea {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 0.85rem 1rem; color: white;
  font-family: inherit; font-size: 0.9375rem; transition: all var(--transition);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
}
.form-field select option { background: var(--color-primary); color: white; }
.form-field textarea { resize: vertical; min-height: 100px; }

.form-message { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; font-size: 0.9rem; }
.form-message--success { background: rgba(180,255,180,0.12); border: 1px solid rgba(180,255,180,0.3); }
.form-message--error { background: rgba(255,180,180,0.12); border: 1px solid rgba(255,180,180,0.3); }
.booking-form .btn { width: 100%; padding: 1.1rem; font-size: 0.9375rem; }

/* Light contact form (used on /kontakt) */
.contact-form-light {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.contact-form-light .form-field label { color: var(--color-muted); }
.contact-form-light .form-field input,
.contact-form-light .form-field select,
.contact-form-light .form-field textarea {
  background: var(--color-bg-alt); border-color: var(--color-border); color: var(--color-text);
}
.contact-form-light .form-field input::placeholder,
.contact-form-light .form-field textarea::placeholder { color: var(--color-muted-light); }
.contact-form-light .form-field input:focus,
.contact-form-light .form-field select:focus,
.contact-form-light .form-field textarea:focus {
  background: white; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27,58,47,0.08);
}
.contact-form-light .form-field select option { background: white; color: var(--color-text); }

/* ============================================================
   CTA STRIPE
============================================================ */
.cta-stripe { padding: 4.5rem 0; text-align: center; }
.cta-stripe h2 { margin-bottom: 1rem; }
.cta-stripe p { color: var(--color-muted); margin-bottom: 2rem; font-size: 1.0625rem; max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-stripe__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ABOUT (om-oss) specific
============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { font-size: 1.0625rem; color: var(--color-text-soft); margin-bottom: 1.25rem; line-height: 1.7; }
.about-text p:first-of-type { font-family: var(--font-display); font-size: 1.375rem; color: var(--color-primary); font-weight: 400; line-height: 1.4; margin-bottom: 1.75rem; }
.about-text p:first-of-type::first-letter { font-family: var(--font-display); font-size: 3.5rem; float: left; line-height: 0.9; margin-right: 0.5rem; color: var(--color-accent); font-weight: 500; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.value-card { padding: 2rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.value-card__icon { font-size: 1.5rem; margin-bottom: 1rem; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--color-primary-soft); border-radius: 12px; }
.value-card__title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.value-card__desc { font-size: 0.875rem; color: var(--color-muted); line-height: 1.6; }

.timeline { position: relative; padding-left: 2rem; max-width: 720px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--color-border); }
.timeline-item { position: relative; padding-bottom: 2.5rem; padding-left: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -5px; top: 0.5rem; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-bg); }
.timeline-year { font-family: var(--font-display); font-size: 0.875rem; color: var(--color-accent); display: block; margin-bottom: 0.25rem; }
.timeline-title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.timeline-desc { font-size: 0.9375rem; color: var(--color-muted); line-height: 1.6; }

/* ============================================================
   FAQ
============================================================ */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 1.125rem;
  color: var(--color-primary); transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 300;
  color: var(--color-accent); transition: transform var(--transition);
  font-family: var(--font-body);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-accent); }
.faq-item__answer {
  padding: 0 0 1.5rem; color: var(--color-muted);
  font-size: 0.9375rem; line-height: 1.65;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--color-primary); color: rgba(255,255,255,0.8);
  padding: 5rem 0 2rem; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,87,0.06), transparent 70%);
}
.site-footer h4 {
  color: white; font-size: 0.75rem; margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  font-family: var(--font-body);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
  position: relative; z-index: 1;
}
.site-footer a {
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
  transition: color var(--transition);
}
.site-footer a:hover { color: white; opacity: 1; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.625rem; }
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand img, .footer-brand svg { height: 64px; max-width: 280px; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 34ch; line-height: 1.6; }
.footer-contact-line {
  display: flex; align-items: center; gap: 0.625rem;
  margin-bottom: 0.625rem; font-size: 0.875rem;
}
.footer-contact-line svg { flex-shrink: 0; opacity: 0.7; }

.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
}
.footer-badges { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
}
.footer-badge::before {
  content: '✓'; color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
}

/* ============================================================
   PAGE / SINGLE (default)
============================================================ */
.page-content { padding: 1rem 0 5rem; max-width: var(--max-width-text); }
.page-content p { margin-bottom: 1.25rem; color: var(--color-text-soft); }
.page-content h2, .page-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; }
.page-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-content ul, .page-content ol { margin-left: 1.5rem; margin-bottom: 1.25rem; color: var(--color-text-soft); }
.page-content li { margin-bottom: 0.4rem; }
.page-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic;
  color: var(--color-primary); font-family: var(--font-display); font-size: 1.125rem;
}

/* ============================================================
   GRID / LAYOUT HELPERS
============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col--unequal { grid-template-columns: 2fr 1fr; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .two-col, .two-col--unequal { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-header__inner { padding: 0.875rem 1.25rem; }
  .site-brand img, .site-brand svg { height: 48px; max-width: 200px; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding: 1.5rem; flex-direction: column; align-items: stretch; gap: 1.25rem; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 1rem; }
  .site-nav .btn { width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .section--lg { padding: 4.5rem 0; }
  .booking-form, .contact-form-light { padding: 1.75rem; }
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-up.d-1 { animation-delay: 0.08s; }
.fade-up.d-2 { animation-delay: 0.16s; }
.fade-up.d-3 { animation-delay: 0.24s; }
.fade-up.d-4 { animation-delay: 0.32s; }

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

/* ============================================================
   CUSTOMER PORTAL
============================================================ */
.portal-page { background: #F5F1EA; min-height: 70vh; padding: 3rem 0 5rem; }
.portal-shell { max-width: 980px; margin: 0 auto; padding: 0 1.5rem; }

#sultan-portal { color: #1A1A1A; }

.portal-loader {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 5rem 0; color: #6B6B6B;
}
.portal-spinner {
  width: 32px; height: 32px;
  border: 3px solid #E5DFD2; border-top-color: #1B3A2F;
  border-radius: 50%; animation: portalSpin 0.8s linear infinite;
}
@keyframes portalSpin { to { transform: rotate(360deg); } }

.portal-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: #8A8170; font-weight: 500; display: inline-block; margin-bottom: 0.5rem;
}
.portal-title {
  font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400; color: #1B3A2F; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.portal-title em { font-style: italic; font-weight: 500; }
.portal-desc { color: #6B6B6B; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ---- LOGIN ---- */
.portal-login {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 0;
}
.portal-login-card {
  background: white; border: 1px solid #E5DFD2; border-radius: 16px;
  padding: 3rem 2.5rem; max-width: 460px; width: 100%;
  box-shadow: 0 4px 24px rgba(27, 58, 47, 0.06);
}
.portal-login-head { text-align: left; margin-bottom: 2rem; }

/* ---- DASHBOARD ---- */
.portal-shell-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.portal-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 1.5rem; border-bottom: 1px solid #E5DFD2;
  flex-wrap: wrap; gap: 1rem;
}

/* ---- TABS ---- */
.portal-tabs {
  display: flex; gap: 0.25rem; background: white;
  border: 1px solid #E5DFD2; border-radius: 10px; padding: 4px;
  overflow-x: auto;
}
.portal-tab {
  background: transparent; border: none; cursor: pointer;
  padding: 0.6rem 1rem; border-radius: 6px;
  font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 500;
  color: #6B6B6B; white-space: nowrap; display: flex; align-items: center; gap: 6px;
  transition: all 0.15s ease;
}
.portal-tab:hover { color: #1B3A2F; }
.portal-tab.is-active { background: #1B3A2F; color: white; }
.portal-tab-badge {
  background: #D97757; color: white; font-size: 10px;
  padding: 2px 6px; border-radius: 10px; font-weight: 600;
}

/* ---- CONTENT ---- */
.portal-content { padding-top: 0.5rem; }
.portal-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.portal-card {
  background: white; border: 1px solid #E5DFD2; border-radius: 12px;
  padding: 1.5rem;
}
.portal-card.is-accent { background: #1B3A2F; color: white; border-color: #1B3A2F; }
.portal-card.is-accent .portal-card-eyebrow,
.portal-card.is-accent .portal-card-meta { color: rgba(255,255,255,0.7); }
.portal-card.is-accent .portal-card-title { color: white; }
.portal-card-eyebrow {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: #8A8170; display: block; margin-bottom: 0.5rem;
}
.portal-card-title {
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 500;
  color: #1B3A2F; margin: 0 0 0.25rem;
}
.portal-card-meta { color: #6B6B6B; font-size: 0.85rem; margin: 0; }

/* ---- SECTION ---- */
.portal-section { margin-top: 1.5rem; }
.portal-section-title {
  font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 500;
  color: #1B3A2F; margin: 0 0 0.5rem;
}
.portal-section-desc { color: #6B6B6B; font-size: 0.85rem; margin: 0 0 1rem; line-height: 1.6; }
.portal-section-danger { padding-top: 1.5rem; border-top: 1px dashed #E5DFD2; margin-top: 2rem; }

/* ---- LIST ---- */
.portal-list { display: flex; flex-direction: column; gap: 0.5rem; }
.portal-list-item {
  background: white; border: 1px solid #E5DFD2; border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.portal-list-icon { font-size: 1.5rem; }
.portal-list-main { flex: 1; min-width: 0; }
.portal-list-title { font-weight: 500; color: #1A1A1A; margin-bottom: 0.25rem; }
.portal-list-sub { color: #6B6B6B; font-size: 0.85rem; }

/* ---- BADGES ---- */
.portal-badge {
  font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 5px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  white-space: nowrap;
}
.portal-badge-amber { background: #FFF4E5; color: #B8862E; }
.portal-badge-green { background: #E8F5E8; color: #2D6B2D; }
.portal-badge-red { background: #FFE0E0; color: #B85C50; }
.portal-badge-tan { background: #F0EADF; color: #8A8170; }

/* ---- FORM ---- */
.portal-form { display: flex; flex-direction: column; gap: 1rem; }
.portal-label { display: flex; flex-direction: column; gap: 0.35rem; }
.portal-label span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #6B6B6B; font-weight: 500;
}
.portal-label input {
  font-family: 'Manrope', sans-serif; font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: white; border: 1px solid #E5DFD2; border-radius: 8px;
  color: #1A1A1A; transition: border-color 0.15s ease;
}
.portal-label input:focus { outline: none; border-color: #1B3A2F; }
.portal-label input:disabled { background: #FBF8F1; color: #8A8170; }

/* ---- BUTTONS ---- */
.portal-btn {
  font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 500;
  padding: 0.75rem 1.5rem; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.15s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none;
}
.portal-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.portal-btn-primary { background: #1B3A2F; color: white; }
.portal-btn-primary:hover:not(:disabled) { background: #2A5443; }
.portal-btn-ghost { background: white; color: #1A1A1A; border-color: #E5DFD2; }
.portal-btn-ghost:hover:not(:disabled) { border-color: #1B3A2F; color: #1B3A2F; }
.portal-btn-danger { background: white; color: #B85C50; border-color: #E89B8B; }
.portal-btn-danger:hover:not(:disabled) { background: #FFE8E0; border-color: #B85C50; }

.portal-actions-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---- NOTICE ---- */
.portal-notice {
  padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.portal-notice-success { background: #E8F5E8; border: 1px solid #8FCB8F; color: #2D6B2D; }
.portal-notice-error { background: #FFE8E0; border: 1px solid #E89B8B; color: #B85C50; }
.portal-notice-info { background: #FFF4E5; border: 1px solid #E8B86A; color: #B8862E; }

/* ---- EMPTY ---- */
.portal-empty {
  text-align: center; padding: 3rem 1rem;
  color: #8A8170; font-style: italic;
}

/* ---- FINEPRINT ---- */
.portal-fineprint {
  font-size: 0.75rem; color: #8A8170; line-height: 1.5;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .portal-login-card { padding: 2rem 1.5rem; }
  .portal-card { padding: 1.25rem; }
  .portal-list-item { padding: 0.85rem 1rem; }
}

/* ==================== PRICE CALCULATOR ==================== */
.price-calc { background: #F0EADF; padding: 4rem 1.5rem; }
.price-calc-shell { max-width: 1100px; margin: 0 auto; }
.price-calc-eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: #8A8170; font-weight: 500;
}
.price-calc-title {
  font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1B3A2F; margin: 0.6rem 0 0.8rem; font-weight: 500; letter-spacing: -0.02em;
}
.price-calc-title em { font-style: italic; font-weight: 400; }
.price-calc-desc { color: #6B6B6B; font-size: 1rem; margin: 0 0 2rem; line-height: 1.6; max-width: 560px; }

.price-calc-grid {
  display: grid; grid-template-columns: 1fr 360px; gap: 2rem;
  background: white; border-radius: 16px; padding: 2rem;
  border: 1px solid #E5DFD2;
}
@media (max-width: 768px) {
  .price-calc-grid { grid-template-columns: 1fr; padding: 1.5rem; }
}

.price-calc-form { display: flex; flex-direction: column; gap: 1.5rem; }
.price-calc-field label {
  display: block; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: #8A8170; font-weight: 500; margin-bottom: 0.75rem;
}
.price-calc-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.price-calc-opt {
  padding: 0.7rem 1.1rem; border: 1px solid #E5DFD2; background: white;
  border-radius: 8px; font-size: 0.9rem; font-family: inherit; cursor: pointer;
  color: #1A1A1A; transition: all 0.2s;
}
.price-calc-opt:hover { border-color: #1B3A2F; }
.price-calc-opt.is-active {
  background: #1B3A2F; color: white; border-color: #1B3A2F;
}

.price-calc-slider-row { display: flex; align-items: center; gap: 1rem; }
.price-calc-range {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 6px; background: #F0EADF; border-radius: 3px; outline: none;
}
.price-calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  background: #D97757; border-radius: 50%; cursor: pointer; border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.price-calc-range::-moz-range-thumb {
  width: 22px; height: 22px; background: #D97757; border-radius: 50%;
  cursor: pointer; border: 2px solid white;
}
.price-calc-value {
  min-width: 80px; text-align: right; font-weight: 500;
  font-variant-numeric: tabular-nums; color: #1B3A2F;
}

.price-calc-result {
  background: #1B3A2F; color: white; padding: 1.75rem; border-radius: 12px;
  display: flex; flex-direction: column;
}
.price-calc-result-eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em;
  opacity: 0.7; margin-bottom: 0.5rem;
}
.price-calc-result-price {
  font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 1.25rem;
}
.price-calc-result-breakdown {
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.price-calc-row { display: flex; justify-content: space-between; opacity: 0.85; }
.price-calc-rut { color: #F0C087; }
.price-calc-cta {
  margin-top: auto; padding-top: 1.25rem;
  background: #D97757; color: white; text-align: center;
  padding: 0.9rem 1.5rem; border-radius: 8px; text-decoration: none;
  font-weight: 500; margin-top: 1.5rem; display: block;
}
.price-calc-cta:hover { background: #C26849; }
.price-calc-disclaimer {
  margin-top: 1rem; font-size: 0.7rem; opacity: 0.55; line-height: 1.5;
}

/* ==================== STAFF MOBILE APP ==================== */
.staff-page {
  background: #F5F1EA; min-height: 100vh;
  padding-bottom: 4rem; font-family: 'Manrope', sans-serif;
}
#sultan-staff { max-width: 540px; margin: 0 auto; padding: 0 1rem; }

.staff-loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60vh; gap: 1rem;
}
.staff-spinner {
  width: 36px; height: 36px;
  border: 3px solid #E5DFD2; border-top-color: #1B3A2F;
  border-radius: 50%; animation: staff-spin 0.9s linear infinite;
}
@keyframes staff-spin { to { transform: rotate(360deg); } }

.staff-login {
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem 0; min-height: 70vh; justify-content: center;
}
.staff-login-card {
  background: white; border-radius: 16px;
  padding: 2rem; max-width: 400px; width: 100%;
  border: 1px solid #E5DFD2;
}
.staff-eyebrow {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: #8A8170; font-weight: 500;
}
.staff-title {
  font-family: 'Fraunces', serif; color: #1B3A2F;
  font-size: 1.8rem; margin: 0.5rem 0 0.8rem; font-weight: 500;
}
.staff-desc { color: #6B6B6B; font-size: 0.95rem; margin-bottom: 1.25rem; }
.staff-help { color: #8A8170; font-size: 0.8rem; margin-top: 1rem; }
.staff-notice {
  background: #E8F5E8; border: 1px solid #8FCB8F;
  padding: 0.75rem; border-radius: 8px; font-size: 0.9rem;
  margin-bottom: 1rem; color: #2A5443;
}

.staff-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; gap: 1rem;
}
.staff-greeting {
  font-family: 'Fraunces', serif; font-size: 1.6rem;
  color: #1B3A2F; margin: 0.2rem 0 0; font-weight: 500;
}

.staff-tabs {
  display: flex; gap: 0.5rem; padding: 0.25rem;
  background: white; border-radius: 12px;
  border: 1px solid #E5DFD2; margin-bottom: 1rem;
}
.staff-tab {
  flex: 1; padding: 0.6rem 0.5rem; background: transparent;
  border: none; border-radius: 8px; font-family: inherit;
  font-size: 0.9rem; cursor: pointer; color: #6B6B6B;
}
.staff-tab.is-active { background: #1B3A2F; color: white; }

.staff-content { display: flex; flex-direction: column; gap: 0.75rem; }

.staff-job {
  background: white; border: 1px solid #E5DFD2;
  border-radius: 12px; padding: 1rem;
}
.staff-job.is-done { opacity: 0.7; }
.staff-job.is-progress { border-color: #E8B86A; box-shadow: 0 0 0 2px rgba(232,184,106,0.15); }
.staff-job-head {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.staff-job-time {
  font-family: 'Fraunces', serif; font-size: 1.2rem;
  font-weight: 500; color: #1B3A2F;
}
.staff-job-service { font-size: 0.95rem; color: #1A1A1A; }
.staff-badge {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 4px; font-weight: 600;
  margin-left: auto;
}
.staff-badge-green { background: #1B3A2F; color: white; }
.staff-badge-amber { background: #FFF4E5; color: #B8862E; }
.staff-job-customer { font-size: 1rem; margin-bottom: 0.25rem; }
.staff-job-address, .staff-job-phone, .staff-job-notes, .staff-job-photos {
  font-size: 0.85rem; color: #6B6B6B; margin: 0.2rem 0;
}
.staff-job-phone a { color: #1B3A2F; }
.staff-job-checklist-bar {
  position: relative; height: 18px; background: #F0EADF;
  border-radius: 9px; margin: 0.5rem 0; overflow: hidden;
}
.staff-job-checklist-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: #1B3A2F;
}
.staff-job-checklist-bar span {
  position: relative; z-index: 1; font-size: 0.7rem;
  padding: 0 0.5rem; line-height: 18px; color: #1A1A1A;
}
.staff-job-actions {
  display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap;
}

.staff-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1rem; border-radius: 8px; border: none;
  font-family: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  text-decoration: none;
}
.staff-btn-primary { background: #1B3A2F; color: white; }
.staff-btn-primary:hover { background: #2A5443; }
.staff-btn-secondary { background: white; color: #1A1A1A; border: 1px solid #E5DFD2; }
.staff-btn-secondary:hover { border-color: #1B3A2F; }
.staff-btn-icon {
  width: 36px; height: 36px; padding: 0; border-radius: 50%;
  background: transparent; border: 1px solid #E5DFD2; font-size: 1rem;
  cursor: pointer;
}

.staff-input, .staff-textarea {
  width: 100%; padding: 0.75rem; border: 1px solid #E5DFD2;
  border-radius: 8px; font-family: inherit; font-size: 1rem;
  background: #FBF8F1; margin-bottom: 0.75rem;
}
.staff-input:focus, .staff-textarea:focus {
  outline: none; border-color: #1B3A2F; background: white;
}

.staff-empty {
  background: white; padding: 3rem 1.5rem; text-align: center;
  border: 1px dashed #E5DFD2; border-radius: 12px;
  color: #6B6B6B;
}

.staff-detail { display: flex; flex-direction: column; gap: 0.75rem; }
.staff-card {
  background: white; border: 1px solid #E5DFD2;
  border-radius: 12px; padding: 1.25rem;
}
.staff-card h3 {
  font-family: 'Fraunces', serif; color: #1B3A2F;
  margin: 0 0 0.75rem; font-size: 1.1rem; font-weight: 500;
}
.staff-card-row {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0; border-bottom: 1px solid #F0EADF;
  font-size: 0.9rem; gap: 0.5rem;
}
.staff-card-row:last-child { border-bottom: none; }
.staff-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #8A8170; font-weight: 500;
}
.staff-card-done { background: #E8F5E8; border-color: #8FCB8F; }
.staff-card-done h3 { color: #2A5443; }
.staff-text-muted { color: #8A8170; font-size: 0.85rem; }

.staff-checklist { list-style: none; padding: 0; margin: 0; }
.staff-checklist-item {
  padding: 0.55rem 0; border-bottom: 1px solid #F0EADF;
}
.staff-checklist-item:last-child { border-bottom: none; }
.staff-checklist-item label {
  display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer;
}
.staff-checklist-item input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; accent-color: #1B3A2F; cursor: pointer;
}
.staff-checklist-item.is-done span { color: #8A8170; text-decoration: line-through; }
.staff-checklist-progress {
  margin-top: 0.75rem; font-size: 0.85rem;
  color: #1B3A2F; font-weight: 500;
}

.staff-photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.staff-photo {
  position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  background: #F0EADF;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-photo-kind {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white; padding: 0.5rem 0.4rem 0.3rem;
  font-size: 0.7rem; text-align: center;
}
.staff-photo-remove {
  position: absolute; top: 0.25rem; right: 0.25rem;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: white; border: none; cursor: pointer;
  font-size: 0.9rem; line-height: 1; padding: 0;
}
.staff-photo-upload {
  display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap;
}
.staff-photo-upload label { flex: 1; min-width: 90px; }

.staff-field { margin-bottom: 0.75rem; }
.staff-field label {
  display: block; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #8A8170; margin-bottom: 0.3rem; font-weight: 500;
}
.staff-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

@media (max-width: 360px) {
  .staff-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher {
  display: flex; gap: 0.25rem; margin-left: 1rem;
  align-items: center; flex-wrap: wrap;
}
.lang-switcher-item {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.55rem; border-radius: 6px;
  font-size: 0.75rem; color: #6B6B6B; text-decoration: none;
  border: 1px solid transparent;
}
.lang-switcher-item:hover { background: #F0EADF; }
.lang-switcher-item.is-active {
  background: #1B3A2F; color: white;
}
.lang-switcher-code {
  font-weight: 500; letter-spacing: 0.05em;
}

/* RTL adjustments */
[dir="rtl"] body { font-family: 'Manrope', 'Tajawal', sans-serif; }
[dir="rtl"] .site-nav { flex-direction: row-reverse; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 1rem; }

@media (max-width: 768px) {
  .lang-switcher { margin-left: 0; margin-top: 0.5rem; }
}

/* ==================== PORTAL MODAL & EXTRAS ==================== */
.portal-list-actions { display: flex; align-items: center; gap: 0.5rem; }
.portal-btn-ghost {
  background: transparent; border: 1px solid #E5DFD2;
  padding: 0.35rem 0.75rem; border-radius: 6px;
  font-size: 0.78rem; cursor: pointer; color: #6B6B6B;
  font-family: inherit;
}
.portal-btn-ghost:hover { color: #D97757; border-color: #D97757; }

.portal-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 1rem;
}
.portal-modal {
  background: white; border-radius: 16px;
  padding: 2rem; max-width: 480px; width: 100%;
}
.portal-modal-title {
  font-family: 'Fraunces', serif; color: #1B3A2F;
  margin: 0 0 0.5rem; font-size: 1.4rem; font-weight: 500;
}
.portal-modal-desc { color: #6B6B6B; margin: 0 0 0.5rem; }
.portal-modal-meta {
  color: #8A8170; font-size: 0.85rem; margin: 0 0 1rem;
  background: #FBF8F1; padding: 0.5rem 0.8rem; border-radius: 6px;
}
.portal-textarea {
  width: 100%; padding: 0.75rem; border: 1px solid #E5DFD2;
  border-radius: 8px; font-family: inherit; font-size: 1rem;
  background: #FBF8F1; resize: vertical;
}
.portal-textarea:focus { outline: none; border-color: #1B3A2F; background: white; }
.portal-modal-actions {
  display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.25rem;
}
.portal-btn-secondary {
  background: white; border: 1px solid #E5DFD2;
  padding: 0.65rem 1.25rem; border-radius: 8px;
  font-family: inherit; cursor: pointer;
}

/* ==================== REFERRAL CARD ==================== */
.portal-referral-card {
  background: linear-gradient(135deg, #1B3A2F 0%, #2A5443 100%);
  color: white; padding: 1.5rem; border-radius: 16px; margin-bottom: 1rem;
}
.portal-referral-code {
  font-family: 'Fraunces', serif; font-size: 2rem;
  letter-spacing: 0.1em; font-weight: 500; margin: 0.5rem 0;
}
.portal-referral-credit {
  background: #D97757; color: white;
  padding: 0.3rem 0.7rem; border-radius: 6px;
  font-size: 0.85rem; font-weight: 500;
  display: inline-block;
}

/* ==================== STAFF HEADER ACTIONS ==================== */
.staff-header-actions { display: flex; gap: 0.5rem; }

/* ==================== QUOTE / OFFERT PAGE ==================== */
.quote-page {
  background: #F5F1EA; min-height: 100vh;
  padding: 2rem 1rem; font-family: 'Manrope', sans-serif;
}
#sultan-quote { max-width: 760px; margin: 0 auto; }

.quote-loader {
  display: flex; flex-direction: column; align-items: center;
  min-height: 50vh; justify-content: center; gap: 1rem;
}
.quote-spinner {
  width: 36px; height: 36px;
  border: 3px solid #E5DFD2; border-top-color: #1B3A2F;
  border-radius: 50%; animation: staff-spin 0.9s linear infinite;
}

.quote-card {
  background: white; border-radius: 16px;
  padding: 2.5rem; border: 1px solid #E5DFD2;
}
.quote-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid #E5DFD2; padding-bottom: 1.5rem; margin-bottom: 1.5rem;
}
.quote-eyebrow {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: #8A8170; font-weight: 500;
}
.quote-title {
  font-family: 'Fraunces', serif; color: #1B3A2F;
  font-size: 2.2rem; margin: 0.5rem 0; font-weight: 500;
}
.quote-title em { color: #D97757; font-style: italic; }
.quote-meta { color: #6B6B6B; font-size: 0.9rem; margin: 0; }
.quote-status {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 6px; font-weight: 600;
  background: #FBF8F1; color: #6B6B6B;
}
.quote-status-accepted { background: #1B3A2F; color: white; }
.quote-status-declined { background: #FEE7E7; color: #C53030; }
.quote-status-expired { background: #FFF4E5; color: #B8862E; }
.quote-status-converted { background: #E8F5E8; color: #2A5443; }

.quote-section { margin-bottom: 1.5rem; }
.quote-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 1rem;
  padding: 0.5rem 0; border-bottom: 1px solid #F0EADF;
}
.quote-row:last-child { border-bottom: none; }
.quote-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #8A8170; font-weight: 500;
}

.quote-items { margin: 1.5rem 0; }
.quote-table {
  width: 100%; border-collapse: collapse; font-size: 0.95rem;
}
.quote-table th {
  text-align: left; padding: 0.75rem 0.5rem; font-weight: 500;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #8A8170; border-bottom: 1px solid #E5DFD2;
}
.quote-table th:nth-child(2), .quote-table th:nth-child(3), .quote-table th:nth-child(4) {
  text-align: right;
}
.quote-table td {
  padding: 0.75rem 0.5rem; border-bottom: 1px solid #F0EADF;
}

.quote-totals {
  background: #FBF8F1; padding: 1.25rem 1.5rem; border-radius: 8px;
  margin-top: 1rem;
}
.quote-total-row {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0; font-size: 0.95rem;
}
.quote-rut { color: #2A5443; }
.quote-total-pay {
  border-top: 1px solid #D6CCB8; padding-top: 0.75rem; margin-top: 0.5rem;
  font-size: 1.15rem;
}

.quote-notes {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: #FBF8F1; border-radius: 8px; font-size: 0.9rem;
}
.quote-notes b { display: block; margin-bottom: 0.4rem; color: #1B3A2F; }
.quote-notes p { margin: 0; color: #6B6B6B; }

.quote-actions {
  display: flex; gap: 0.75rem; margin-top: 2rem;
  flex-wrap: wrap;
}
.quote-btn {
  flex: 1; min-width: 140px;
  padding: 0.9rem 1.5rem; border-radius: 10px; border: none;
  font-family: inherit; font-size: 1rem; font-weight: 500; cursor: pointer;
}
.quote-btn-primary { background: #1B3A2F; color: white; }
.quote-btn-primary:hover { background: #2A5443; }
.quote-btn-secondary { background: white; color: #6B6B6B; border: 1px solid #E5DFD2; }
.quote-btn-secondary:hover { color: #1A1A1A; border-color: #1B3A2F; }
.quote-btn:disabled { opacity: 0.5; cursor: wait; }

.quote-help { text-align: center; color: #8A8170; font-size: 0.85rem; margin-top: 1rem; }

.quote-already {
  background: #E8F5E8; border: 1px solid #8FCB8F;
  padding: 1rem 1.25rem; border-radius: 8px;
  color: #2A5443; margin-top: 1.5rem; font-size: 0.95rem;
}
.quote-already p { margin: 0; }

.quote-footer {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid #E5DFD2;
  text-align: center; color: #8A8170; font-size: 0.8rem;
}
.quote-footer p { margin: 0.2rem 0; }

.quote-error {
  background: white; padding: 3rem 2rem; text-align: center;
  border-radius: 16px; border: 1px solid #E5DFD2;
}
.quote-error h1 {
  font-family: 'Fraunces', serif; color: #1B3A2F;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .quote-card { padding: 1.5rem 1.25rem; }
  .quote-header { flex-direction: column; gap: 1rem; }
  .quote-title { font-size: 1.6rem; }
  .quote-table { font-size: 0.85rem; }
  .quote-table th, .quote-table td { padding: 0.5rem 0.25rem; }
  .quote-row { grid-template-columns: 1fr; }
}
