/* Constructiva Agency - shared styles */
:root {
  --bg: #0a1020;
  --bg-2: #0e1628;
  --surface: #111a2e;
  --surface-2: #152038;
  --border: #1f2b47;
  --border-2: #2b3a5e;
  --text: #e6ecf5;
  --text-dim: #9aa7bd;
  --text-mute: #6b7892;
  --primary: #3b82f6;
  --primary-2: #2563eb;
  --primary-soft: rgba(59, 130, 246, 0.12);
  --primary-glow: rgba(59, 130, 246, 0.45);
  --accent-2: #8b5cf6;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 40px -28px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(59,130,246,0.12), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(139,92,246,0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ==== Header ==== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 14.5px; color: var(--text-dim); font-weight: 500; transition: color 0.15s; position: relative; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after { content:''; position:absolute; left:0; right:0; bottom:-26px; height:2px; background:var(--primary); border-radius:2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: white;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,0.6), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(59,130,246,0.7), 0 0 0 1px rgba(255,255,255,0.12) inset; }
.btn-glow { position: relative; }
.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 12px; }

/* ==== Sections ==== */
section { padding: 110px 0; position: relative; }
section.tight { padding: 70px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(59,130,246,0.30);
  color: var(--primary);
  font-size: 13px; font-weight: 600;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.08;
  margin: 0; color: white;
}
h1 { font-size: 64px; }
h2 { font-size: 44px; }
h3 { font-size: 22px; }
.accent {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
p { color: var(--text-dim); margin: 0; }

.section-head { text-align: center; max-width: 740px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 17px; }

/* ==== Cards ==== */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.25s;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59,130,246,0.10), transparent 50%);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.8); }
.card:hover::before { opacity: 1; }

.icon-tile {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px -8px var(--primary-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.icon-tile svg { width: 22px; height: 22px; color: white; }

.feat-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-dim); font-size: 14.5px; }
.feat-list li svg { flex-shrink: 0; color: var(--primary); margin-top: 3px; width: 16px; height: 16px; }

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

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .nav { display: none; }
  .header-inner .btn { padding: 9px 14px; font-size: 13px; }
}

/* CTA box */
.cta-box {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, var(--primary-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 0%, rgba(139,92,246,0.20) 0%, transparent 50%);
  pointer-events: none;
}
.cta-box::after {
  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: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box h2 { margin-bottom: 18px; font-size: 48px; }
.cta-box p { font-size: 17px; max-width: 560px; margin: 0 auto 32px; }

/* ==== Footer ==== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, var(--bg-2));
  padding: 72px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-brand img { height: 56px; margin-bottom: 24px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 260px; }
.footer-col { display: flex; flex-direction: column; align-items: center; justify-self: center; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; text-align: center; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.social { display: flex; gap: 10px; justify-content: center; }
.social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: all 0.2s;
}
.social a:hover { color: white; border-color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--text-mute);
}
.footer-bottom .links { display: flex; gap: 28px; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==== Floating chat / assistant ==== */
.chat-bubble {
  position: fixed; right: 24px; bottom: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 32px -6px rgba(59,130,246,0.6), 0 0 0 1px rgba(255,255,255,0.12) inset;
  z-index: 100; border: none;
  transition: transform 0.18s;
}
.chat-bubble::before {
  content:''; position:absolute; inset:-4px; border-radius:50%;
  background: radial-gradient(circle, rgba(59,130,246,0.4), transparent 70%);
  z-index:-1; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.25); opacity: 0; } }
.chat-bubble:hover { transform: scale(1.07); }
.chat-bubble svg { width: 24px; height: 24px; }

