/*
 * Schilpo Boats V7 design system — V7.00.1
 * Scoped to .v7-prototype for a controlled migration of core and P1 pages.
 */

body.v7-prototype {
  --v7-ink: #0b1824;
  --v7-navy: #071c2e;
  --v7-navy-soft: #10334f;
  --v7-gold: #e0ae52;
  --v7-gold-strong: #bc8120;
  --v7-ivory: #f7f4ee;
  --v7-surface: #ffffff;
  --v7-mist: #edf2f5;
  --v7-muted: #526272;
  --v7-line: rgba(7, 28, 46, 0.14);
  --v7-radius-sm: 10px;
  --v7-radius-md: 16px;
  --v7-radius-lg: 24px;
  --v7-shadow-sm: 0 12px 34px rgba(7, 28, 46, 0.08);
  --v7-shadow-md: 0 22px 58px rgba(7, 28, 46, 0.13);
  --v7-section: clamp(3.75rem, 7vw, 6.25rem);
  color: var(--v7-ink);
  background: var(--v7-surface);
  font-size: 1rem;
  line-height: 1.65;
}

body.v7-prototype .container {
  width: min(1180px, calc(100% - 48px));
}

body.v7-prototype .section {
  padding: var(--v7-section) 0;
}

body.v7-prototype .section-label {
  margin-bottom: 0.9rem;
  color: #805915;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

body.v7-prototype .hero .section-label,
body.v7-prototype .page-hero .section-label,
body.v7-prototype .about-hero .section-label,
body.v7-prototype .cta-section .section-label {
  color: #f2c876;
}

body.v7-prototype .section-heading {
  max-width: 780px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.v7-prototype .section h2,
body.v7-prototype .section-heading h2,
body.v7-prototype .page-text h2,
body.v7-prototype .contact-grid h2 {
  max-width: 18ch;
  margin-top: 0;
  color: var(--v7-navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

body.v7-prototype .section-heading p,
body.v7-prototype .page-text p,
body.v7-prototype .contact-grid p,
body.v7-prototype .card p,
body.v7-prototype .service-card p {
  color: var(--v7-muted);
}

body.v7-prototype .btn,
body.v7-prototype .header-call-link,
body.v7-prototype .consent-choice-button,
body.v7-prototype .consent-preferences-button {
  min-height: 48px;
  border-radius: var(--v7-radius-sm);
  padding: 0.78rem 1.25rem;
  box-shadow: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body.v7-prototype .btn:hover,
body.v7-prototype .header-call-link:hover {
  transform: translateY(-1px);
}

body.v7-prototype .btn-primary {
  border: 1px solid var(--v7-gold);
  color: var(--v7-navy);
  background: var(--v7-gold);
}

body.v7-prototype .btn-primary:hover {
  border-color: #efc470;
  background: #efc470;
}

body.v7-prototype .btn-secondary,
body.v7-prototype .btn-outline {
  border: 1px solid var(--v7-line);
  color: var(--v7-navy);
  background: var(--v7-surface);
}

body.v7-prototype .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.v7-prototype .btn-outline-light:hover {
  border-color: #fff;
  color: var(--v7-navy);
  background: #fff;
}

/* Compact navigation */
body.v7-prototype .site-header,
body.v7-prototype .site-header.scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 28, 46, 0.96);
  box-shadow: 0 10px 30px rgba(3, 15, 25, 0.12);
}

body.v7-prototype .header-inner,
body.v7-prototype .site-header.scrolled .header-inner {
  gap: 1rem;
  padding: 0.72rem 0;
}

body.v7-prototype .brand,
body.v7-prototype .site-header.scrolled .brand {
  flex: 0 0 112px;
  width: 112px;
  min-width: 112px;
}

body.v7-prototype .brand img,
body.v7-prototype .site-header.scrolled .brand img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  border-radius: 0;
}

body.v7-prototype .nav-menu,
body.v7-prototype .site-nav ul {
  gap: 1.05rem;
}

body.v7-prototype .site-nav a,
body.v7-prototype .site-nav .dropdown-toggle,
body.v7-prototype .site-header.scrolled .site-nav a,
body.v7-prototype .site-header.scrolled .site-nav .dropdown-toggle,
body.v7-prototype .translate-link,
body.v7-prototype .site-header.scrolled .translate-link {
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

body.v7-prototype .appointment-btn,
body.v7-prototype .site-header.scrolled .appointment-btn {
  border: 1px solid var(--v7-gold);
  color: var(--v7-navy);
  background: var(--v7-gold);
}

body.v7-prototype .header-call-link,
body.v7-prototype .site-header.scrolled .header-call-link {
  min-height: 44px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

body.v7-prototype .dropdown-menu {
  border-radius: var(--v7-radius-md);
  box-shadow: var(--v7-shadow-md);
}

/* Editorial hero system */
body.v7-prototype .breadcrumb-nav {
  padding-top: 88px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: var(--v7-navy);
}

body.v7-prototype .home-hero {
  min-height: min(760px, 92svh);
  background-color: var(--v7-navy);
}

body.v7-prototype .home-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(3, 15, 25, 0.96) 0%, rgba(7, 28, 46, 0.78) 48%, rgba(7, 28, 46, 0.28) 100%);
}

body.v7-prototype .home-hero .hero-content {
  max-width: 790px;
  padding: 10rem 0 6.5rem;
}

body.v7-prototype .hero h1,
body.v7-prototype .page-hero h1,
body.v7-prototype .about-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.v7-prototype .home-hero .hero-content > p {
  max-width: 660px;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.65;
}

body.v7-prototype .v7-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

body.v7-prototype .v7-hero-facts li {
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 28, 46, 0.48);
  font-size: 0.82rem;
  font-weight: 750;
}

body.v7-prototype .page-content > .page-hero:not(.legal-hero) {
  min-height: 410px !important;
  background-color: var(--v7-navy);
}

body.v7-prototype .page-content > .page-hero:not(.legal-hero) .hero-overlay {
  background: linear-gradient(90deg, rgba(3, 15, 25, 0.94), rgba(7, 28, 46, 0.55));
}

body.v7-prototype .page-content > .page-hero:not(.legal-hero) .hero-content {
  padding: 4.8rem 0 !important;
}

body.v7-prototype .page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

body.v7-prototype .about-hero {
  min-height: 620px;
  background-color: var(--v7-navy);
}

body.v7-prototype .about-hero-overlay {
  background: linear-gradient(90deg, rgba(3, 15, 25, 0.94) 0%, rgba(7, 28, 46, 0.68) 52%, rgba(7, 28, 46, 0.24) 100%);
}

body.v7-prototype .about-hero-content {
  max-width: 780px;
  padding: 7rem 0 5rem;
}

/* Trust, services and card language */
body.v7-prototype .trust-bar-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--v7-line);
  background: var(--v7-ivory);
}

