:root {
  --navy: #062b45;
  --navy-dark: #041f32;
  --gold: #d89a4a;
  --gold-dark: #b97d33;
  --white: #ffffff;
  --light-gray: #f5f7f9;
  --medium-gray: #dce3e8;
  --text: #1f2937;
  --muted: #5b6773;
  --success: #2e7d32;
  --danger: #b3261e;
  --shadow: 0 12px 35px rgba(6, 43, 69, 0.12);
  --radius: 18px;
  --transition: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  color: var(--navy);
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, 88%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--light-gray);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.section-heading p {
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 5000;
}

.skip-link:focus {
  left: 10px;
}

/* Announcement */
.announcement {
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

.announcement a {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 43, 69, 0.98);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
  margin-left: -15px;
}

.logo-image {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.footer-logo-image {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 14px;
  line-height: 1;
}

.brand-text strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;      
    font-weight: 600;
    letter-spacing: 0.08em; 
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
}

.brand-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #D89A4A;
    margin-top: 3px;
}

.brand-text span {
  color: #cbd5dd;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: -70px;
}

.main-nav a {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.portal-link {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 10px 15px;
}

.portal-link:hover {
  background: var(--gold);
  color: var(--navy-dark) !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  background: transparent;
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-dark);
}

/* Hero */
.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(216, 154, 74, 0.2), transparent 25%),
    linear-gradient(120deg, rgba(4, 31, 50, 0.98), rgba(6, 43, 69, 0.91));
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -260px;
  border: 1px solid rgba(216, 154, 74, 0.35);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(216, 154, 74, 0.05),
    0 0 0 130px rgba(216, 154, 74, 0.035);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-image {
  width: 550px;
  height: auto;
  object-fit: contain;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 22px;
}

.hero p {
  color: #e6edf2;
  font-size: clamp(1rem, 2vw, 1.22rem);
  max-width: 720px;
  margin-bottom: 32px;
}

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


.trust-strip {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  margin-top: -34px;
  z-index: 5;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.trust-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--medium-gray);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Page hero */
.page-hero {
  background:
    radial-gradient(circle at 80% 15%, rgba(216, 154, 74, 0.22), transparent 26%),
    linear-gradient(120deg, var(--navy-dark), var(--navy));
  padding: 105px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: #e4ebf0;
  max-width: 750px;
  margin: auto;
  font-size: 1.08rem;
}

/* Cards and grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid #e7ecef;
  border-radius: var(--radius);
  padding: 31px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(6, 43, 69, 0.17);
}

.card-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(216, 154, 74, 0.16);
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.96rem;
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
}

.card-link:hover {
  color: var(--gold-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid #e6ebef;
}

.feature-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 800;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 30px 22px;
  border-top: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 17px;
}

.step h3 {
  margin-bottom: 8px;
}

/* About */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 55px;
}

.portrait-placeholder {
  min-height: 470px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 35px;
  background:
    radial-gradient(circle at 35% 25%, rgba(216, 154, 74, 0.25), transparent 24%),
    linear-gradient(145deg, var(--navy), var(--navy-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.portrait-placeholder strong {
  display: block;
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 8px;
}

.split-copy h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}

.split-copy p + p {
  margin-top: 14px;
}

.check-list {
  list-style: none;
  margin: 24px 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial strong {
  color: var(--navy);
}

/* Portal CTA */
.portal-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 154, 74, 0.18), transparent 24%),
    var(--navy);
  color: var(--white);
  padding: 76px 0;
  text-align: center;
}

.portal-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.portal-cta p {
  color: #dce6ec;
  max-width: 760px;
  margin: 0 auto 28px;
}

/* Packages */
.package-card {
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border: 2px solid var(--gold);
  transform: translateY(-8px);
}

