/* ============================================
   XTATIC BUSINESS SOLUTIONS — STYLESHEET
   Red · White · Black · Vibrant · Dynamic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
    --red:          #E8170E;
    --red-dark:     #B50F08;
    --red-bright:   #FF2D23;
    --red-glow:     rgba(232,23,14,0.25);
    --black:        #0A0A0A;
    --black-mid:    #111111;
    --black-soft:   #1A1A1A;
    --black-card:   #141414;
    --white:        #FFFFFF;
    --white-off:    #F5F5F5;
    --white-dim:    rgba(255,255,255,0.7);
    --white-faint:  rgba(255,255,255,0.08);
    --border:       rgba(255,255,255,0.08);
    --border-red:   rgba(232,23,14,0.3);
    --text-mid:     rgba(255,255,255,0.55);
    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --transition:   all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-red:   0 8px 40px rgba(232,23,14,0.3);
    --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
    --radius:       4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--white); background: var(--black); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
p { line-height: 1.8; font-weight: 300; color: var(--text-mid); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; color: var(--white); }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.bg-card { background: var(--black-card); }
.text-center { text-align: center; }
.text-red { color: var(--red); }

.eyebrow {
    font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.35em; text-transform: uppercase; color: var(--red);
    display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--red); display: inline-block; }

.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-mid); max-width: 520px; margin: 0 auto; font-size: 1rem; }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before { display: none; }
.section-header .eyebrow::after { content: ''; width: 24px; height: 2px; background: var(--red); display: inline-block; }

/* ============================================
   FLOATING TECH ELEMENTS
   ============================================ */
.tech-field { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.tech-el { position: absolute; opacity: 0; animation: techFloat linear infinite; }

@keyframes techFloat {
    0%   { transform: translate(0, 110vh) rotate(-5deg); opacity: 0; }
    8%   { opacity: 0.7; }
    88%  { opacity: 0.5; }
    100% { transform: translate(var(--dx, 60px), -120px) rotate(var(--rot, 8deg)); opacity: 0; }
}

.t1 { left: 5%;  animation-duration: 22s; animation-delay: 0s;   --dx: 80px;  --rot: 10deg; }
.t2 { left: 20%; animation-duration: 28s; animation-delay: 5s;   --dx: -50px; --rot: -8deg; }
.t3 { left: 40%; animation-duration: 19s; animation-delay: 10s;  --dx: 100px; --rot: 6deg; }
.t4 { left: 62%; animation-duration: 25s; animation-delay: 3s;   --dx: -70px; --rot: -12deg; }
.t5 { left: 78%; animation-duration: 31s; animation-delay: 14s;  --dx: 60px;  --rot: 9deg; }
.t6 { left: 88%; animation-duration: 20s; animation-delay: 7s;   --dx: -40px; --rot: -6deg; }

@media (prefers-reduced-motion: reduce) { .tech-el { animation: none; opacity: 0; } }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up    { transform: translateY(35px); }
.reveal-left  { transform: translateX(-35px); }
.reveal-right { transform: translateX(35px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: none; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.95rem 2.25rem; font-family: var(--font-display);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    transition: var(--transition); cursor: pointer; border: none; position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.1); transform: translateX(-100%); transition: transform 0.4s ease; }
.btn:hover::after { transform: translateX(0); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); box-shadow: var(--shadow-red); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-outline-red { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--white-off); transform: translateY(-2px); }
.btn-white-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-nav-cta { background: var(--red); color: var(--white) !important; padding: 0.6rem 1.5rem; font-size: 0.65rem; }
.btn-nav-cta:hover { background: var(--red-dark); }
.btn-nav-cta::after { display: none; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.75rem 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(10,10,10,0.96); backdrop-filter: blur(20px); padding: 1rem 0; border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.03em; color: var(--white); }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 2.25rem; align-items: center; }
.nav-links a { font-family: var(--font-display); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-dim); transition: var(--transition); position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width 0.35s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.18; z-index: 0; display: none; }
.hero.has-bg-img .hero-bg-img { display: block; }
.hero.has-bg-img .hero-grid-bg { opacity: 0.4; }
.hero.has-bg-img .hero-glow { opacity: 0.6; }
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(232,23,14,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(232,23,14,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(232,23,14,0.1) 0%, transparent 65%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 10rem 0 6rem; }
.hero-inner { max-width: 820px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: var(--white-faint); border: 1px solid var(--border-red);
    padding: 0.5rem 1.25rem; font-family: var(--font-display);
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 2rem;
}
.hero-badge::before { content: '●'; font-size: 0.45rem; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.2} }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .line-outline { -webkit-text-stroke: 1px rgba(255,255,255,0.25); color: transparent; display: block; }
.hero h1 .line-red { color: var(--red); display: block; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-mid); max-width: 560px; margin-bottom: 3rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4.5rem; }
.hero-stats { display: flex; gap: 3rem; }
.stat { border-left: 2px solid var(--red); padding-left: 1.25rem; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-mid); letter-spacing: 0.08em; margin-top: 0.25rem; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 2rem; display: flex; align-items: center; gap: 0.75rem; color: var(--text-mid); font-family: var(--font-display); font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase; z-index: 2; }
.scroll-line { width: 50px; height: 1px; background: linear-gradient(to right, var(--red), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{width:50px}50%{width:20px} }

.a1,.a2,.a3,.a4,.a5,.a6 { opacity:0; transform:translateY(20px); animation: aUp 0.9s ease forwards; }
.a1{animation-delay:.1s}.a2{animation-delay:.25s}.a3{animation-delay:.4s}.a4{animation-delay:.55s}.a5{animation-delay:.7s}.a6{animation-delay:.9s}
@keyframes aUp { to { opacity:1; transform:none; } }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header { position: relative; min-height: 50vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); padding-top: 80px; }
.page-header-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(232,23,14,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(232,23,14,0.05) 1px, transparent 1px); background-size: 50px 50px; }
.page-header-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, var(--black), transparent); }
.page-header-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 2rem 4rem; width: 100%; }
.page-header-content h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
.page-header-content p { color: var(--text-mid); margin-top: 1rem; max-width: 500px; }

