﻿/* ========================================
   XO Shield — Recovery Services
   style.css
   ======================================== */

/* === CSS VARIABLES === */
:root {
  --primary:        #0f2d6e;
  --primary-light:  #1a4490;
  --primary-dark:   #091e4e;
  --gold:           #c9a227;
  --gold-light:     #e8bf3a;
  --gold-dark:      #a07e18;
  --bg:             #f7f9fd;
  --bg-alt:         #eef2f9;
  --white:          #ffffff;
  --text:           #1c2b4a;
  --text-light:     #6b7a99;
  --text-xlight:    #9aabcc;
  --border:         #dde3f0;
  --success:        #22c55e;
  --error:          #ef4444;
  --shadow-sm:      0 2px 8px rgba(15,45,110,.08);
  --shadow-md:      0 6px 24px rgba(15,45,110,.13);
  --shadow-lg:      0 16px 48px rgba(15,45,110,.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --transition:     all .25s ease;
}
div{
  overflow: hidden;
}
/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(1.5rem, 4.5vw, 2.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--text-light); line-height: 1.75; }

/* === UTILITIES === */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.12);
  color: var(--gold-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-label i { font-size: .85rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.lead { font-size: 1.1rem; color: var(--text-light); max-width: 620px; margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 30px; border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--primary);
  box-shadow: 0 4px 14px rgba(201,162,39,.35);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,.45); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.5); color: var(--white);
  background: rgba(255,255,255,.08);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 24px; height: 70px;
  display: flex; align-items: center;
  background: rgba(255,255,255,0); backdrop-filter: blur(0px);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(15,45,110,.1);
}
.navbar .logoff{
  filter: brightness(0) invert(1);
}
.scrolled .logoff{
  filter: none;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color .2s;
}
.navbar.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: var(--gold); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--gold); color: var(--primary) !important;
  padding: 9px 22px; border-radius: 50px;
  font-weight: 700; font-size: .875rem;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-circle {
  position: absolute; border-radius: 50%;
  background: rgba(201,162,39,.08); animation: float 8s ease-in-out infinite;
}
.hero-circle:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -80px; animation-delay: 0s; }
.hero-circle:nth-child(2) { width: 250px; height: 250px; bottom: 50px; left: -50px; animation-delay: 3s; }
.hero-circle:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 25%; animation-delay: 1.5s; opacity: .5; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.15); border: 1px solid rgba(201,162,39,.35);
  color: var(--gold-light); font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 20px;
}
.hero-badge span { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title .highlight {
  color: var(--gold); position: relative;
}
.hero-subtitle { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: .82rem; }
.trust-item i { color: var(--gold); }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 36px; width: 100%;
  animation: float 6s ease-in-out infinite;
}
.hero-card-title { color: var(--white); font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.hero-stat-row { display: flex; justify-content: space-between; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-stat-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.hero-stat-label { color: rgba(255,255,255,.6); font-size: .82rem; }
.hero-stat-value { color: var(--gold-light); font-weight: 700; font-size: 1.05rem; }
.hero-stat-icon { color: var(--success); font-size: .85rem; }

/* === STATS BAND === */
.stats-band {
  background: var(--primary); padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--gold); display: block; line-height: 1; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,.65); font-size: .85rem; }

/* === SECTION BASE === */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { margin-bottom: 54px; }

/* === HOW IT WORKS === */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px 24px; text-align: center;
  border: 1px solid var(--border); position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-card::after {
  content: '';
  position: absolute; top: 50%; right: -28px;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display: none;
}
.process-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: var(--gold);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; position: relative; z-index: 1;
}
.process-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(15,45,110,.08), rgba(15,45,110,.04));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.5rem; color: var(--primary);
}
.process-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-card p { font-size: .88rem; }
.process-connector {
  display: none; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem; margin-top: 44px;
}

/* === SERVICES === */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 25px 25px; display: flex; gap: 24px; align-items: flex-start;
  border: 1px solid var(--border); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(15,45,110,.2); }
.service-icon {
  width: 58px; height: 58px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
}
.service-content h3 { margin-bottom: 8px; }
.service-content p { font-size: .9rem; margin-bottom: 0px; line-height: 1.2;}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  background: var(--bg-alt); color: var(--text-light);
  font-size: .75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 50px;
}

/* === BENEFITS === */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px 28px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(201,162,39,.06));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-dark);
  border: 2px solid rgba(201,162,39,.2);
}
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit-card p { font-size: .88rem;  line-height: 1.2;}

