/*
Theme Name: KFK
Theme URI: https://kloudfokus.com
Author: KloudFokus
Author URI: https://kloudfokus.com
Description: Custom WordPress theme for KloudFokus — Lebanon's Premier Managed IT Service Provider. Features a modern single-page homepage with services, about, technology partners carousel, contact form, blog, and WhatsApp chat integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kfk
Tags: one-column, custom-menu, featured-images, full-width-template, blog, business
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0F1D3A;
  --navy-deep: #0A1428;
  --navy-mid: #162850;
  --navy-light: #1E3560;
  --gold: #D4A843;
  --gold-light: #E8C06A;
  --gold-muted: rgba(212, 168, 67, 0.12);
  --gold-glow: rgba(212, 168, 67, 0.25);
  --cream: #FAFAF7;
  --cream-warm: #F5F3EE;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --text-dark: #1A1A2E;
  --text-body: #4A4A5A;
  --text-muted: #7A7A8A;
  --text-light: #B0B0BE;
  --text-on-dark: #E8E8F0;
  --text-on-dark-muted: #9CA3B8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 29, 58, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 29, 58, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 29, 58, 0.12);
  --shadow-xl: 0 16px 60px rgba(15, 29, 58, 0.16);
  --shadow-gold: 0 4px 24px rgba(212, 168, 67, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}
.section-label--light { color: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title--light { color: var(--white); }
.section-title--lg { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.section-title--md { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 29, 58, 0.06);
  transition: var(--transition);
}
.nav--scrolled {
  background: rgba(250, 250, 247, 0.95);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--transition-fast);
}
.nav__link:hover { color: var(--navy); background: var(--gold-muted); }
.nav__link--active { color: var(--navy); font-weight: 600; }
.nav__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  padding: 10px 24px;
  border-radius: 10px;
  margin-left: 12px;
  transition: var(--transition);
}
.nav__cta:hover {
  background: var(--navy-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* WordPress menu compatibility */
.nav__links .menu { display: flex; align-items: center; gap: 8px; }
.nav__links .menu li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--transition-fast);
}
.nav__links .menu li a:hover { color: var(--navy); background: var(--gold-muted); }
.nav__links .menu li.current-menu-item a,
.nav__links .menu li.current_page_item a { color: var(--navy); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-muted) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15, 29, 58, 0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 8px 20px 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero__title span { color: var(--gold); font-style: italic; }
.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 16px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 12px;
  transition: var(--transition);
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover {
  background: var(--navy-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.btn--outline { border: 2px solid var(--gray-300); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-muted); }

/* Hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__graphic { width: 100%; max-width: 500px; aspect-ratio: 1; position: relative; }
.hero__graphic-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--gray-200); }
.hero__graphic-ring--1 { inset: 0; animation: rotate 40s linear infinite; }
.hero__graphic-ring--2 { inset: 15%; border-color: var(--gold-muted); border-style: dashed; animation: rotate 30s linear infinite reverse; }
.hero__graphic-ring--3 { inset: 30%; border-color: var(--gray-200); animation: rotate 20s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero__graphic-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: var(--navy);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl);
}
.hero__graphic-center svg { width: 50px; height: 50px; fill: var(--gold); }
.hero__float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.hero__float-card--1 { top: 10%; right: -10px; animation: float 4s ease-in-out infinite; }
.hero__float-card--2 { bottom: 15%; left: -10px; animation: float 5s ease-in-out infinite 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__float-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.hero__float-icon--gold { background: var(--gold-muted); }
.hero__float-icon--navy { background: rgba(15, 29, 58, 0.08); }
.hero__float-title { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.hero__float-sub { font-size: 0.7rem; color: var(--text-muted); }

/* ===== STATS ===== */
.stats { background: var(--white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats__number { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stats__number span { color: var(--gold); }
.stats__label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text p { font-size: 1rem; color: var(--text-body); margin-bottom: 20px; line-height: 1.85; }
.about__image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.about__image-pattern { position: absolute; inset: 0; opacity: 0.15; background-image: radial-gradient(circle at 20% 50%, var(--gold) 1px, transparent 1px), radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px), radial-gradient(circle at 60% 80%, var(--gold) 1px, transparent 1px); background-size: 40px 40px, 60px 60px, 50px 50px; }
.about__image-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.about__image-content svg { width: 80px; height: 80px; opacity: 0.9; }
.about__image-text { color: var(--gold-light); font-weight: 600; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; }
.about__mission { margin-top: 32px; background: var(--cream); border-radius: var(--radius); padding: 28px 32px; border-left: 4px solid var(--gold); }
.about__mission-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.about__mission p { font-size: 0.95rem; color: var(--text-body); line-height: 1.8; }

/* ===== SERVICES ===== */
.services { background: var(--cream-warm); position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(212, 168, 67, 0.04) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(15, 29, 58, 0.03) 0%, transparent 50%); pointer-events: none; }
.services__header { text-align: center; margin-bottom: 60px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; transition: var(--transition); border: 1px solid var(--gray-100); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-muted); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .service-card__icon { background: var(--gold-muted); }
.service-card__icon svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; }
.service-card__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* ===== WHY CHOOSE US ===== */
.why { background: var(--white); }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.why__unique-list { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.why__unique-item { display: flex; gap: 16px; align-items: flex-start; }
.why__unique-check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-muted); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.why__unique-check svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2.5; }
.why__unique-text { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; }
.why__unique-text strong { color: var(--navy); font-weight: 600; }
.why__value-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.value-card { display: flex; gap: 18px; align-items: flex-start; background: var(--cream); border-radius: var(--radius); padding: 24px; transition: var(--transition); border: 1px solid transparent; }
.value-card:hover { border-color: var(--gold-muted); box-shadow: var(--shadow-md); transform: translateX(4px); }
.value-card__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.value-card__icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.value-card__title { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.value-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ===== TECHNOLOGY PARTNERS ===== */
.partners { background: var(--cream); padding: 70px 0; overflow: hidden; }
.partners__header { text-align: center; margin-bottom: 48px; }
.partners__track-wrapper { position: relative; overflow: hidden; }
.partners__track-wrapper::before, .partners__track-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.partners__track-wrapper::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.partners__track-wrapper::after { right: 0; background: linear-gradient(-90deg, var(--cream), transparent); }
.partners__track { display: flex; gap: 60px; align-items: center; animation: scroll-left 35s linear infinite; width: max-content; }
.partners__track:hover { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-text { flex-shrink: 0; font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; color: var(--navy); opacity: 0.35; filter: grayscale(100%); transition: var(--transition); white-space: nowrap; cursor: pointer; user-select: none; }
.partner-text:hover { opacity: 0.8; filter: grayscale(0%); }

/* ===== CONTACT ===== */
.contact { background: var(--navy); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%); pointer-events: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact__info-desc { color: var(--text-on-dark-muted); font-size: 1rem; margin-bottom: 40px; line-height: 1.8; max-width: 400px; }
.contact__details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact__detail { display: flex; gap: 16px; align-items: flex-start; }
.contact__detail-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(212, 168, 67, 0.1); display: flex; align-items: center; justify-content: center; }
.contact__detail-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 2; }
.contact__detail-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact__detail-value { font-size: 0.95rem; color: var(--text-on-dark); font-weight: 500; }
.contact__social { display: flex; gap: 12px; }
.contact__social-link { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.contact__social-link:hover { background: var(--gold); border-color: var(--gold); }
.contact__social-link svg { width: 18px; height: 18px; fill: var(--text-on-dark-muted); transition: var(--transition); }
.contact__social-link:hover svg { fill: var(--navy); }
.contact__form-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-xl); }
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.5px; }
.form-input, .form-textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dark); background: var(--gray-50); transition: var(--transition-fast); outline: none; }
.form-input:focus, .form-textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px var(--gold-muted); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; background: var(--navy); color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--navy-mid); box-shadow: var(--shadow-lg); transform: translateY(-1px); }

