/* ===========================================================
   Franci's International Salon — Stylesheet
   Elegant & warm · cream base, charcoal ink, soft gold accent
   =========================================================== */

:root {
  /* brand */
  --gold: #b08d57;
  --gold-deep: #94733f;
  --gold-soft: #f0e7d8;
  --gold-grad: linear-gradient(135deg, #c8a468 0%, #b08d57 55%, #94733f 100%);

  /* neutrals */
  --ink: #211c17;
  --ink-soft: #4f473d;
  --muted: #8b8172;
  --bg: #faf7f2;        /* ivory / cream */
  --bg-alt: #f1ebe1;    /* warm alt */
  --dark: #1b1815;      /* near-black warm (hero/footer) */
  --line: #e6ded0;

  --radius: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 14px rgba(33,28,23,.06);
  --shadow-md: 0 16px 40px rgba(33,28,23,.12);
  --shadow-lg: 0 30px 70px rgba(33,28,23,.20);

  --maxw: 1180px;
  --nav-h: 76px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.14; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }

/* ---------- helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #efe9df; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.section--dark .lead { color: #d9d1c4; }
.rule { width: 62px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.center .rule { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; padding: 16px 30px; border-radius: 999px;
  border: 1.5px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn--primary { background: var(--gold-grad); color: #fff; box-shadow: 0 10px 26px rgba(148,115,63,.34); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(148,115,63,.44); }
.btn--outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--gold-deep); transform: translateY(-2px); }
.btn--ghostlight { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghostlight:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 18px 38px; font-size: .86rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(250,247,242,.9); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700;
  font-size: 1.35rem; color: var(--gold-deep); flex: 0 0 auto;
}
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.05; color: var(--ink); }
.brand__name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .6rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: 9px 15px; border-radius: 8px; color: var(--ink-soft);
  font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta { margin-left: 10px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; padding: 10px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .25s; border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center;
  color: #fff; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55), rgba(20,17,14,.72)),
    radial-gradient(1200px 600px at 70% 15%, #4a4038, transparent 60%),
    linear-gradient(135deg, #2c2620, #17130f);
}
.hero__inner { position: relative; z-index: 2; padding: 90px 0; width: 100%; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero .eyebrow { color: var(--gold); }
.hero p { color: #e9e2d6; font-size: 1.22rem; max-width: 620px; margin: 0 auto 2rem; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 26px; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: #c9bfae; }

/* ---------- welcome strip ---------- */
.welcome { text-align: center; }
.welcome p { font-size: 1.35rem; font-family: var(--serif); font-style: italic; color: var(--ink); line-height: 1.6; }

/* ---------- services ---------- */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; height: 100%;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-card__ic { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 18px; }
.svc-card h3 { margin-bottom: .15em; }
.svc-card__en { color: var(--muted); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9em; display: block; }
.svc-card p { margin-bottom: 0; font-size: .98rem; }
.svc-card .btn { margin-top: 22px; align-self: flex-start; }

/* booking button group (dark section) */
.book-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px auto 6px; max-width: 760px; }

/* ---------- gallery + video ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #ece3d4, #d9ccb6);
}
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.video-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 26px auto 0; max-width: 860px; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #2c2620, #17130f); display: grid; place-items: center;
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; color: #fff; }
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video__label { position: absolute; bottom: 14px; left: 16px; color: #e9e2d6; font-size: .85rem; letter-spacing: .1em; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
  background: linear-gradient(160deg, #ded0ba, #b99a6f); display: grid; place-items: center; color: #fff;
}
.about-photo span { font-family: var(--serif); font-style: italic; opacity: .85; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about .sig { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); margin-top: .4em; }

/* ---------- visit / contact ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { flex: 0 0 auto; width: 26px; height: 26px; color: var(--gold-deep); margin-top: 2px; }
.info-list b { display: block; color: var(--ink); font-family: var(--sans); }
.info-list a { color: var(--ink-soft); }
.info-list a:hover { color: var(--gold-deep); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 340px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- book (booksy) ---------- */
.book { text-align: center; }
.book .btn { margin-top: 6px; }
.book__alt { margin-top: 20px; font-size: .95rem; color: #cbb8; }
.section--dark .book__alt { color: #cabfae; }

/* ---------- footer ---------- */
.site-footer { background: #14110e; color: #b7ad9c; padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #b7ad9c; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__mark { border-color: var(--gold); color: var(--gold); }
.footer-line { display: block; padding: 5px 0; font-size: .95rem; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: #8a8072; }

/* ---------- socials ---------- */
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; color: #b7ad9c; transition: all .2s ease; }
.socials a:hover { color: #14110e; background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.socials--inline a { border-color: var(--line); color: var(--gold-deep); }
.socials--inline a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- Rios credit ---------- */
.rios-credit { display: inline-flex; align-items: center; gap: 11px; color: #8a8072; }
.rios-credit img { height: 40px; width: auto; border-radius: 6px; display: block; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.rios-credit:hover { color: var(--gold); }

/* ---------- hiring ---------- */
.join-cta { margin-top: 36px; }
.join-note { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .visit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 22px 20px; gap: 2px;
    transform: translateY(-135%); transition: transform .3s ease; box-shadow: var(--shadow-md);
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 12px; font-size: .9rem; }
  .nav__cta { margin: 10px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .grid-2, .grid-3, .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(27,24,21,.62); backdrop-filter: blur(2px); }
.modal__dialog {
  position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: min(760px, 94vw); height: min(760px, 90vh); display: flex; flex-direction: column; overflow: hidden;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.modal__title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin: 0; }
.modal__head-actions { display: flex; align-items: center; gap: 6px; }
.modal__newtab { font-size: .82rem; color: var(--gold-deep); text-decoration: none; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.modal__newtab:hover { background: var(--bg-alt); }
.modal__close { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 2px 10px; border-radius: 8px; }
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal__body { position: relative; flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; }
.modal__pane { display: none; width: 100%; height: 100%; }
.modal__pane.active { display: block; }
.modal__pane iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal__pane .calendly-inline-widget,
.modal__pane [id^="koalendar-"] { width: 100%; height: 100%; min-height: 100%; }
body.modal-lock { overflow: hidden; }
@media (max-width: 760px) {
  .modal { padding: 0; }
  .modal__dialog { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .modal__newtab { display: none; }
}
