/* ===== PINOPET — theme based on logo (orange / black / white) ===== */

:root{
  --orange: #f2711c;
  --orange-dark: #d35400;
  --orange-light: #ffb98a;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-50: #faf9f7;
  --gray-100: #f3f1ee;
  --gray-300: #ddd8d2;
  --gray-500: #8a8480;
  --shadow-sm: 0 2px 10px rgba(26,26,26,.06);
  --shadow-md: 0 10px 30px rgba(26,26,26,.10);
  --shadow-lg: 0 20px 50px rgba(26,26,26,.16);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22,1,.36,1);
}

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

html{scroll-behavior:smooth}

body{
  font-family:'Vazirmatn', Tahoma, sans-serif;
  background:var(--gray-50);
  color:var(--black);
  overflow-x:hidden;
  line-height:1.8;
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:none;background:none}
ul{list-style:none}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
}

.text-orange{color:var(--orange)}

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

/* ===== decorative paw field ===== */
.paw-field{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.05;
  background-image:
    radial-gradient(circle at 8% 8%, var(--black) 3px, transparent 3.5px),
    radial-gradient(circle at 15% 5%, var(--black) 2px, transparent 2.5px);
  background-size:140px 140px;
}

/* ===== buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:50px;
  font-weight:700;
  font-size:15px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space:nowrap;
}
.btn .icon{width:18px;height:18px;fill:currentColor}

.btn-primary{
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  color:var(--white);
  box-shadow:0 10px 25px rgba(242,113,28,.35);
}
.btn-primary:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 16px 34px rgba(242,113,28,.45)}

.btn-outline{
  background:var(--white);
  color:var(--black);
  border:2px solid var(--gray-300);
}
.btn-outline:hover{border-color:var(--orange);color:var(--orange-dark);transform:translateY(-3px)}

.btn-call{
  background:var(--black);
  color:var(--white);
}
.btn-call:hover{background:var(--orange);transform:translateY(-2px)}

.btn-big{padding:18px 40px;font-size:18px}

.pulse{position:relative}
.pulse::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50px;
  border:2px solid rgba(255,255,255,.7);
  animation:pulseRing 1.8s var(--ease) infinite;
}
@keyframes pulseRing{
  0%{transform:scale(1);opacity:.9}
  100%{transform:scale(1.35);opacity:0}
}

/* ===== HEADER ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(250,249,247,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(26,26,26,.06);
  transition:box-shadow .3s ease;
}
.site-header.scrolled{box-shadow:var(--shadow-sm)}

.header-inner{
  display:flex;
  align-items:center;
  gap:20px;
  padding:12px 20px;
}

.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand-logo{width:44px;height:44px;flex-shrink:0}
.brand-logo .panda-svg{width:100%;height:100%}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-name{font-weight:900;font-size:19px;letter-spacing:.5px;color:var(--orange)}
.brand-sub{font-size:11px;color:var(--gray-500);font-weight:500}

.main-nav{
  display:flex;
  gap:28px;
  margin-inline-start:auto;
  font-weight:600;
  font-size:15px;
}
.main-nav a{position:relative;padding:6px 0;transition:color .25s}
.main-nav a::after{
  content:'';
  position:absolute;
  bottom:0;right:0;left:0;
  height:2px;
  background:var(--orange);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .3s var(--ease);
}
.main-nav a:hover{color:var(--orange-dark)}
.main-nav a:hover::after{transform:scaleX(1)}

.header-call{padding:11px 20px;font-size:14px;flex-shrink:0}

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  padding:8px;
  flex-shrink:0;
}
.hamburger span{width:24px;height:2px;background:var(--black);border-radius:2px;transition:all .3s var(--ease)}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== HERO ===== */
.hero{
  position:relative;
  padding:70px 0 40px;
  overflow:hidden;
}
.hero-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(60px);
  opacity:.35;
  z-index:0;
  animation:floatBlob 10s ease-in-out infinite;
}
.blob-1{width:420px;height:420px;background:var(--orange-light);top:-120px;left:-100px}
.blob-2{width:340px;height:340px;background:var(--orange);top:200px;right:-120px;animation-delay:2s}
@keyframes floatBlob{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(30px,-20px) scale(1.08)}
}

.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:50px;
  align-items:center;
}

.eyebrow{
  display:inline-block;
  background:var(--white);
  padding:8px 18px;
  border-radius:50px;
  font-size:13px;
  font-weight:700;
  box-shadow:var(--shadow-sm);
  margin-bottom:20px;
  color:var(--orange-dark);
}

.hero-text h1{
  font-size:clamp(32px, 4.2vw, 54px);
  font-weight:900;
  line-height:1.25;
  margin-bottom:20px;
}

