/* =========================================================
   mix.co — Coffee Shop Website
   Color scheme: light blue & white
   ========================================================= */

:root {
  --blue-50: #eff7ff;
  --blue-100: #dbecff;
  --blue-200: #bfdcff;
  --blue-300: #8fc4ff;
  --blue-400: #5aa8ff;
  --blue-500: #3b8ff0;
  --blue-600: #2a6fc4;
  --white: #ffffff;
  --ink: #1a2b4a;
  --ink-soft: #475977;
  --gray: #f5f8fd;
  --shadow-sm: 0 4px 14px rgba(59, 143, 240, 0.08);
  --shadow-md: 0 10px 30px rgba(59, 143, 240, 0.14);
  --shadow-lg: 0 20px 50px rgba(59, 143, 240, 0.2);
  --radius: 18px;
  --radius-sm: 10px;
  --trans: 0.35s cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--ink); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-top: 10px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  background: var(--blue-50);
  border-radius: 30px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--trans);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent !important;
  color: var(--blue-600);
  border: 2px solid var(--blue-300);
}
.btn-ghost:hover {
  background: transparent !important;
  border-color: var(--blue-500);
  color: var(--blue-600);
  transform: translateY(-3px);
}

/* ========== Navbar ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--trans);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.5rem; font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  font-size: 1.2rem;
  animation: wiggle 3s ease-in-out infinite;
}
.brand .dot { color: var(--blue-500); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--trans);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width var(--trans);
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a:hover::after { width: 100%; }
.hamburger {
  display: none; background: transparent; border: none;
  width: 30px; height: 24px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; height: 3px; background: var(--ink);
  border-radius: 2px; transition: all var(--trans);
}
.hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 32px 80px;
  max-width: 1280px; margin: 0 auto;
  gap: 60px;
  overflow: hidden;
}
.hero-parallax {
  position: absolute; inset: -10% -10% 0 -10%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(143, 196, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(191, 220, 255, 0.4), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  z-index: -2;
  will-change: transform;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  z-index: -1;
  will-change: transform;
}
.blob-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blue-200), transparent);
  top: 10%; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--blue-100), transparent);
  bottom: 10%; left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-content { flex: 1; min-width: 0; }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin: 20px 0;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shimmer 3s ease-in-out infinite;
}
.hero-sub {
  font-size: 1.1rem; color: var(--ink-soft);
  max-width: 520px; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 520px;
}
.hero-meta div {
  padding: 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
  border: 1px solid var(--blue-100);
  transition: transform var(--trans);
}
.hero-meta div:hover { transform: translateY(-4px); }
.hero-meta strong { display: block; color: var(--blue-600); font-size: 0.95rem; }
.hero-meta span { font-size: 0.82rem; color: var(--ink-soft); }

.hero-image {
  flex: 1; position: relative; min-width: 0;
}
.hero-image img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: floatY 6s ease-in-out infinite;
}
.floating-card {
  position: absolute;
  background: var(--white);
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  animation: floatY 5s ease-in-out infinite;
}
.floating-card span { font-weight: 700; color: var(--blue-600); font-size: 1.3rem; }
.floating-card small { color: var(--ink-soft); font-size: 0.75rem; }
.card-a { top: 12%; left: -20px; animation-delay: -2s; }
.card-b { bottom: 10%; right: -20px; animation-delay: -4s; }

.scroll-indicator {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--blue-600);
  font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-indicator span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid var(--blue-400);
  border-radius: 20px;
  margin: 0 auto 8px;
  position: relative;
}
.scroll-indicator span::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--blue-500); border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ========== About ========== */
.about {
  max-width: 1280px; margin: 0 auto;
  padding: 100px 32px;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-img {
  position: relative;
}
.about-img img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform var(--trans);
}
.about-img:hover img { transform: scale(1.02) rotate(-0.5deg); }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: white;
  padding: 20px 28px;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 0.9rem;
  animation: spin 20s linear infinite;
}
.about-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}
.about-text p {
  color: var(--ink-soft); margin-bottom: 18px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 32px;
}
.stat {
  text-align: center;
  padding: 20px 10px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  transition: all var(--trans);
}
.stat:hover {
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block; font-size: 1.8rem;
  color: var(--blue-600);
  font-family: 'Playfair Display', serif;
}
.stat span { font-size: 0.8rem; color: var(--ink-soft); }

