/* ===== ROOT VARIABLES ===== */
:root {
  --blue: #1B4FD8;
  --blue-dark: #1440B0;
  --blue-light: #EEF3FF;
  --blue-mid: #3D6FE8;
  --dark: #0D1117;
  --dark2: #161B22;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(27,79,216,0.08);
  --shadow-lg: 0 12px 48px rgba(27,79,216,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--text); letter-spacing: -0.5px; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }
.mobile-menu { display: none; flex-direction: column; padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--border); background: white; }
.mobile-menu a { padding: 0.75rem 0; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.mobile-menu.open { display: flex; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--blue); color: white;
  padding: 0.7rem 1.6rem; border-radius: 8px; font-weight: 600;
  font-size: 0.88rem; transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 2px solid var(--blue); cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,79,216,0.3); }
.btn-primary.large { padding: 1rem 2.2rem; font-size: 1rem; border-radius: 10px; }
.btn-secondary {
  display: inline-block; background: transparent; color: var(--blue);
  padding: 0.7rem 1.6rem; border-radius: 8px; font-weight: 600;
  font-size: 0.88rem; border: 2px solid var(--blue);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--blue-light); }
.btn-white {
  display: inline-block; background: white; color: var(--blue);
  padding: 0.9rem 2rem; border-radius: 8px; font-weight: 600;
  font-size: 0.9rem; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-white.large { padding: 1rem 2.2rem; font-size: 1rem; border-radius: 10px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding-top: 72px;
  background: linear-gradient(135deg, #F0F4FF 0%, #FAFBFF 60%, #EEF3FF 100%);
  display: flex; align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 0; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue-light); color: var(--blue);
  padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 1.5rem; border: 1px solid rgba(27,79,216,0.2);
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 1.2rem;
}
.hero-text h1 span { color: var(--blue); }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.hstat { text-align: center; }
.hstat span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--blue); font-family: 'Playfair Display', serif; }
.hstat { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.hstat-div { width: 1px; height: 40px; background: var(--border); }

/* HERO PHOTO */
.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-photo-card {
  position: relative; width: 400px;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img { width: 100%; height: 500px; object-fit: cover; object-position: center 12%; border-radius: 0; }
.hero-photo-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-radius: 10px; padding: 0.8rem 1.2rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-weight: 600; font-size: 0.88rem;
}
.badge-dot { width: 10px; height: 10px; background: #22C55E; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }

.hero-float-card {
  position: absolute; top: 2rem; right: -2rem;
  background: white; border-radius: 12px; padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.8rem;
  border: 1px solid var(--border);
}
.fc-icon { font-size: 1.5rem; }
.fc-title { font-weight: 700; font-size: 0.88rem; }
.fc-sub { font-size: 0.72rem; color: var(--text-muted); }

/* ===== TRUSTED ===== */
.trusted { background: var(--dark); padding: 1.5rem 0; }
.trusted .container { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trusted-label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); white-space: nowrap; }
.trusted-list { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.trusted-list span { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 500; }

/* ===== SECTION SHARED ===== */
.section { padding: 6rem 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--light); }
.bg-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--blue);
  background: var(--blue-light); padding: 0.3rem 1rem;
  border-radius: 20px; margin-bottom: 1rem;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  line-height: 1.25; margin-bottom: 1rem;
}
.section-header h2 em { font-style: italic; color: var(--blue); }
.section-header p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.card-icon.blue { background: var(--blue-light); }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--blue); transition: gap 0.2s; }
.card-link:hover { text-decoration: underline; }

/* ===== ABOUT STRIP ===== */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-strip-img { display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 16px; }
.about-strip-img img { width: 100%; height: 520px; object-fit: cover; object-position: center 25%; border-radius: 16px; }
.about-strip-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: white; line-height: 1.25; margin-bottom: 1.2rem; }
.about-strip-text h2 em { font-style: italic; color: rgba(255,255,255,0.75); }
.about-strip-text p { margin-bottom: 2rem; }