.package-label {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.package-card ul {
  list-style: none;
  margin: 20px 0 25px;
  flex-grow: 1;
}

.package-card li {
  padding: 9px 0 9px 25px;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid #edf0f2;
}

.package-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

/* FAQ */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e4e9ed;
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 14px;
}

.faq-question {
  width: 100%;
  border: 0;
  background: var(--white);
  color: var(--navy);
  padding: 19px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-symbol {
  color: var(--gold-dark);
  font-size: 1.25rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
}

.faq-item.open .faq-answer {
  max-height: 260px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #cfd8de;
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--text);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 154, 74, 0.16);
}

.form-note {
  margin: 16px 0;
  padding: 13px 15px;
  border-left: 4px solid var(--gold);
  background: #fff8ee;
  color: #6e5434;
  font-size: 0.9rem;
}

.form-message {
  display: none;
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 8px;
  background: #edf8ee;
  color: var(--success);
  font-weight: 700;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-info h2,
.contact-info h3 {
  color: var(--white);
}

.contact-info p {
  color: #d9e4ea;
}

.info-block {
  padding: 19px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.info-block:last-child {
  border-bottom: 0;
}

.map-placeholder {
  margin-top: 24px;
  min-height: 210px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.32);
}

/* Legal */
.legal-box {
  background: #eef2f5;
  border-left: 5px solid var(--gold);
  padding: 22px 25px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: #cbd7df;
  font-size: 0.9rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.14rem;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  margin: 8px 0;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 38px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #aebdc7;
  font-size: 0.82rem;
}

/* Back to top */
#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  display: none;
  z-index: 900;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 82px;
    right: -100%;
    width: min(370px, 88%);
    height: calc(100vh - 82px);
    background: var(--navy-dark);
    padding: 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu-toggle {
    display: block;
  }

  .portal-link {
    margin-top: 10px;
    text-align: center;
  }

  .card-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .brand-text {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 85px 0 100px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--medium-gray);
  }

  .card-grid,
  .feature-grid,
  .steps-grid,
  .testimonial-grid,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 35px;
  }

  .portrait-placeholder {
    min-height: 360px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 470px) {
  .container {
    width: min(92%, 1180px);
  }

  .announcement {
    font-size: 0.8rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--medium-gray);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .contact-form,
  .contact-info {
    padding: 24px 19px;
  }
}

/* Netlify contact form enhancements */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-group {
  margin-top: -2px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--gold-dark);
}

.submit-help {
  margin-top: 10px;
  font-size: 0.82rem;
}

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid #e4e9ed;
  border-radius: var(--radius);
  padding: 46px 32px;
  box-shadow: var(--shadow);
}

.thank-you-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(216, 154, 74, 0.18);
  color: var(--gold-dark);
  font-size: 2rem;
  font-weight: 800;
}

.thank-you-card h2 {
  margin-bottom: 14px;
}

.thank-you-card .hero-actions {
  justify-content: center;
  margin-top: 26px;
}
@media (max-width: 7600px) {
    .logo-image {
        width: 140px;
        height: auto;
    }
}
@media (max-width: 900px) {
  .brand-text strong {
    font-size: 1.15rem;
    letter-spacing: 0.16em;
  }

  .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
  }
}
@media (max-width: 600px) {
  .brand-text {
    display: none;
  }
}
@media (max-width:900px){

.hero-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:30px;
}

.hero-logo-image{
    width:220px;
}

.hero-actions{
    justify-content:center;
}

}