/* ========== Menu ========== */
.menu {
  background: var(--blue-50);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.menu::before,
.menu::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-200), transparent);
  opacity: 0.4;
  filter: blur(40px);
}
.menu::before { top: -100px; left: -100px; }
.menu::after { bottom: -100px; right: -100px; }
.menu > * { position: relative; z-index: 1; }
.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 48px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.tab {
  padding: 12px 26px;
  border-radius: 30px;
  border: 2px solid var(--blue-200);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--trans);
}
.tab:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.tab.active {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: white; border-color: transparent;
  box-shadow: var(--shadow-md);
}
.menu-panels { max-width: 1280px; margin: 0 auto; }
.panel { display: none; }
.panel.active { display: block; animation: fadeUp 0.5s ease; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.menu-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--blue-50);
  position: relative;
}
.menu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.menu-card:hover .menu-img img { transform: scale(1.1); }
.menu-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(42, 111, 196, 0.12));
  pointer-events: none;
}
.menu-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.menu-card p { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 14px; flex: 1; }
.price {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  align-self: center;
}

/* ========== Video Showcase ========== */
.video-showcase {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 32px;
  position: relative;
}
.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--white);
}
.video-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.6;
  filter: blur(20px);
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Gallery ========== */
.gallery {
  position: relative;
  padding: 100px 32px;
  max-width: 1280px; margin: 0 auto;
  overflow: hidden;
}
.gallery-parallax {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(191, 220, 255, 0.3), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(143, 196, 255, 0.25), transparent 50%);
  z-index: -1; will-change: transform;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.g-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--trans);
  box-shadow: var(--shadow-sm);
  transition-delay: var(--d, 0ms);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 111, 196, 0.6));
  opacity: 0;
  transition: opacity var(--trans);
}
.g-item:hover img { transform: scale(1.12); }
.g-item:hover::after { opacity: 1; }
.g-item:nth-child(1) { grid-row: span 2; }
.g-item:nth-child(4) { grid-row: span 2; }

/* ========== Features ========== */
.features {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
  padding: 100px 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1280px; margin: 0 auto;
}
.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  transition-delay: var(--d, 0ms);
  border-top: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--blue-500);
}
.f-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 22px;
  transition: transform var(--trans);
}
.feature-card:hover .f-icon {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ========== Articles ========== */
.articles {
  max-width: 1280px; margin: 0 auto;
  padding: 100px 32px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  transition-delay: var(--d, 0ms);
  display: flex;
  flex-direction: column;
  color: inherit;
  border: 1px solid var(--blue-100);
}
.article-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}
.article-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.article-card:hover .article-card-img img { transform: scale(1.08); }
.article-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.tag-internal {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: white;
}
.tag-external {
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
}
.article-card-body {
  padding: 26px 24px 28px;
  display: flex; flex-direction: column;
  flex: 1;
}
.article-date {
  font-size: 0.8rem;
  color: var(--blue-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.article-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-card-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex: 1;
}
.read-more {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 0.92rem;
  align-self: flex-start;
  padding: 8px 0;
  position: relative;
  transition: transform var(--trans);
}
.article-card:hover .read-more { transform: translateX(6px); }

/* ========== Article Page ========== */
.article-page {
  padding-top: 80px;
}
.article-hero {
  position: relative;
  padding: 80px 32px 60px;
  overflow: hidden;
  text-align: center;
  background: var(--blue-50);
}
.article-hero-bg {
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(143, 196, 255, 0.4), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(191, 220, 255, 0.5), transparent 60%);
  z-index: 0;
  will-change: transform;
}
.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center;
  align-items: center;
}
.breadcrumbs a {
  color: var(--blue-600);
  font-weight: 500;
  transition: color var(--trans);
}
.breadcrumbs a:hover { color: var(--blue-400); }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }
.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 20px 0;
  line-height: 1.2;
}
.article-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}
.article-figure {
  margin: 0 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-figure img { width: 100%; display: block; }
.article-figure figcaption {
  padding: 14px 18px;
  background: var(--blue-50);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
}
.article-body h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--ink);
}
.article-body p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 18px;
  line-height: 1.8;
}
.article-list {
  padding-left: 20px;
  margin-bottom: 20px;
}
.article-list li {
  color: var(--ink-soft);
  margin-bottom: 10px;
  line-height: 1.7;
}
.in-link {
  color: var(--blue-600);
  font-weight: 600;
  border-bottom: 2px solid var(--blue-200);
  transition: all var(--trans);
}
.in-link:hover {
  color: var(--blue-400);
  border-bottom-color: var(--blue-400);
}
.article-cta {
  margin-top: 50px;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--blue-200);
}
.article-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.article-cta p {
  margin-bottom: 20px;
}