/* === FORM SECTION === */
.form-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 90px 0; position: relative; overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.form-section .container { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.form-info { padding-top: 16px; }
.form-info h2 { color: var(--white); margin-bottom: 16px; }
.form-info p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.form-benefits { display: flex; flex-direction: column; gap: 14px; }
.form-benefit { display: flex; align-items: flex-start; gap: 12px; }
.form-benefit i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.form-benefit p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }
.form-wrapper {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: var(--shadow-lg);
}
.form-wrapper h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 6px; }
.form-wrapper .subtitle { color: var(--text-light); font-size: .875rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .825rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 4px;
}
.form-label .required { color: var(--error); }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text);
  font-size: .9rem; transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(15,45,110,.08); }
.form-control.error { border-color: var(--error); background: rgba(239,68,68,.04); }
.form-control.valid { border-color: var(--success); }
select.form-control { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
textarea.form-control { resize: vertical; min-height: 100px; }
.field-error { font-size: .78rem; color: var(--error); min-height: 16px; }

/* intlTelInput overrides */
.iti { width: 100%; }
.iti__tel-input { width: 100%; padding: 12px 16px 12px 54px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-size: .9rem; transition: var(--transition); outline: none; }
.iti__tel-input:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(15,45,110,.08); }
.iti__tel-input.error { border-color: var(--error); }
.iti__tel-input.valid { border-color: var(--success); }
.iti--separate-dial-code .iti__selected-dial-code { font-size: .85rem; }

.form-consent { font-size: .8rem; color: var(--text-light); text-align: center; margin-top: 8px; }
.form-consent a { color: var(--primary); text-decoration: underline; }

.btn-submit {
  width: 100%; padding: 15px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(15,45,110,.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(15,45,110,.4); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-submit .spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { opacity: .6; }

/* Success state */
.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px; min-height: 300px; gap: 16px;
}
.form-success.visible { display: flex; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
  animation: popIn .5s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.form-success h3 { color: var(--primary); font-size: 1.4rem; }
.form-success p { color: var(--text-light); max-width: 320px; }
.form-content.hidden { display: none; }

/* === FAQ === */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.faq-item.open { border-color: rgba(15,45,110,.2); box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; cursor: pointer; background: none; border: none;
}
.faq-question span { font-size: 1rem; font-weight: 600; color: var(--primary); }
.faq-question i {
  font-size: 1.1rem; color: var(--text-light); flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item.open .faq-question i { transform: rotate(45deg); color: var(--primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 24px;
}
.faq-answer p { font-size: .9rem; padding-bottom: 20px; line-height: 1.2; font-weight: 500;}
.faq-item.open .faq-answer { max-height: 300px; }

/* === FOOTER === */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,.65);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { margin-bottom: 16px;filter: brightness(0) invert(1); }
.footer-logo img { height: 38px; filter: brightness(0) invert(1); }
.footer-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: rgba(255,255,255,.65); transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--primary); }
.footer-col h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .875rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; }
.footer-contact-item i { color: var(--gold); font-size: .95rem; margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem;     text-align: center;; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .8rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 20px; box-shadow: var(--shadow-md); z-index: 998; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-light) !important; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .form-section .container { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .form-wrapper { padding: 28px 20px; }
}

/* === COOKIE NOTICE (simple) === */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 888;
  background: var(--primary-dark); color: rgba(255,255,255,.8);
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .82rem; transform: translateY(100%); transition: transform .4s ease;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-bar button {
  background: var(--gold); color: var(--primary);
  padding: 7px 18px; border-radius: 50px; font-weight: 700; font-size: .8rem; flex-shrink: 0;
  transition: var(--transition);
}
.cookie-bar button:hover { background: var(--gold-light); }

/* ============================================================
   PATCH — fix class-name mismatches between HTML and CSS
   ============================================================ */

/* --- Hero: text colours --- */
.hero h1        { color: var(--white); }
.hero h2        { color: var(--white); }
.hero h3        { color: var(--white); }
.hero p         { color: rgba(255,255,255,.75); }

/* .hero-tag  ≈  .hero-badge */
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.15); border: 1px solid rgba(201,162,39,.35);
  color: var(--gold-light); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 20px;
}

/* .hero-sub  ≈  .hero-subtitle */
.hero-sub {
  color: rgba(255,255,255,.78) !important;
  font-size: 1.05rem; line-height: 1.7;
  margin-top:20px;
  margin-bottom: 36px; max-width: 500px;
}

/* .hero-content grid (≈ .hero .container) */
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative;
}

/* .hero-ctas  ≈  .hero-actions */
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px;
}

/* Trust strip */
.hero-trust {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hero-trust span {
  color: rgba(255,255,255,.75); font-size: .85rem;
  display: flex; align-items: center; gap: 6px;
}

/* Hero card inner */
.hero-card { display: flex; justify-content: flex-end; }
.hero-card-inner {
  background: rgba(255,255,255,.1); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 10px; width: 100%;
}
.hero-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.hero-card-inner h3 { color: var(--white); margin-bottom: 10px; }
.hero-card-inner > p { color: rgba(255,255,255,.75); margin-bottom: 20px; font-size: .9rem; }
.hero-card-list {
  list-style: none; padding: 0; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-card-list li { color: rgba(255,255,255,.8); font-size: .9rem; }

/* --- Section labels (HTML uses .section-tag, CSS had .section-label) --- */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.12); color: var(--gold-dark);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(201,162,39,.18); color: var(--gold-light);
}
.section-header { text-align: center; }
.section-header p { max-width: 620px; margin: 10px auto 0; }

