/* ============================================
   MAAKALIASTRO — DESIGN SYSTEM + PAGE STYLES
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  --primary-1: #6A0D0D;
  --primary-1-dark: #4a0909;
  --primary-2: #D4AF37;
  --primary-2-light: #e6c65c;
  --primary-3: #0F0F0F;
  --secondary: #F5E6CC;
  --secondary-dark: #e8d4b0;
  --white: #FFFFFF;
  --gray-100: #f8f7f5;
  --gray-200: #e5e2dc;
  --gray-600: #6b6560;
  --gray-800: #2d2a26;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --btn-padding: 14px 22px;
  --section-gap: 80px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 20px rgba(212,175,55,0.3);

  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-3);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--gray-600); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-2);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--gray-600);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.text-center { text-align: center; }

/* --- Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-padding);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-2);
  color: var(--primary-3);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--primary-2-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,175,55,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--primary-2);
  color: var(--primary-2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-1);
  border: 2px solid var(--primary-1);
}

.btn-outline:hover {
  background: var(--primary-1);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1.05rem;
  padding: 16px 32px;
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}

.btn-whatsapp svg {
  width: 22px; height: 22px; fill: currentColor;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.15rem;
}

/* --- WhatsApp Icon SVG (inline) --- */
.wa-icon {
  width: 20px; height: 20px; fill: currentColor; flex-shrink: 0;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-2);
}

.logo-icon {
  width: 36px; height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-2);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px !important;
  background: var(--primary-2) !important;
  color: var(--primary-3) !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--primary-2-light) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary-1);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.png') center/cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(106,13,13,0.92) 0%, rgba(15,15,15,0.88) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text h1 .highlight {
  color: var(--primary-2);
  display: inline;
}

.hero-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.hero-badge svg {
  width: 18px; height: 18px;
  fill: var(--primary-2);
  flex-shrink: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

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

/* =========================
   PROBLEM CARDS SECTION
   ========================= */
.problems {
  background: var(--gray-100);
}

.problem-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  transform: scaleX(0);
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,175,55,0.2);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon svg {
  width: 28px; height: 28px;
  fill: var(--white);
}

.problem-card h3 {
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.problem-card .btn {
  font-size: 0.9rem;
  padding: 10px 18px;
}

/* =========================
   SERVICES GRID SECTION
   ========================= */
.services-grid-section {
  background: var(--white);
}

.service-card {
  background: var(--secondary);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-2);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(106,13,13,0.1);
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--primary-1);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* =========================
   TRUST SECTION
   ========================= */
.trust-section {
  background: var(--primary-3);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content:'';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.png') center/cover;
  opacity: 0.06;
}

.trust-section .container {
  position: relative;
  z-index: 2;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.trust-stat {
  padding: 40px 20px;
}

.trust-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-2);
  line-height: 1;
  margin-bottom: 12px;
}

.trust-stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.trust-divider {
  width: 40px; height: 3px;
  background: var(--primary-2);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =========================
   CTA BLOCK
   ========================= */
.cta-block {
  background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-1-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.png') center/cover;
  opacity: 0.1;
}

.cta-block .container {
  position: relative;
  z-index: 2;
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-block p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* =========================
   SERVICES PAGE
   ========================= */
.page-hero {
  background: var(--primary-1);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.png') center/cover;
  opacity: 0.15;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

.service-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-block:last-child { border-bottom: none; }

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-block:nth-child(even) .service-block-inner {
  direction: rtl;
}

.service-block:nth-child(even) .service-block-inner > * {
  direction: ltr;
}

.service-block-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-block-icon svg {
  width: 36px; height: 36px;
  fill: var(--white);
}

.service-block-text h2 {
  margin-bottom: 16px;
  color: var(--primary-1);
}

.service-block-text h3 {
  color: var(--primary-2);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.service-block-text p {
  margin-bottom: 16px;
}

.service-block-visual {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.service-block-visual img {
  max-width: 280px;
  width: 100%;
  border-radius: var(--radius);
}

/* =========================
   ABOUT PAGE
   ========================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px; height: 20px;
  fill: var(--primary-1);
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  margin: 0;
}

/* Method section */
.method-section {
  background: var(--secondary);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.method-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.method-card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-card-icon svg {
  width: 24px; height: 24px;
  fill: var(--white);
}

.method-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.method-card p {
  font-size: 0.9rem;
}

/* =========================
   CONTACT PAGE
   ========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--secondary);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
}

.contact-item-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px; height: 22px;
  fill: var(--white);
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-item a {
  color: var(--primary-1);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary-2);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  margin-bottom: 8px;
}

.contact-form > p {
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-3);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary-2);
  color: var(--primary-3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--primary-2-light);
  box-shadow: var(--shadow-gold);
}

/* =========================
   PRIVACY POLICY PAGE
   ========================= */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.privacy-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.privacy-content p {
  margin-bottom: 16px;
}

.privacy-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.privacy-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--primary-3);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 6px 0;
}

.footer-links a:hover {
  color: var(--primary-2);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =========================
   FLOATING WHATSAPP BUTTON
   ========================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: var(--transition);
  animation: wa-pulse 5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 30px; height: 30px;
  fill: white;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 72px;
  background: var(--primary-3);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

@keyframes wa-pulse {
  0%, 80%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  90% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 4px 16px rgba(37,211,102,0.4); }
}

/* =========================
   POPUP OVERLAY
   ========================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.popup-overlay.active .popup {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--gray-100);
}

.popup-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-icon svg {
  width: 32px; height: 32px;
  fill: var(--white);
}

.popup h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.popup p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* =========================
   ANIMATIONS
   ========================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-image { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .service-block-inner {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-block-inner {
    direction: ltr;
  }

  .service-block-visual { min-height: 240px; }

  .about-content { grid-template-columns: 1fr; }
  .about-image { max-height: 400px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(15,15,15,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    transform: translateY(-120%);
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .trust-stats { grid-template-columns: 1fr; gap: 8px; }
  .trust-stat { padding: 24px 20px; }

  .contact-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }

  h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 48px;
  }

  .container { padding: 0 16px; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn { justify-content: center; }

  .popup { padding: 28px 20px; }

  .contact-form { padding: 24px 20px; }
}