body.v7-prototype .trust-grid {
  gap: 0;
}

body.v7-prototype .trust-grid > * {
  padding: 0.5rem 1.25rem;
  border-right: 1px solid var(--v7-line);
}

body.v7-prototype .trust-grid > *:last-child {
  border-right: 0;
}

body.v7-prototype .service-overview-section,
body.v7-prototype .owner-expertise-section,
body.v7-prototype .contact-section {
  background: var(--v7-ivory);
}

body.v7-prototype .home-service-groups,
body.v7-prototype .service-card-grid,
body.v7-prototype .cards-grid {
  gap: 1rem;
}

body.v7-prototype .home-service-group,
body.v7-prototype .service-card,
body.v7-prototype .card,
body.v7-prototype .testimonial-card,
body.v7-prototype .google-review-card {
  border: 1px solid var(--v7-line);
  border-top: 3px solid var(--v7-gold-strong);
  border-radius: var(--v7-radius-md);
  background: var(--v7-surface);
  box-shadow: none;
}

body.v7-prototype .service-card,
body.v7-prototype .card {
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

body.v7-prototype .service-card:hover,
body.v7-prototype .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--v7-shadow-sm);
}

body.v7-prototype .owner-story-section {
  background: var(--v7-surface);
}

body.v7-prototype .owner-home-section,
body.v7-prototype .owner-principle-section {
  color: #fff;
  background: radial-gradient(circle at 88% 0, rgba(224, 174, 82, 0.24), transparent 32%), var(--v7-navy);
}

body.v7-prototype .owner-home-grid,
body.v7-prototype .owner-story-grid {
  gap: clamp(2rem, 6vw, 5rem);
}

body.v7-prototype .owner-contact-card,
body.v7-prototype .instagram-contact-card,
body.v7-prototype .service-guide-card {
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius-lg);
  background: var(--v7-ivory);
  box-shadow: var(--v7-shadow-sm);
}

body.v7-prototype .owner-home-identity,
body.v7-prototype .owner-profile-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--v7-radius-lg);
  color: #fff;
  background: radial-gradient(circle at 100% 0, rgba(224, 174, 82, 0.3), transparent 38%), var(--v7-navy-soft);
  box-shadow: var(--v7-shadow-md);
}

body.v7-prototype .owner-home-section h2,
body.v7-prototype .owner-profile-card h2,
body.v7-prototype .owner-principle-section h2 {
  color: #fff;
}

