:root{
  --bg: #fffaf9;
  --card: #fdeeee;
  --ink: #3b2a2a;
  --muted: #6b4a4a;
  --brand: #c83b3b;
  --accent: #2f6f3e;
  --border: rgba(0,0,0,.08);
  --shadow: 0 10px 25px rgba(0,0,0,.08);
  --radius: 18px;
  --max: 1080px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(#fff, var(--bg));
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }

.wrap{ width: min(var(--max), 92vw); margin: 0 auto; }

.pill{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: .86rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
  white-space: nowrap;
}
.dot{ width:8px; height:8px; border-radius:50%; background: var(--accent); display:inline-block; }

.btn{
  border:0;
  padding: .65rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn.primary{
  background: var(--accent);
  color:#fff;
  box-shadow: 0 14px 28px rgba(47,111,62,.25);
}
.btn.primary:hover{ filter: brightness(1.03); }
.btn.ghost{
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: 0 8px 16px rgba(0,0,0,.05);
}





/* ===================== 
Header styles
===================== */
.site-header{
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity .2s ease;
}
.brand:hover{ opacity: .9; }

.brand-img{
  height: 52px;
  width: auto;
  display: block;
}

.brand-text{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.main-nav{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.5rem;
}

.nav-link{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: .35rem 0;
  position: relative;
  transition: color .2s ease;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.nav-link:hover{ color: var(--brand); }
.nav-link:hover::after{ width: 100%; }

.contact-btn{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2b600 0%, #e6a800 100%);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(242,182,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,182,0,.45);
}

@media (max-width: 900px){
  .main-nav{ gap: 1.5rem; }
  .nav-link{ font-size: 1rem; }
  .brand-text{ font-size: 1.5rem; }
}





/* ===================== 
Hero section
===================== */
.hero-full{
  min-height: 80vh;
  background: linear-gradient(145deg, #fdeeee 0%, #fdf5f5 50%, #fde8e8 100%);
  display: flex;
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero-inner{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-left{ max-width: 540px; }
.hero-title{
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  line-height: 1.15;
  color: var(--brand);
  margin: 0 0 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-sub{
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-weight: 600;
}

.hero-badges{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-badge{
  background: #fff;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.hero-buttons{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent) 0%, #245732 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(47,111,62,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47,111,62,.4);
}

.btn-link{
  color: var(--brand);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.btn-link:hover{ color: var(--ink); }

.hero-right{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap{
  position: relative;
  max-width: 100%;
  animation: hero-float 5s ease-in-out infinite;
}

.hero-product-img{
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
  transition: transform .4s ease;
}
.hero-img-wrap:hover .hero-product-img{
  transform: scale(1.03);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img-wrap{ animation: none; }
}

@media (max-width: 1000px){
  .hero-inner{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .hero-left{ max-width: none; margin: 0 auto; }
  .hero-title{ font-size: clamp(1.9rem, 6vw, 2.5rem); }
  .hero-badges{ justify-content: center; }
  .hero-buttons{ justify-content: center; }
  .hero-img-wrap{ margin-top: 1rem; }
  .hero-product-img{ margin: 0 auto; max-width: 400px; }
}






/* ===================== 
sections styles
===================== */

/* Sections */
.section{ padding: 1.8rem 0; }
.section h2{
  font-family: var(--serif);
  text-align:center;
  margin:0;
  font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.2rem);
  color: var(--brand);
  font-weight: 900;
}
.section .sub{
  text-align:center;
  color: var(--muted);
  max-width: 70ch;
  margin: .55rem auto 0;
  font-weight:600;
}


/* Product section – What is Tabby? */
.product-section{
  padding: 3rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 50%, #fff 100%);
}
.product-title{ margin-bottom: .4rem; }
.product-sub{ margin-bottom: 0; }

/* Feature blocks */
.features{ display: grid; gap: 1.5rem; margin-top: 2rem; }
.feature{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: box-shadow .3s ease, transform .3s ease;
}
.feature:hover{
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.feature .card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: background .2s ease;
}
.feature h3{
  margin: 0 0 .5rem;
  color: var(--brand);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.6rem;
}
.feature p{
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}
.feature .media{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  background: linear-gradient(145deg, #fff9f9 0%, #fff5f5 100%);
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 1rem;
  transition: box-shadow .3s ease;
}
.feature .media:hover{ box-shadow: 0 12px 28px rgba(200,59,59,.12); }

/* Product PNG images – animation */
.product-media{
  position: relative;
}
.product-img{
  max-width: 85%;
  height: auto;
  display: block;
  animation: product-float 4s ease-in-out infinite;
  transition: transform .4s ease;
}
.feature .product-media:hover .product-img{
  animation: none;
  transform: scale(1.05);
}
.feature.alt .product-img{ animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .product-img{ animation: none; }
  .feature .product-media:hover .product-img{ transform: scale(1.02); }
}

@keyframes product-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Fade-in for feature cards (run once on load) */
.animate-in{
  opacity: 0;
  animation: feature-in .7s ease forwards;
}
.feature.alt.animate-in{ animation-delay: .15s; }

@keyframes feature-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/*==================
Moment
================== */

/* Moments */
.moments{
  margin-top: 1.1rem;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items:start;
}
.moment{ display:grid; justify-items:center; gap:.55rem; padding: .55rem .35rem; }
.moment .circle{
  width: 92px; height: 92px;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 12px 22px rgba(0,0,0,.12);
  overflow:hidden;
  background: #111;
}
.moment span{
  font-weight: 800;
  color: var(--muted);
  font-size: .95rem;
  text-align:center;
}

/* Map – full card */
.map-card{
  margin-top: 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
#map{ width: 100%; height: 420px; min-height: 320px; display: block; }
.map-panel{
  margin-top: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.map-panel h3{
  margin:0;
  font-family: var(--serif);
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 900;
}
.map-note{
  margin:0;
  color: var(--muted);
  font-weight:650;
  line-height:1.45;
}
.locs{ display:grid; gap: .55rem; }
.loc{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .6rem;
  padding: .7rem .75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fffaf9;
}
.loc strong{ font-size: .98rem; }
.loc small{ color: var(--muted); font-weight:600; display:block; margin-top:.15rem; }

/* Footer */
.site-footer{
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card) 0%, #fff 100%);
}
.foot{
  padding: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem 1.5rem;
  align-items: start;
}
.foot-brand{ max-width: 280px; }
.foot-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: .75rem;
}
.foot-logo-img{
  height: 40px;
  width: auto;
  display: block;
}
.foot-logo-text{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.5px;
}
.foot-logo:hover .foot-logo-text{ color: var(--ink); }
.foot-desc{
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.foot-heading{
  margin: 0 0 .65rem;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.foot-col a{
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  margin: .4rem 0;
  transition: color .15s ease;
}
.foot-col a:hover{ color: var(--brand); }
.foot-contact-item{
  margin-bottom: 1rem;
}
.foot-contact-item:last-child{ margin-bottom: 0; }
.foot-label{
  display: block;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.foot-contact-item a{
  font-weight: 700;
  color: var(--ink);
}
.foot-contact-item a:hover{ color: var(--brand); }
.social{
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
}
.social .chip{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: 800;
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .15s ease, color .15s ease, background .15s ease;
}
.social .chip:hover{
  color: var(--brand);
  background: var(--card);
  transform: translateY(-2px);
}
.foot-copy{
  text-align: center;
  padding: 1rem 0 1.5rem;
  font-size: .85rem;
  color: var(--muted);
  font-weight: 600;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .product-visual{ min-height: 260px; }
  .feature{ grid-template-columns: 1fr; }
  .moments{ grid-template-columns: 1fr 1fr; }
  .map-panel{ margin-top: 1rem; }
  .foot{
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 2rem 0 1.5rem;
  }
  .foot-brand{ max-width: none; }
  nav ul{ display:none; }
}
@media (max-width: 560px){
  .foot{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .foot-brand{ margin: 0 auto; }
  .foot-logo{ justify-content: center; }
  .social{ justify-content: center; }
}
