/* =========================================================
   BARKY — site styles
   Colours: navy #00356C, raspberry #E04E64 (buy buttons),
   light blues #8ECDF0 (hero), #CDE7F8 / #D6EFFC (panels)
   ========================================================= */

/* FONTS (self-hosted, no Google Fonts links) */
@font-face{font-family:'Grandstander';font-weight:900;font-display:swap;
  src:url('assets/fonts/grandstander-900.woff') format('woff')}
@font-face{font-family:'Poppins';font-weight:500;font-display:swap;
  src:url('assets/fonts/poppins-500.woff') format('woff')}
@font-face{font-family:'Poppins';font-weight:700;font-display:swap;
  src:url('assets/fonts/poppins-700.woff') format('woff')}

:root{
  --navy:#00356C;
  --raspberry:#E04E64;
  --raspberry-hover:#C93E54;
  --hero:#8ECDF0;
  --panel:#CDE7F8;
  --panel-phone:#D6EFFC;
  --tile:#E6F0FA;
  --line:#d9dee5;
  --shadow:0 4px 14px rgba(0,53,108,0.08);
  --head:'Grandstander','Arial Rounded MT Bold','Arial Black',Arial,sans-serif;
  --body:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);font-weight:500;color:var(--navy);background:#fff;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy)}
h1,h2,h3{font-family:var(--head);font-weight:900;color:var(--navy);margin:0}

.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
main > section{margin:0 0 80px}
main > section:last-child{margin-bottom:60px}

/* BUTTONS */
.btn{display:inline-block;background:var(--raspberry);color:#fff;font-family:var(--body);font-weight:700;font-size:18px;
  text-decoration:none;padding:15px 34px;border-radius:999px;white-space:nowrap;transition:transform .2s ease,background .2s ease}