#assistant-panel {
  position: fixed; right: 24px; bottom: 96px;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 130px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7);
  display: flex; flex-direction: column; overflow: hidden;
  z-index: 99; transform-origin: bottom right;
  transition: opacity 0.2s, transform 0.2s;
}
#assistant-panel.hidden { opacity: 0; pointer-events: none; transform: scale(0.95) translateY(10px); }
.ap-header {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.ap-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -2px rgba(59,130,246,0.5);
}
.ap-avatar svg { width: 18px; height: 18px; }
.ap-name { font-weight: 700; font-size: 15px; color: var(--text); }
.ap-status { font-size: 12.5px; color: var(--text-mute); display:flex; align-items:center; gap:6px; }
.ap-dot { width:7px; height:7px; border-radius:50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16,185,129,0.7); animation: ap-pulse 2s infinite; display:inline-block; }
@keyframes ap-pulse { 0%{ box-shadow:0 0 0 0 rgba(16,185,129,0.7);} 70%{ box-shadow:0 0 0 8px rgba(16,185,129,0);} 100%{ box-shadow:0 0 0 0 rgba(16,185,129,0);} }
.ap-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ap-msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: ap-in 0.25s ease-out; }
@keyframes ap-in { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }
.ap-msg-bot { background: var(--bg-2); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.ap-msg-user { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.ap-typing { display: flex; gap: 4px; padding: 14px; }
.ap-typing span { width: 6px; height: 6px; background: var(--text-mute); border-radius: 50%; animation: ap-bounce 1.2s infinite; }
.ap-typing span:nth-child(2) { animation-delay: 0.15s; }
.ap-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ap-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
.ap-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--border); background: var(--surface); }
.ap-input input { flex: 1; padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; outline: none; transition: border-color 0.15s; }
.ap-input input:focus { border-color: var(--primary); }
.ap-input button { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
.ap-input button:hover { transform: scale(1.05); }

/* ==== Forms ==== */
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; max-width: 580px; margin: 0 auto; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group label .req { color: var(--primary); }
.form-group input, .form-group textarea { width: 100%; padding: 13px 14px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14.5px; transition: border-color 0.15s, background 0.15s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-mute); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--bg); box-shadow: 0 0 0 4px rgba(59,130,246,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form .submit-row { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.form button[type=submit] { width: 100%; padding: 15px; }
.form .legal { font-size: 12.5px; color: var(--text-mute); text-align: center; }

/* hero glow */
.glow-bg { position: relative; overflow: hidden; }
.glow-bg::after { content: ''; position: absolute; left: 50%; bottom: -40%; width: 900px; height: 700px; transform: translateX(-50%); background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 60%); opacity: 0.4; pointer-events: none; z-index: 0; }
.glow-bg > .container { position: relative; z-index: 1; }

/* hero blob shapes — for hero visual interest */
.hero-blobs { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
.hero-blobs span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.hero-blobs .b1 { width: 380px; height: 380px; left: -80px; top: 10%; background: rgba(59,130,246,0.45); }
.hero-blobs .b2 { width: 420px; height: 420px; right: -100px; top: -10%; background: rgba(139,92,246,0.35); animation-delay: -4s; }
.hero-blobs .b3 { width: 280px; height: 280px; left: 50%; bottom: -120px; background: rgba(59,130,246,0.30); animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-40px) translateX(20px); } }

/* grid texture overlay for hero */
.hero-grid::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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
  pointer-events:none;
}

.center { text-align: center; }
.muted { color: var(--text-dim); }
.dim { color: var(--text-mute); }

/* ===== Hero (used by index, servicios) ===== */
.hero { padding: 100px 0 130px; text-align: center; position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: 76px; max-width: 920px; margin: 0 auto 26px; line-height: 1.04; }
.hero p.lead { font-size: 19px; max-width: 680px; margin: 0 auto 38px; line-height: 1.55; color: var(--text-dim); }
.hero .meta { font-size: 13px; color: var(--text-mute); margin-top: 20px; }
@media (max-width: 800px){ .hero h1{ font-size: 42px; } .hero p.lead{ font-size: 17px; } .hero { padding: 70px 0 90px; } }

