/* ==========================================================
   The Salon at South Poinsett — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Top bar + Header
   5. Hero + Ribbon  6. About  7. Services  8. Aesthetics
   9. Team  10. Products  11. CTA  12. Contact  13. Footer
   14. Animations  15. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (built from the logo) ---------- */
:root {
  --teal: #00AEB0;          /* main brand teal from the site */
  --teal-dark: #00898B;
  --teal-deep: #0B5F61;
  --teal-soft: #E3F5F4;
  --mint: #BFE6E2;          /* medallion tint in the logo */
  --ink: #141414;           /* logo black */
  --text: #3B4245;
  --muted: #6E777A;
  --blush: #F6DDE1;         /* soft pink accent (Pretty Please) */
  --pink: #E79AAA;
  --cream: #FBF8F5;
  --white: #FFFFFF;
  --line: rgba(20, 20, 20, .1);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 130px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 50px -28px rgba(11, 95, 97, .45);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16.5px; line-height: 1.75;
  color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; line-height: 1.12; }
h1, h2 { font-family: var(--serif); }
em { font-style: italic; }
h1 em, h2 em { color: var(--teal-dark); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-dark);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 174, 176, .18); }
.eyebrow-pink { color: #C76E82; }
.eyebrow-pink .dot { background: var(--pink); box-shadow: 0 0 0 4px rgba(231, 154, 170, .25); }

.section-title { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.01em; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 20px; color: var(--ink); line-height: 1.6; }

.link {
  position: relative; display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark); padding-bottom: 3px;
}
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.link:hover::after { transform: scaleX(.4); }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: color .4s var(--ease), border-color .4s, transform .3s var(--ease), box-shadow .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }

.btn-teal { background: var(--teal); color: var(--white); box-shadow: 0 14px 30px -14px rgba(0, 137, 139, .8); }
.btn-teal::before { background: var(--teal-deep); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark::before { background: var(--teal-dark); }
.btn-outline { border-color: rgba(20, 20, 20, .25); color: var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); border-color: var(--ink); }
.btn-pink { background: var(--ink); color: var(--white); }
.btn-pink::before { background: #C76E82; }
.btn-white { background: var(--white); color: var(--teal-deep); }
.btn-white::before { background: var(--ink); }
.btn-white:hover { color: var(--white); }
.btn-sm { padding: 11px 20px; font-size: 12px; }

/* ---------- 4. Top bar + Header ---------- */
.topbar { background: var(--teal-deep); color: rgba(255, 255, 255, .88); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--mint); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { opacity: .8; transition: opacity .3s, transform .3s; }
.topbar-social a:hover { opacity: 1; transform: translateY(-2px); }
.topbar-social .icon { color: var(--white); width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .4s var(--ease); }
.is-scrolled .header-inner { height: 76px; }
.logo { flex-shrink: 0; }
.logo img { width: 200px; transition: width .4s var(--ease); }
.is-scrolled .logo img { width: 170px; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a:not(.btn) {
  position: relative; font-size: 15px; font-weight: 400; color: var(--ink); padding: 6px 0; transition: color .3s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); transform: translate(-50%, 8px) scale(0); transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--teal-dark); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: translate(-50%, 8px) scale(1); }
.nav-book { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: 15px; }
.header-phone .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--teal-soft); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero + Ribbon ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  min-height: clamp(620px, calc(100vh - 134px), 820px); background: var(--teal-deep);
}
/* Left brand panel */
.hero-panel {
  position: relative; overflow: hidden; display: flex; align-items: center;
  background:
    radial-gradient(600px 420px at 0% 0%, rgba(0, 174, 176, .45), transparent 70%),
    radial-gradient(500px 400px at 100% 100%, rgba(191, 230, 226, .18), transparent 70%),
    var(--teal-deep);
  color: var(--white);
  padding: 80px clamp(40px, 5vw, 80px) 80px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero-arch-line {
  position: absolute; right: -170px; top: 50%; width: 360px; height: 560px; transform: translateY(-50%);
  fill: none; stroke: rgba(191, 230, 226, .22); stroke-width: 1; pointer-events: none;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
}
.hero-copy { position: relative; max-width: 560px; }
.walkin {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px; font-weight: 500;
}
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #7CF0DF; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #7CF0DF; animation: ping 2s ease-out infinite; }
.hero .eyebrow { display: block; color: var(--mint); margin-bottom: 14px; }
.hero-title { color: var(--white); font-size: clamp(52px, 6.4vw, 96px); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-weight: 400; color: var(--mint); }
.hero-text { max-width: 480px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--teal-deep); border-color: var(--white); }
.hero-info { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-info li { display: flex; align-items: center; gap: 12px; }
.hero-info .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mint); }
.hero-info b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero-info span, .hero-info a { font-size: 15.5px; font-weight: 500; color: var(--white); white-space: nowrap; }
.hero-info a:hover { color: var(--mint); }

