/* v2 additions on top of styles.css + dark-theme.css: founder story, packages, ownership, mobile call bar. */

/* The page body takes the site's own text color and font, so a host page's defaults can't override them. */
body { color: var(--ink); font: inherit; }

/* About: the founder story next to the founder's photo. */
.about-side .founder-photo { display: block; width: min(100%, 360px); aspect-ratio: 4 / 5; margin-top: 34px; border-radius: 10px; object-fit: cover; border: 1px solid #2b405f; }
.about-side .founder-photo-placeholder { display: grid; place-content: center; justify-items: center; gap: 10px; background: #0e1a2c; border: 1px dashed #4b6488; color: #c6d8f8; }
.founder-photo-placeholder span { font: 750 3rem/1 'Manrope', Arial, sans-serif; letter-spacing: -.04em; }
.founder-photo-placeholder small { font-size: .8125rem; }
.about-copy p + p { margin-top: 14px; }
.about-copy .about-point { font-size: 1.0625rem; line-height: 1.75; margin-block: 22px; padding-left: 16px; border-left: 3px solid #6d8bb9; }

/* The offer: two packages side by side. */
.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.package { display: flex; flex-direction: column; background: #121f30; border: 1px solid #30415a; border-radius: 8px; padding: 28px; }
.package-featured { border-color: #56749f; border-top: 4px solid #6d8bb9; }
.package-price { font: 750 2.8rem/1.1 'Manrope', Arial, sans-serif; letter-spacing: -.06em; margin-top: 16px; }
.package-price small { font: 500 .875rem 'DM Sans', Arial, sans-serif; letter-spacing: 0; margin-left: 6px; }
.package-summary { font-size: .9375rem; margin-top: 8px; }
.package .check-list { margin-top: 16px; flex: 1; }
.package .check-list li { padding-block: 7px; }
.package-after { font-size: .875rem; line-height: 1.7; margin-top: 18px; padding: 14px 16px; background: #0f1b2b; border: 1px solid #3a5070; border-radius: 6px; }
.package .button { display: flex; width: 100%; margin-top: 22px; }
.speed-options { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; font-size: .8125rem; }
.speed-options span { flex-basis: 100%; }
.speed-options a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #42649a; border-radius: 6px; font-weight: 600; }
.speed-options a:hover { border-color: #a6bddf; }

/* Build once, own it: the rule behind the prices. */
.own-it { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.own-it-quote { margin: 0; max-width: 860px; }
.own-it-quote blockquote { margin: 0; font: 650 clamp(1.35rem, 2.4vw, 2rem)/1.3 'Manrope', Arial, sans-serif; letter-spacing: -.03em; }
.own-it-quote figcaption { margin-top: 12px; font-size: .875rem; }
.own-it .package-details { margin-top: 30px; }
.package-scope { max-width: none; margin-top: 30px; }

/* Tap targets of at least 44px for the links people press on phones. */
.text-link, .direct-contact a, .footer-main > a:last-child { min-height: 48px; }
.footer-main > a:last-child, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.direct-contact small { display: block; margin-top: 8px; font-size: .8125rem; line-height: 1.6; }
.form-data-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { align-items: center; }

/* Phones: a call bar that stays in reach until the form is on screen. */
.mobile-cta { display: none; }
@media (max-width: 930px) {
  .packages { gap: 16px; }
  .package { padding: 23px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(9, 15, 24, .96); border-top: 1px solid #223044; backdrop-filter: blur(14px); transition: transform .2s; }
  .mobile-cta[data-hidden] { transform: translateY(110%); }
  .mobile-cta .button { flex: 1; min-height: 52px; padding: 12px 16px; gap: 14px; }
  .mobile-cta-call { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid #42649a; border-radius: var(--radius); font-weight: 650; }
  .header-cta, .stage-note { min-height: 44px; }
  /* The three sample designs swipe sideways instead of stacking three screens tall. */
  .portfolio-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 10px; scroll-padding-inline: 20px; }
  .portfolio-card { flex: 0 0 84%; scroll-snap-align: start; }
  .portfolio-image { aspect-ratio: 1.3; padding: 22px 20px 0; }
  .portfolio-disclosure { margin-top: 18px; }
  .packages { grid-template-columns: 1fr; }
  .package-price { font-size: 2.5rem; }
  .about-side .founder-photo { width: 100%; aspect-ratio: 1; margin-top: 26px; }
  .own-it { margin-top: 34px; padding-top: 28px; }
  .footer-bottom { flex-wrap: wrap; gap: 4px 20px; }
}
@media (max-width: 390px) {
  .portfolio-grid { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* FAQ "+" icon: keep its box one line tall so the open-state rotation can't push past the screen edge on phones. */
summary span { align-self: flex-start; width: 1em; height: 1.25em; text-align: center; }

/* Language switch: set apart from the section links; inline "Se habla español" reads as a link. */
.desktop-nav .lang-link { padding-left: 22px; border-left: 1px solid var(--line); }
.mobile-nav .lang-link { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 15px; }
.lang-inline { text-decoration: underline; text-underline-offset: 3px; }

/* Between tablet and wide desktop the five nav links plus the language switch don't fit on one line: use the menu button there too. */
.desktop-nav a { white-space: nowrap; }
@media (min-width: 931px) and (max-width: 1180px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; }
}

/* Language switch in the header, next to the demo button, on every screen size. */
.nav-wrap { justify-content: flex-start; }
.desktop-nav { margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 48px; padding: 0 16px; border: 1px solid #42649a; border-radius: var(--radius); color: var(--ink); font-size: .875rem; font-weight: 650; white-space: nowrap; transition: border-color .18s, background .18s; }
.lang-switch:hover { border-color: #8fa9d6; background: #ffffff0d; }
.header-cta { white-space: nowrap; }
/* The label spans must not pick up the arrow's styling (.button > span). */
.header-cta > .cta-long, .header-cta > .cta-short { font-size: inherit; font-weight: inherit; line-height: inherit; }
.header-cta > .cta-short { display: none; }
@media (max-width: 1180px) {
  .lang-switch { margin-left: auto; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 700px) {
  .brand-location { display: none; }
  .lang-switch { min-height: 44px; padding: 0 11px; font-size: .75rem; }
}
@media (max-width: 700px) {
  /* styles.css hides every span in the header button on phones (for the arrow); keep the label. */
  .header-cta > .cta-long { display: inline; }
}
@media (max-width: 420px) {
  .header-cta > .cta-long { display: none; }
  .header-cta > .cta-short { display: inline; }
  /* Small phones: logo, language button, demo button and menu share one row. */
  .nav-wrap, .nav-wrap .brand { gap: 6px; }
  .brand-name { font-size: .6875rem; }
  .lang-switch { padding: 0 8px; }
  .header-cta { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 350px) {
  .nav-wrap .brand-name { display: none; }
}

/* Offer for visitors whose phone is set to Spanish (never an automatic switch). */
.lang-bar { display: flex; align-items: center; justify-content: center; gap: 4px 12px; flex-wrap: wrap; padding: 4px 8px 4px 16px; background: #13233b; border-bottom: 1px solid #29374b; color: #ffffff; font-size: .875rem; }
.lang-bar a { color: #c6d8f8; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.lang-bar button { background: transparent; color: #ffffff; font-size: 1.25rem; line-height: 1; width: 44px; height: 44px; border-radius: var(--radius); }
.lang-bar button:hover { background: #ffffff14; }
