/*
Theme Name:  BlueSkyDental
Theme URI:   https://blueskydental.clinic
Author:      BlueSkyDental Clinic
Description: Official WordPress theme for BlueSkyDental Clinic, Gotri, Vadodara. Converted from the Hostinger Horizons React site.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: bluesky-dental
Tags:        medical, dental, clinic, responsive, one-page
*/

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ══════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --cyan-50:  #ecfeff;
  --cyan-100: #cffafe;
  --cyan-600: #0891b2;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --green-500:#22c55e;
  --white:    #ffffff;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl:1.5rem;
  --radius-full:9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
@media (min-width: 768px) { .section-pad { padding: 6rem 0; } }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-header h2 span { color: var(--blue-600); }
.section-header p { font-size: 1.125rem; color: var(--gray-600); max-width: 42rem; margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  line-height: 1;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow-xl); transform: scale(1.03); }
.btn-outline {
  background: var(--white);
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow-md);
}
.btn-outline:hover { background: var(--blue-50); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.btn-sm { font-size: 1rem; padding: 0.75rem 1.5rem; }
.btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-50px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight{ from { opacity:0; transform:translateX(50px);  } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn    { from { opacity:0; transform:scale(0.9); }        to { opacity:1; transform:scale(1); } }
@keyframes popIn      { from { opacity:0; transform:scale(0); }          to { opacity:1; transform:scale(1); } }

.anim-fadeup   { opacity:0; }
.anim-left     { opacity:0; }
.anim-right    { opacity:0; }
.anim-scale    { opacity:0; }

.anim-fadeup.visible   { animation: fadeInUp    0.7s ease forwards; }
.anim-left.visible     { animation: fadeInLeft  0.7s ease forwards; }
.anim-right.visible    { animation: fadeInRight 0.7s ease forwards; }
.anim-scale.visible    { animation: scaleIn     0.6s ease forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled { border-color: var(--gray-200); box-shadow: var(--shadow-lg); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 5rem; }

.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo img { height: 3rem; width: 3rem; object-fit: contain; }
.site-logo .logo-text { font-size: 1.25rem; font-weight: 700; }
.site-logo .logo-text .blue { color: var(--blue-600); }
.site-logo .logo-text .dark { color: var(--gray-900); }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  font-size: 0.9375rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-menu .nav-link:hover { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: 0.5rem; background: var(--blue-600); color: var(--white); padding: 0.75rem 1.5rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.9375rem; transition: all var(--transition); box-shadow: var(--shadow-md); }
.nav-cta:hover { background: var(--blue-700); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.nav-cta svg { width: 1rem; height: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--transition); }
.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); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  display: block; width: 100%; text-align: left;
  padding: 0.875rem 1.5rem;
  font-weight: 500; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
  background: none; border-left: none; border-right: none; border-top: none;
  font-size: 1rem; cursor: pointer; font-family: inherit;
}
.mobile-nav .nav-link:hover { color: var(--blue-600); background: var(--blue-50); }
.mobile-nav .nav-cta { margin: 1rem 1.5rem; justify-content: center; }

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  padding-top: 5rem;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 100%);
}
.hero-inner { padding: 4rem 0 5rem; }
@media (min-width: 768px) { .hero-inner { padding: 6rem 0; } }

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.hero-tagline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-tagline span { color: var(--blue-600); }

.hero-subtitle { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.75; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 480px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }

.hero-image-col { position: relative; }
.hero-image-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
}
.hero-image-wrap img { width: 100%; height: auto; object-fit: cover; display: block; }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.2), transparent);
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  max-width: 200px;
  animation: popIn 0.5s ease 1s both;
}
.hero-badge p.label { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.25rem; }
.hero-badge p.number { font-size: 1.875rem; font-weight: 700; color: var(--blue-600); line-height: 1; }
.hero-badge p.sublabel { font-size: 0.875rem; color: var(--gray-600); }