/* Right photo */
.hero-photo { position: relative; overflow: hidden; min-height: 420px; }
.hero-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; animation: kenburns 20s ease-in-out infinite alternate; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 95, 97, .35), transparent 30%); pointer-events: none; }
.curtain { position: absolute; inset: 0; z-index: 2; background: var(--teal); transform-origin: right; transform: scaleX(0); }
.hero-thumb {
  position: absolute; z-index: 3; left: 36px; bottom: 36px; margin: 0; width: 170px;
  background: var(--white); padding: 8px 8px 0; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
  transform: rotate(-4deg);
}
.hero-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.hero-thumb figcaption { text-align: center; padding: 8px 0 10px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink); }

.seal {
  position: absolute; z-index: 3; right: 36px; top: 36px; width: 128px; height: 128px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); display: grid; place-items: center;
}
.seal svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.seal text { font-family: var(--sans); font-size: 9.6px; font-weight: 600; letter-spacing: 1.6px; fill: var(--teal-deep); }
.seal span {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--white); font-family: var(--serif); font-style: italic; font-size: 20px;
  box-shadow: 0 0 0 4px var(--mint);
}

@media (max-width: 1180px) {
  .hero-info { grid-template-columns: repeat(2, auto); gap: 18px 28px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { padding: 70px var(--gutter) 64px; }
  .hero-photo { height: 460px; }
  .hero-arch-line { display: none; }
}
@media (max-width: 600px) {
  .hero-panel { padding: 52px var(--gutter) 52px; }
  .hero-title { font-size: clamp(46px, 13.5vw, 60px); }
  .hero-info { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .hero-info li:last-child { grid-column: 1 / -1; }
  .hero-photo { height: 360px; }
  .hero-thumb { width: 120px; left: 18px; bottom: 18px; }
  .hero-thumb figcaption { font-size: 13px; padding: 6px 0 8px; }
}

.ribbon { background: var(--teal); color: var(--white); overflow: hidden; padding: 20px 0; }
.ribbon-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 26px; white-space: nowrap; }
.ribbon i { width: 8px; height: 8px; background: var(--white); transform: rotate(45deg); opacity: .7; }

/* ---------- 6. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; padding: 0 60px 70px 0; }
.about-img-1 { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-2 {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 7 / 8; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--white); padding: 16px 22px; border-radius: 14px; font-size: 15px; line-height: 1.3;
}
.about-badge .icon { color: var(--mint); width: 24px; height: 24px; }
.about-copy > p + p { margin-top: 18px; }
.about-copy .lead { margin-top: 26px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 32px 0 38px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 400; line-height: 1.45; }
.about-points .icon { color: var(--teal); margin-top: 2px; }

/* ---------- 7. Services ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.s-img { position: relative; aspect-ratio: 32 / 38; overflow: hidden; }
.s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .s-img img { transform: scale(1.07); }
.s-num {
  position: absolute; top: 16px; left: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); font-family: var(--serif); font-style: italic; color: var(--teal-dark);
}
.s-body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 26px; }
.s-body h3 { font-family: var(--serif); font-size: 25px; margin-bottom: 10px; }
.s-body p { font-size: 15.5px; color: var(--muted); margin-bottom: 22px; }
.s-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.s-links .link { font-size: 12px; }

/* ---------- 8. Aesthetics ---------- */
.aesthetics { overflow: hidden; background: linear-gradient(120deg, var(--blush), #FBEFF1 60%, var(--cream)); }
.aes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.aes-logo { position: relative; max-width: 440px; }
.aes-logo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(199, 110, 130, .45); border-radius: 28px;
  animation: bob 8s ease-in-out infinite;
}
.aes-logo img { position: relative; border-radius: 28px; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(199, 110, 130, .6); }
.aes-copy .lead { margin: 22px 0 22px; }
.aes-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.aes-tags li { padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(199, 110, 130, .3); font-size: 14px; color: var(--ink); }

/* ---------- 9. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 24px; }
.member { margin: 0; text-align: center; }
.m-img {
  position: relative; aspect-ratio: 13 / 16; border-radius: 200px 200px 16px 16px; overflow: hidden; margin-bottom: 18px;
  background: var(--teal-soft);
}
.m-img::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 137, 139, .45));
  opacity: 0; transition: opacity .5s var(--ease);
}
.m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover .m-img img { transform: scale(1.06); }
.member:hover .m-img::after { opacity: 1; }
.member h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.member p { font-size: 14px; line-height: 1.5; color: var(--muted); }

.member-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border-radius: 200px 200px 16px 16px; background: var(--teal); color: var(--white); padding: 30px 20px;
  aspect-ratio: 13 / 16; transition: background .4s, transform .5s var(--ease);
}
.member-cta:hover { background: var(--teal-deep); transform: translateY(-6px); }
.member-cta .icon { width: 34px; height: 34px; color: var(--white); }
.member-cta h3 { color: var(--white); }
.member-cta p { color: rgba(255, 255, 255, .85); }
.member-cta .link { color: var(--white); margin-top: 6px; }

/* ---------- 9b. Google reviews ---------- */
.reviews { background: var(--teal-soft); overflow: hidden; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.g-badge { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 16px 24px; border-radius: 16px; box-shadow: var(--shadow); }
.g-logo { width: 40px; height: 40px; }
.g-score { display: flex; align-items: center; gap: 10px; }
.g-score b { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink); line-height: 1; }
.g-badge small { color: var(--muted); font-size: 14px; }
.r-stars { color: #F5B301; letter-spacing: 2px; font-size: 18px; line-height: 1; }

.review-slider { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); margin: 0 calc(50% - 50vw); }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 28vw, 380px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); padding: 10px var(--edge) 30px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); padding: 30px 28px 26px; position: relative;
  box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.r-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; }
