/* Launch My Care Home — site styles */

:root {
  --cream: #f8f6ee;
  --cream-soft: #f7f4f3;
  --white: #ffffff;
  --sage: #c3d6d1;
  --sage-dark: #748a80;
  --sage-deeper: #5f7369;
  --peach: #f2ac6f;
  --peach-dark: #e0965a;
  --ink: #262929;
  --ink-heading: #161e2a;
  --muted: #888888;
  --line: #efefef;
  --overlay: rgba(38, 41, 41, 0.46);

  --font-heading: "Cardo", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1260px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-heading);
  margin: 0 0 0.5rem;
}
h1 { font-size: clamp(36px, 4.5vw, 56px); }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 19px; }
h6 { font-size: 16px; }

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}

/* Text color variants taken from the original Kajabi pages */
.eyebrow--forest { color: #127059; }
.eyebrow--heading { color: var(--ink-heading); }
.eyebrow--body { color: var(--ink); }
.subtitle--slate { color: #34495e; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { position: relative; padding: 80px 0; }
.section--tight { padding: 40px 0; }
.section--roomy { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--sage { background: var(--sage); }
.section--dark { background: var(--sage-dark); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5, .section--dark h6 { color: var(--white); }
.section--dark .eyebrow { color: var(--cream); }
.section--charcoal { background: var(--ink); }
.section--soft { background: #fbf9f6; }
.section--sage-dark { background: var(--sage-dark); }

/* Sections with a photo background and a tinted overlay, as on Kajabi */
.section--photo { background-color: var(--ink); background-size: cover; background-position: center; }
.section--photo::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.section--photo > .container { position: relative; }
.bg-rising-demand { --overlay: rgba(38, 41, 41, 0.81); background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/d6b5bd2-edce-caaa-2756-1b42d6a011c3_ca1d5c04-6787-46b9-88bd-106d746c226a.jpg"); }
.bg-first-step { --overlay: rgba(22, 30, 42, 0.86); background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/themes/2159097028/assets/background.jpg?1776719550288856"); }
.bg-book-consult { --overlay: rgba(248, 246, 238, 0.54); background-color: var(--cream); background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/1637c3c-a07c-47e-f5da-6353cbb84c0_14847902-4c8b-43c7-ab52-0d36cac615d3.png"); }
.bg-questions { --overlay: rgba(0, 0, 0, 0.1); background-color: var(--cream); background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/df64def-8a4a-a7cb-55e-f8f6657c08_9a272156-f865-490d-8589-0bf77789ade7.png"); }

.text-left { text-align: left; }
.text-justify { text-align: justify; }

.narrow { max-width: 840px; margin-left: auto; margin-right: auto; }
.wide { max-width: 1050px; }
.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-align: center;
  margin-top: 1rem;
  padding: 12px 34px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sage-dark);
  border: 2px solid var(--sage-dark);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--sage-deeper); border-color: var(--sage-deeper); transform: translateY(-1px); }
.btn--peach { background: var(--peach); border-color: var(--peach); }
.btn--peach:hover { background: var(--peach-dark); border-color: var(--peach-dark); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--sage-dark); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }
.btn--square { border-radius: 0; }
.btn--cream-text { color: var(--cream); }
.btn--small { font-size: 90%; padding: 8px 16px; }
.btn--full { display: block; width: 100%; }
.btn--mist { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.btn--mist:hover { background: #b0c7c1; border-color: #b0c7c1; }
.btn--slate-text { color: #34495e; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(38, 41, 41, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
}
.site-header__logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--ink);
  transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sage-dark); }
.nav a[aria-current="page"] { font-weight: 700; }

.dropdown { position: relative; }
.dropdown__trigger {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dropdown__trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.dropdown__menu a { display: block; padding: 8px 20px; color: #595959; }
.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu,
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 190px 0;
  color: var(--white);
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.hero > .container { position: relative; }
.hero h1, .hero h2, .hero h4, .hero h5 { color: var(--white); }
.hero__content { max-width: 840px; }
.hero__content h4, .hero__content h5 { font-weight: 400; margin-top: 1rem; }
.hero--short { padding: 120px 0; }

.hero--home { background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/d6da654-55-1c7c-647-416368705ff_lmch17.png"); }
.hero--services { --overlay: rgba(0, 0, 0, 0.36); background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/10a3c22-c4-ae8-7c3-edc2e137766_Consulting_Services_LMCH.jpg"); }
.hero--blog { --overlay: rgba(0, 0, 0, 0.5); background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/themes/2149733551/settings_images/f6HpQkLSmKSpNUCMehPJ_3fee14dd-a9cf-45dd-a691-31c5d63b6f6a.jpg"); }

/* ---------- Cards & features ---------- */

.card {
  background: var(--white);
  border: 2px solid #f5f5f5;
  padding: 40px;
  height: 100%;
}
.card--plain { background: transparent; border: 0; padding: 0; }
.card--clear { background: transparent; }
.card__icon { width: 32px; margin-bottom: 18px; }
.card__icon--lg { width: 64px; margin-bottom: 18px; }
.card__icon--center { margin-left: auto; margin-right: auto; }
.card h3, .card h4 { margin-bottom: 0.75rem; }
.card p:last-child { margin-bottom: 0; }

.framed { border: 1px solid var(--ink); }
.rounded { border-radius: 18px; overflow: hidden; }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .check-list li::before { background-color: var(--peach); }
.check-list--headings li { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink-heading); }

/* Free gift */
.gift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 1050px;
  margin: 0 auto;
}
.gift img { width: 100%; height: 100%; object-fit: cover; }
.gift__body { background: var(--sage); padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.gift__body .btn { color: var(--cream); align-self: flex-start; }

/* Testimonials */
.quote {
  background: transparent;
  border: 2px solid var(--line);
  padding: 30px;
  height: 100%;
}
.quote img { width: 40px; margin-bottom: 16px; }
.quote p { font-size: 17px; }
.quote h5 { margin: 0; color: var(--sage-dark); }

.review {
  text-align: center;
  padding: 30px;
  background: rgba(240, 240, 240, 0.33);
  border: 1px solid var(--sage-dark);
  border-radius: 10px;
}
.review img { width: 50px; margin: 0 auto 16px; }
.review p { text-align: justify; }

/* Launch path */
.path-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.path-card .card { height: auto; border-top: 0; padding: 30px; }

/* Success stories */
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.story { text-align: center; }

/* Services list */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; margin-top: 40px; }
.service-list h3 { color: var(--sage-dark); }
.service-list .eyebrow { margin-top: 1rem; margin-bottom: 0.25rem; }
.service-list ul { padding-left: 20px; margin: 0.5rem 0 0; }
.service-list li { margin-bottom: 6px; }
.service-list li strong { color: var(--ink-heading); }

/* Facts list (Silver Tsunami) */
.fact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fact-list li { background: rgba(255, 255, 255, 0.12); padding: 22px 24px; border-radius: 12px; font-size: 18px; }
.fact-list strong { color: var(--sage); }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 4px; padding: 30px; margin-bottom: 16px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-heading);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 24px; line-height: 1; color: var(--sage-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

/* Facility video / gallery */
/* Facility video: matches the Kajabi player box (16:9, 4px corners) */
.video { margin: 40px auto 0; }
.video__frame {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.video__frame .wistia_embed {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
}
.video__poster { width: 100%; height: 100%; object-fit: cover; }
.video__frame video { object-fit: contain !important; }
.facility-no { font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }

.gallery a { display: block; overflow: hidden; border-radius: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.04); }

/* Photo carousel: 3 photos per view on desktop, 2 on tablet, 1 on phone */
.carousel { position: relative; --per-view: 3; --gap: 16px; }
.carousel__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 4px; }
.carousel__track > a {
  flex: 0 0 calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view));
  scroll-snap-align: start;
}
.carousel__btn {
  position: absolute;
  top: calc(50% - 22px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-dark);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.carousel__btn:hover { background: var(--sage-dark); color: var(--white); }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sage);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel__dots button[aria-current="true"] { background: var(--sage-dark); transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.88);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 16px;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Forms ---------- */

.form-panel {
  max-width: 1050px;
  margin: 0 auto;
  padding: 60px 50px;
  background: var(--cream-soft);
  border: 1px solid var(--sage-dark);
  border-radius: 31px;
  text-align: center;
}
.form-panel--cream { background: var(--cream); border: 0; border-radius: 20px; }
.form-panel--outlined { background: var(--cream); border-color: var(--ink); border-radius: 29px; max-width: 840px; }
.form-panel--white { background: rgba(255, 255, 255, 0.96); border-color: var(--ink); border-radius: 20px; }
.form-panel--outlined .form .btn { border-radius: 999px; justify-self: center; padding-left: 30px; padding-right: 30px; }
.form-panel--outlined h1 { font-size: clamp(40px, 5vw, 64px); }

.form { max-width: 640px; margin: 24px auto 0; display: grid; gap: 14px; text-align: left; }
.form--inline { grid-template-columns: 1fr 1fr auto; max-width: 900px; }
.form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form input,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cccccc;
  border-radius: 0;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: 2px solid var(--sage-dark); outline-offset: 1px; border-color: var(--sage-dark); }
.form .btn { margin-top: 0; border-radius: 0; }
.form__status { margin: 4px 0 0; font-weight: 700; }
.disclaimer { color: var(--muted); font-size: 15px; margin: 1.25rem 0 0; }
.section--dark .disclaimer { color: var(--cream); }

.newsletter-bg {
  background: var(--sage) url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/4681bf-c1ab-165-4d23-460573e7a84e_1fa02a6a-38a1-4903-a4a2-09ce403f85b5.png") center / cover;
}

.newsletter-bg--services { background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/f3871a6-b787-5c3f-684-f5a7a7deb2_9a272156-f865-490d-8589-0bf77789ade7.png"); }
.newsletter-bg--blog { background-image: url("https://kajabi-storefronts-production.kajabi-cdn.com/kajabi-storefronts-production/file-uploads/themes/2159097028/settings_images/3644cc6-6af2-045-d025-3a6624ccb37_dd03151e-4a32-4620-af5f-bcd68e157595.jpg"); }

/* Light panels inside dark sections keep dark text */
.section--dark .form-panel h1, .section--dark .form-panel h2, .section--dark .form-panel h3,
.section--dark .form-panel h4, .section--dark .form-panel h5, .section--dark .form-panel h6 { color: var(--ink-heading); }
.section--dark .form-panel { color: var(--ink); }
.section--dark .form-panel .disclaimer { color: var(--muted); }

/* Contact */
.contact-intro { padding: clamp(120px, 28vw, 388px) 0 clamp(40px, 7.5vw, 105px); }
.contact-col { max-width: 1108px; margin: 0 auto; }
.contact-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 1rem; }
.bullet-list { padding-left: 20px; margin: 1rem 0; }
.bullet-list li { margin-bottom: 6px; }
.bullet-list p { margin: 0; }
.social-circles { display: flex; justify-content: center; gap: 40px; margin-top: 30px; }
.social-circles a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
}
.social-circles a:hover { background: var(--white); }
.social-circles svg { width: 18px; height: 18px; fill: currentColor; }
.contact-lines .btn { text-transform: none; letter-spacing: 0; }

.consult-box {
  max-width: 945px;
  margin: 0 auto;
  padding: 30px;
  background: #fffefb;
  border: 2px solid var(--sage-dark);
  border-radius: 24px;
}

.testimonial-feature { max-width: 840px; margin: 0 auto; text-align: center; }
.testimonial-feature img { width: 100px; margin: 0 auto 20px; }
.testimonial-feature p { text-align: left; }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.blog-empty { background: var(--white); padding: 50px; text-align: center; border: 2px solid #f5f5f5; }
.sidebar { display: grid; gap: 30px; }
.sidebar__box { background: var(--white); padding: 28px; border: 2px solid #f5f5f5; }
.sidebar__box h6 { text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); font-size: 13px; color: var(--ink-heading); }
.sidebar__author img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin-bottom: 16px; }
.search input { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid #cccccc; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--cream); padding: 40px 0; }
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.footer-links { text-align: right; justify-content: flex-end; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: 14px; }
.socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}
.socials a:hover { background: rgba(255, 255, 255, 0.15); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.copyright { width: 100%; font-size: 14px; text-transform: uppercase; margin: 10px 0 0; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .section { padding: 60px 0; }
  .hero { padding: 110px 0; }
  .hero--short { padding: 80px 0; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px var(--gutter) 24px;
    background: var(--cream);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav > a, .dropdown { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(38, 41, 41, 0.08); }
  .dropdown__menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 6px 0 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .dropdown.is-open .dropdown__menu { display: block; }
  .dropdown:hover .dropdown__menu { display: none; }
  .dropdown.is-open:hover .dropdown__menu { display: block; }
  .dropdown__menu a { padding: 8px 16px; }

  .split, .gift, .blog-layout { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > :first-child { order: 0; }
  .grid--2, .grid--3, .service-list, .fact-list { grid-template-columns: 1fr; }
  .carousel { --per-view: 2; }
  .carousel__btn--prev { left: 6px; }
  .carousel__btn--next { right: 6px; }
  .form--inline { grid-template-columns: 1fr; }
  .form-panel { padding: 40px 22px; border-radius: 20px; }
  .gift__body { padding: 34px 24px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .site-header__logo img { height: 52px; }
  .carousel { --per-view: 1; }
  .carousel__btn { width: 40px; height: 40px; font-size: 26px; }
  .carousel__dots { gap: 6px; }
  .carousel__dots button { width: 8px; height: 8px; }
  .card { padding: 28px; }
}