/* ========== Testimonials ========== */
.testimonials {
  padding: 100px 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  padding: 60px 80px;
  box-shadow: var(--shadow-lg);
}
.carousel::before {
  content: '“';
  position: absolute;
  top: 10px; left: 30px;
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.slide {
  min-width: 100%;
  text-align: center;
  color: white;
  padding: 10px;
}
.quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
  line-height: 1.5;
}
.author { font-weight: 600; margin-bottom: 10px; }
.stars { color: #ffd84d; font-size: 1.2rem; letter-spacing: 3px; }
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--blue-600);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--trans);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.car-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.car-btn.prev { left: 16px; }
.car-btn.next { right: 16px; }
.dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 24px;
}
.dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all var(--trans);
}
.dots button.active { background: white; width: 28px; border-radius: 10px; }

/* ========== Contact ========== */
.contact {
  background: var(--blue-50);
  padding: 100px 32px;
}
.contact-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 50px; align-items: start;
}
.contact-info { padding: 20px; }
.info-item {
  display: flex; gap: 18px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
}
.info-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.info-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.info-icon.pulse { animation: pulse 2s ease-in-out infinite; }
.info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: var(--ink-soft); font-size: 0.9rem; }
.social {
  display: flex; gap: 12px; margin-top: 24px;
}
.soc-ic {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
}
.soc-ic:hover {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  transform: translateY(-4px) rotate(8deg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-form .row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--blue-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color var(--trans);
  background: var(--gray);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: white;
}
.form-msg {
  margin-top: 14px;
  color: var(--blue-600);
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 20px;
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(135deg, #1a2b4a, #2a6fc4);
  color: white;
  padding: 70px 32px 20px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 50px;
}
.footer .brand { color: white; margin-bottom: 16px; }
.footer p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.f-col h4 {
  color: white; font-size: 1.1rem; margin-bottom: 18px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
}
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 10px; }
.f-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: all var(--trans);
}
.f-col ul a:hover { color: var(--blue-200); padding-left: 8px; }
.newsletter {
  display: flex; gap: 8px; margin: 16px 0;
}
.newsletter input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter input:focus { outline: none; border-color: var(--blue-200); }
.newsletter button {
  padding: 12px 22px;
  border-radius: 30px;
  border: none;
  background: white;
  color: var(--blue-600);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--trans);
}
.newsletter button:hover { transform: scale(1.05); }
.footer .social .soc-ic {
  background: rgba(255,255,255,0.12);
  color: white;
}
.footer .social .soc-ic:hover {
  background: white;
  color: var(--blue-600);
}
.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

/* ========== Back to top ========== */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--trans);
  z-index: 999;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-6px) scale(1.08); }

/* ========== Reveal Animations ========== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0ms);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0, 0);
}

/* ========== Keyframes ========== */
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(8deg); }
}
@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}
@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 143, 240, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(59, 143, 240, 0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-meta { display: grid; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item:nth-child(1), .g-item:nth-child(4) { grid-row: span 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--trans);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--blue-50); }
  .hamburger { display: flex; }
  .hero { padding: 110px 20px 60px; }
  .hero-meta { grid-template-columns: 1fr; max-width: 320px; }
  .card-a, .card-b { display: none; }
  .about, .menu, .gallery, .features, .articles, .video-showcase, .testimonials, .contact { padding: 70px 20px; }
  .menu-img { height: 170px; }
  .article-body { padding: 40px 20px 60px; }
  .article-hero { padding: 60px 20px 40px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-badge { width: 90px; height: 90px; font-size: 0.78rem; bottom: -12px; right: -12px; }
  .menu-tabs { gap: 6px; }
  .tab { padding: 10px 18px; font-size: 0.82rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .carousel { padding: 40px 50px; }
  .car-btn.prev { left: 8px; }
  .car-btn.next { right: 8px; }
  .contact-form { padding: 26px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .section-head { margin-bottom: 40px; }
}