.hero-desc{
  font-size:17px;
  color:#4b4640;
  max-width:520px;
  margin-bottom:32px;
}

.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:40px}

.hero-stats{display:flex;gap:36px;flex-wrap:wrap}
.stat{display:flex;flex-direction:column;gap:2px}
.stat strong{font-size:24px;font-weight:900;color:var(--orange-dark)}
.stat span{font-size:13px;color:var(--gray-500);font-weight:600}

.hero-visual{position:relative;display:flex;justify-content:center}
.hero-photo-frame{
  position:relative;
  width:min(420px, 90%);
  aspect-ratio:1/1;
  border-radius:45% 55% 60% 40% / 55% 45% 55% 45%;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  border:6px solid var(--white);
  animation:morph 8s ease-in-out infinite;
}
@keyframes morph{
  0%,100%{border-radius:45% 55% 60% 40% / 55% 45% 55% 45%}
  50%{border-radius:60% 40% 45% 55% / 45% 55% 45% 55%}
}
.hero-photo{width:100%;height:100%;object-fit:cover}

.floaty-card{
  position:absolute;
  background:var(--white);
  padding:10px 16px;
  border-radius:50px;
  font-size:13px;
  font-weight:700;
  box-shadow:var(--shadow-md);
  animation:floatCard 5s ease-in-out infinite;
  white-space:nowrap;
}
.card-1{top:6%;right:-8%;animation-delay:0s}
.card-2{bottom:18%;left:-12%;animation-delay:1.2s}
.card-3{bottom:-3%;right:8%;animation-delay:2.4s}
@keyframes floatCard{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

.hero-wave{
  display:block;
  width:100%;
  height:60px;
  fill:var(--white);
  position:relative;
  z-index:1;
}

/* ===== SECTION HEAD ===== */
.section-head{text-align:center;max-width:640px;margin:0 auto 50px}
.tag{
  display:inline-block;
  background:rgba(242,113,28,.1);
  color:var(--orange-dark);
  padding:6px 16px;
  border-radius:50px;
  font-size:13px;
  font-weight:700;
  margin-bottom:14px;
}
.section-head h2{font-size:clamp(24px,3vw,36px);font-weight:900;line-height:1.4}
.section-desc{margin-top:14px;color:var(--gray-500);font-size:15.5px}

/* ===== FEATURES ===== */
.features{padding:80px 0;background:var(--white)}
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:26px;
}
.feature-card{
  background:var(--gray-50);
  border-radius:var(--radius);
  padding:32px 26px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  border:1px solid var(--gray-100);
}
.feature-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-md);
  background:var(--white);
}
.feature-icon{
  width:56px;height:56px;
  border-radius:16px;
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
  transition:transform .4s var(--ease);
}
.feature-card:hover .feature-icon{transform:rotate(-8deg) scale(1.08)}
.feature-icon svg{width:28px;height:28px;fill:var(--white)}
.feature-card h3{font-size:18px;font-weight:800;margin-bottom:8px}
.feature-card p{color:var(--gray-500);font-size:14.5px}

/* ===== PRODUCTS ===== */
.products{padding:80px 0}

.filter-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:44px;
}
.filter-btn{
  padding:10px 22px;
  border-radius:50px;
  background:var(--white);
  border:2px solid var(--gray-300);
  font-weight:700;
  font-size:14px;
  transition:all .3s var(--ease);
}
.filter-btn:hover{border-color:var(--orange);color:var(--orange-dark)}
.filter-btn.active{
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-color:transparent;
  color:var(--white);
  box-shadow:0 8px 20px rgba(242,113,28,.3);
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:28px;
}

.product-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), opacity .4s ease;
}
.product-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-lg);
}
.product-card.hidden{display:none}

.product-image-wrap{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  cursor:pointer;
}
.product-image-wrap img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s var(--ease);
}
.product-card:hover .product-image-wrap img{transform:scale(1.1)}

.product-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(26,26,26,.92) 0%, rgba(26,26,26,.5) 55%, rgba(26,26,26,.05) 100%);
  color:var(--white);
  display:flex;
  align-items:flex-end;
  padding:20px;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.product-overlay p{font-size:13.5px;font-weight:500;line-height:1.7}

@media (hover:hover){
  .product-card:hover .product-overlay{opacity:1;transform:translateY(0)}
}
.product-image-wrap.active .product-overlay{opacity:1;transform:translateY(0)}

.product-info{padding:18px 20px 22px}
.product-info h3{font-size:16.5px;font-weight:800;margin-bottom:6px}
.product-meta{font-size:12.5px;color:var(--gray-500);margin-bottom:16px;font-weight:600}