/* problem cards */
.problem-card .icon-tile { background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.18)); border: 1px solid rgba(59,130,246,0.35); box-shadow: none; }
.problem-card .icon-tile svg { color: var(--primary); }
.problem-card h3 { font-size: 18px; margin-bottom: 10px; }
.problem-card p { font-size: 14.5px; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split .left .eyebrow-text { color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.split .left h2 { margin-bottom: 20px; }
.split .left p { font-size: 16px; line-height: 1.65; }
.solution-card { padding: 38px; background: linear-gradient(160deg, rgba(59,130,246,0.08), transparent), var(--surface); }
.solution-card .label { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 14px; }
.solution-card h3 { font-size: 24px; margin-bottom: 14px; }
.solution-card .tags { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.solution-card .tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-dim); }
.solution-card .tags svg { color: var(--primary); width: 14px; height: 14px; }

/* compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }
.compare { padding: 36px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.compare::before { content:''; position:absolute; inset:0; pointer-events:none; }
.compare.good { border-color: rgba(16,185,129,0.40); }
.compare.good::before { background: radial-gradient(circle at 100% 0%, rgba(16,185,129,0.12), transparent 55%); }
.compare.bad { border-color: rgba(239,68,68,0.30); }
.compare.bad::before { background: radial-gradient(circle at 100% 0%, rgba(239,68,68,0.10), transparent 55%); }
.compare > * { position: relative; }
.compare .top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.compare .icon-circle { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.compare.good .icon-circle { background: rgba(16,185,129,0.15); color: var(--success); border:1px solid rgba(16,185,129,0.3); }
.compare.bad .icon-circle { background: rgba(239,68,68,0.12); color: var(--danger); border:1px solid rgba(239,68,68,0.3); }
.compare .icon-circle svg { width: 22px; height: 22px; }
.compare .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.compare.good .label { color: var(--success); }
.compare.bad .label { color: var(--danger); }
.compare h3 { font-size: 22px; margin-top: 4px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare ul li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-dim); }
.compare ul li svg { width: 18px; height: 18px; flex-shrink: 0; }
.compare.good ul li svg { color: var(--success); }
.compare.bad ul li svg { color: var(--danger); }

/* benefit pill */
.benefit { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; font-size: 15.5px; font-weight: 500; transition: border-color 0.2s, transform 0.2s; }
.benefit:hover { border-color: var(--primary); transform: translateY(-2px); }
.benefit .check { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit .check svg { width: 16px; height: 16px; }

/* svc cards small */
.svc-card { padding: 28px; transition: transform 0.2s, border-color 0.2s; }
.svc-card h3 { font-size: 18px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--border-2); }
.faq-item.open { border-color: rgba(59,130,246,0.45); box-shadow: 0 0 0 4px rgba(59,130,246,0.06); }
.faq-q { width: 100%; background: none; border: none; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; }
.faq-q .chev { transition: transform 0.3s ease; color: var(--text-dim); flex-shrink:0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--primary); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-a > div { overflow: hidden; }
.faq-a > div > div { padding: 0 24px 22px; color: var(--text-dim); font-size: 15px; line-height: 1.65; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* doafter */
.doafter h2 { font-size: 44px; margin-bottom: 14px; }
.doafter .head-left { max-width: 580px; margin-bottom: 44px; }
.doafter .head-left p { font-size: 17px; }

/* legal page */
.legal-hero { padding: 90px 0 40px; text-align: center; }
.legal-hero .eyebrow { margin-bottom: 22px; }
.legal-hero h1 { font-size: 56px; margin-bottom: 16px; }
.legal-hero p { font-size: 14px; color: var(--text-mute); }
.legal-content { padding: 30px 0 110px; }
.legal-body { max-width: 740px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; }
.legal-body section { padding: 0; margin-bottom: 36px; }
.legal-body section:last-child { margin-bottom: 0; }
.legal-body h2 { font-size: 19px; color: var(--text); margin-bottom: 14px; font-weight: 700; }
.legal-body p { font-size: 15px; line-height: 1.7; }
.legal-body p + p { margin-top: 10px; }
.legal-body a { color: var(--primary); }
.legal-body a:hover { text-decoration: underline; }
@media (max-width: 700px){ .legal-body { padding: 28px; } .legal-hero h1 { font-size: 38px; } }

/* contact */
.contact-hero { padding: 90px 0 30px; text-align: center; position: relative; overflow: hidden; }
.contact-hero h1 { font-size: 56px; margin: 22px auto 18px; max-width: 720px; line-height: 1.05; }
.contact-hero p { font-size: 17px; max-width: 580px; margin: 0 auto; line-height: 1.6; }
.contact-content { padding: 40px 0 110px; }
.success { max-width: 580px; margin: 0 auto; padding: 48px 36px; text-align: center; background: var(--surface); border: 1px solid rgba(16,185,129,0.4); border-radius: var(--radius-lg); }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success-icon svg { width: 30px; height: 30px; }
.success h3 { font-size: 24px; margin-bottom: 10px; }
.success p { font-size: 15px; }

/* services-specific */
.svc-hero { padding: 110px 0 90px; text-align: center; position: relative; overflow: hidden; }
.svc-hero > .container { position: relative; z-index: 1; }
.svc-hero h1 { max-width: 880px; margin: 22px auto 28px; font-size: 64px; line-height: 1.05; }
.svc-hero p { font-size: 18px; max-width: 720px; margin: 0 auto; line-height: 1.6; color: var(--text-dim); }
@media (max-width: 800px){ .svc-hero h1 { font-size: 38px; } }

.diag-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .diag-split { grid-template-columns: 1fr; } }
.diag-left h2 { font-size: 52px; margin-bottom: 22px; line-height: 1.05; }
.diag-left > p { font-size: 16.5px; line-height: 1.65; margin-bottom: 26px; }
.diag-left .feat-list li { font-size: 15.5px; }

.price-card { background: linear-gradient(160deg, rgba(59,130,246,0.10), transparent 60%), var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.price-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(59,130,246,0.18), transparent 55%); pointer-events: none; }
.price-card > * { position: relative; }
.price-card .label { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.price-card h2 { font-size: 48px; margin-bottom: 18px; }
.price-card .desc { font-size: 15px; margin-bottom: 26px; }
.bonus { background: rgba(59,130,246,0.10); border: 1px solid rgba(59,130,246,0.30); border-radius: 14px; padding: 22px; margin-bottom: 28px; }
.bonus h4 { font-size: 16px; color: white; margin: 0 0 8px; font-weight: 700; display:flex; align-items:center; gap:8px; }
.bonus h4::before { content:''; width:8px; height:8px; border-radius:50%; background: var(--success); box-shadow:0 0 8px var(--success); }
.bonus p { font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.bonus strong { color: var(--text); }

.big-svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.big-svc-card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.8); }
.big-svc-card h3 { font-size: 22px; margin-bottom: 14px; }
.big-svc-card > p { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