/* ══════════════════════════════════════════
   ABOUT / WELCOME
══════════════════════════════════════════ */
#about { background: var(--white); }
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image-wrap { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-2xl); }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; line-height: 1.2; }
.about-content h2 span { color: var(--blue-600); }
.about-content p { color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.about-stat { background: var(--blue-50); border-radius: var(--radius-lg); padding: 1rem; text-align: center; }
.about-stat .num { font-size: 1.75rem; font-weight: 700; color: var(--blue-600); line-height: 1; }
.about-stat .lbl { font-size: 0.8125rem; color: var(--gray-600); margin-top: 0.25rem; }

/* ══════════════════════════════════════════
   DOCTOR
══════════════════════════════════════════ */
#doctor { background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 100%); }
.doctor-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) { .doctor-grid { grid-template-columns: 1fr 1fr; } }
.doctor-image-wrap { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-2xl); position: relative; }
.doctor-image-wrap img { width: 100%; height: auto; object-fit: cover; display: block; }
.doctor-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,58,138,0.3), transparent); }
.doctor-name { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--gray-900); margin-bottom: 0.25rem; }
.doctor-title { font-size: 1.25rem; font-weight: 600; color: var(--blue-600); margin-bottom: 1.5rem; }
.doctor-bio { color: var(--gray-600); line-height: 1.75; margin-bottom: 2rem; }
.doctor-quals { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.doctor-qual {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}
.doctor-qual:hover { box-shadow: var(--shadow-lg); }
.doctor-qual-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--blue-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-qual-icon svg { width: 1.5rem; height: 1.5rem; color: var(--blue-600); }
.doctor-qual p { font-weight: 500; color: var(--gray-700); }
.doctor-quote {
  background: var(--blue-600);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  color: var(--white);
}
.doctor-quote .q-label { font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.doctor-quote .q-text  { opacity: 0.9; line-height: 1.65; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
#services { background: var(--white); }
.services-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-2xl); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 2rem; height: 2rem; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; }
.service-card p  { color: var(--gray-600); line-height: 1.65; }

.icon-blue   { background: var(--blue-100); color: var(--blue-600); }
.icon-cyan   { background: var(--cyan-100); color: var(--cyan-600); }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-pink   { background: #fce7f3; color: #db2777; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-green  { background: #dcfce7; color: #16a34a; }

.services-cta {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--blue-50), var(--cyan-50));
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
}
.services-cta h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }
.services-cta p  { color: var(--gray-600); margin-bottom: 1.5rem; max-width: 40rem; margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════ */
#why { background: linear-gradient(135deg, var(--blue-50), var(--cyan-50)); }
.why-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3,1fr); } }

.why-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.why-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--blue-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 1.75rem; height: 1.75rem; color: var(--blue-600); }
.why-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.375rem; }
.why-card p  { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.6; }

.why-banner {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}
.why-banner img { width: 100%; height: 16rem; object-fit: cover; display: block; }
@media (min-width: 768px) { .why-banner img { height: 24rem; } }
.why-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,58,138,0.8), rgba(37,99,235,0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.why-banner-overlay h3 { font-size: clamp(1.25rem, 3vw, 2.25rem); font-weight: 700; color: var(--white); margin-bottom: 0.75rem; line-height: 1.25; }
.why-banner-overlay p  { font-size: 1.125rem; color: rgba(255,255,255,0.9); }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 500; color: var(--gray-700); margin-bottom: 0.375rem; font-size: 0.9375rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--blue-600);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.form-submit:hover { background: var(--blue-700); box-shadow: var(--shadow-xl); }
.form-submit svg { width: 1.25rem; height: 1.25rem; }

.form-notice {
  display: none;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.form-notice.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; display: block; }
.form-notice.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; display: block; }