.btn-call-product{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:11px;
  border-radius:50px;
  background:var(--gray-100);
  color:var(--black);
  font-weight:700;
  font-size:14px;
  transition:all .3s var(--ease);
}
.btn-call-product .icon{width:16px;height:16px;fill:currentColor}
.btn-call-product:hover{
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  color:var(--white);
  transform:scale(1.03);
}

/* ===== SIZING ===== */
.sizing{padding:80px 0;background:var(--white)}
.size-table-wrap{overflow-x:auto;border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.size-table{width:100%;border-collapse:collapse;min-width:560px}
.size-table th,.size-table td{
  padding:16px 14px;
  text-align:center;
  font-size:14.5px;
  border-bottom:1px solid var(--gray-100);
}
.size-table thead th{
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  color:var(--white);
  font-weight:800;
}
.size-table tbody tr:nth-child(odd){background:var(--gray-50)}
.size-table tbody td:first-child{font-weight:700;text-align:right}
.size-note{text-align:center;margin-top:24px;color:var(--gray-500);font-weight:600}

/* ===== CONTACT CTA ===== */
.contact-cta{
  position:relative;
  padding:90px 0;
  background:var(--black);
  color:var(--white);
  text-align:center;
  overflow:hidden;
}
.cta-blob{
  position:absolute;
  width:600px;height:600px;
  background:radial-gradient(circle, var(--orange) 0%, transparent 70%);
  opacity:.25;
  top:-200px;
  left:50%;
  transform:translateX(-50%);
}
.cta-inner{position:relative;z-index:1}
.contact-cta h2{font-size:clamp(24px,3.2vw,38px);font-weight:900;margin-bottom:14px}
.contact-cta p{color:var(--gray-300);margin-bottom:34px;font-size:16px}

/* ===== FOOTER ===== */
.site-footer{background:var(--gray-100);padding-top:60px}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:36px;
  justify-content:space-between;
  align-items:flex-start;
  padding-bottom:40px;
  border-bottom:1px solid var(--gray-300);
}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-logo{width:52px;height:52px}
.footer-brand .brand-name{font-size:20px}
.footer-brand .brand-sub{font-size:12.5px}

.footer-nav{display:flex;flex-wrap:wrap;gap:22px;font-weight:600;font-size:14.5px}
.footer-nav a:hover{color:var(--orange-dark)}

.footer-contact{display:flex;flex-direction:column;gap:12px}
.footer-link{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14.5px;transition:color .3s}
.footer-link .icon{width:17px;height:17px;fill:var(--orange)}
.footer-link:hover{color:var(--orange-dark)}

.footer-bottom{
  text-align:center;
  padding:22px 0;
  font-size:13px;
  color:var(--gray-500);
}

/* ===== FLOATING CALL BUTTON ===== */
.floating-call{
  position:fixed;
  bottom:26px;
  left:26px;
  z-index:200;
  width:60px;height:60px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px rgba(242,113,28,.5);
  transition:transform .3s var(--ease);
}
.floating-call:hover{transform:scale(1.1)}
.floating-call .icon{width:26px;height:26px;fill:var(--white)}
.floating-call .ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:3px solid var(--orange);
  animation:pulseRing 1.8s var(--ease) infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px){
  .hero-inner{grid-template-columns:1fr;text-align:center}
  .hero-desc{margin-inline:auto}
  .hero-actions{justify-content:center}
  .hero-stats{justify-content:center}
  .hero-visual{order:-1;margin-bottom:10px}
  .hero-photo-frame{width:min(340px,80%)}
}

@media (max-width: 860px){
  .main-nav{
    position:fixed;
    top:72px;
    right:0;left:0;
    background:var(--white);
    flex-direction:column;
    align-items:center;
    gap:0;
    box-shadow:var(--shadow-md);
    max-height:0;
    overflow:hidden;
    transition:max-height .4s var(--ease);
  }
  .main-nav.open{max-height:400px;padding:10px 0}
  .main-nav a{width:100%;text-align:center;padding:16px 0;border-bottom:1px solid var(--gray-100)}
  .hamburger{display:flex}
  .header-call span{display:none}
  .header-call{padding:11px 14px}
}

@media (max-width: 640px){
  .hero{padding:40px 0 20px}
  .features,.products,.sizing{padding:56px 0}
  .section-head{margin-bottom:34px}
  .floaty-card{display:none}
  .floating-call{width:52px;height:52px;bottom:18px;left:18px}
  .contact-cta{padding:60px 0}
  .footer-inner{flex-direction:column;align-items:center;text-align:center}
  .footer-nav{justify-content:center}
}

@media (max-width: 420px){
  .products-grid{grid-template-columns:repeat(auto-fill, minmax(150px,1fr));gap:16px}
  .product-info{padding:14px}
  .hero-stats{gap:22px}
}