/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { background: white; border: 2px solid #1B4FD8; border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 20px rgba(27,79,216,0.10); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,79,216,0.18); }
.t-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 1rem; }
.testimonial p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 0.8rem; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.t-author strong { display: block; font-size: 0.9rem; }
.t-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 6rem 0; text-align: center;
}
.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); color: white;
  font-weight: 700; margin-bottom: 1rem; line-height: 1.2;
}
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2.5rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: white; padding: 5rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; padding-bottom: 4rem; }
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--blue-mid); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.social-links a:hover { transform: translateY(-2px); }
.social-links a.linkedin:hover { background: #0A66C2; }
.social-links a.twitter:hover { background: #000000; }
.social-links a.whatsapp:hover { background: #25D366; }
.social-links a svg { width: 20px; height: 20px; fill: white; }
.footer-links h4, .footer-contact h4 { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2035 100%);
  padding: 9rem 0 5rem; text-align: center; color: white;
}
.page-hero .section-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); margin-bottom: 1.2rem; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: #7B9EFF; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto; }

/* ===== ABOUT PAGE ===== */
.about-main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.about-main-img { position: relative; }
.about-main-img img { width: 100%; height: 520px; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-img-card {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: white; border-radius: 12px; padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.8rem;
  border: 1px solid var(--border);
}
.about-main-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.about-main-text h2 em { font-style: italic; color: var(--blue); }
.about-main-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.about-highlights { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.hi-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--blue); line-height: 1; }
.hi-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

/* PROCESS */
.process-steps { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--blue); opacity: 0.3; line-height: 1; }
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.step-content p { color: var(--text-muted); line-height: 1.8; }

/* SKILLS GRID */
.skills-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.skill-card {
  background: var(--blue-light); color: var(--blue);
  padding: 0.5rem 1.2rem; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(27,79,216,0.15);
  transition: background 0.2s, color 0.2s;
}
.skill-card:hover { background: var(--blue); color: white; }