.r-g { width: 22px; height: 22px; }
.review blockquote { margin: 0 0 24px; font-size: 16.5px; line-height: 1.7; color: var(--ink); position: relative; }
.r-author { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.r-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--white); font-family: var(--serif); font-size: 18px; flex-shrink: 0; }
.review:nth-child(3n+2) .r-avatar { background: var(--pink); }
.review:nth-child(3n) .r-avatar { background: var(--ink); }
.r-author b { display: block; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.r-author small { color: var(--muted); font-size: 13px; }

.reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(20, 20, 20, .2); background: var(--white); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.slider-btn[data-dir="-1"] .icon { transform: scaleX(-1); }
.slider-btn:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.reviews-links { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .review-track { grid-auto-columns: calc(100vw - 2 * var(--gutter) - 30px); gap: 16px; }
  .g-badge { width: 100%; }
  .reviews-foot { flex-direction: column; align-items: stretch; }
  .slider-nav { justify-content: center; }
  .reviews-links .btn { flex: 1; }
}

/* ---------- 10. Products ---------- */
.products { background: var(--white); padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products-title { text-align: center; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink); margin-bottom: 30px; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 46px; }
.brand-row li { height: 70px; display: flex; align-items: center; }
.brand-row img { max-height: 64px; max-width: 160px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.brand-row li:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- 11. CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--teal-dark), var(--teal) 60%, #37C3C1); color: var(--white); padding: clamp(70px, 9vw, 110px) 0; }
.cta-shine {
  position: absolute; inset: -50% auto -50% -30%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: skewX(-20deg); animation: shine 7s ease-in-out infinite;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(32px, 4vw, 50px); margin-bottom: 14px; }
.cta h2 em { color: var(--blush); }
.cta-copy > p { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.cta-social { display: flex; gap: 14px; }
.cta-social a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); transition: transform .35s var(--ease), background .35s, color .35s;
}
.cta-social a:hover { transform: translateY(-5px) rotate(-6deg); background: var(--white); color: var(--teal-dark); }
.cta-social .icon { width: 22px; height: 22px; }
.cta-book {
  text-align: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius); padding: 34px 26px; backdrop-filter: blur(6px);
}
.cta-book p { font-family: var(--serif); font-size: 24px; color: var(--white); margin-bottom: 18px; }
.cta-phone { display: block; margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.cta-phone:hover { color: var(--white); text-decoration: underline; }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.visit { position: relative; }
.visit-img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius); }
.visit-card {
  position: relative; margin: -90px 24px 0; background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.visit-card h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 18px; }
