/* LoveLight visual refinement — shared, mobile-first */
:root {
  --pink: #c58d91;
  --pink-dark: #925d68;
  --pink-soft: #fbf5f2;
  --pink-pale: #fffdfb;
  --ink: #493b3b;
  --muted: #796c69;
  --line: #efdfda;
  --shadow: 0 10px 30px rgba(105, 70, 70, .065);
}

html { -webkit-text-size-adjust: 100%; }
body { background: #f8f1ee; color: var(--ink); }
.shell {
  width: min(100%, 1120px);
  margin: 0 auto !important;
  overflow: clip;
  background: var(--pink-pale);
  box-shadow: 0 8px 34px rgba(105, 70, 70, .07);
}
.site-header {
  min-height: 70px;
  padding: 13px clamp(16px, 4.5%, 48px);
  gap: 18px;
  background: rgba(255, 253, 251, .97);
  border-bottom-color: #f0e3df;
  box-shadow: 0 3px 16px rgba(80, 55, 55, .035);
  backdrop-filter: blur(12px);
}
.brand { font-size: 18px; letter-spacing: -.35px; }
.brand-mark {
  width: 32px; height: 32px; margin-right: 7px;
  color: #9b6570; background: #f8e9e6;
}
.nav { gap: clamp(10px, 1.8vw, 20px); }
.nav a {
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease;
}
.nav a[aria-current="page"] { position: relative; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px; background: #d69da2;
}
.install-app-btn {
  border: 0; border-radius: 999px; padding: 8px 13px;
  background: #f2d8d8; color: #754c55; font-weight: 700;
  cursor: pointer; transition: background .18s ease, transform .18s ease;
}
.install-app-btn:hover { background: #ecc8cb; transform: translateY(-1px); }
.install-app-btn[hidden] { display: none !important; }

.hero {
  min-height: 370px;
  background-position: center;
}
.hero-copy { max-width: 680px; padding: 58px clamp(22px, 6%, 68px); }
.eyebrow { font-size: 11px; letter-spacing: 1.35px; }
h1 { letter-spacing: -.9px; }
h2 { letter-spacing: -.35px; }
.lead { font-size: 17px; line-height: 1.65; }
.contact-buttons {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
}
.contact-buttons .button,
.contact-buttons .whatsapp-button {
  flex: 0 1 225px;
  width: 225px;
  min-height: 48px;
  padding: 11px 16px;
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(50, 80, 100, .13);
}
.content { padding: 48px clamp(20px, 5.5%, 60px); }
.section-intro { max-width: 620px; line-height: 1.75; }
.cards { gap: 15px; margin-top: 25px; }
.card {
  padding: 23px 21px;
  border-radius: 17px;
  box-shadow: 0 5px 18px rgba(120, 75, 55, .035);
}
.card p, .story-card p, .prose p, .prose li { line-height: 1.78; }
.icon { width: 44px; height: 44px; margin-bottom: 12px; }
.cta-panel {
  margin: 4px clamp(18px, 5.5%, 60px) 34px;
  padding: 29px 22px;
  border-radius: 18px;
}
.safety-note {
  margin: 0 clamp(18px, 5.5%, 60px) 38px;
  padding: 17px 20px;
  border-radius: 14px;
  line-height: 1.7;
}
.page-hero {
  padding: 46px clamp(20px, 6%, 66px) 35px;
  background: linear-gradient(135deg, #f8e9e5, #fffaf7);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); }
.prose { padding: 34px clamp(20px, 6%, 66px) 52px; }
.story-list { padding: 34px clamp(18px, 5%, 52px) 48px; }
.story-card {
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 17px;
  box-shadow: 0 5px 18px rgba(120, 75, 55, .04);
}
.story-image {
  max-height: 390px;
  width: 100%;
  object-fit: contain;
  background: #faf4f1;
}
.site-footer {
  padding: 25px 20px;
  background: #f1dfd9;
  line-height: 1.65;
}
.footer-links { gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
:where(a, button):focus-visible {
  outline: 3px solid rgba(63, 135, 210, .55);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 12px); margin: 6px auto 0 !important; }
  .site-header {
    position: relative;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 13px;
  }
  .brand { align-self: flex-start; font-size: 17px; }
  .nav {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    gap: clamp(5px, 2vw, 12px) !important;
    white-space: nowrap;
  }
  .nav a {
    flex: 0 1 auto;
    font-size: clamp(10px, 3.15vw, 12px);
    line-height: 1.35;
  }
  .nav a[aria-current="page"]::after { bottom: -4px; }
  .install-app-btn {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 7px 9px !important;
    font-size: clamp(10px, 2.9vw, 11px) !important;
  }
  .hero {
    min-height: 0;
    background-position: 58% center;
  }
  .hero::before {
    background: linear-gradient(90deg, rgba(250,243,239,.93), rgba(250,243,239,.72));
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 42px 22px 36px;
  }
  h1 { font-size: clamp(31px, 8.2vw, 39px); line-height: 1.12; }
  h2 { font-size: clamp(22px, 6vw, 27px); }
  .lead { max-width: 540px; font-size: 15px; margin-bottom: 18px; }
  .contact-buttons {
    max-width: 240px;
    width: 100%;
    margin: 18px auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .contact-buttons .button,
  .contact-buttons .whatsapp-button {
    flex: 0 0 44px;
    width: 240px;
    max-width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .content { padding: 36px 18px; }
  .cards { grid-template-columns: 1fr; gap: 11px; margin-top: 20px; }
  .card { padding: 19px 18px; }
  .card .icon { margin-bottom: 9px; }
  .cta-panel { margin: 0 14px 25px; padding: 24px 17px; }
  .safety-note { margin: 0 14px 28px; padding: 15px; }
  .page-hero { padding: 34px 20px 27px; }
  .prose { padding: 27px 18px 38px; }
  .story-list { padding: 25px 13px 35px; }
  .story-card { padding: 17px; margin-bottom: 15px; }
  .story-image { max-height: 290px; margin-bottom: 16px; }
  .site-footer { padding: 22px 14px; }
  .footer-links { gap: 12px; }
}
@media (max-width: 360px) {
  .nav { gap: 5px !important; }
  .nav a { font-size: 10px; letter-spacing: -.25px; }
  .install-app-btn { padding: 6px 7px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Language selector */
.language-control { display:inline-flex; align-items:center; flex:0 0 auto; }
.language-control select {
  max-width:132px; min-height:34px; padding:6px 25px 6px 10px;
  border:1px solid var(--line); border-radius:999px;
  background:#fffaf7; color:var(--ink); font-family:inherit; font-size:12px; font-weight:600; line-height:1.2;
  cursor:pointer; outline-offset:3px;
}
.language-control select:focus-visible { outline:3px solid rgba(63,135,210,.45); }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
@media(max-width:760px) {
  .language-control select { max-width:108px; min-height:32px; font-size:11px; padding:5px 20px 5px 8px; }
  .nav { overflow-x:auto; scrollbar-width:none; }
  .nav::-webkit-scrollbar { display:none; }
}


/* Keep language selection visible on mobile */
@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }
  .nav {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 9px 12px !important;
    overflow: visible !important;
    white-space: normal !important;
  }
  .nav a,
  .nav .install-app-btn,
  .nav .language-control {
    flex: 0 0 auto;
  }
  .language-control {
    margin-left: auto;
  }
  .language-control select {
    display: inline-block;
    min-width: 106px;
    max-width: 132px;
  }
}


/* Homepage hero image replacement: display the supplied artwork without cropping. */
.hero.hero-banner-layout {
  display: block;
  min-height: 0 !important;
  background: none !important;
  overflow: hidden;
}
.hero.hero-banner-layout::before,
.hero.hero-banner-layout:before {
  content: none !important;
  display: none !important;
}
.hero-banner-layout .hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  background: #f8e9e5;
}
.hero-banner-layout .hero-copy {
  width: 100%;
  max-width: none;
  padding: clamp(28px, 4.5vw, 48px) clamp(22px, 6%, 68px);
  background: linear-gradient(180deg, #fffaf7 0%, #fbf1ec 100%);
}
@media (max-width: 760px) {
  .hero.hero-banner-layout { min-height: 0 !important; }
  .hero-banner-layout .hero-banner-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
  }
  .hero-banner-layout .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 30px 22px 28px;
  }
}


/* LoveLight unified brand logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  border-radius: 10px;
}
@media (max-width: 760px) {
  .brand-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}