/* Contact Form 7 WordPress styling */
.contact__form-wrapper .wpcf7 { width: 100%; }
.contact__form-wrapper .wpcf7-form-control-wrap { display: block; margin-bottom: 16px; }
.contact__form-wrapper .wpcf7 input[type="text"],
.contact__form-wrapper .wpcf7 input[type="email"],
.contact__form-wrapper .wpcf7 textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dark); background: var(--gray-50);
  transition: var(--transition-fast); outline: none;
}
.contact__form-wrapper .wpcf7 input:focus,
.contact__form-wrapper .wpcf7 textarea:focus {
  border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px var(--gold-muted);
}
.contact__form-wrapper .wpcf7 input[type="submit"] {
  width: 100%; padding: 16px; background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  border: none; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.contact__form-wrapper .wpcf7 input[type="submit"]:hover { background: var(--navy-mid); box-shadow: var(--shadow-lg); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-deep); padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer__copy { font-size: 0.8rem; color: var(--text-on-dark-muted); }
.footer__links { display: flex; gap: 24px; }
.footer__link { font-size: 0.8rem; color: var(--text-on-dark-muted); transition: var(--transition-fast); }
.footer__link:hover { color: var(--gold); }

/* ===== WHATSAPP ===== */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); transition: var(--transition); cursor: pointer; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-float__tooltip { position: absolute; right: 72px; background: var(--white); color: var(--navy); font-size: 0.8rem; font-weight: 600; padding: 8px 16px; border-radius: 8px; box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(8px); transition: var(--transition-fast); }
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; transform: translateX(0); }

/* ===== BLOG ===== */
.blog-hero { padding-top: 140px; padding-bottom: 60px; text-align: center; background: var(--cream); position: relative; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, var(--gold-muted) 0%, transparent 60%); pointer-events: none; }
.blog-hero__label { font-family: var(--font-body); font-weight: 700; font-size: 0.75rem; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: inline-block; }
.blog-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); line-height: 1.15; margin-bottom: 16px; }
.blog-hero__desc { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 80px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card__image { aspect-ratio: 16/10; background: var(--navy); position: relative; overflow: hidden; }
.blog-card__body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.blog-card__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); background: var(--gold-muted); padding: 4px 10px; border-radius: 6px; }
.blog-card__date { font-size: 0.78rem; color: var(--text-muted); }
.blog-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1.35; margin-bottom: 12px; transition: var(--transition-fast); }
.blog-card:hover .blog-card__title { color: var(--gold); }
.blog-card__excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__readmore { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-top: 16px; transition: var(--transition-fast); }
.blog-card__readmore svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: var(--transition-fast); }
.blog-card:hover .blog-card__readmore { color: var(--gold); }
.blog-card:hover .blog-card__readmore svg { transform: translateX(4px); }

/* WordPress blog post styling */
.single-post .entry-content { max-width: 800px; margin: 140px auto 80px; padding: 0 24px; }
.single-post .entry-content h1 { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--navy); margin-bottom: 16px; }
.single-post .entry-content p { font-size: 1rem; line-height: 1.85; color: var(--text-body); margin-bottom: 20px; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__image { max-height: 300px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav__links {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px; gap: 4px;
    box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav__links--open { display: flex; }
  .nav__cta { margin-left: 0; margin-top: 8px; text-align: center; display: block; }
  .nav__toggle { display: flex; }
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__form-row { grid-template-columns: 1fr; }
  .contact__form-wrapper { padding: 28px 20px; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
}