.btn:hover{background:var(--raspberry-hover);color:#fff;transform:translateY(-2px)}

/* HEADER */
.site-header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #eef1f5}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:76px}
.logo img{width:138px}
.nav{display:flex;gap:28px;align-items:center}
.nav a{font-weight:700;font-size:17px;text-decoration:none}
.nav a:hover{text-decoration:underline}

/* HERO */
.hero{margin-top:20px}
.hero-card{background:var(--hero);border-radius:20px;padding:56px 48px 56px 64px;display:grid;grid-template-columns:1fr 1fr;
  gap:32px;align-items:center;overflow:hidden}
.hero h1{font-size:clamp(38px,6vw,66px);line-height:1.05;margin-bottom:20px}
.hero p{font-size:20px;line-height:1.45;margin:0 0 28px;max-width:480px}
.hero-img img{width:100%;max-width:460px;margin-left:auto;border-radius:20px;aspect-ratio:1/1;object-fit:contain;background:#fff;box-shadow:0 10px 30px rgba(0,53,108,0.15)}

/* SECTION HEADINGS */
.sec-head{text-align:center;margin-bottom:40px}
.sec-head h2{font-size:48px;line-height:1.1;margin-bottom:14px}
.sec-head p{font-size:20px;line-height:1.5;margin:0 auto;max-width:600px}

/* TOY CARDS */
.toys .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.toy{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.toy-photo{aspect-ratio:1/1;background:#fff;border-bottom:1px solid #eef1f5}
.toy-photo img{width:100%;height:100%;object-fit:contain}
.toy-body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.toy h3{font-size:22px;line-height:1.2;margin-bottom:6px}
.toy p{font-size:16px;line-height:1.45;margin:0 0 16px;flex:1}
.toy .buy{display:block;text-align:center;background:var(--raspberry);color:#fff;font-weight:700;font-size:16px;text-decoration:none;
  padding:11px 16px;border-radius:999px;transition:background .2s ease}
.toy .buy:hover{background:var(--raspberry-hover)}
.toy .soon{display:block;text-align:center;background:#eef1f5;color:#5b6b80;font-weight:700;font-size:15px;padding:11px 16px;border-radius:999px}

/* WHY BARKY */
.why .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;max-width:900px;margin:0 auto}
.why-card{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;background:#fff;padding:32px 26px 34px;text-align:center}
.why-card h3{font-size:28px;line-height:1.15;margin-bottom:12px}
.why-card p{font-size:18px;line-height:1.6;margin:0}

/* FAQ */
.faq{max-width:900px;margin-left:auto;margin-right:auto}
.faq details{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:16px;overflow:hidden}
.faq details[open]{box-shadow:var(--shadow)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:20px 22px;font-family:var(--head);font-weight:900;font-size:22px;line-height:1.3}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{background:#f5f9fd}
.faq .icon{flex-shrink:0;width:22px;height:22px;position:relative}
.faq .icon::before,.faq .icon::after{content:"";position:absolute;background:#4BA8E8;border-radius:2px;transition:transform .25s ease,opacity .25s ease}
.faq .icon::before{top:50%;left:0;width:100%;height:4px;margin-top:-2px}
.faq .icon::after{left:50%;top:0;width:4px;height:100%;margin-left:-2px}
.faq details[open] .icon::after{transform:rotate(90deg);opacity:0}
.faq .answer{padding:4px 22px 22px;border-top:1px solid #eef1f5;font-size:18px;line-height:1.6}
.faq .answer p{margin:14px 0 0}
.faq .answer a{font-weight:700}

/* CLOSING PANEL */
.closing .panel{background:var(--panel);border-radius:20px;padding:70px 40px;text-align:center}
.closing h2{font-size:48px;line-height:1.1;margin-bottom:18px}
.closing p{font-size:20px;line-height:1.6;margin:0 auto 32px;max-width:620px}

/* FOOTER */
.site-footer{border-top:1px solid #eef1f5;padding:40px 20px 48px;text-align:center}
.site-footer img{width:110px;margin:0 auto 18px}
.site-footer .links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin-bottom:16px}
.site-footer .links a{font-weight:700;font-size:16px;text-decoration:none}
.site-footer .links a:hover{text-decoration:underline}
.site-footer small{font-size:14px}

/* TABLETS */
@media (max-width:1024px){
  .toys .grid{grid-template-columns:repeat(2,1fr)}
  .why-card h3{font-size:24px}
}

/* PHONES */
@media (max-width:767px){
  .wrap{padding:0 12px}
  main > section{margin-bottom:56px}
  main > section:last-child{margin-bottom:40px}
  .site-header .wrap{height:64px}
  .logo img{width:112px}
  .nav{gap:18px}
  .nav a{font-size:15px}
  .nav .hide-phone{display:none}
  .hero{margin-top:16px}
  .hero-card{grid-template-columns:1fr;padding:28px 22px 26px;gap:20px;text-align:left}
  .hero h1{font-size:clamp(38px,10.8vw,54px);line-height:1;margin-bottom:14px}
  .hero p{font-size:18px;margin-bottom:20px}
  .hero-img img{max-width:400px;margin:0 auto;aspect-ratio:1/1}
  .hero .btn{display:block;text-align:center}
  .btn{font-size:16px;padding:12px 24px}
  .sec-head{margin-bottom:28px}
  .sec-head h2{font-size:35px}
  .sec-head p{font-size:18px}
  .toys .grid{grid-template-columns:1fr 1fr;gap:12px}
  .toy-body{padding:14px 12px 14px}
  .toy h3{font-size:18px}
  .toy p{font-size:14px;margin-bottom:12px}
  .toy .buy,.toy .soon{font-size:13px;padding:9px 8px}
  .why .grid{grid-template-columns:1fr;gap:16px}
  .why-card{padding:24px 20px 26px}
  .why-card p{font-size:17px}
  .faq summary{font-size:18px;padding:16px}
  .faq .answer{font-size:17px;padding:2px 16px 18px}
  .closing .panel{background:var(--panel-phone);padding:44px 22px}
  .closing h2{font-size:35px}
  .closing p{font-size:18px;margin-bottom:26px}
}
