/* BCN TEST: V61.8.1 independent visual refresh / same HTML interactions */
/* BCN CONSULTING TEST — 2026-11-01 — targeted homepage hero & legibility changes.
   Additive stylesheet only. Does not change business logic, form, translation JS or live site. */
.home-page .site-header {
  background: #07263f;
  box-shadow: 0 3px 14px rgba(4,30,48,.08);
}
.home-page .hero {
  color: #092b46;
  background: #e6f1f7;
  min-height: 495px;
}
.home-page .hero-scene {
  background-image: url('assets/spain-hero-ofis-acik-v2.webp');
  background-position: center 8%;
  background-size: cover;
  animation: none;
  transform: none;
}
.home-page .hero-shade {
  background: linear-gradient(90deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,.07) 40%,rgba(255,255,255,0) 77%);
}
.home-page .hero-grid {
  min-height: 495px;
  grid-template-columns: minmax(0, 63%) minmax(0, 37%);
  padding-top: 98px;
  padding-bottom: 42px;
}
.home-page .hero-content {
  max-width: 700px;
  padding-left: 0;
  text-shadow: none;
}
.home-page .hero-content .eyebrow.white {
  color: #193a54;
  font-size: 12px;
  letter-spacing: 3px;
  text-shadow: none;
}
.home-page .hero-content h1 {
  color: #072744;
  font-size: clamp(37px, 3.8vw, 55px);
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.35px;
  text-shadow: none;
}
.home-page .hero-content h1 em { color: #b47c12; }
.home-page .hero-content p {
  color: #18334a;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 530;
  max-width: 640px;
  text-shadow: none;
}
.home-page .hero-actions .pill {
  font-size: 14px;
  min-height: 46px;
  padding: 11px 21px;
}
.home-page .hero-actions .outline-pill {
  color: #072744;
  background: rgba(255,255,255,.79);
  border-color: #0a304d;
  text-shadow: none;
}
.home-page .hero-actions .outline-pill:hover {background: #fff;}
/* Better baseline readability without altering page structure. */
.home-page .main-nav a:not(.appointment-link) {font-size: 13px;}
.home-page .language select {font-size: 13px;}
.home-page .header-button {font-size: 13px;}
.home-page .trust-bar {padding: 18px 0;}
.home-page .trust-grid {gap: 17px;}
.home-page .trust-item {gap: 10px;}
.home-page .trust-item strong {font-size: 13.5px;line-height: 1.4;}
.home-page .trust-item small {font-size: 12px;line-height: 1.5;color:#e1eaf1;}
.home-page .section-head>p {font-size: 15px;line-height: 1.6;}
.home-page .text-arrow {font-size: 14px;}
.home-page .featured-card h3 {font-size: 16px;line-height: 1.32;}
.home-page .featured-card p {font-size: 13px;line-height: 1.54;}
.home-page .featured-body {min-height: 130px;}
.home-page .about-copy p {font-size: 14px;line-height:1.6;}
.home-page .about-facts small {font-size: 12px;line-height:1.5;}
.home-page .services-section .eyebrow,.home-page .catalog-section .eyebrow {font-size: 11px;}
@media (max-width: 1200px) {
  .home-page .hero-grid {grid-template-columns: 65% 35%;}
  .home-page .hero-content {padding-left: 8px;}
  .home-page .hero-content h1 {font-size: clamp(36px, 4.1vw, 48px);}
}
@media (max-width: 950px) {
  .home-page .hero-grid {grid-template-columns: minmax(0,1fr);}
  .home-page .hero-content {max-width: 75%;}
  .home-page .hero-content h1 {font-size: clamp(32px, 5.2vw, 44px);}
}
@media (max-width: 650px) {
  .home-page .site-header {background:#07263f;}
  .home-page .hero,.home-page .hero-grid {min-height: 590px;}
  .home-page .hero-scene {background-position: 31% center;}
  .home-page .hero-shade {
    background:linear-gradient(90deg,rgba(255,255,255,.85),rgba(255,255,255,.67) 75%,rgba(255,255,255,.47));
  }
  .home-page .hero-grid {padding-top: 102px;padding-bottom: 42px;justify-content:flex-start;}
  .home-page .hero-content {padding-left:0;max-width:100%;}
  .home-page .hero-content h1 {font-size:clamp(32px,8vw,42px);line-height:1.13;}
  .home-page .hero-content p {font-size: 16px;line-height:1.6;}
  .home-page .hero-actions .pill {font-size: 13px;padding: 11px 16px;}
  .home-page .trust-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .home-page .trust-item strong {font-size:13px;}
  .home-page .trust-item small {font-size:12px;}
  .home-page .featured-card h3 {font-size: 15px;}
  .home-page .featured-card p {font-size: 12.8px;}
  .home-page .featured-body {min-height: 145px;}
}
@media (max-width: 410px) {
  .home-page .trust-grid {grid-template-columns:1fr;gap:14px;}
  .home-page .hero-actions {gap:9px;}
  .home-page .hero-actions .pill {font-size:12px;}
  .home-page .section-head>p {font-size:14px;}
}
@media (prefers-reduced-motion:reduce) {
  .home-page .hero-scene {animation:none;transform:none;}
}


/* BCN V73: visual identity only, approved white header mockup.
   Scope strictly to header/home hero, preserve all footer, service cards, URLs and behavior. */
.home-page .site-header{background:#fff;color:#113e72;border-bottom:1px solid #dbe6ed;box-shadow:0 3px 16px rgba(11,46,84,.09)}
.home-page .site-header .logo{display:block;flex:none;width:116px;min-width:116px;height:57px;background:url('/assets/bcn-logo-v73.png') center/contain no-repeat;color:transparent}
.home-page .site-header .logo>span,.home-page .site-header .logo>small{display:none}
.home-page .site-header .main-nav a:not(.appointment-link){color:#173f74;opacity:1}
.home-page .site-header .main-nav a:not(.appointment-link):hover,.home-page .site-header .main-nav a.nav-current{color:#087d74;border-bottom-color:#09bfa4}
.home-page .site-header .main-nav a.appointment-link,.home-page .site-header .mobile-nav a.appointment-link{background:#0cc3ab;color:#082c49;border:1px solid #0aab97;box-shadow:0 6px 15px #06a99824}
.home-page .site-header .main-nav a.appointment-link:hover{border-bottom-color:#0aab97;box-shadow:0 8px 20px #06a99830}
.home-page .site-header .language{background:#f8fbfd;border:1px solid #d6e2ea}
.home-page .site-header .language select,.home-page .site-header .language:after{color:#103b6f}
.home-page .site-header .header-button.gold-pill{background:#fff;color:#007e70;border:1px solid #05bda6;box-shadow:none}
.home-page .site-header .header-button.gold-pill:hover{background:#edfdf9}
.home-page .site-header .menu-toggle{border-color:#b8cfda}
.home-page .site-header .menu-toggle span{background:#113e72}
.home-page .site-header .mobile-nav{background:#fff;border-top:1px solid #dbe6ed}
.home-page .site-header .mobile-nav a:not(.appointment-link){color:#143f73;border-bottom-color:#e2eaf0}
.home-page .hero-content h1 em{color:#04ae9c}
.home-page .hero-actions .gold-pill{background:linear-gradient(120deg,#10d6bc,#00b99f);color:#082e4c;border-color:#00b99f;box-shadow:0 6px 17px rgba(0,164,142,.17)}
.home-page .hero-actions .gold-pill:hover{box-shadow:0 9px 22px rgba(0,164,142,.25)}
.home-page .hero-actions .outline-pill{border-color:#154c7c;color:#123f75}
.home-page .trust-symbol{color:#12d6bf}
@media(max-width:650px){.home-page .site-header{background:#fff}.home-page .site-header .logo{width:100px;min-width:100px;height:48px}.home-page .site-header .header-button.gold-pill{padding:8px 10px}}


/* BCN V73.1 -- approved mockup fidelity fix, 2026-11-08.
   The homepage HTML contains an INLINE <style> AFTER the linked CSS.
   The two legacy same-specificity declarations there incorrectly win in
   the cascade, leaving the header dark and headline gold. Use important
   only for these two verified conflicts, without editing HTML or services. */
body.home-page header.site-header {
  background: #ffffff !important;
  color: #174779;
  border-bottom: 1px solid #dbe6ed;
  box-shadow: 0 3px 16px rgba(11,46,84,.09);
}
body.home-page .hero-content h1 em {
  color: #05baa5 !important;
}
/* Legibility and exact brand accents in the existing menu layout. */
body.home-page header.site-header .main-nav a:not(.appointment-link) {
  color: #153e73 !important;
  opacity: 1;
}
body.home-page header.site-header .main-nav a.nav-current,
body.home-page header.site-header .main-nav a:not(.appointment-link):hover,
body.home-page header.site-header .main-nav a:not(.appointment-link):focus-visible {
  color: #006c61 !important;
  border-bottom-color: #05baa5;
}
body.home-page header.site-header .header-button.gold-pill {
  background: #fff;
  color: #008574;
  border-color: #05baa5;
}
body.home-page header.site-header .main-nav a.appointment-link {
  background: #0cc3ab;
  color: #052f50 !important;
  border-color: #08ab98;
}
body.home-page .hero-actions .gold-pill {
  background: linear-gradient(120deg,#10d6bc,#00b99f);
  color: #07334f;
  border-color: #05baa5;
}
@media (max-width: 650px) {
  body.home-page header.site-header { background: #fff !important; }
  body.home-page header.site-header .menu-toggle span { background: #174779; }
  body.home-page header.site-header .mobile-nav { background: #fff; }
  body.home-page header.site-header .mobile-nav a:not(.appointment-link) { color: #153e73; }
}

/* BCN V84 - Mobile hero: preserve approved desktop artwork, make Spain map and flag visible.
   Intentionally scoped ONLY to home-page hero on phones. No changes to booking,
   services, footer, language links or desktop layout. */
@media screen and (max-width: 650px) {
  body.home-page .hero {
    min-height: 0 !important;
    background: #edf5fb !important;
  }
  body.home-page .hero-grid {
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 104px !important;
    padding-bottom: calc(59vw + 20px) !important;
  }
  body.home-page .hero-content {
    max-width: 100% !important;
    padding-left: 0 !important;
  }
  /* Inline legacy fallback used important on background-position.
     A more specific selector deliberately overrides it on mobile only. */
  body.home-page .hero-scene {
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: 59vw !important;
    background-image: url('/assets/spain-hero-ofis-acik-v2.webp') !important;
    background-position: right center !important;
    background-size: 120% auto !important;
    background-repeat: no-repeat !important;
    animation: none !important;
    transform: none !important;
  }
  body.home-page .hero-shade {background: none !important;}
  body.home-page .hero-content h1 {
    font-size: clamp(27px, 7.45vw, 37px) !important;
    line-height: 1.16;
    letter-spacing: -0.8px;
    overflow-wrap: normal;
  }
  body.home-page .hero-actions {flex-wrap: wrap;}
}
@media screen and (max-width: 360px) {
  body.home-page .hero-grid {padding-top: 95px !important;}
  body.home-page .hero-content h1 {font-size: 26px !important;}
  body.home-page .hero-actions .pill {padding: 10px 12px;}
}