/* ===== SERVICES PAGE ===== */
.services-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.service-row {
  background: white; padding: 2.5rem;
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 2rem; align-items: center;
  transition: background 0.2s;
}
.service-row:hover { background: var(--light); }
.sr-icon { font-size: 2rem; text-align: center; }
.sr-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.sr-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.sr-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sr-tags span { background: var(--blue-light); color: var(--blue); padding: 0.2rem 0.7rem; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.sr-btn { white-space: nowrap; }

/* FOR GRID */
.for-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.for-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.for-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.for-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.for-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.for-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* ===== PORTFOLIO PAGE ===== */
.filter-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.5rem 1.2rem; border-radius: 20px; border: 1px solid var(--border);
  background: white; font-size: 0.85rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s; color: var(--text-muted);
}
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.portfolio-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard-img { height: 200px; position: relative; display: flex; align-items: flex-end; padding: 1rem; }
.ghl-bg { background: linear-gradient(135deg, #1B4FD8, #3D6FE8); }
.email-bg { background: linear-gradient(135deg, #0D1117, #1B4FD8); }
.funnel-bg { background: linear-gradient(135deg, #1440B0, #0D1117); }
.web-bg { background: linear-gradient(135deg, #3D6FE8, #1440B0); }
.pcard-overlay span { background: rgba(255,255,255,0.15); color: white; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.pcard-body { padding: 1.5rem; }
.pcard-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.pcard-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.4; }
.pcard-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.pcard-results { display: flex; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.result-item { font-size: 0.78rem; color: var(--text-muted); }
.result-item span { display: block; font-weight: 700; color: var(--blue); font-size: 0.95rem; }

/* ===== BLOG PAGE ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img { height: 180px; position: relative; }
.blog-img-1 { background: linear-gradient(135deg, #1B4FD8, #3D6FE8); }
.blog-img-2 { background: linear-gradient(135deg, #0D1117, #1B4FD8); }
.blog-img-3 { background: linear-gradient(135deg, #1440B0, #3D6FE8); }
.blog-cat-tag { position: absolute; bottom: 1rem; left: 1rem; background: rgba(255,255,255,0.2); color: white; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.blog-body { padding: 1.5rem; }
.blog-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.blog-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.6rem; }
.blog-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.2s, background 0.2s; }
.contact-method:hover { border-color: var(--blue); background: var(--blue-light); }
.cm-icon { font-size: 1.5rem; flex-shrink: 0; }
.cm-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.cm-val { font-weight: 600; font-size: 0.9rem; }
.availability-box { display: flex; align-items: center; gap: 1rem; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--radius); padding: 1.2rem; }
.avail-dot { width: 12px; height: 12px; background: #22C55E; border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
.availability-box strong { display: block; font-size: 0.9rem; }
.availability-box p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.contact-form-wrap { background: var(--light); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  background: white; transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.1);
}
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
  .hero-photo-wrap { display: none; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .about-strip { grid-template-columns: 1fr; gap: 3rem; }
  .about-strip-img { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-main-grid { grid-template-columns: 1fr; }
  .about-main-img { display: none; }
  .services-list .service-row { grid-template-columns: 50px 1fr; }
  .sr-btn { display: none; }
  .for-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* NAVBAR */
  .nav-links { display: none; }
  .navbar .btn-primary { display: none; }
  .hamburger { display: block; }
  .nav-inner { height: 60px; }
  .logo { font-size: 1.1rem; }

  /* HERO */
  .hero { padding-top: 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .hero-photo-wrap { display: none; }
  .hero-text h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-btns { flex-direction: column; gap: 0.8rem; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; text-align: center; padding: 0.9rem; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hstat span { font-size: 1.4rem; }
  .hero-float-card { display: none; }

  /* SECTIONS */
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* CARDS */
  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card { padding: 1.5rem; }

  /* ABOUT STRIP */
  .about-strip { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip-img { display: none; }
  .about-strip-text h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* TESTIMONIALS */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial { padding: 1.5rem; }

  /* TRUSTED */
  .trusted-list { justify-content: center; gap: 0.8rem; }
  .trusted-label { width: 100%; text-align: center; }

  /* CTA */
  .cta-section { padding: 3.5rem 0; }
  .cta-btns { flex-direction: column; align-items: center; gap: 0.8rem; }
  .cta-btns .btn-white, .cta-btns .btn-secondary { width: 100%; max-width: 300px; text-align: center; }

  /* FOOTER */
  .footer { padding: 3rem 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-brand p { font-size: 0.82rem; }

  /* PAGE HERO */
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }

  /* ABOUT PAGE */
  .about-main-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-main-img { display: none; }
  .about-highlights { flex-wrap: wrap; gap: 1.5rem; }

  /* SERVICES */
  .service-row { grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.5rem; }
  .sr-btn { display: none; }
  .for-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* PORTFOLIO */
  .portfolio-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.4rem; }
  .filter-btn { font-size: 0.78rem; padding: 0.35rem 0.9rem; }

  /* BLOG */
  .blog-grid { grid-template-columns: 1fr; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* PROCESS */
  .process-step { grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.5rem 0; }
  .step-num { font-size: 2rem; }

  /* CHATBOT */
  #sp-chat-window { width: calc(100vw - 1.5rem); right: 0.75rem; bottom: 5rem; height: 480px; }
  #sp-chat-btn { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
  #sp-greeting { right: 0.75rem; max-width: calc(100vw - 1.5rem); }

  /* EXIT POPUP */
  #sp-exit-box { width: 95%; border-radius: 16px; }
  #sp-exit-top { padding: 1.8rem 1.5rem 1.5rem; }
  #sp-exit-top h2 { font-size: 1.3rem; }
  #sp-exit-body { padding: 1.5rem; }

  /* CONTAINER */
  .container { padding: 0 1.2rem; }
}

/* EXTRA SMALL PHONES */
@media (max-width: 380px) {
  .hero-text h1 { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.4rem; }
  .btn-primary.large, .btn-white.large { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  #sp-chat-window { height: 420px; }
}
