/*
Theme Name: Evelatech
Theme URI: https://evelatech.com
Author: Evelatech
Description: Custom WordPress theme for Evelatech - AI & Software Studio. White & blue design.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: evelatech
*/

:root {
  --accent: #2E5EFF;
  --accent-dark: #1E44D6;
  --ink: #12131A;
  --muted: #6B6E80;
  --line: #E7E8EF;
  --bg-soft: #F6F7FB;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 19, 26, 0.06);
  --shadow-lg: 0 24px 60px rgba(18, 19, 26, 0.12);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Tecnologia-inspired palette (used on homepage) */
  --dark: #101018;
  --dark-card: #1C1C2A;
  --dark-text-muted: #9C9FC2;
  --lavender: #DEE3F8;
  --lavender-soft: #EEF1FC;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 94, 255, 0.32);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(46, 94, 255, 0.4); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 60px; width: auto; max-width: none; }
.site-footer .site-logo img { height: 50px; width: auto; max-width: none; }
.footer-rich .site-logo img { height: 68px; width: auto; max-width: none; }
.site-logo-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { display: flex; gap: 24px; flex-wrap: nowrap; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--accent); }
.nav-cta { margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero {
  padding: 100px 0 70px;
  text-align: center;
  background: radial-gradient(60% 60% at 50% 0%, rgba(46, 94, 255, 0.08), transparent 70%);
}
.hero .wrap { max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(46, 94, 255, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.type-cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.hero .lead { font-size: 18px; color: var(--muted); margin: 18px 0 32px; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page header (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 68px;
  text-align: center;
  background-color: var(--bg-soft);
  background-image: radial-gradient(rgba(46,94,255,0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,94,255,0.14), transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,60,233,0.10), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { background: #fff; box-shadow: var(--shadow); }
.page-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 12px auto 0; font-size: 16px; }
.page-hero .btn-row { margin-top: 28px; justify-content: center; }

/* Featured image banner (service detail pages) */
.feature-image-banner {
  max-width: 980px;
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
  background: var(--bg-soft);
}
.feature-image-banner img { width: 100%; height: 100%; object-fit: cover; }

/* Benefits checklist (service detail pages) */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.benefit-item { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.benefit-item .check { width: 32px; height: 32px; border-radius: 9px; background: rgba(46,94,255,0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-item .check svg { width: 16px; height: 16px; }
.benefit-item p { margin: 0; font-size: 14.5px; color: var(--ink); }

/* Related services (service detail pages) */
.related-services-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.related-service-pill { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: var(--bg-soft); border-radius: var(--radius); padding: 22px 14px; transition: transform 0.2s ease, background 0.2s ease; }
.related-service-pill:hover { transform: translateY(-3px); background: var(--lavender-soft); }
.related-service-pill .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.related-service-pill .icon svg { width: 18px; height: 18px; }
.related-service-pill span { font-weight: 600; font-size: 13px; }

/* Trusted by */
.trustedby { padding: 32px 0; border-bottom: 1px solid var(--line); }
.trustedby .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trustedby-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.trustedby-logos { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trustedby-logos span { font-weight: 700; font-size: 16px; color: #B7BACB; }

/* Sections */
.section { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); max-width: 460px; margin: 0; }
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-head.center p { max-width: 560px; }

/* Services grid */
.services-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-icon-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.service-icon-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon-circle { width: 52px; height: 52px; border-radius: 14px; background: rgba(46, 94, 255, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon-circle svg { width: 24px; height: 24px; }
.service-icon-card h3 { font-size: 19px; }
.service-icon-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.learn-link { font-weight: 600; font-size: 14px; color: var(--accent); }
.learn-link:hover { text-decoration: underline; }

/* Services page - detail rows */
.service-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-detail-row:last-child { border-bottom: none; }
.service-detail-row.reverse .service-detail-copy { order: 2; }
.service-detail-visual { position: relative; background: var(--bg-soft); border-radius: 20px; display: flex; align-items: center; justify-content: center; min-height: 320px; overflow: hidden; box-shadow: var(--shadow); }
.service-detail-visual svg { width: 72px; height: 72px; position: relative; z-index: 1; }
.service-detail-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-detail-copy h3 { font-size: 24px; }
.service-detail-copy p { color: var(--muted); margin-bottom: 16px; }
.service-detail-copy ul { display: flex; flex-direction: column; gap: 10px; }
.service-detail-copy ul li { font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.service-detail-copy ul li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; }
.process-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process-step h4 { font-size: 16px; }
.process-step p { color: var(--muted); font-size: 14px; }

/* Why banner */
.why-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--bg-soft); border-radius: 24px; padding: 56px; }
.why-banner h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.why-banner p { color: var(--muted); margin-bottom: 26px; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-stat { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.why-stat svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 10px; }
.ws-num { font-size: 26px; font-weight: 800; }
.ws-label { font-size: 13.5px; color: var(--muted); }

/* Values grid (about page) */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.value-card svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.value-card h4 { font-size: 16px; }
.value-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* Team grid (about page) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; position: relative; overflow: hidden; }
.team-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card strong { display: block; font-size: 15px; }
.team-card span { font-size: 13px; color: var(--muted); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testimonial-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card .quote { font-size: 14.5px; }
.testimonial-stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 14px; }
.quote { font-size: 15px; color: var(--ink); margin-bottom: 22px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.testimonial-person strong { display: block; font-size: 14.5px; }
.testimonial-person span { font-size: 13px; color: var(--muted); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-thumb { height: 150px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-thumb svg { width: 36px; height: 36px; color: var(--accent); }
.blog-body { padding: 22px; }
.blog-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.blog-body h3 { font-size: 17px; margin-bottom: 8px; }
.blog-body h3 a:hover { color: var(--accent); }
.blog-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Single post */
.single-post { max-width: 760px; margin: 0 auto; }
.single-post .blog-meta { margin-bottom: 16px; }
.single-post h1 { font-size: 36px; }
.single-post .post-banner { position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; margin: 28px 0; background: var(--bg-soft); box-shadow: var(--shadow); }
.single-post .post-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.single-post .post-content { margin-top: 28px; font-size: 16px; }
.single-post .post-content p { margin-bottom: 18px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14.5px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: var(--muted); }
.contact-form { display: grid; gap: 16px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-notice { padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.form-notice.success { background: rgba(46, 94, 255, 0.08); color: var(--accent-dark); }
.form-notice.error { background: #FDECEC; color: #C0392B; }

/* Tech stack tags */
.tech-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech-tag { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }

/* Timeline (about page) */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 0 0 40px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { font-weight: 800; font-size: 20px; color: var(--accent); }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 8px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 110px;
  top: 20px;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--line);
}
.timeline-item:last-child::after { display: none; }
.timeline-body h4 { font-size: 17px; margin-bottom: 4px; }
.timeline-body p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; }
.faq-item summary { padding: 18px 0; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }

/* Newsletter box (blog) */
.newsletter-box { background: var(--bg-soft); border-radius: 24px; padding: 48px; text-align: center; }
.newsletter-box h3 { font-size: 24px; }
.newsletter-box p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 220px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-family: inherit; }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

/* Feature list (home page) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-item { display: flex; gap: 14px; }
.feature-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* CTA banner */
.cta-banner {
  text-align: center;
  background: var(--accent);
  border-radius: 28px;
  padding: 72px 40px;
  color: #fff;
  box-shadow: 0 20px 40px -16px rgba(46, 94, 255, 0.35);
}
.cta-banner h2 { font-size: 32px; font-weight: 800; max-width: 640px; margin: 0 auto 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 30px; }
.cta-banner .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,0.15); }
.cta-banner .btn-primary:hover { background: #f0f0f0; transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--ink); color: #C7C9D6; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .site-logo-text { color: #fff; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { font-size: 14px; color: #A6A9BB; transition: color 0.2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: #7C7F92; flex-wrap: wrap; gap: 8px; }

/* ===== Tecnologia-inspired homepage components ===== */

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--lavender-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.badge-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.dark-section .badge-tag::before { background: #fff; }
.dark-section .badge-tag { background: rgba(255,255,255,0.08); color: #fff; }

/* Top utility bar + hero */
.tec-header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.tec-phone { text-align: right; font-size: 13px; line-height: 1.3; }
.tec-phone a { color: var(--ink); font-weight: 700; }
.tec-phone span { display: block; color: var(--muted); font-size: 12px; }
.tec-phone-header { flex-shrink: 0; }

.tec-hero { padding: 56px 0 0; text-align: left; background: none; }
.tec-hero .wrap { max-width: var(--wrap); }
.tec-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.tec-hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.tec-hero .lead { font-size: 17px; color: var(--muted); margin: 18px 0 30px; max-width: 460px; }
.tec-hero-visual-frame { position: relative; }
.tec-hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  background-image:
    radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px),
    linear-gradient(135deg, var(--accent), #6C3CE9);
  background-size: 22px 22px, cover;
  background-position: 0 0, center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -18px rgba(46, 94, 255, 0.22);
}
.tec-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.tec-hero-visual svg { width: 90px; height: 90px; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.tec-hero-float-card {
  position: absolute;
  left: -20px;
  bottom: -20px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.tec-hero-float-card svg { width: 22px; height: 22px; color: var(--accent); }
.tec-hero-float-card strong { display: block; font-size: 15px; }
.tec-hero-float-card span { font-size: 12.5px; color: var(--muted); }

.tec-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tec-stats-bar .stat-divider { width: 1px; height: 34px; background: var(--line); }
.tec-stat-num { font-size: 22px; font-weight: 800; color: var(--ink); }
.tec-stat-label { font-size: 13px; color: var(--muted); }
.tec-stat-rating { display: flex; flex-direction: column; gap: 2px; }
.tec-stat-rating .stars { color: #F5A623; letter-spacing: 1px; font-size: 14px; }
.tec-stat-rating strong { font-size: 15px; }

/* Dark sections */
.dark-section {
  position: relative;
  background-color: var(--dark);
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  color: #fff;
  padding: 84px 0;
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,94,255,0.18), transparent 70%);
  pointer-events: none;
}
.dark-section .wrap { position: relative; z-index: 1; }
.dark-section h2 { color: #fff; }
.dark-section p { color: var(--dark-text-muted); }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.feature-strip-item svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.feature-strip-item h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.feature-strip-item p { color: var(--dark-text-muted); font-size: 14px; margin: 0; }

/* Solutions grid (lavender bg section) */
.section-lavender { background: linear-gradient(180deg, var(--lavender-soft), var(--lavender)); padding: 84px 0; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.solutions-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.solution-card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.solution-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #6C3CE9);
  box-shadow: 0 10px 22px -6px rgba(46, 94, 255, 0.45);
}
.solution-card-icon svg { width: 26px; height: 26px; color: #fff; }
.solution-card h3 { font-size: 19px; margin-bottom: 10px; }
.solution-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; flex: 1; }
.solution-card .learn-link { padding-top: 16px; border-top: 1px solid var(--line); }
.section-center-cta { text-align: center; margin-top: 40px; }

/* Industries pills */
.industries-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 40px; max-width: 900px; }
.industry-pill { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); border-radius: 999px; padding: 10px 22px 10px 10px; transition: transform 0.2s ease, background 0.2s ease; }
.industry-pill:hover { transform: translateY(-2px); background: var(--lavender-soft); }
.industry-pill-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.industry-pill-icon svg { width: 18px; height: 18px; }
.industry-pill span { font-weight: 600; font-size: 14.5px; }

/* Challenges panel (dark cards row) */
.challenges-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 40px 0 32px; }
.challenges-head h3 { color: #fff; margin: 0; font-size: 20px; }
.challenges-arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.challenges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.challenge-card { background: var(--dark-card); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255,255,255,0.06); transition: transform 0.25s ease, border-color 0.25s ease; }
.challenge-card:hover { transform: translateY(-4px); border-color: rgba(46,94,255,0.4); }
.challenge-card h4 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.challenge-card p { color: var(--dark-text-muted); font-size: 14px; margin: 0 0 18px; }
.challenge-card .learn-link { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.challenge-card .learn-link .plus { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* Case studies / success stories */
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.case-study-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.case-study-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-study-thumb { height: 170px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.case-study-thumb svg { width: 48px; height: 48px; color: #fff; }
.case-study-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-study-body { padding: 26px; }
.case-study-tag { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.case-study-body h3 { font-size: 18px; margin: 10px 0; }
.case-study-body p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.case-study-checks { display: flex; flex-direction: column; gap: 8px; }
.case-study-checks li { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.case-study-checks li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* Big testimonial with rating badges */
.testimonial-big {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 64px 56px;
  position: relative;
}
.testimonial-big .client-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #6C3CE9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 28px;
  box-shadow: 0 10px 24px -6px rgba(46, 94, 255, 0.4);
}
.testimonial-big blockquote { font-size: 27px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); line-height: 1.4; margin: 0 0 24px; }
.testimonial-big .author strong { display: block; font-size: 15px; }
.testimonial-big .author span { font-size: 13.5px; color: var(--muted); }
.rating-badges { display: flex; gap: 36px; align-items: center; justify-content: center; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rating-badge { display: flex; align-items: center; gap: 12px; }
.rating-badge .stars { color: #F5A623; font-size: 17px; letter-spacing: 2px; }
.rating-badge div { text-align: left; }
.rating-badge strong { font-size: 15px; display: block; }
.rating-badge span { font-size: 12.5px; color: var(--muted); }

/* Rich footer with newsletter */
.footer-rich { background: var(--dark); color: var(--dark-text-muted); padding: 72px 0 0; }
.footer-rich-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-rich h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-rich-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-rich ul li { margin-bottom: 10px; }
.footer-rich a { font-size: 14px; color: var(--dark-text-muted); transition: color 0.2s ease; }
.footer-rich a:hover { color: #fff; }
.footer-newsletter-form { display: flex; gap: 10px; margin-top: 20px; }
.footer-newsletter-form input { flex: 1; padding: 13px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: #fff; font-size: 14px; }
.footer-newsletter-form input::placeholder { color: var(--dark-text-muted); }
.footer-rich-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-rich-bottom-left { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-rich-social { display: flex; gap: 16px; }
.footer-rich-social a { color: var(--dark-text-muted); }
.footer-rich-social a:hover { color: #fff; }
.footer-rich-legal { text-align: center; padding: 18px 0; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .services-icon-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .why-banner { grid-template-columns: 1fr; padding: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-row, .service-detail-row.reverse { grid-template-columns: 1fr; }
  .service-detail-row.reverse .service-detail-copy { order: 0; }
  .process-grid, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .related-services-list { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .timeline-item::before, .timeline-item::after { left: 80px; }
  .tec-hero-grid { grid-template-columns: 1fr; }
  .tec-hero-visual { min-height: 260px; }
  .feature-strip, .solutions-grid, .solutions-grid-4, .challenges-grid, .case-studies-grid { grid-template-columns: 1fr 1fr; }
  .industries-list { grid-template-columns: 1fr 1fr; }
  .footer-rich-grid { grid-template-columns: 1fr; }
  .tec-phone-header { display: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 16px; }
  .services-icon-grid, .blog-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .feature-strip, .solutions-grid, .solutions-grid-4, .testimonial-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .challenges-grid, .case-studies-grid, .industries-list { grid-template-columns: 1fr; }
  .tec-hero { padding: 32px 0 0; }
  .tec-hero h1 { font-size: 26px; }
  .tec-hero .lead { font-size: 14.5px; margin: 12px 0 20px; }
  .tec-hero-visual { box-shadow: none; }
  .tec-hero-float-card { padding: 12px 14px; gap: 8px; left: -10px; bottom: -14px; box-shadow: 0 10px 24px -8px rgba(18,19,26,0.18); }
  .tec-hero-float-card strong { font-size: 13px; }
  .tec-hero-float-card span { font-size: 11px; }
  .tec-stats-bar { gap: 16px; margin-top: 28px; padding: 20px 0; }
  .tec-stat-num { font-size: 17px; }
  .tec-stat-label { font-size: 11.5px; }
  .stat-divider { display: none; }
  .badge-tag { font-size: 11px; padding: 6px 12px; margin-bottom: 14px; }
  .dark-section, .section-lavender { padding: 48px 0; }
  .dark-section h2, .section-lavender h2, .section-head h2, .section h2[style] { font-size: 22px !important; }
  .dark-section p, .section-lavender > .wrap > p, .section > .wrap > p[style] { font-size: 13.5px !important; }
  .section-head p { font-size: 13.5px; }

  .feature-strip-item svg { width: 22px; height: 22px; margin-bottom: 4px; }
  .feature-strip-item h4 { font-size: 13.5px; margin-bottom: 4px; }
  .feature-strip-item p { font-size: 12px; }

  .solution-card { padding: 14px; }
  .solution-card-icon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
  .solution-card-icon svg { width: 16px; height: 16px; }
  .solution-card h3 { font-size: 14px; margin-bottom: 4px; }
  .solution-card p {
    font-size: 11.5px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .solution-card .learn-link { font-size: 12px; padding-top: 8px; }

  .industry-pill { padding: 8px 16px 8px 8px; }
  .industry-pill-icon { width: 32px; height: 32px; }
  .industry-pill-icon svg { width: 14px; height: 14px; }
  .industry-pill span:last-child { font-size: 13px; }

  .challenge-card { padding: 18px; }
  .challenge-card h4 { font-size: 15px; }
  .challenge-card p { font-size: 12.5px; }

  .case-study-thumb { height: 130px; }
  .case-study-body { padding: 18px; }
  .case-study-body h3 { font-size: 15.5px; }
  .case-study-body p { font-size: 12.5px; }
  .case-study-tag { font-size: 11px; }
  .case-study-checks li { font-size: 12px; }

  .testimonial-card { padding: 14px; }
  .testimonial-card .quote {
    font-size: 11.5px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .testimonial-stars { font-size: 12px; margin-bottom: 8px; }
  .testimonial-person .avatar { width: 30px; height: 30px; font-size: 10.5px; }
  .testimonial-person { gap: 8px; }
  .testimonial-person strong { font-size: 13px; }
  .testimonial-person span { font-size: 11.5px; }
  .testimonial-big blockquote { font-size: 19px; }
  .testimonial-big { padding: 32px 20px; }
  .testimonial-big .client-mark { width: 44px; height: 44px; font-size: 16px; }
  .rating-badges { gap: 16px; justify-content: flex-start; }
  .rating-badge .stars { font-size: 14px; }
  .rating-badge strong { font-size: 13px; }
  .rating-badge span { font-size: 11px; }

  .btn { padding: 12px 22px; font-size: 13.5px; }
  .cta-banner { padding: 40px 24px; border-radius: 20px; }
  .cta-banner h2 { font-size: 22px; }
  .cta-banner p { font-size: 13.5px; }

  .footer-newsletter-form { flex-direction: column; }
  .footer-rich-bottom { flex-direction: column; align-items: flex-start; }
  .footer-rich { padding: 40px 0 0; }
  .footer-rich-grid { gap: 28px; padding-bottom: 28px; }
  .footer-rich-cols { gap: 16px; }
  .footer-rich h4 { font-size: 13px; margin-bottom: 8px; }
  .footer-rich ul li { margin-bottom: 6px; }
  .footer-rich a, .footer-rich p { font-size: 12.5px; }
  .footer-rich-social a { font-size: 12.5px; }
  .related-services-list { grid-template-columns: repeat(2, 1fr); }
  .benefit-item { padding: 16px; }
  .benefit-item .check { width: 26px; height: 26px; }
  .benefit-item .check svg { width: 13px; height: 13px; }
  .benefit-item p { font-size: 13px; }
  .feature-image-banner { height: 200px; margin-top: -20px; border-radius: 14px; }

  .team-avatar { width: 64px; height: 64px; font-size: 16px; margin-bottom: 10px; }
  .team-card strong { font-size: 13px; }
  .team-card span { font-size: 11.5px; }

  .why-banner h2 { font-size: 22px; }
  .why-banner p { font-size: 13.5px; }
  .why-stat { padding: 14px; }
  .why-stat svg { width: 18px; height: 18px; margin-bottom: 6px; }
  .ws-num { font-size: 19px; }
  .ws-label { font-size: 11px; }

  .value-card { padding: 16px; }
  .value-card svg { width: 22px; height: 22px; margin-bottom: 8px; }
  .value-card h4 { font-size: 14px; }
  .value-card p { font-size: 12px; }

  .blog-body { padding: 16px; }
  .blog-meta { font-size: 11px; }
  .blog-body h3 { font-size: 15px; }
  .blog-body p { font-size: 12.5px; }
  .blog-thumb { height: 130px; }

  .contact-info-card { padding: 20px; }
  .contact-info-item { gap: 10px; margin-bottom: 16px; }
  .contact-info-item svg { width: 18px; height: 18px; }
  .contact-info-item strong { font-size: 13px; }
  .contact-info-item span, .contact-info-item a { font-size: 12.5px; }

  .timeline-year { font-size: 16px; }
  .timeline-body h4 { font-size: 14.5px; }
  .timeline-body p { font-size: 12.5px; }

  .newsletter-box { padding: 28px 20px; border-radius: 18px; }
  .newsletter-box h3 { font-size: 18px; }
  .newsletter-box p { font-size: 12.5px; }

  .service-icon-circle { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; }
  .service-icon-circle svg { width: 20px; height: 20px; }
  .service-detail-row { padding: 32px 0; gap: 24px; }
  .service-detail-copy h3 { font-size: 19px; }
  .service-detail-copy p { font-size: 13.5px; }
  .service-detail-copy ul li { font-size: 13px; }
  .service-detail-visual { min-height: 200px; }
  .service-detail-visual svg { width: 48px; height: 48px; }

  .process-num { width: 36px; height: 36px; font-size: 13px; margin-bottom: 10px; }
  .process-step h4 { font-size: 14px; }
  .process-step p { font-size: 12.5px; }

  .faq-item { padding: 4px 16px; }
  .faq-item summary { padding: 14px 0; font-size: 13.5px; gap: 10px; }
  .faq-item summary::after { font-size: 18px; }
  .faq-item p { font-size: 13px; margin-bottom: 16px; }

  .related-service-pill { padding: 16px 10px; }
  .related-service-pill .icon { width: 32px; height: 32px; }
  .related-service-pill .icon svg { width: 14px; height: 14px; }
  .related-service-pill span { font-size: 12px; }

  .single-post h1 { font-size: 24px; }
  .single-post .post-content { font-size: 14.5px; }
  .post-banner { height: 180px; margin: 16px 0; border-radius: 14px; }
}

@media (max-width: 420px) {
  .tec-hero h1 { font-size: 22px; }
}