/* Final branding and SEO content refinements */
.nav-wrap { min-height: 112px; }
.logo-image {
  width: 118px;
  height: 118px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { margin-left: 8px; }
.brand-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.brand-text .brand-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
  white-space: nowrap;
}
.hero-logo-image { width: 420px; max-width: 100%; height: auto; }
.service-area-section { padding-top: 72px; padding-bottom: 72px; }
.service-area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.service-area-list li {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--medium-gray);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  box-shadow: 0 5px 14px rgba(6,43,69,.06);
}
.ea-section { background: var(--light-gray); }
.ea-badge {
  min-height: 360px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 2px solid rgba(216,154,74,.6);
}
.ea-badge span {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--gold);
  line-height: .9;
}
.ea-badge small {
  margin-top: 16px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 600;
}
@media (max-width: 1080px) {
  .nav-wrap { min-height: 92px; }
  .logo-image { width: 88px; height: 88px; }
}
@media (max-width: 900px) {
  .hero-logo-image { width: 280px; }
}
@media (max-width: 600px) {
  .logo-image { width: 76px; height: 76px; }
  .brand-text { display: none; }
  .ea-badge { min-height: 260px; }
}


/* Final logo and header refinements */
.site-header .brand {
  margin-left: -35px;
  gap: 0;
}

.site-header .brand-text {
  margin-left: 0;
}

.site-header .nav-wrap {
  min-height: 88px;
}

.hero-grid {
  grid-template-columns: minmax(460px, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
}

.hero-logo {
  overflow: visible;
}

.hero-logo-image {
  width: min(560px, 48vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.12));
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 38px;
  }

  .hero-logo-image {
    width: min(470px, 43vw);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-logo-image {
    width: 430px;
    margin: 30px auto 0;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 18px;
  }

  .site-header .brand-text strong {
    font-size: 0.94rem;
  }

  .site-header .brand-subtitle {
    font-size: 0.56rem;
  }

  .hero-logo-image {
    width: 320px;
  }
}

/* =========================================================
   FINAL HERO LOGO BLEND
   Added without changing the rest of the website styles.
   ========================================================= */

.hero {
  min-height: 760px !important;
  display: flex !important;
  align-items: center !important;
}

.hero .hero-grid {
  display: grid !important;
  grid-template-columns: minmax(430px, 0.92fr) minmax(560px, 1.08fr) !important;
  align-items: center !important;
  gap: 52px !important;
  padding: 68px 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero .hero-logo {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 590px !important;
  overflow: hidden !important;
  isolation: isolate !important;

  margin-left: -40px;
}

.hero .hero-logo-image {
  display: block !important;
  width: auto !important;
  height: 590px !important;
  max-width: none !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  opacity: 0.98 !important;
  transform: translateX(-30px) scale(1.12) !important;
  transform-origin: center !important;
  mix-blend-mode: screen !important;
  filter: brightness(1.01) contrast(1.08) saturate(0.96) !important;

  -webkit-mask-image: radial-gradient(
    ellipse 88% 84% at center,
    #000 0%,
    #000 64%,
    rgba(0, 0, 0, 0.88) 74%,
    rgba(0, 0, 0, 0.45) 88%,
    transparent 100%
  ) !important;

  mask-image: radial-gradient(
    ellipse 88% 84% at center,
    #000 0%,
    #000 64%,
    rgba(0, 0, 0, 0.88) 74%,
    rgba(0, 0, 0, 0.45) 88%,
    transparent 100%
  ) !important;
}

.hero .hero-logo::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      to right,
      rgba(4, 31, 50, 0.92) 0%,
      rgba(4, 31, 50, 0.18) 14%,
      transparent 30%,
      transparent 70%,
      rgba(6, 43, 69, 0.18) 86%,
      rgba(6, 43, 69, 0.92) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(4, 31, 50, 0.72) 0%,
      transparent 18%,
      transparent 82%,
      rgba(6, 43, 69, 0.72) 100%
    ) !important;
}

.hero .hero-content {
  max-width: 720px !important;
  padding: 36px 0 !important;
  position: relative !important;
  z-index: 3 !important;
}

