/*
 * LabProton.com — Phase 2 visual polish
 * -------------------------------------
 * Deliberately keeps the approved Phase 1 layout and colors.
 * Edit this readable file to adjust individual sections without
 * rewriting styles.css or the HTML structure.
 */

:root {
  --text-strong: #091b43;
  --text-body: #274161;
  --border-fine: #c4d9f0;
  --surface-white: #fafdff;
  --blue-focus: #39aef9;
}

html { scroll-padding-top: 90px; }
body { font-size: 15px; line-height: 1.5; }
.site { background: #f9fcff; }
.button { min-height: 43px; padding: 10px 17px; font-size: 14px; border-radius: 10px; }
.button-primary { box-shadow: inset 0 1px 1px #ffffff77, 0 4px 11px #00356c4a; }

/* 1. HEADER — same navigation and hierarchy, less cramped */
.header-inner { height: 70px; gap: 21px; padding-inline: 32px; }
.brand { min-width: 250px; gap: 11px; }
.brand-mark { width: 46px; }
.brand-name { font-size: 26px; }
.brand-name > span { font-size: 18px; }
.brand-subtitle { font-size: 10.5px; }
.main-nav { gap: 3px; }
.nav-link { font-size: 14px; padding: 10px 12px; }
.header-actions { gap: 11px; }
.portal-button { min-height: 42px; }
.header-buy { min-width: 126px; }
.header-separator { height: 35px; }

/* 2. HERO — preserve portrait / heading / monitor positions */
.hero { min-height: 355px; }
.hero-person { width: 263px; height: 100%; object-position: left bottom; }
.hero-inner {
  grid-template-columns: 238px minmax(335px, .9fr) minmax(425px, 1.3fr);
  min-height: 355px;
  gap: 18px;
  padding: 18px 35px 24px 0;
}
.hero-copy { padding-top: 0; }
.eyebrow { font-size: 12px; line-height: 1.3; letter-spacing: .45px; margin-bottom: 11px; }
.short-rule { height: 3px; width: 46px; margin-bottom: 13px; }
.hero h1 { font-size: clamp(50px, 4.4vw, 64px); letter-spacing: -1.9px; margin-bottom: 7px; }
.hero h2 { font-size: 26px; line-height: 1.11; letter-spacing: -.5px; margin-bottom: 15px; }
.hero-description { max-width: 395px; font-size: 15px; line-height: 1.48; margin-bottom: 18px; }
.hero-actions { gap: 12px; }
.hero-buy { min-width: 181px; }
.hero-buy small { font-size: 11px; margin-top: 3px; }
.hero-visual { min-width: 0; }
.hero-visual img { width: 100%; max-width: 580px; max-height: 325px; object-fit: contain; }
.hero-wave { bottom: -18px; }

/* 3. FEATURE STRIP — make the six highlights readable */
.feature-strip-inner { min-height: 99px; padding: 15px 24px; }
.strip-item { padding: 0 11px; gap: 11px; min-height: 56px; }
.bubble { width: 48px; height: 48px; }
.bubble .ico { width: 27px; height: 27px; }
.strip-item strong { font-size: 13px; line-height: 1.22; margin-bottom: 4px; }
.strip-item span:not(.bubble) { font-size: 11.5px; line-height: 1.28; }

/* 4. FEATURES + GALLERY — increase space for actual product screens */
.features-section { min-height: 425px; padding: 32px 30px 35px; }
.section-kicker { font-size: 13px; margin-bottom: 6px; }
.section-intro h2 { font-size: 31px; line-height: 1.16; letter-spacing: -.65px; margin: 4px 0 6px; }
.section-intro p { font-size: 15px; line-height: 1.45; margin-bottom: 27px; }
.features-grid {
  grid-template-columns: minmax(200px, 1fr) minmax(425px, 1.8fr) minmax(200px, 1fr);
  gap: 20px;
  min-height: 300px;
}
.feature-list { gap: 24px; }
.feature-point { gap: 12px; align-items: center; }
.feature-point-icon { width: 52px; height: 52px; border-radius: 16px; }
.feature-point-icon .ico { width: 30px; height: 30px; }
.feature-point h3 { font-size: 15px; line-height: 1.22; margin-bottom: 5px; letter-spacing: -.12px; }
.feature-point p { font-size: 13px; line-height: 1.42; color: var(--text-body); }
.gallery { padding: 0 42px 30px; min-height: 300px; }
.gallery-frame { height: 290px; min-width: 0; border-radius: 13px; overflow: visible; }
.gallery-frame img { max-width: 100%; max-height: 100%; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 9px 12px #1c4d7f33); }
.gallery-arrow { width: 43px; height: 43px; border-color: #3d7cac; }
.gallery-arrow .ico { width: 24px; height: 24px; }
.gallery-prev { left: -2px; }
.gallery-next { right: -2px; }
.gallery-dots { bottom: 0; gap: 9px; }
.gallery-dots button { height: 12px; width: 12px; }

/* 5. PRICING & WHY CHOOSE — retain the original two-card row */
.offer-row { grid-template-columns: 1.12fr .88fr; gap: 18px; padding: 14px 19px 17px; }
.offer-card {
  min-height: 215px;
  border-radius: 20px;
  border-color: var(--border-fine);
  box-shadow: 0 8px 24px #1f57871b;
}
.pricing-card {
  grid-template-columns: minmax(215px, 1.15fr) minmax(170px, .85fr) minmax(185px, .95fr);
  align-items: center;
  gap: 10px;
  padding: 21px 22px;
}
.pill-label { font-size: 11.5px; padding: 5px 15px; }
.pricing-intro h2 { font-size: 23px; line-height: 1.14; margin: 13px 0 9px; }
.pricing-intro p { font-size: 13px; line-height: 1.42; max-width: 265px; }
.pricing-middle { gap: 7px; width: 100%; }
.price { font-size: 55px; letter-spacing: -1.8px; }
.license-pill { font-size: 12px; padding: 6px 12px; }
/* Remove the hard-coded left:35px that overlapped the benefits. */
.price-button { position: static; left: auto; margin-top: 12px; width: 100%; max-width: 210px; min-height: 42px; font-size: 12.5px; padding-inline: 8px; }
.benefit-list { margin: 0; gap: 9px; }
.benefit-list li { font-size: 12.5px; line-height: 1.27; white-space: normal; gap: 8px; }
.benefit-list .ico { width: 18px; height: 18px; }
.why-card { gap: 15px; padding: 22px 17px; }
.why-card h2 { font-size: 24px; gap: 12px; margin: 0; }
.why-card .award { width: 44px; height: 44px; }
.why-items { border-radius: 16px; min-height: 108px; padding: 13px 5px; }
.why-items > div { min-height: 78px; gap: 10px; }
.why-items .ico { width: 39px; height: 39px; }
.why-items strong { font-size: 13px; line-height: 1.22; }

/* 6. THREE HORIZONTAL SECTIONS — in approved FAQ > ABOUT > CONTACT order */
.info-panel {
  grid-template-columns: 34.5% minmax(0, 1fr);
  margin: 0 19px 15px;
  padding: 21px 24px;
  gap: 0;
  border-radius: 19px;
  border-color: var(--border-fine);
  box-shadow: 0 6px 20px #1d548113;
  scroll-margin-top: 88px;
}
.panel-heading {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 3px 24px 3px 0;
}
.panel-main-icon { width: 60px; height: 60px; border-radius: 17px; }
.panel-main-icon .ico { width: 39px; height: 39px; }
.panel-heading h2 { font-size: 27px; line-height: 1.12; margin: 2px 0 10px; }
.panel-heading p { font-size: 14px; line-height: 1.52; max-width: 310px; color: var(--text-body); }
.panel-body { padding-left: 27px; }

/* FAQ: six visible, comfortable accordion rows */
.faq-panel { min-height: 312px; }
.faq-list { gap: 7px; justify-content: center; }
.faq-list details { border-radius: 11px; background: #f8fcff; }
.faq-list details[open] { background: #fff; }
.faq-list summary { min-height: 36px; font-size: 13.5px; font-weight: 720; padding: 8px 15px 8px 18px; line-height: 1.28; }
.faq-list summary .ico { width: 16px; height: 16px; }
.faq-list details p { font-size: 13.5px; line-height: 1.55; margin: 5px 17px 14px; }

/* About: keep three side-by-side cards with softer borders and round icons */
.about-panel { min-height: 228px; }
.about-values { gap: 15px; }
.value-card {
  min-height: 170px;
  border-radius: 16px;
  border: 1px solid #c8def5;
  background: linear-gradient(130deg, #ffffff, #e6f3ff);
  box-shadow: 0 5px 14px #1b629718;
  gap: 12px;
  padding: 16px 13px;
}
.value-icon { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff 8%, #c7eaff 100%); }
.value-icon .ico { height: 33px; width: 33px; }
.value-card h3 { font-size: 14.5px; line-height: 1.22; margin-bottom: 7px; }
.value-card p { font-size: 13px; line-height: 1.43; color: var(--text-body); }

/* Contact: name/email, subject, large message field and full-width send BELOW */
.contact-panel { min-height: 330px; margin-bottom: 24px; }
.contact-content { align-items: stretch; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto; gap: 11px; align-content: center; }
.contact-fields { grid-column: 1; grid-template-columns: 1fr 1fr; gap: 13px; }
.input-wrap { height: 43px; border-radius: 9px; background: #fff; border-color: #aac9e9; }
.input-wrap > .ico:first-child { width: 19px; height: 19px; top: 12px; left: 13px; }
.input-wrap input, .input-wrap select, .input-wrap textarea { font-size: 14px; padding: 9px 13px 9px 43px; line-height: 1.35; }
.select-wrap { grid-column: 1; }
.select-chevron { width: 18px; height: 18px; right: 12px; top: 12px; }
.textarea-wrap { grid-column: 1; height: 112px; min-height: 112px; }
.textarea-wrap textarea { min-height: 110px; padding-top: 13px; resize: vertical; }
.send-button { grid-column: 1; grid-row: auto; width: 100%; min-height: 46px; align-self: auto; font-size: 14px; }
.contact-status { font-size: 13px; line-height: 1.4; }

/* 7. FOOTER */
.site-footer { min-height: 90px; }
.footer-inner { min-height: 90px; padding: 18px 29px; gap: 18px; }
.footer-brand { min-width: 235px; }
.footer-nav a { font-size: 12px; padding-inline: 11px; }
.footer-legal { min-width: 255px; }
.footer-legal a, .footer-legal small { font-size: 11px; }

/* 8. RESPONSIVE: preserve the same design on laptop, tablet and phone */
@media (max-width: 1310px) {
  .header-inner { gap: 14px; padding-inline: 22px; }
  .brand { min-width: 238px; }
  .nav-link { padding-inline: 10px; }
  .hero-inner { grid-template-columns: 225px minmax(320px, .96fr) minmax(390px, 1.25fr); gap: 13px; padding-right: 21px; }
  .hero-person { width: 248px; }
  .hero h2 { font-size: 24px; }
  .features-grid { grid-template-columns: minmax(205px, 1fr) minmax(385px, 1.7fr) minmax(205px, 1fr); gap: 12px; }
  .feature-point { gap: 9px; }
  .feature-point h3 { font-size: 14px; }
  .feature-point p { font-size: 12.5px; }
  .pricing-card { padding-inline: 17px; grid-template-columns: minmax(190px, 1.1fr) minmax(160px, .8fr) minmax(171px, .95fr); }
  .why-card { padding-inline: 13px; }
  .why-card h2 { font-size: 22px; }
  .why-items strong { font-size: 12px; }
  .value-card { padding: 12px 9px; gap: 9px; }
  .value-icon { width: 47px; height: 47px; }
  .value-icon .ico { width: 29px; height: 29px; }
  .value-card p { font-size: 12.5px; }
}
@media (max-width: 1100px) {
  .header-inner { gap: 10px; }
  .brand { min-width: 215px; }
  .nav-link { font-size: 13px; padding-inline: 7px; }
  .hero { min-height: 335px; }
  .hero-inner { min-height: 335px; grid-template-columns: 195px minmax(290px, 1fr) minmax(330px, 1.08fr); gap: 9px; }
  .hero-person { width: 218px; }
  .hero h1 { font-size: 51px; }
  .hero h2 { font-size: 22px; }
  .hero-description { font-size: 14px; }
  .feature-strip-inner { grid-template-columns: repeat(3, 1fr); row-gap: 13px; }
  .strip-item:nth-child(3) { border: none; }
  .strip-item:nth-child(6) { border: none; }
  .features-section { padding-inline: 20px; }
  .features-grid { grid-template-columns: minmax(180px, 1fr) minmax(340px, 1.6fr) minmax(180px, 1fr); gap: 10px; }
  .feature-point-icon { width: 45px; height: 45px; }
  .feature-point-icon .ico { width: 26px; height: 26px; }
  .gallery { padding-inline: 32px; }
  .offer-row { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr 210px 1fr; min-height: 190px; }
  .why-card { min-height: 182px; }
  .info-panel { grid-template-columns: 35% 1fr; }
  .value-card { flex-direction: column; text-align: center; min-height: 164px; gap: 8px; }
  .value-icon { width: 55px; height: 55px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-nav { order: 3; width: 100%; flex-basis: 100%; border: none; }
}
@media (max-width: 900px) {
  .header-inner { height: 68px; padding-inline: 16px; }
  .mobile-menu-button { display: block; }
  .main-nav { display: none; top: 68px; }
  .main-nav.open { display: flex; }
  .header-separator { display: none; }
  .brand { min-width: 0; }
  .header-actions { margin-left: 0; }
  .hero-inner { grid-template-columns: 170px minmax(300px, 1fr) minmax(265px, 1fr); padding-right: 10px; }
  .hero-person { width: 188px; }
  .hero h1 { font-size: 44px; }
  .hero h2 { font-size: 20px; }
  .hero-description { font-size: 13px; }
  .hero-visual img { max-height: 260px; }
  .features-grid { grid-template-columns: 1fr 1.25fr 1fr; }
  .feature-list { gap: 16px; }
  .feature-point { align-items: flex-start; gap: 6px; }
  .feature-point h3 { font-size: 12px; }
  .feature-point p { font-size: 11px; }
  .gallery-frame { height: 250px; }
  .about-values { gap: 9px; }
  .panel-heading { padding-right: 16px; gap: 8px; }
  .panel-heading p { font-size: 13px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 78px; }
  .site-header .header-inner { height: 68px; }
  .brand { gap: 5px; }
  .brand-mark { width: 35px; }
  .brand-mark svg { width: 31px; }
  .brand-name { font-size: 20px; }
  .brand-name > span { font-size: 14px; }
  .brand-subtitle { font-size: 8px; }
  .portal-button { display: none; }
  .header-buy { min-width: 0; min-height: 39px; padding: 8px 10px; font-size: 12px; }
  .main-nav { top: 68px; }
  .hero { min-height: 0; }
  .hero-person { height: 320px; top: 0; bottom: auto; width: 41%; opacity: .6; }
  .hero-inner { display: flex; flex-direction: column; padding: 24px 19px 12px; gap: 20px; }
  .hero-copy { padding-left: 13%; }
  .eyebrow { font-size: 11px; white-space: normal; }
  .hero h1 { font-size: 48px; }
  .hero h2 { font-size: 23px; }
  .hero-description { font-size: 14px; }
  .hero-visual img { max-height: 290px; max-width: 570px; }
  .feature-strip-inner { grid-template-columns: repeat(2, 1fr); row-gap: 14px; padding: 16px 10px; }
  .strip-item { padding-inline: 8px; }
  .strip-item:nth-child(3) { border-right: 1px solid #b9cddd; }
  .strip-item:nth-child(even) { border: none; }
  .strip-item strong { font-size: 12px; }
  .strip-item span:not(.bubble) { font-size: 11px; }
  .features-section { padding: 25px 16px 28px; }
  .section-intro h2 { font-size: 25px; }
  .section-intro p { font-size: 14px; margin-bottom: 22px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 23px 12px; }
  .gallery { grid-column: 1 / -1; grid-row: 1; padding-inline: 34px; margin: auto; width: 100%; }
  .gallery-frame { height: 245px; }
  .feature-list { gap: 14px; }
  .feature-point h3 { font-size: 12px; }
  .feature-point p { font-size: 11px; }
  .offer-row { padding: 12px; gap: 14px; }
  .pricing-card { grid-template-columns: 1fr 1fr; gap: 14px; padding: 21px; }
  .pricing-intro h2 { font-size: 21px; }
  .pricing-middle { grid-column: 2; grid-row: 1 / 3; }
  .benefit-list { grid-column: 1; grid-row: 2; }
  .benefit-list li { font-size: 12px; }
  .why-card { padding: 22px 12px; }
  .why-items .ico { width: 32px; height: 32px; }
  .why-items strong { font-size: 11px; }
  .info-panel { margin-inline: 12px; grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .panel-heading { grid-template-columns: 56px 1fr; border-right: 0; border-bottom: 1px solid #b9d7f4; padding: 0 0 17px; }
  .panel-main-icon { width: 53px; height: 53px; }
  .panel-main-icon .ico { width: 34px; height: 34px; }
  .panel-heading h2 { font-size: 24px; }
  .panel-heading p { max-width: none; font-size: 13px; }
  .panel-body { padding-left: 0; }
  .faq-panel { min-height: 0; }
  .faq-list summary { min-height: 40px; }
  .about-values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .value-card { padding: 13px 8px; min-height: 170px; }
  .value-card h3 { font-size: 13px; }
  .value-card p { font-size: 11.5px; }
  .contact-panel { min-height: 0; }
  .contact-form { gap: 11px; }
  .contact-fields { grid-column: 1; }
  .send-button { grid-column: 1; }
  .footer-inner { padding: 22px 16px; gap: 16px; }
  .footer-legal a, .footer-legal small { font-size: 11px; }
}
@media (max-width: 460px) {
  .header-inner { gap: 7px; }
  .brand-name { font-size: 18px; }
  .brand-name > span { font-size: 12px; }
  .brand-subtitle { font-size: 7.5px; }
  .header-buy .ico { display: none; }
  .hero-copy { padding-left: 8%; }
  .hero h1 { font-size: 44px; }
  .hero h2 { font-size: 20px; }
  .feature-strip-inner { padding-inline: 7px; }
  .strip-item { gap: 7px; padding-inline: 5px; }
  .bubble { width: 37px; height: 37px; }
  .bubble .ico { width: 23px; height: 23px; }
  .strip-item strong { font-size: 11px; }
  .strip-item span:not(.bubble) { font-size: 10px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery { grid-column: 1; grid-row: 1; }
  .gallery-frame { height: 220px; }
  .feature-list { gap: 12px; }
  .feature-point h3 { font-size: 14px; }
  .feature-point p { font-size: 12px; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-middle, .benefit-list { grid-column: 1; grid-row: auto; }
  .benefit-list { grid-template-columns: 1fr 1fr; }
  .why-items { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .why-items > div:nth-child(2) { border: none; }
  .why-items > div:nth-child(3) { border-right: 1px solid #b8cee8; }
  .about-values { grid-template-columns: 1fr; }
  .value-card { flex-direction: row; text-align: left; min-height: 96px; }
  .value-card p { font-size: 13px; }
  .contact-fields { grid-template-columns: 1fr; }
}
