/* =========================================
   Magento Services UK - Main Stylesheet
   Style: Dark Luxury British Agency
   ========================================= */

:root {
  --navy: #0a0f1e;
  --navy2: #0d1529;
  --blue: #1a2744;
  --accent: #e63329;
  --gold: #f5c842;
  --gold2: #e8b800;
  --white: #ffffff;
  --light: #f5f7fa;
  --grey: #6b7280;
  --text: #1a1a2e;
  --card-bg: #ffffff;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 8px 40px rgba(10,15,30,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* UTILITY */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-white h1,.text-white h2,.text-white h3,.text-white h4,.text-white p { color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* SECTION HEADERS */
.section-label {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header { margin-bottom: 3rem; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: #c92820; border-color: #c92820; opacity: 1; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; opacity: 1; }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold2); opacity: 1; transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-white:hover { background: transparent; color: #fff; opacity: 1; }

/* TOPBAR */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar a { color: var(--gold); }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-text strong { font-weight: 700; }
.logo-uk { color: var(--accent); font-size: 0.75rem; }
.logo-light .logo-text { color: #fff; }

/* NAV */
.main-nav ul { display: flex; gap: 0.25rem; align-items: center; }
.main-nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 6px;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: var(--light); color: var(--accent); opacity: 1; }
.btn-nav {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 6px;
}
.btn-nav:hover { background: #c92820 !important; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 0rem);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* HERO */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(230,51,41,0.15), transparent),
              radial-gradient(ellipse 50% 80% at 10% 80%, rgba(245,200,66,0.08), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* HERO VISUAL */
.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.hero-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.tech-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}
.tech-pill.hot { background: rgba(230,51,41,0.2); border-color: rgba(230,51,41,0.4); color: #ff8a85; }
.tech-pill.gold { background: rgba(245,200,66,0.15); border-color: rgba(245,200,66,0.35); color: var(--gold); }
.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.metric-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.metric-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}
.metric-box .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }

/* FLOATING BADGE */
.float-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* LOGOS STRIP */
.logos-strip {
  background: var(--light);
  padding: 2rem 0;
  overflow: hidden;
}
.logos-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
}
.logo-pill {
  white-space: nowrap;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: var(--grey);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  flex-shrink: 0;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.service-card.featured h3,.service-card.featured p { color: rgba(255,255,255,0.9); }
.service-card.featured::before { background: var(--gold); transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(230,51,41,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card.featured .service-icon { background: rgba(245,200,66,0.15); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.service-card p { font-size: 0.9rem; color: var(--grey); margin-bottom: 1.25rem; }
.service-card.featured p { color: rgba(255,255,255,0.7); }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; }
.service-card.featured .service-link { color: var(--gold); }
.service-link:hover { gap: 0.6rem; opacity: 1; }

/* HYVA SECTION */
.hyva-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hyva-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(245,200,66,0.12), transparent);
}
.hyva-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.hyva-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.hyva-feature .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.hyva-feature h4 { color: var(--gold); font-size: 1rem; margin-bottom: 0.5rem; }
.hyva-feature p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }

/* COUNTRIES */
.countries-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.country-chip {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; }
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--light);
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.why-card h4 { margin-bottom: 0.5rem; }
.why-card p { font-size: 0.875rem; color: var(--grey); margin: 0; }

/* TESTIMONIALS */
.testimonials-section { background: var(--light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  line-height: 1;
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-text { font-size: 0.92rem; color: var(--grey); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.author-title { font-size: 0.78rem; color: var(--grey); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.blog-card {
  background: var(--card-bg);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-thumb {
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.4;
}
.blog-cat {
  position: absolute;
  bottom: 0.75rem; left: 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.blog-body { padding: 1.5rem; }
.blog-meta { font-size: 0.8rem; color: var(--grey); margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.05rem; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; color: var(--grey); margin-bottom: 1rem; }
.blog-read { font-size: 0.85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; }

/* CTA BANNER */
.cta-banner {
  background: var(--accent);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 20px
  );
}
.cta-banner h2 { color: #fff; position: relative; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; position: relative; font-size: 1.1rem; }

/* PAGE HERO */
.page-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(230,51,41,0.12), transparent);
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  position: relative;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero h1 { color: #fff; position: relative; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 700px; margin: 0 auto; font-size: 1.1rem; position: relative; }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 0; counter-reset: step; }
.process-step {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  border-right: 1px dashed #e5e7eb;
}
.process-step:last-child { border-right: none; }
.step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 1rem;
}
.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--grey); margin: 0; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}
.pricing-card.popular { border-color: var(--accent); transform: scale(1.03); }
.pricing-badge { background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 1.25rem; display: inline-block; }
.pricing-price { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900; color: var(--navy); }
.pricing-price span { font-size: 1rem; font-family: 'DM Sans', sans-serif; color: var(--grey); }
.pricing-features { text-align: left; margin: 1.5rem 0; }
.pricing-features li { padding: 0.4rem 0; font-size: 0.875rem; color: var(--text); border-bottom: 1px solid var(--light); }
.pricing-features li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* CONTACT FORM */
.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--grey); margin-bottom: 0.2rem; }
.contact-form-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,51,41,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { background: #d1fae5; color: #065f46; padding: 1rem; border-radius: 8px; margin-top: 1rem; display: none; }
.form-error { background: #fee2e2; color: #991b1b; padding: 1rem; border-radius: 8px; margin-top: 1rem; display: none; }

/* ABOUT */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; }
.team-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-card p { font-size: 0.85rem; color: var(--grey); margin: 0; }

/* TECH TABLE */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; }
.tech-item {
  background: var(--light);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #e5e7eb;
}
.tech-item .ti { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }

/* TABS */
.tabs { border-bottom: 2px solid #e5e7eb; display: flex; gap: 0; margin-bottom: 2rem; overflow-x: auto; }
.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active { border-bottom-color: var(--accent); color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .icon { font-size: 1.2rem; transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 1.25rem; font-size: 0.92rem; color: var(--grey); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* BLOG PAGE */
.blog-page-grid { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.blog-article h1 { margin-bottom: 1.5rem; }
.blog-article h2 { margin: 2rem 0 1rem; font-size: 1.5rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.blog-article h3 { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; }
.blog-article p { margin-bottom: 1.25rem; color: #374151; }
.blog-article ul { margin: 0 0 1.25rem 1.5rem; list-style: disc; }
.blog-article ul li { margin-bottom: 0.5rem; color: #374151; }
.blog-article pre { background: var(--navy); color: #e5e7eb; padding: 1.5rem; border-radius: 10px; overflow-x: auto; font-size: 0.85rem; margin-bottom: 1.25rem; }
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: var(--light); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-links li { padding: 0.5rem 0; border-bottom: 1px solid #e5e7eb; font-size: 0.875rem; }
.sidebar-links li a { color: var(--navy); font-weight: 500; }
.sidebar-links li a:hover { color: var(--accent); opacity: 1; }

/* INTEGRATION GRID */
.integration-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 1rem; }
.integration-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  background: #fff;
}
.integration-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(230,51,41,0.1); }
.integration-card .ico { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.integration-card span { font-size: 0.825rem; font-weight: 600; color: var(--navy); }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-top { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 1rem; }
.footer-main-link { font-size: 0.875rem; margin-top: 0.5rem; }
.footer-main-link a { color: var(--gold); font-weight: 600; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.footer-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--gold); opacity: 1; }
.footer-contact h4 { color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 700; margin-bottom: 1.25rem; }
.footer-contact p { font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--gold); }
.footer-cta-box {
  background: rgba(230,51,41,0.15);
  border: 1px solid rgba(230,51,41,0.3);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}
.footer-cta-box p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.55); }

/* BACKLINK SECTION */
.backlink-section {
  background: var(--navy2);
  padding: 2rem 0;
  text-align: center;
}
.backlink-section p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 0.5rem; }
.backlink-section a { color: var(--gold); font-weight: 700; font-size: 1.1rem; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero { min-height: auto; }
}
@media (max-width: 768px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: var(--transition);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0.25rem; align-items: stretch; }
  .main-nav a { display: block; padding: 0.75rem 1rem; }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 0 1rem;
    background: var(--light);
    border-radius: 8px;
    margin-top: 0.25rem;
  }
  .has-dropdown.open .dropdown { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px dashed #e5e7eb; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .pricing-card.popular { transform: none; }
}
@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .process-steps { grid-template-columns: 1fr; }
}

/* SMOOTH ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease both; }