@media (max-width: 1080px) {
  .hero .hero-grid {
    grid-template-columns: minmax(350px, 0.88fr) minmax(440px, 1.12fr) !important;
    gap: 36px !important;
  }

  .hero .hero-logo {
    min-height: 480px !important;
  }

  .hero .hero-logo-image {
    height: 480px !important;
    transform: scale(1.1) !important;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: auto !important;
  }

  .hero .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 46px 0 76px !important;
  }

  .hero .hero-logo {
    min-height: 360px !important;
  }

  .hero .hero-logo-image {
    height: 260px !important;
    transform: scale(1) !important;
  }

  .hero .hero-content {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 8px 0 !important;
    text-align: center !important;
  }

  .hero .hero-actions {
    justify-content: center !important;
  }
}

@media (max-width: 520px) {
  .hero .hero-logo {
    min-height: 285px !important;
  }

  .hero .hero-logo-image {
    height: 320px !important;
    transform: scale(1) !important;
  }

  .hero .hero-actions {
    flex-direction: column !important;
  }

  .hero .hero-actions .btn {
    width: 100% !important;
  }
}
/* =========================================
   MOBILE LAYOUT FIXES
   ========================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent wide elements from stretching the mobile page */
img,
section,
header,
footer,
.container {
  max-width: 100%;
}

/* Mobile and tablet hero */
@media (max-width: 800px) {
  .hero {
    min-height: auto !important;
  }

  .hero .hero-grid {
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 35px 0 65px !important;
  }

  .hero .hero-logo {
    width: 100% !important;
    min-height: 230px !important;
    margin-left: 0 !important;
    overflow: hidden !important;
  }

  .hero .hero-logo-image {
    width: auto !important;
    height: 245px !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    transform: scale(1) !important;
  }

  .hero .hero-content {
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
    text-align: center !important;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.6rem) !important;
    line-height: 1.08;
  }

  .hero p {
    width: 100%;
    font-size: 1rem !important;
    line-height: 1.65;
  }

  .hero-actions {
    justify-content: center !important;
  }
}
@media (max-width: 520px) {
  .hero .hero-logo {
    min-height: 195px !important;
  }

  .hero .hero-logo-image {
    height: 205px !important;
    max-width: 88% !important;
    transform: scale(1) !important;
  }

  .hero .hero-content {
    padding-top: 0 !important;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem) !important;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }
}
@media (max-width: 760px) {
  /* Keep the top header simple on mobile */
  .site-header .brand-text {
    display: none !important;
  }

  /* Restore Kimberly Marie Tax Services in the footer */
  .site-footer .brand-text {
    display: flex !important;
    flex-direction: column;
    margin-left: 12px !important;
  }

  .site-footer .brand-text strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem !important;
    letter-spacing: 0.08em !important;
    color: var(--white);
    white-space: normal;
  }

  .site-footer .brand-subtitle {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem !important;
    letter-spacing: 0.2em !important;
    color: var(--gold) !important;
    margin-top: 5px;
  }

  .site-footer .footer-logo-image {
    width: 95px !important;
    height: auto !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }

  .site-footer .brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 0 !important;
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-brand,
  .footer-col {
    text-align: left;
  }

  .site-footer {
    padding: 45px 0 22px;
  }
}
@media (max-width: 1080px) {
  .main-nav {
    margin-left: 0 !important;
    width: min(370px, 88%) !important;
    max-width: 100% !important;
  }

  .site-header .brand {
    margin-left: 0 !important;
  }
}

/* Targeted content updates */
.service-starting-price,
.package-price {
  display: block;
  color: var(--gold-dark);
  font-weight: 800;
}

.service-starting-price {
  margin: -4px 0 10px;
  font-size: 0.9rem;
}

.package-price {
  margin: 4px 0 14px;
  font-size: 1.05rem;
}

.about-photo-wrap {
  min-height: 470px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--light-gray);
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center top;
}

.footer-socials a{

color:#FFFFFF;

}

.footer-socials a:hover{

color:#D89A4A;

}

@media (max-width: 760px) {
  .about-photo-wrap,
  .about-photo {
    min-height: 360px;
  }

  .about-photo {
    object-position: center top;
  }
}