/* --- Process steps (HTML: .process-step / .step-number / .step-icon) --- */
.process-step {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px 24px; text-align: center;
  border: 1px solid var(--border); position: relative;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: var(--gold);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-icon {
  font-size: 1.8rem; margin-bottom: 14px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p   { font-size: .88rem; line-height: 1.4; }

/* --- Service cards --- */
.service-icon { font-size: 2rem; margin-bottom: 12px; }

/* --- Form section (HTML uses .section-dark, CSS had .form-section) --- */
.section-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 90px 0; position: relative; overflow: hidden;
}
.section-dark h2 { color: var(--white); }
.section-dark p  { color: rgba(255,255,255,.75); }
.section-dark .section-tag { background: rgba(201,162,39,.18); color: var(--gold-light); }

/* .form-layout grid (≈ .form-section .container) */
.form-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 60px; align-items: start;
}
.form-info h2 { color: var(--white); margin-bottom: 14px; }
.form-info > p { color: rgba(255,255,255,.72); margin-bottom: 28px; }

.form-info-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px;
}
.form-info-list li   { display: flex; align-items: center; gap:5px; }
.info-icon           { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.form-info-list li span:last-child { color: rgba(255,255,255,.75); font-size: .9rem; }

.contact-methods { margin-top: 8px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-light); font-size: .95rem;
  transition: color .2s;
}
.contact-link:hover { color: var(--gold); }


.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group label {
  font-size: .825rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text);
  font-size: .9rem; font-family: inherit;
  transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,45,110,.08);
}
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-row         { margin-bottom: 16px; }
.form-row.two-col { display: grid;  margin-bottom: 16px; }

.req { color: var(--error); }
.field-error { font-size: .78rem; color: var(--error); display: block; margin-top: 4px; min-height: 16px; }

/* Submit button */
.btn-full { width: 100%; justify-content: center; }
.btn-spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
  flex-shrink: 0;
}
#submit-btn.loading .btn-spinner { display: inline-block; }
#submit-btn.loading .btn-text    { opacity: .7; }

.form-footer { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.form-legal  { font-size: .8rem; color: var(--text-light); text-align: center; }
.form-legal a { color: var(--primary); text-decoration: underline; }

/* Form success */
.form-success-msg {
  text-align: center; padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.form-success-msg .success-icon { font-size: 3rem; }
.form-success-msg h3  { color: var(--primary); font-size: 1.35rem; }
.form-success-msg p   { color: var(--text-light); max-width: 380px; font-size: .9rem; }
.success-note         { font-size: .82rem !important; }

/* --- FAQ icon (HTML uses <span class="faq-icon">, CSS targeted <i>) --- */
.faq-icon {
  display: inline-block; flex-shrink: 0;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  font-size: 1.2rem; color: var(--text-light);
  transition: transform .25s ease, color .2s;
}
.faq-icon::before { content: '+'; font-weight: 400; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }

/* --- Responsive patch --- */
@media (max-width: 900px) {
  .hero-content  { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub      { margin-left: auto; margin-right: auto; }
  .hero-ctas     { justify-content: center; }
  .hero-trust    { justify-content: center;  gap:1px;}
  .hero-card     { justify-content: center; }
  .form-layout   { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .form-row.two-col { grid-template-columns: 1fr; }
  .hero-content     { text-align: left; }
  .hero-ctas        { flex-direction: column; }
  .hero-ctas .btn   { width: 100%; }
}

.corner-entry {
  position: fixed;
  right: 4rem;
  bottom:5rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;          /* 确保图片裁切为圆形 */
  z-index: 999;
  cursor: pointer;

  /* 心跳基点 */
  transform-origin: center center;

  /* 右下角默认动画 */
  animation: corner-heartbeat 3.5s ease-in-out infinite;
}

.corner-entry img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* 图片完整铺满圆形 */
  display: block;
}

@keyframes corner-heartbeat {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.corner-entry:hover {
  animation-duration: 1.4s;
}

.corner-entry:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.corner-entry:active {
  transform: scale(0.92);
}

.corner-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  animation: ripple 3.5s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .corner-entry {
    width: 60px;
    height: 60px;
    right: 16px;
    bottom: 16px;
    animation-duration: 4.5s;
  }
  .lead{
    font-size: 1rem;
  }
  .section-title h2 {
    font-size:1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
  }
}