/* ===== Rays of Hope — cattery site ===== */

:root{
  --cream:#faf5ef;
  --cream-2:#f3eadf;
  --ink:#3a2f2a;
  --ink-soft:#6b5c54;
  --rose:#dd8ba3;
  --rose-dark:#c1637f;
  --rose-light:#f6dbe3;
  --gold:#c79a54;
  --gold-light:#eddcb8;
  --white:#fffdfb;
  --shadow: 0 20px 45px -20px rgba(58,47,42,.35);
  --radius: 22px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Poppins',sans-serif;
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
  cursor:none;
}
h1,h2,h3,h4{font-family:'Playfair Display',serif; margin:0;}
p{line-height:1.7; color:var(--ink-soft);}
a{color:inherit; text-decoration:none;}
ul{list-style:none; margin:0; padding:0;}
.container{max-width:1180px; margin:0 auto; padding:0 28px;}
img,svg{display:block; max-width:100%;}

@media (pointer:coarse){
  body{cursor:auto;}
  .cursor-dot,.cursor-outline{display:none;}
}

/* ---------- custom cursor ---------- */
.cursor-dot,.cursor-outline{
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  border-radius:50%; transform:translate(-50%,-50%);
  mix-blend-mode:multiply;
}
.cursor-dot{ width:8px; height:8px; background:var(--rose-dark); }
.cursor-outline{
  width:38px; height:38px; border:1.5px solid var(--gold);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cursor-outline.hovered{
  width:64px; height:64px; background:rgba(221,139,163,.12); border-color:var(--rose-dark);
}

.paw-trail{
  position:fixed; z-index:9998; pointer-events:none; font-size:14px;
  animation: pawFade 900ms ease-out forwards;
  will-change: transform, opacity;
}
@keyframes pawFade{
  0%{ opacity:.55; transform:translate(-50%,-50%) scale(.9) rotate(var(--r)); }
  100%{ opacity:0; transform:translate(-50%,-50%) translateY(-42px) scale(.3) rotate(var(--r)); }
}

/* ---------- preloader ---------- */
.preloader{
  position:fixed; inset:0; z-index:10000; background:var(--cream);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.done{ opacity:0; visibility:hidden; }
.preloader-paw{ font-size:42px; animation: pawBounce 1s ease-in-out infinite; }
@keyframes pawBounce{ 0%,100%{transform:translateY(0) rotate(-8deg);} 50%{transform:translateY(-16px) rotate(8deg);} }
.preloader-text{ font-family:'Playfair Display',serif; letter-spacing:.35em; color:var(--rose-dark); font-size:14px; text-transform:uppercase;}

/* ---------- floating decor ---------- */
.bg-decor{ position:fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden;}
.float-paw{
  position:absolute; font-size:28px; opacity:.10; color:var(--rose-dark);
  animation: drift 16s ease-in-out infinite;
}
.p1{ top:12%; left:6%; animation-duration:18s;}
.p2{ top:65%; left:88%; animation-duration:14s; animation-delay:-3s;}
.p3{ top:80%; left:12%; animation-duration:20s; animation-delay:-7s;}
.p4{ top:30%; left:92%; animation-duration:15s; animation-delay:-5s;}
.p5{ top:45%; left:3%; animation-duration:22s; animation-delay:-9s;}
@keyframes drift{
  0%,100%{ transform: translate(0,0) rotate(0deg);}
  50%{ transform: translate(20px,-30px) rotate(25deg);}
}

/* ---------- header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:22px 0; transition: all .4s var(--ease);
}
.site-header.scrolled{
  padding:12px 0; background:rgba(250,245,239,.85); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(58,47,42,.4);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark svg{ fill:none; }
.brand-mark path{ fill:var(--rose-dark); }
.brand-mark circle{ fill:var(--rose-light); stroke:var(--rose-dark); stroke-width:2;}
.brand-mark .eye{ fill:var(--ink); stroke:none;}
.brand-mark .nose{ fill:var(--gold); stroke:none;}
.brand-mark .whisker{ stroke:var(--rose-dark); stroke-width:1.4; fill:none;}
.brand-text{ display:flex; flex-direction:column; line-height:1.15;}
.brand-title{ font-family:'Playfair Display',serif; font-weight:700; font-size:20px; color:var(--ink);}
.brand-sub{ font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--rose-dark);}

.main-nav{ display:flex; gap:32px; }
.nav-link{
  position:relative; font-size:14.5px; font-weight:500; color:var(--ink-soft); padding:4px 0;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-4px; height:2px; width:0; background:var(--rose-dark);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active{ color:var(--ink); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

.burger{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:none; padding:6px;}
.burger span{ width:24px; height:2px; background:var(--ink); border-radius:2px; transition:.3s;}

/* ---------- language switch ---------- */
.lang-switch{ display:flex; gap:4px; background:var(--cream-2); padding:4px; border-radius:100px; }
.lang-btn{
  border:0; background:none; cursor:none; font-family:'Poppins',sans-serif; font-size:12px; font-weight:700;
  letter-spacing:.04em; color:var(--ink-soft); padding:6px 12px; border-radius:100px; transition: all .3s var(--ease);
}
.lang-btn:hover{ color:var(--ink); }
.lang-btn.active{ background:var(--rose-dark); color:#fff; box-shadow:0 6px 14px -6px rgba(193,99,127,.6); }
.lang-switch-mobile{ display:none; margin-top:6px; }

/* ---------- hero ---------- */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; padding-top:110px; z-index:1;}
.hero-glow{
  position:absolute; inset:-10% -10% auto -10%; height:70%;
  background: radial-gradient(60% 60% at 70% 20%, rgba(221,139,163,.28), transparent 70%),
              radial-gradient(50% 50% at 15% 30%, rgba(199,154,84,.22), transparent 70%);
  filter: blur(10px); z-index:-1;
}
.hero-inner{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; }
.eyebrow{
  text-transform:uppercase; letter-spacing:.18em; font-size:12.5px; color:var(--rose-dark); font-weight:600; margin:0 0 18px;
}
.hero-title{ font-size:clamp(34px,4.6vw,58px); line-height:1.12; font-weight:700; color:var(--ink); margin-bottom:26px;}
.quote-rotator{ position:relative; min-height:88px; max-width:480px; margin-bottom:34px;}
.quote{
  position:absolute; inset:0; opacity:0; transform:translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.quote.active{ position:relative; opacity:1; transform:translateY(0); }
.quote p{ font-family:'Playfair Display',serif; font-style:italic; font-size:19px; color:var(--ink); margin:0 0 6px;}
.quote cite{ font-size:13px; color:var(--rose-dark); font-style:normal;}

.hero-actions{ display:flex; gap:16px; margin-bottom:30px; flex-wrap:wrap;}
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  padding:15px 30px; border-radius:100px; font-weight:600; font-size:14.5px; overflow:hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border:1px solid transparent; cursor:none;
}
.btn span{ position:relative; z-index:2; }
.btn-primary{ background:linear-gradient(135deg,var(--rose),var(--rose-dark)); color:#fff; box-shadow: 0 14px 30px -14px rgba(193,99,127,.65);}
.btn-primary:hover{ transform:translateY(-3px); box-shadow: 0 20px 36px -14px rgba(193,99,127,.75);}
.btn-ghost{ border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--white); transform:translateY(-3px); }
.btn.full{ width:100%; }

.hero-contacts{ display:flex; gap:24px; font-size:14px; color:var(--ink-soft); flex-wrap:wrap;}
.hero-contacts a:hover{ color:var(--rose-dark); }

.hero-art{ position:relative; display:flex; align-items:center; justify-content:center; }
.cat-frame{ position:relative; width:min(78%,380px); aspect-ratio:1; display:flex; align-items:center; justify-content:center;}
.cat-illustration{ width:78%; position:relative; z-index:2; animation: floaty 5s ease-in-out infinite; overflow:visible;}
.cat-illustration .grad-top{ stop-color:var(--gold-light); }
.cat-illustration .grad-bottom{ stop-color:var(--rose); }
.cat-illustration .shadow{ fill:var(--rose-dark); opacity:.16; }
.cat-illustration .body,.cat-illustration .head{ fill:url(#catBodyGrad); stroke:var(--rose-dark); stroke-width:2.5; stroke-linejoin:round; }
.cat-illustration .tail{ fill:url(#catBodyGrad); stroke:var(--rose-dark); stroke-width:2.5; stroke-linejoin:round; }
.cat-illustration .belly{ fill:var(--cream); opacity:.85; }
.cat-illustration .paw{ fill:var(--rose); stroke:var(--rose-dark); stroke-width:2; opacity:.9; }
.cat-illustration .ear{ fill:var(--gold); stroke:var(--rose-dark); stroke-width:2.5; stroke-linejoin:round; }
.cat-illustration .ear-inner{ fill:var(--rose-light); stroke:none; }
.cat-illustration .blush{ fill:var(--rose-dark); opacity:.28; }
.cat-illustration .eye{ fill:var(--ink); stroke:none; }
.cat-illustration .eye-shine{ fill:#fff; }
.cat-illustration .nose{ fill:var(--rose-dark); stroke:none; }
.cat-illustration .mouth{ fill:none; stroke:var(--ink-soft); stroke-width:2.5; stroke-linecap:round; }
.cat-illustration .whisker{ fill:none; stroke:var(--ink-soft); stroke-width:1.8; stroke-linecap:round; opacity:.8; }
.cat-illustration .bow path{ fill:var(--gold); stroke:var(--rose-dark); stroke-width:1.5; stroke-linejoin:round; }
.cat-illustration .bow-knot{ fill:var(--gold-light); stroke:var(--rose-dark); stroke-width:1.5; }
@keyframes floaty{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }
.orbit{ position:absolute; border:1.5px dashed var(--gold-light); border-radius:50%; }
.orbit-1{ inset:0; animation: spin 30s linear infinite; }
.orbit-2{ inset:10%; border-color:var(--rose-light); animation: spin 22s linear reverse infinite; }
@keyframes spin{ to{ transform:rotate(360deg);} }

/* ---------- reveal ---------- */
.reveal{ opacity:0; transform:translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- sections ---------- */
.section{ padding:120px 0; position:relative; z-index:1; }
.section-eyebrow{ text-transform:uppercase; letter-spacing:.18em; font-size:12.5px; color:var(--rose-dark); font-weight:600; margin:0 0 10px; text-align:center;}
.section-title{ font-size:clamp(28px,3.4vw,42px); text-align:center; margin-bottom:56px; }

.about .about-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:start; margin-bottom:70px;}
.about-text p{ margin-bottom:18px; }
.about-text strong{ color:var(--ink); }

.timeline{ position:relative; padding-left:26px; border-left:2px solid var(--rose-light); }
.timeline-item{ position:relative; padding-bottom:34px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-dot{ position:absolute; left:-33px; top:2px; width:14px; height:14px; border-radius:50%; background:var(--rose-dark); box-shadow:0 0 0 5px var(--rose-light); }
.timeline-year{ display:block; font-family:'Playfair Display',serif; font-weight:700; color:var(--gold); font-size:20px; margin-bottom:4px;}
.timeline-item p{ margin:0; font-size:14.5px; }

.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; padding-top:50px; border-top:1px solid var(--rose-light); }
.stat-num,.stat-static{ font-family:'Playfair Display',serif; font-size:44px; font-weight:700; color:var(--rose-dark); }
.stat-plus{ font-family:'Playfair Display',serif; font-size:32px; color:var(--gold); font-weight:700; }
.stat-label{ display:block; font-size:13px; color:var(--ink-soft); margin-top:6px; }

.cats-section.alt{ background: linear-gradient(180deg,transparent,rgba(221,139,163,.08),transparent); }

.cards-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:30px; }
.empty-note{ grid-column:1/-1; text-align:center; font-style:italic; color:var(--ink-soft); padding:30px 0; }
.cat-card{
  background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transform-style:preserve-3d; transition: transform .12s ease-out, box-shadow .4s var(--ease);
  will-change: transform;
}
.cat-card:hover{ box-shadow: 0 30px 60px -22px rgba(58,47,42,.45); }
.cat-card-top{
  position:relative; height:130px; display:flex; align-items:center; justify-content:center;
}
.cat-card-top.male{ background:linear-gradient(135deg,var(--gold-light),var(--gold)); }
.cat-card-top.female{ background:linear-gradient(135deg,var(--rose-light),var(--rose)); }
.cat-card-icon{ width:64px; fill:none; }
.cat-card-icon path,.cat-card-icon circle{ stroke:var(--ink); }
.cat-card-icon circle{ fill:rgba(255,255,255,.55); stroke-width:1.6;}
.cat-card-icon path:first-of-type,.cat-card-icon path:nth-of-type(2){ fill:rgba(255,255,255,.4);}
.cat-card-icon .eye{ fill:var(--ink); stroke:none;}
.cat-card-icon .nose{ fill:var(--rose-dark); stroke:none;}
.cat-card-icon .whisker{ stroke:var(--ink); stroke-width:1.1;}
.badge{
  position:absolute; top:14px; right:16px; background:var(--white); color:var(--ink);
  font-size:12px; font-weight:700; padding:4px 10px; border-radius:100px; box-shadow:0 6px 14px -6px rgba(0,0,0,.3);
}

.cat-photo{ position:relative; height:230px; overflow:hidden; background:linear-gradient(135deg,var(--rose-light),var(--gold-light)); }
.cat-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .6s var(--ease), opacity .3s;
}
.cat-card:hover .cat-photo img{ transform:scale(1.08); }
.cat-photo::after{
  content:''; position:absolute; inset:auto 0 0 0; height:45%;
  background:linear-gradient(180deg,transparent,rgba(58,47,42,.35));
  pointer-events:none;
}
.cat-photo .badge{ z-index:2; }
.cat-photo.no-photo img{ opacity:0; }
.cat-photo.no-photo::before{
  content:'🐾'; position:absolute; inset:0; z-index:1;
  display:flex; align-items:center; justify-content:center;
  font-size:44px; color:var(--rose-dark); opacity:.5;
}
.cat-card-body{ padding:26px 24px 28px; }
.cat-card-body h3{ font-size:19px; margin-bottom:4px; }
.cat-card-code{ display:inline-block; font-size:11.5px; letter-spacing:.08em; color:var(--gold); font-weight:700; margin-bottom:14px; text-transform:uppercase;}
.cat-facts{ margin-bottom:14px; }
.cat-facts li{ font-size:13.5px; color:var(--ink-soft); margin-bottom:4px; }
.cat-facts li span{ display:inline-block; min-width:100px; color:var(--ink); font-weight:600; }
.cat-note{ font-size:13px; font-style:italic; margin-bottom:14px; }
.cat-parents{ font-size:13px; color:var(--ink-soft); margin:2px 0 14px; }
.cat-parents span{ font-weight:600; color:var(--ink); }
.tags{ display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  font-size:11.5px; background:var(--cream-2); color:var(--ink-soft); padding:5px 10px; border-radius:100px; font-weight:500;
}
.tag.gold{ background:var(--gold-light); color:#7a5b1f; }
.tag.rose{ background:var(--rose-light); color:var(--rose-dark); }

/* ---------- kittens ---------- */
.litter{ margin-bottom:60px; background:var(--white); border-radius:28px; padding:36px; box-shadow:var(--shadow); }
.litter:last-child{ margin-bottom:0; }
.litter-head h3{ font-size:24px; margin:8px 0 4px; }
.litter-head h3 span{ color:var(--gold); font-family:'Poppins',sans-serif; font-weight:500; font-size:16px; }
.litter-badge{ display:inline-block; background:var(--rose-light); color:var(--rose-dark); font-size:11.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:5px 12px; border-radius:100px; }
.litter-head p{ margin:0; font-size:14px; }
.kitten-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:18px; margin-top:26px; }
.kitten-card{
  text-align:center; padding:22px 12px; border-radius:18px; background:var(--cream-2);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.kitten-card:hover{ transform:translateY(-8px); }
.kitten-card.boy:hover{ background:var(--gold-light); }
.kitten-card.girl:hover{ background:var(--rose-light); }
.kitten-avatar{ display:block; font-size:30px; margin-bottom:10px; }
.kitten-card h4{ font-size:16px; margin-bottom:4px; }
.kitten-card span{ font-size:12px; color:var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.contact-lead{ margin-bottom:26px; max-width:420px; }
.contact-list{ margin-bottom:26px; }
.contact-list li{ font-size:15px; margin-bottom:12px; color:var(--ink-soft); }
.contact-list a:hover{ color:var(--rose-dark); }
.social-row{ display:flex; gap:12px; flex-wrap:wrap; }
.social-btn{
  padding:10px 20px; border-radius:100px; background:var(--white); box-shadow:var(--shadow); font-size:13.5px; font-weight:600;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.social-btn:hover{ background:var(--ink); color:var(--white); transform:translateY(-3px); }

.contact-form{ background:var(--white); padding:36px; border-radius:var(--radius); box-shadow:var(--shadow); display:flex; flex-direction:column; gap:18px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form label{ font-size:13px; color:var(--ink-soft); font-weight:600; display:flex; flex-direction:column; gap:8px; }
.contact-form input,.contact-form textarea{
  font-family:'Poppins',sans-serif; border:1.5px solid var(--cream-2); background:var(--cream); border-radius:12px;
  padding:12px 14px; font-size:14px; color:var(--ink); resize:vertical; transition: border-color .3s;
}
.contact-form input:focus,.contact-form textarea:focus{ outline:none; border-color:var(--rose); }

/* ---------- footer ---------- */
.site-footer{ padding:40px 0; border-top:1px solid var(--rose-light); }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-brand{ display:flex; align-items:center; gap:10px; font-family:'Playfair Display',serif; font-weight:700; }
.footer-brand svg path{ fill:var(--rose-dark); }
.footer-brand svg circle{ fill:var(--rose-light); stroke:var(--rose-dark); stroke-width:2;}
.footer-brand svg .eye{ fill:var(--ink); stroke:none;}
.footer-brand svg .nose{ fill:var(--gold); stroke:none;}
.footer-brand svg .whisker{ stroke:var(--rose-dark); stroke-width:1.4;}
.site-footer p{ font-size:13px; margin:0; color:var(--ink-soft); text-align:center; flex:1; }
.to-top{
  width:38px; height:38px; border-radius:50%; background:var(--rose-light); color:var(--rose-dark);
  display:flex; align-items:center; justify-content:center; font-weight:700; transition: transform .3s var(--ease), background .3s;
}
.to-top:hover{ background:var(--rose-dark); color:#fff; transform:translateY(-4px); }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-inner,.about-grid,.contact-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; margin-bottom:20px;}
  .stats{ grid-template-columns:repeat(2,1fr); }
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px); background:var(--white);
    flex-direction:column; padding:110px 36px; gap:26px; transform:translateX(100%); transition: transform .45s var(--ease);
    box-shadow:-20px 0 50px -20px rgba(0,0,0,.3);
  }
  .main-nav.open{ transform:translateX(0); }
  .burger{ display:flex; }
  .lang-switch-desktop{ display:none; }
  .lang-switch-mobile{ display:flex; }
}
@media (max-width: 560px){
  .form-row{ grid-template-columns:1fr; }
  .section{ padding:80px 0; }
  .hero{ padding-top:130px; }
}