body.v7-prototype .owner-home-section .section-label,
body.v7-prototype .owner-principle-section .section-label {
  color: #f2c876;
}

body.v7-prototype .owner-monogram {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(7, 28, 46, 0.16);
  border-radius: 50%;
  color: var(--v7-navy);
  background: var(--v7-gold);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.v7-prototype .process-grid > div,
body.v7-prototype .owner-fact-row,
body.v7-prototype .owner-principle-list li {
  border-radius: var(--v7-radius-sm);
}

body.v7-prototype .testimonials-section,
body.v7-prototype .section-alt,
body.v7-prototype .contact-review-section {
  background: var(--v7-mist);
}

body.v7-prototype .direct-answer-block,
body.v7-prototype .quick-intake-card,
body.v7-prototype .service-contact-card {
  border: 1px solid var(--v7-line);
  border-left: 4px solid var(--v7-gold-strong);
  border-radius: var(--v7-radius-md);
  box-shadow: var(--v7-shadow-sm);
}

body.v7-prototype .cta-section {
  background: radial-gradient(circle at 18% 0%, rgba(224, 174, 82, 0.22), transparent 32%), var(--v7-navy);
}

/* P1 commercial pages */
body.v7-commercial .page-jump-nav,
body.v7-price-guide .page-jump-nav {
  border-bottom: 1px solid var(--v7-line);
  background: rgba(247, 244, 238, 0.96);
}

body.v7-commercial .service-price-strip,
body.v7-commercial .business-facts-section,
body.v7-price-guide .article-main-section {
  background: var(--v7-ivory);
}

body.v7-commercial .service-contact-card,
body.v7-commercial .deck-configurator-callout,
body.v7-commercial .service-guide-card {
  border-color: var(--v7-line);
  border-radius: var(--v7-radius-lg);
  box-shadow: var(--v7-shadow-sm);
}

body.v7-prototype .v7-brand-summary,
body.v7-prototype .v7-boat-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.v7-prototype .v7-brand-summary > div,
body.v7-prototype .v7-boat-type-grid > article {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius-md);
  background: var(--v7-surface);
}

body.v7-prototype .v7-brand-summary strong,
body.v7-prototype .v7-boat-type-grid h3 {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--v7-navy);
}

body.v7-prototype .v7-brand-summary p,
body.v7-prototype .v7-boat-type-grid p {
  margin: 0;
  color: var(--v7-muted);
}

body.v7-prototype .v7-brand-summary-actions {
  margin-top: 1.5rem;
}

body.v7-article .article-body > h2,
body.v7-article .article-body .service-faq-section h2,
body.v7-article .related-articles h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

body.v7-article .article-hero {
  background: var(--v7-navy);
}

body.v7-article .article-hero h1,
body.v7-article .article-hero p,
body.v7-article .article-byline {
  color: #fff;
}

body.v7-article .article-hero .section-label,
body.v7-prototype .winter-process-section .section-label {
  color: #f2c876;
}

body.v7-prototype .winter-process-section .section-heading h2 {
  color: #fff;
}

body.v7-prototype .site-nav .mobile-appointment-btn {
  color: var(--v7-navy);
  -webkit-text-fill-color: var(--v7-navy);
  background: var(--v7-gold);
}

/* Contact prototype: calm, legible and grouped */
body.v7-contact .contact-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
}

body.v7-contact .contact-copy {
  position: sticky;
  top: 112px;
  padding: 0;
  background: transparent;
}

body.v7-contact .contact-form {
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius-lg);
  background: var(--v7-surface);
  box-shadow: var(--v7-shadow-sm);
}

body.v7-contact .form-intake-group {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius-md);
  background: var(--v7-ivory);
}

body.v7-contact .contact-form input,
body.v7-contact .contact-form select,
body.v7-contact .contact-form textarea {
  min-height: 50px;
  border-radius: var(--v7-radius-sm);
  border-color: rgba(7, 28, 46, 0.32);
  background: #fff;
}

body.v7-contact .contact-form textarea {
  min-height: 132px;
}

body.v7-contact .contact-details-section,
body.v7-contact .service-information-section,
body.v7-contact .related-services-section,
body.v7-contact .instagram-contact-section,
body.v7-contact .service-guide-link {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Compact footer and consent interface */
body.v7-prototype .site-footer {
  padding: 3rem 0 1.25rem;
  background: var(--v7-navy);
}

body.v7-prototype .site-footer::before {
  background: rgba(7, 28, 46, 0.96);
}

body.v7-prototype .footer-entity-summary {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}

body.v7-prototype .footer-entity-copy h2 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

body.v7-prototype .footer-grid {
  gap: clamp(1.5rem, 4vw, 3rem);
}

body.v7-prototype .footer-brand img {
  width: 72px;
  margin-bottom: 1rem;
}

body.v7-prototype .footer-bottom {
  margin-top: 2rem;
}

body.v7-prototype .consent-banner {
  right: 12px;
  bottom: 12px;
  left: 12px;
}

body.v7-prototype .consent-banner-content {
  width: min(900px, 100%);
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--v7-radius-md);
  box-shadow: 0 18px 48px rgba(3, 15, 25, 0.24);
}