.contact-info-wrap h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: box-shadow var(--transition);
}
.contact-info-item:hover { box-shadow: var(--shadow-md); }
.contact-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--blue-600);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg { width: 1.5rem; height: 1.5rem; color: var(--white); }
.contact-info-item h4 { font-weight: 600; color: var(--gray-900); margin-bottom: 0.25rem; font-size: 0.9375rem; }
.contact-info-item p,
.contact-info-item a { color: var(--gray-600); font-size: 0.9375rem; }
.contact-info-item a { color: var(--blue-600); }
.contact-info-item a:hover { text-decoration: underline; }

.contact-map h4 { font-weight: 600; color: var(--gray-900); margin-bottom: 1rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-embed iframe { display: block; width: 100%; border: 0; }
.map-address { font-size: 0.875rem; color: var(--gray-600); text-align: center; margin-top: 0.5rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--gray-900); color: var(--gray-600); padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo-text .blue { color: var(--blue-600); }
.footer-brand .logo-text .dark { color: var(--white); }
.footer-brand p { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; color: var(--gray-600); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social:hover { background: var(--blue-600); }
.footer-social svg { width: 1.25rem; height: 1.25rem; color: var(--white); }

.footer-col h4 { color: var(--white); font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a { font-size: 0.9375rem; color: var(--gray-600); transition: color var(--transition); }
.footer-col li a:hover { color: var(--white); }
.footer-col address { font-style: normal; font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ══════════════════════════════════════════
   FLOATING MOBILE BUTTONS
══════════════════════════════════════════ */
.float-btns {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}
@media (min-width: 768px) { .float-btns { display: none; } }

.float-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  animation: popIn 0.4s ease both;
}
.float-btn:hover { box-shadow: var(--shadow-xl); transform: scale(1.1); }
.float-btn svg { width: 1.75rem; height: 1.75rem; color: var(--white); }
.float-btn.whatsapp { background: var(--green-500); }
.float-btn.phone    { background: var(--blue-600); animation-delay: 0.1s; }

/* ══════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 7rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--blue-600);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-lg);
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover   { background: var(--blue-700); transform: scale(1.1); }
#scroll-top svg     { width: 1.25rem; height: 1.25rem; color: var(--white); }

/* ══════════════════════════════════════════
   TOAST NOTIFICATION
══════════════════════════════════════════ */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: var(--gray-900);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 9999;
  max-width: 90vw;
  text-align: center;
}
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ══════════════════════════════════════════
   BLOG ARCHIVE & SINGLE
══════════════════════════════════════════ */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--blue-50), var(--white)); text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 0.75rem; }
.page-hero p  { color: var(--gray-600); font-size: 1.125rem; }

.blog-grid { display: grid; gap: 2rem; padding: 4rem 0; }
@media (min-width: 640px)  { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }

.blog-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); transition: all var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2xl); }
.blog-card-img { height: 12rem; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 0.5rem; }
.blog-card-body h2 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card-body p  { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.65; }
.blog-date { font-size: 0.8125rem; color: var(--gray-600); margin-top: 0.75rem; }
.blog-read { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--blue-600); margin-top: 0.75rem; transition: gap var(--transition); }
.blog-card:hover .blog-read { gap: 0.625rem; }

.post-layout { display: grid; gap: 3rem; padding: 3rem 0 5rem; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: 1fr 320px; } }
.post-content { font-size: 1.0625rem; line-height: 1.85; color: #333; }
.post-content h2 { font-size: 1.75rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--gray-900); }
.post-content h3 { font-size: 1.375rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--gray-900); }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote { border-left: 4px solid var(--blue-600); padding: 1rem 1.5rem; background: var(--blue-50); border-radius: 0 0.5rem 0.5rem 0; margin: 1.5rem 0; font-style: italic; }

.post-sidebar-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1.5rem; }
.post-sidebar-card h4 { font-weight: 700; margin-bottom: 0.75rem; }

/* ══════════════════════════════════════════
   RESPONSIVE MISC
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-badge { right: 0; bottom: -1rem; padding: 1rem; }
  .hero-badge p.number { font-size: 1.5rem; }
}
