/* =========================================================
   Asilos Venus - Main Stylesheet
   Immigration Asylum Form-Filling Service | Austin, TX
   ========================================================= */

/* ---------- CSS Variables (Brand) ---------- */
:root {
  --navy: #1a2340;
  --navy-light: #26315a;
  --orange: #e8833a;
  --orange-dark: #d0722c;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --mid-gray: #e6e8ec;
  --text-dark: #2c3e50;
  --text-muted: #667085;
  --shadow-sm: 0 2px 8px rgba(26, 35, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 35, 64, 0.12);
  --shadow-lg: 0 16px 40px rgba(26, 35, 64, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm { padding: 56px 0; }

.bg-light { background: var(--light-gray); }
.bg-navy { background: var(--navy); color: var(--white); }

.text-center { text-align: center; }

.section-title {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
.section-title.on-dark { color: var(--white); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-subtitle.on-dark { color: rgba(255, 255, 255, 0.82); }

.accent-line {
  width: 70px;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
  margin: 0 auto 22px;
}
.accent-line.left { margin-left: 0; }

.highlight { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header / Navbar ---------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-phone:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Social Links in Header */
.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition);
}
.nav-social a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 64, 0.92) 0%, rgba(26, 35, 64, 0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px;
}
.hero h1 {
  color: var(--white);
  font-size: 3.1rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 64, 0.93) 0%, rgba(26, 35, 64, 0.78) 100%);
}
.page-hero.no-image {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.page-hero.no-image::before { display: none; }
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  color: var(--white);
  font-size: 2.7rem;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}
.breadcrumb {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Cards Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(232, 131, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--orange);
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: var(--transition);
  border-top: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card .feature-icon { margin: 0 0 20px; }
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.service-card .form-code {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-card .card-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--orange);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}
.service-card .card-link:hover { gap: 12px; }

/* ---------- About Snippet (two-column) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 460px;
}
.two-col h2 { font-size: 2rem; margin-bottom: 18px; }
.two-col p { color: var(--text-muted); margin-bottom: 16px; }

/* ---------- Process Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
}
.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.step:hover .step-num { background: var(--orange); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: var(--orange);
  opacity: 0.16;
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
  font-size: 1.05rem;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--orange);
  margin-bottom: 26px;
}
.cta-phone i { font-size: 1.5rem; }

/* ---------- Disclaimer Box ---------- */
.disclaimer-box {
  background: rgba(232, 131, 58, 0.08);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.disclaimer-box i {
  color: var(--orange);
  font-size: 1.6rem;
  margin-top: 3px;
}
.disclaimer-box h4 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.disclaimer-box p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Values / Mission ---------- */
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
}
.mv-card .feature-icon { margin: 0 0 20px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { color: var(--text-muted); }

/* ---------- Why Choose list ---------- */
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 1rem;
}
.check-list i {
  color: var(--orange);
  font-size: 1.15rem;
  margin-top: 4px;
}
.check-list strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: start;
}
.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 42px 36px;
}
.contact-info h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 26px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item .ci-icon {
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}
.contact-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 3px; }
.contact-item p, .contact-item a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}
.contact-item a:hover { color: var(--orange); }
.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 131, 58, 0.2);
  color: var(--orange);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 6px;
}
.contact-map {
  margin-top: 26px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.1);
}
.contact-map img { width: 100%; height: 190px; object-fit: cover; }

/* ---------- Form ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form > p { color: var(--text-muted); margin-bottom: 26px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--orange); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--light-gray);
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 131, 58, 0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error {
  color: #d64545;
  font-size: 0.82rem;
  margin-top: 5px;
  display: none;
}
.form-group.error .form-control { border-color: #d64545; }
.form-group.error .form-error { display: block; }
.form-success {
  display: none;
  background: rgba(46, 160, 100, 0.12);
  border-left: 4px solid #2ea064;
  color: #1e7a48;
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-success.show { display: block; }
.form-error-banner {
  background: rgba(200, 50, 50, 0.10);
  border-left: 4px solid #c83232;
  color: #a52020;
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-error-banner a { color: #a52020; text-decoration: underline; }
.contact-form .btn { width: 100%; justify-content: center; }
.contact-form .btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ---------- FAQ (accordion) ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question i { color: var(--orange); transition: var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 22px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-logo img {
  height: 70px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.footer-col p { font-size: 0.94rem; margin-bottom: 12px; }
.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.94rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.94rem;
}
.footer-contact i { color: var(--orange); margin-top: 4px; }

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.86rem;
}
.footer-bottom .disclaimer {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  margin-top: 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: 78%;
    max-width: 320px;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
    gap: 22px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .nav-phone { width: 100%; justify-content: center; }
  .nav-social { 
    margin-left: 0; 
    width: 100%; 
    justify-content: center; 
    margin-top: 16px; 
  }

  .section { padding: 60px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .two-col .order-first { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .hero { min-height: 82vh; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1.08rem; }
  .page-hero h1 { font-size: 2.1rem; }
  .section-title { font-size: 1.7rem; }
  .cta-phone { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-logo img { height: 46px; }
  .contact-info, .contact-form { padding: 28px 22px; }
}