.visit-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.visit-list .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); }
.visit-list b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit-list span, .visit-list a { color: var(--ink); font-weight: 400; line-height: 1.5; }
.visit-list a:hover { color: var(--teal-dark); }
.visit-note { margin-top: 16px; font-size: 15px; }
.visit-note strong { color: var(--teal-dark); font-weight: 500; }

.contact-box { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line); }
.contact-box .section-title { margin-bottom: 30px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 174, 176, .15); }
.contact-form .btn { justify-self: start; }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logo img { width: 200px; border-radius: 10px; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, border-color .3s; }
.footer-social a:hover { background: var(--teal); border-color: var(--teal); }
.footer-social .icon { width: 17px; height: 17px; color: var(--white); }
.site-footer h4 { color: var(--white); font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--mint); padding-left: 4px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.footer-walkin { margin-top: 14px; color: var(--mint); font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: var(--white); }

.mobile-book {
  position: fixed; left: 50%; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; background: var(--teal); color: var(--white);
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 14px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
  transform: translate(-50%, 140%); transition: transform .45s var(--ease);
}
.show-book .mobile-book { transform: translate(-50%, 0); }

/* ---------- 14. Animations ---------- */
@keyframes rise     { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes revealImg{ from { opacity: 0; clip-path: inset(18% 0 0 0 round 280px 280px 18px 18px); transform: translateY(30px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 0); transform: none; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes bob      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float    { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }
@keyframes marquee  { to { transform: translateX(-50%); } }
@keyframes popIn    { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes curtain  { 0% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes thumbIn  { from { opacity: 0; transform: translateY(40px) rotate(4deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes ping     { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes shine    { 0%, 55% { left: -40%; } 100% { left: 120%; } }

.is-loaded .hero-title .line > span { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }
.is-loaded .curtain { animation: curtain 1.3s cubic-bezier(.77, 0, .18, 1) .15s both; }
.is-loaded .hero-thumb { animation: thumbIn 1s var(--ease) 1.2s both; }
.is-loaded .seal { animation: popIn .8s var(--ease) 1.4s both; }
.is-loaded .hero-arch-line { animation: drawLine 3s ease 0.6s forwards; }

.js-reveal .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 22px; }
  .header-phone span { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .topbar .topbar-hours { display: none; }
  .topbar p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar p > .icon { flex-shrink: 0; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
    background: var(--white); padding: 120px var(--gutter) 40px; justify-content: center;
    display: flex; flex-direction: column; align-items: center; gap: 30px;
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 30px; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-book { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }

  .about-grid, .aes-grid, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .aes-logo { max-width: 320px; margin: 0 auto 10px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-book { max-width: 420px; }
  .mobile-book { display: inline-flex; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 12px; }
  .topbar-social { gap: 10px; }
  .header-inner, .is-scrolled .header-inner { height: 74px; }
  .logo img, .is-scrolled .logo img { width: 150px; }
  .header-actions { gap: 10px; }
  .main-nav { padding-top: 100px; }

  .ribbon span { font-size: 21px; }

  .about-media { padding: 0 34px 50px 0; }
  .about-badge { left: -6px; bottom: 20px; padding: 12px 16px; font-size: 14px; }
  .about-points { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .member h3 { font-size: 17px; }
  .member p { font-size: 13px; }
  .member-cta { padding: 20px 12px; }
  .brand-row { gap: 16px 28px; }
  .brand-row li { height: 56px; }
  .brand-row img { max-height: 50px; max-width: 120px; }
  .visit-card { margin: -60px 12px 0; padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
