/* ============================================================
   BackMyCapital — Global Stylesheet
   ============================================================ */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap");

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --navy: #0d2b55;
  --navy-dark: #081a35;
  --navy-light: #1a3f72;
  --white: #ffffff;
  --light-gray: #f4f6f9;
  --mid-gray: #e0e5ed;
  --text-gray: #5a6478;
  --text-dark: #1a2233;
  --red-ca: #cc2929;
  --red-ca-light: #e83030;
  --gold: #b8963e;
  --gold-light: #d4af5a;
  --green-muted: #2d7a4f;
  --green-light: #e6f4ec;
  --border: #d0d8e4;
  --shadow: 0 2px 16px rgba(13, 43, 85, 0.08);
  --shadow-lg: 0 8px 32px rgba(13, 43, 85, 0.14);
  --radius: 8px;
  --radius-lg: 12px;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --transition: 0.25s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--red-ca);
}

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

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.5rem;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.bg-light {
  background: var(--light-gray);
}
.bg-navy {
  background: var(--navy);
  color: var(--white);
}
.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--white);
}
.bg-navy p {
  color: rgba(255, 255, 255, 0.85);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red-ca) !important;
  color: var(--white) !important;
  border-color: var(--red-ca) !important;
}
.btn-primary:hover {
  background: #a82020 !important;
  border-color: #a82020 !important;
  color: var(--white);
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(204, 41, 41, 0.3) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #9a7a30;
  border-color: #9a7a30;
  color: var(--white);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
#site-header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
}
.logo:hover {
  opacity: 0.88;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: var(--light-gray);
}

.header-cta {
  flex-shrink: 0;
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--mid-gray);
}
.mobile-nav a:last-of-type {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--red-ca);
}
.mobile-nav .btn {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer-brand .logo-img {
  height: 36px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  margin-top: 4px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(8, 26, 53, 0.88) 0%,
      rgba(13, 43, 85, 0.8) 60%,
      rgba(26, 63, 114, 0.72) 100%
    ),
    url("/assets/img/hero-bg.jpg") center center / cover no-repeat;
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.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.02'%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");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(184, 150, 62, 0.15);
  border: 1px solid rgba(184, 150, 62, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   Trust Disclaimer Banner
   ============================================================ */
.trust-banner {
  background: var(--green-light);
  border-top: 3px solid var(--green-muted);
  padding: 20px 0;
}

.trust-banner p {
  font-size: 0.875rem;
  color: #1d5c39;
  margin: 0;
  line-height: 1.6;
}

.trust-banner strong {
  font-weight: 600;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 43, 85, 0.08);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

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

/* ============================================================
   Process Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--navy-light));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* ============================================================
   Warning Signs
   ============================================================ */
.warning-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red-ca);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.warning-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.warning-item p {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 0;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--light-gray);
}
.faq-question.open {
  background: var(--navy);
  color: var(--white);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.faq-question.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--white);
}
.faq-answer.open {
  display: block;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 16px 0 0;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 43, 85, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--navy);
  appearance: checkbox;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--text-gray);
  cursor: pointer;
}

.form-checkbox a {
  color: var(--navy);
  text-decoration: underline;
}

.form-submit {
  margin-top: 24px;
}
.form-submit .btn {
  width: 100%;
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background:
    linear-gradient(
      135deg,
      rgba(8, 26, 53, 0.82) 0%,
      rgba(13, 43, 85, 0.78) 100%
    ),
    url("/assets/img/hero-bg.jpg") center center / cover no-repeat;
  padding: 60px 0 50px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span {
  margin: 0 6px;
}

/* ============================================================
   Service Cards
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card-header {
  background: var(--navy);
  padding: 28px 28px 20px;
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-card-header h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.service-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.service-includes {
  margin: 16px 0;
}
.service-includes h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-includes ul {
  list-style: none;
  padding: 0;
}
.service-includes li {
  font-size: 0.875rem;
  color: var(--text-gray);
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.service-includes li::before {
  content: "✓";
  color: var(--green-muted);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-disclaimer {
  font-size: 0.78rem;
  color: var(--text-gray);
  background: var(--light-gray);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 12px 0;
  line-height: 1.6;
}

.service-card-footer {
  padding: 0 28px 28px;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 180px;
  background: var(--mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-gray);
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.blog-category {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 12px;
}

.blog-read-more:hover {
  color: var(--red-ca);
}

.blog-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.blog-article h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.blog-article h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy);
}
.blog-article p {
  font-size: 0.95rem;
  color: var(--text-gray);
}
.blog-article ul {
  margin-bottom: 1rem;
}
.blog-article ul li {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 6px;
}

/* ============================================================
   Legal Pages (Privacy, Terms)
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--mid-gray);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}
.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
}
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.legal-last-updated {
  font-size: 0.85rem;
  color: var(--text-gray);
  background: var(--light-gray);
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

/* ============================================================
   Thank You Page
   ============================================================ */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.thank-you-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-lg);
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.thank-you-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.thank-you-card p {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

/* ============================================================
   Why Choose section
   ============================================================ */
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.why-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}
.why-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================================
   About Page
   ============================================================ */
.about-feature {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.about-feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(13, 43, 85, 0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 0;
}

.reg-placeholder {
  background: var(--light-gray);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.reg-placeholder strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================
   Back to Top
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--red-ca);
}

/* ============================================================
   Cookie Consent
   ============================================================ */
#cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 32px));
  background: var(--navy-dark);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10000;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

#cookie-popup p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  flex: 1;
}

#cookie-popup a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.8rem;
}
.btn-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .section-lg {
    padding: 72px 0;
  }

  .header-inner .main-nav,
  .header-inner .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: 1;
  }
  .contact-form-wrap {
    padding: 32px 24px;
  }

  .hero {
    padding: 72px 0 60px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #cookie-popup {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
  }
  .cookie-buttons .btn {
    flex: 1;
  }

  .thank-you-card {
    padding: 40px 24px;
  }
  .blog-article {
    padding: 24px;
  }
  .service-card-header {
    padding: 20px 20px 14px;
  }
  .service-card-body {
    padding: 20px;
  }
  .service-card-footer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
}

/* ============================================================
   Highlight Stat Boxes
   ============================================================ */
.stat-box {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}
.stat-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.testimonial-result {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-muted);
  letter-spacing: -0.01em;
}

.testimonial-type {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  background: rgba(184, 150, 62, 0.1);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  border: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.testimonial-disclaimer {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 32px;
  text-align: center;
  font-style: italic;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 22px;
  }
}