/* ============================================
   SERVICES
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--border); }
.service-card { background: var(--black-card); padding: 2.75rem 2.25rem; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--black-soft); }
.service-icon { font-size: 2.2rem; margin-bottom: 1.5rem; display: block; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.88rem; line-height: 1.85; }
.service-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.service-tags span { font-family: var(--font-display); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); background: rgba(232,23,14,0.08); border: 1px solid var(--border-red); padding: 0.28rem 0.65rem; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card { background: var(--black-card); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.portfolio-card:hover { border-color: var(--border-red); transform: translateY(-4px); box-shadow: var(--shadow-red); }
.portfolio-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--black-soft); display: flex; align-items: center; justify-content: center; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-ph { font-size: 2.5rem; }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(232,23,14,0.88); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay a { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(255,255,255,0.5); padding: 0.75rem 1.5rem; }
.portfolio-body { padding: 1.5rem; }
.portfolio-tag { font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; display: block; }
.portfolio-body h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.portfolio-body p { font-size: 0.82rem; line-height: 1.7; }

/* ============================================
   PROCESS
   ============================================ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 2.2rem; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(to right, var(--red), rgba(232,23,14,0.1), var(--red)); z-index: 0; }
.process-step { text-align: center; padding: 0 1.5rem; position: relative; z-index: 1; }
.step-num { width: 48px; height: 48px; background: var(--black); border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--red); margin: 0 auto 1.5rem; }
.process-step h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.82rem; }

/* ============================================
   PRICING
   ============================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card { background: var(--black-card); border: 1px solid var(--border); padding: 2.5rem; position: relative; transition: var(--transition); }
.pricing-card.featured { border-color: var(--red); }
.pricing-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--red); font-family: var(--font-display); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; color: var(--white); padding: 0.3rem 1rem; white-space: nowrap; }
.pricing-card:hover { border-color: var(--red); transform: translateY(-4px); }
.pricing-tier { font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; display: block; }
.pricing-price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; }
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; }
.pricing-price sub { font-size: 0.85rem; font-weight: 400; color: var(--text-mid); }
.pricing-desc { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.pricing-features { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
.pricing-features li { font-size: 0.85rem; color: var(--text-mid); display: flex; gap: 0.75rem; align-items: flex-start; }
.pricing-features li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no { color: rgba(255,255,255,0.18); }
.pricing-features li.no::before { content: '×'; color: rgba(255,255,255,0.15); }

/* ============================================
   ABOUT
   ============================================ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-img-frame { position: absolute; inset: -12px; border: 1px solid var(--border-red); z-index: -1; }
.about-img-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--red); padding: 1.5rem 2rem; text-align: center; }
.about-img-badge .big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; display: block; }
.about-img-badge small { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.8; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; font-size: 0.95rem; }
.about-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.skill-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.skill-icon { width: 36px; height: 36px; background: rgba(232,23,14,0.1); border: 1px solid var(--border-red); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.skill-item strong { display: block; font-family: var(--font-display); font-size: 0.82rem; color: var(--white); margin-bottom: 0.2rem; }
.skill-item p { font-size: 0.78rem; margin: 0; }

/* ============================================
   CONTACT
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p { margin-bottom: 3rem; }
.contact-detail { display: flex; gap: 1.25rem; margin-bottom: 2rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: rgba(232,23,14,0.1); border: 1px solid var(--border-red); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-detail h4 { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.35rem; }
.contact-detail p, .contact-detail a { font-size: 0.9rem; color: var(--text-mid); }
.contact-detail a:hover { color: var(--red); }
.contact-social { display: flex; gap: 1rem; margin-top: 2.5rem; }
.social-btn { width: 44px; height: 44px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; font-family: var(--font-display); color: var(--text-mid); transition: var(--transition); }
.social-btn:hover { border-color: var(--red); color: var(--red); background: rgba(232,23,14,0.08); }
.contact-form-wrap { background: var(--black-card); border: 1px solid var(--border); padding: 3rem; }
.contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-form-wrap > p { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group textarea, .form-group select { font-family: var(--font-body); font-size: 0.9rem; color: var(--white); background: var(--black-soft); border: 1px solid var(--border); padding: 0.9rem 1.1rem; outline: none; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--red); background: var(--black); box-shadow: 0 0 0 3px var(--red-glow); }
.form-group select option { background: var(--black-card); }
.form-group textarea { resize: vertical; min-height: 130px; }
.honeypot { display: none !important; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--black-card); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.blog-card:hover { border-color: var(--border-red); transform: translateY(-4px); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--black-soft); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 1.75rem; }
.blog-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.blog-cat { font-family: var(--font-display); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); background: rgba(232,23,14,0.1); padding: 0.25rem 0.7rem; border: 1px solid var(--border-red); }
.blog-date { font-size: 0.72rem; color: var(--text-mid); }
.blog-body h3 { font-size: 1rem; margin-bottom: 0.75rem; line-height: 1.35; }
.blog-body p { font-size: 0.83rem; line-height: 1.75; }
.blog-read { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-family: var(--font-display); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); transition: gap 0.3s; }
.blog-read:hover { gap: 0.85rem; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip { background: var(--red); padding: 7rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 40px 40px; }
.cta-strip h2 { position: relative; z-index: 1; margin-bottom: 1rem; }
.cta-strip p { position: relative; z-index: 1; color: rgba(255,255,255,0.75); max-width: 460px; margin: 0 auto 2.5rem; }
.cta-btns { position: relative; z-index: 1; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black-mid); padding: 6rem 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--border); }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; display: block; }
.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 0.72rem; color: var(--text-mid); margin-bottom: 1.25rem; letter-spacing: 0.08em; }
.footer-brand p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.9; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; font-family: var(--font-display); color: var(--text-mid); transition: var(--transition); }
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-col h5 { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-mid); margin-bottom: 0.8rem; transition: all 0.3s; }
.footer-col a:hover { color: var(--red); padding-left: 4px; }
.footer-col p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.9; }
.footer-bottom { padding: 1.75rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }
.footer-bottom a { color: var(--red); opacity: 0.7; }
.footer-bottom a:hover { opacity: 1; }

/* ============================================
   MOBILE STICKY BAR
   ============================================ */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: rgba(10,10,10,0.97); backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding: 0.75rem 1rem; }