body.v7-prototype .consent-banner-copy h2 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

body.v7-prototype .consent-banner-copy p {
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  body.v7-prototype .header-inner,
  body.v7-prototype .site-header.scrolled .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  body.v7-prototype .site-nav {
    order: 3;
    grid-column: 1 / -1;
  }

  body.v7-prototype .nav-toggle {
    display: inline-flex;
  }

  body.v7-prototype .site-nav .nav-menu {
    display: none;
  }

  body.v7-prototype .site-nav.open .nav-menu {
    display: flex;
  }

  body.v7-prototype .site-nav.open a,
  body.v7-prototype .site-nav.open .dropdown-toggle {
    color: var(--v7-navy) !important;
    font-size: 0.95rem;
  }

  body.v7-prototype .desktop-translate-links,
  body.v7-prototype .header-actions .appointment-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  body.v7-prototype .container {
    width: min(100%, calc(100% - 32px));
  }

  body.v7-prototype .home-hero {
    min-height: 680px;
  }

  body.v7-prototype .home-hero .hero-content {
    padding: 8.5rem 0 5rem;
  }

  body.v7-prototype .about-hero {
    min-height: 540px;
  }

  body.v7-contact .contact-grid {
    grid-template-columns: 1fr;
  }

  body.v7-contact .contact-copy {
    position: static;
  }

  body.v7-prototype .trust-grid > * {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  body.v7-prototype .container {
    width: min(100%, calc(100% - 24px));
  }

  body.v7-prototype .section {
    padding: clamp(3rem, 14vw, 4.5rem) 0;
  }

  body.v7-prototype .brand,
  body.v7-prototype .site-header.scrolled .brand {
    flex-basis: 102px;
    width: 102px;
    min-width: 102px;
  }

  body.v7-prototype .breadcrumb-nav {
    padding-top: 82px;
  }

  body.v7-prototype .home-hero {
    min-height: 640px;
  }

  body.v7-prototype .home-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(3, 15, 25, 0.96) 0%, rgba(7, 28, 46, 0.82) 70%, rgba(7, 28, 46, 0.72) 100%);
  }

  body.v7-prototype .home-hero .hero-content {
    padding: 7.7rem 0 4rem;
  }

  body.v7-prototype .hero h1,
  body.v7-prototype .page-hero h1,
  body.v7-prototype .about-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  body.v7-prototype .v7-hero-facts {
    gap: 0.4rem;
  }

  body.v7-prototype .v7-hero-facts li {
    font-size: 0.76rem;
  }

  body.v7-prototype .page-content > .page-hero:not(.legal-hero) {
    min-height: 380px !important;
  }

  body.v7-prototype .page-content > .page-hero:not(.legal-hero) .hero-content {
    padding: 3.25rem 0 !important;
  }

  body.v7-prototype .about-hero {
    min-height: 510px;
  }

  body.v7-prototype .about-hero-content {
    padding: 6rem 0 3.5rem;
  }

  body.v7-prototype .hero-actions,
  body.v7-prototype .about-hero-actions,
  body.v7-prototype .contact-option-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.v7-prototype .hero-actions .btn,
  body.v7-prototype .about-hero-actions .btn,
  body.v7-prototype .contact-option-actions .btn {
    width: 100%;
  }

  body.v7-prototype .v7-brand-summary,
  body.v7-prototype .v7-boat-type-grid {
    grid-template-columns: 1fr;
  }

  body.v7-contact .contact-form {
    padding: 1.25rem;
    border-radius: var(--v7-radius-md);
  }

  body.v7-prototype .consent-banner-content {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
  }

  body.v7-prototype .consent-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  body.v7-prototype .header-actions .header-call-link {
    display: none;
  }

  body.v7-prototype .header-inner,
  body.v7-prototype .site-header.scrolled .header-inner {
    grid-template-columns: 1fr auto;
  }

  body.v7-prototype .home-hero {
    min-height: 620px;
  }

  body.v7-prototype .v7-hero-facts li {
    width: 100%;
    border-radius: var(--v7-radius-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v7-prototype *,
  body.v7-prototype *::before,
  body.v7-prototype *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