.sticky-cta-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
.sticky-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; padding: 0.6rem; font-family: var(--font-display); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.sticky-btn-icon { font-size: 1rem; }
.sticky-btn.book  { background: var(--red); color: var(--white); }
.sticky-btn.call  { background: var(--white-faint); color: var(--white-dim); border: 1px solid var(--border); }
.sticky-btn.dm    { background: var(--white-faint); color: var(--white-dim); border: 1px solid var(--border); }

/* ============================================
   THANKS
   ============================================ */
.thanks-page { min-height: 100vh; background: var(--black); display: flex; align-items: center; justify-content: center; text-align: center; padding: 3rem 2rem; position: relative; overflow: hidden; }
.thanks-page::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,23,14,0.1) 0%, transparent 65%); }
.thanks-inner { position: relative; z-index: 1; max-width: 520px; }
.thanks-icon { font-size: 4rem; display: block; margin-bottom: 1.5rem; animation: thanksFloat 3s ease-in-out infinite; }
@keyframes thanksFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)} }
.thanks-inner h1 { color: var(--red); margin-bottom: 1rem; }
.thanks-inner p { margin-bottom: 2.5rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .process-steps::before { display: none; }
    .about-layout { grid-template-columns: 1fr; gap: 4rem; }
    .about-img-badge { position: static; margin-top: 1rem; display: inline-block; }
    .about-img-frame { display: none; }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: span 2; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .sticky-cta { display: block; }
    body { padding-bottom: 80px; }
    .nav-links { display: none; position: fixed; inset: 0; background: rgba(10,10,10,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; z-index: 1000; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; color: var(--white) !important; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; gap: 1px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .pricing-grid { max-width: 100%; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    h1 { font-size: 2.8rem; }
}

/* ============================================
   XTATIC CHATBOT
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.chat-toggle-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(232,23,14,0.4);
  transition: all 0.3s ease;
  position: relative;
}
.chat-toggle-btn:hover { transform: scale(1.1); background: var(--red-bright); }
.chat-toggle-btn .chat-notif {
  position: absolute; top: -3px; right: -3px;
  width: 14px; height: 14px;
  background: #fff; border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.chat-box {
  width: 340px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
  max-height: 480px;
}
.chat-box.open { display: flex; }
.chat-header {
  background: var(--red);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.chat-header-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-name { font-family: var(--font-display); font-size: 0.95rem; color: #fff; font-weight: 700; }
.chat-header-status { font-size: 0.68rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 0.35rem; }
.chat-header-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; display: inline-block; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1; transition: color 0.2s; }
.chat-close:hover { color: #fff; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  background: var(--black-soft);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.chat-msg {
  display: flex; gap: 0.5rem; align-items: flex-end;
  animation: msg-in 0.25s ease;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 80%; padding: 0.7rem 1rem;
  border-radius: 12px; font-size: 0.82rem; line-height: 1.6;
  font-weight: 300;
}
.chat-msg.bot .chat-bubble {
  background: var(--black-card); color: var(--white-off);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.chat-msg.user .chat-bubble {
  background: var(--red); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 0.7rem 1rem;
  background: var(--black-card); border: 1px solid var(--border);
  border-radius: 12px; border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-mid); display: block;
  animation: typing-bounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
.chat-suggestions {
  padding: 0.75rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
}
.chat-chip {
  font-size: 0.7rem; padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-red);
  color: var(--red); background: transparent;
  border-radius: 20px; cursor: pointer;
  transition: all 0.2s; font-family: var(--font-body);
  white-space: nowrap;
}
.chat-chip:hover { background: var(--red); color: #fff; }
.chat-input-row {
  display: flex; gap: 0.5rem; padding: 0.85rem 1rem;
  background: var(--black-card);
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1; background: var(--black-soft);
  border: 1px solid var(--border);
  color: var(--white); font-family: var(--font-body);
  font-size: 0.82rem; padding: 0.6rem 0.9rem;
  border-radius: 6px; outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--red); }
.chat-input::placeholder { color: var(--text-mid); }
.chat-send {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--red); border: none; border-radius: 6px;
  color: #fff; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.chat-send:hover { background: var(--red-bright); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 480px) {
  .chat-widget { right: 1rem; bottom: 5.5rem; }
  .chat-box { width: calc(100vw - 2rem); }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  left: 1.5rem;
  z-index: 900;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 5.5rem;
    left: 1rem;
    width: 46px;
    height: 46px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
