/* Mobile readability and original-logo palette, 05.11.2026.
   The dominant cyan sampled from the ORIGINAL logo is RGB(0,179,228).
   User review found large bright-cyan buttons with dark-blue labels tiring.
   Keep exact logo cyan for accents; actions use a deeper blue and white labels.
   Hover/active declare both colors, preserving the previous cascade repair.
   Source copy, photo/video assets, pricing and event handlers remain intact. */
:root {
    --brand-cyan: #00b3e4;
    --brand-ink: #063447;
    --primary: #00779e;
    --primary-dark: #075b79;
    --primary-light: #00b3e4;
    --control-primary: #00799f;
    --control-hover: #006781;
    --control-pressed: #00536e;
    --control-ink: #263943;
    --control-border: #627f8b;
    --highlight: #e9faff;
}
body { font-size: 17px; line-height: 1.7; }
body p { color: #43505a; }
body { color: #26323b; }
body :is(h1,h2,h3,h4) { color: #1c303c; }
/* Match legacy contextual specificity; a low-specificity body/p rule alone
   would leave the older blue paragraph colors in the hero and feature cards. */
body .original-copy-hero .hero-copy > p,
body :is(.feature-content p,.benefit-content p,.comparison-content p,.season-card p,.product-short-desc,.stat-description,.details,.product-modal-info,.product-modal-info p) { color: #43505a; }
body :is(.original-copy-hero h1,.benefits h2,.comparison-section h2,.products-section h2,.testimonials-section h2,.video-section h2,.stats-section h2,.season-card h3,.feature-content h3,.product-info h3,.comparison-content h4,.benefit-content strong,.card-header h3,.card-side h4) { color: #26323b; }
.site-header nav a,.header-phone,.form-group label { color: #344753; }
.hero { background: linear-gradient(120deg,#effbff,#f8fdff 65%,#e5f8ff); }
.calculator-block,.season-card,.feature-spotlight,.stats-section { background: #effaff; border-color: #c9e9f3; }
.products-section,footer { background: #f0faff; }
.result { background: #eafaff; border-color: #a7dfef; }
.original-copy-hero .country-badge { background: #fff; border-color: #8dd9ed; color: #263943; }
.card-header { background: #dff6ff; color: #075b79; }
.card-header h3 { color: #075b79; }
.comparison-table th { background: #e7f8ff; color: #17485d; }
.benefit-icon { color: #075b79; background: #dff6ff; }
.stat-number,.price { color: #00779e; }

/* Large surfaces are deliberately calmer than the logo. White labels contrast
   4.96:1 in the default state and become stronger as hover/active darken it. */
body :is(.primary-link,.calculate-btn,.appointment-btn,.submit-btn,.call-btn,.whatsapp-btn,.modal-close-btn,.modal-bottom-close,.mobile-contact button) {
    background: var(--control-primary); color: #fff;
    border-color: var(--control-primary); font-size: 16px; font-weight: 700;
    min-height: 52px; box-shadow: 0 3px 10px #17485d18;
}
/* Apply the same paired foreground/background to every hover and active state,
   including outlined buttons and round gallery controls. No color fades. */
body :is(.primary-link,.calculate-btn,.appointment-btn,.submit-btn,.call-btn,.whatsapp-btn,.modal-close-btn,.modal-bottom-close,.mobile-contact button,.consult-btn,.secondary-link,.how-to-measure,.product-details-btn,.copy-btn,.mobile-contact a,.testimonial-nav,.video-nav,.product-nav,.modal-photo-nav,.modal-close):hover {
    background: var(--control-hover); color: #fff;
    border-color: var(--control-hover); transition: box-shadow .15s;
}
body :is(.primary-link,.calculate-btn,.appointment-btn,.submit-btn,.call-btn,.whatsapp-btn,.modal-close-btn,.modal-bottom-close,.mobile-contact button,.consult-btn,.secondary-link,.how-to-measure,.product-details-btn,.copy-btn,.mobile-contact a,.testimonial-nav,.video-nav,.product-nav,.modal-photo-nav,.modal-close):active {
    background: var(--control-pressed); color: #fff; border-color: var(--control-pressed);
}
body :is(.consult-btn,.secondary-link,.how-to-measure,.product-details-btn,.copy-btn) { font-size: 16px; min-height: 52px; }
.hero .secondary-link { font-size: 14px; }
.site-header nav a { font-size: 15px; }
.original-copy-hero .hero-copy > p { font-size: 17px; line-height: 1.8; }
.benefits > p,.feature-content p,.benefit-content p { font-size: 16px; line-height: 1.75; }
.season-card p,.product-short-desc,.stat-description { font-size: 15px; line-height: 1.65; }
.benefit-content strong { font-size: 17px; }
.form-group label { font-size: 15px; }
.input-icon { font-size: 14px; }
.comparison-table { font-size: 16px; }
.comparison-table th { font-size: 15px; }
.comparison-content p { font-size: 16px; }
.product-modal-info { font-size: 16px; line-height: 1.75; }
.product-modal-info :is(p,li) { font-size: 16px; }
.footer-copyright { font-size: 14px; }
.result .details { font-size: 16px; line-height: 1.65; }
.form-message,.appointment-draft p { font-size: 15px; }

/* Text should wrap naturally at narrow sizes rather than being shrunk until
   labels fit. Native input text stays >=16px, also avoiding iOS focus zoom. */
@media(max-width:767px) {
    body { font-size: 16px; }
    .site-header { gap: 12px; }
    .brand .logo img { width: clamp(120px,36vw,150px); }
    .header-phone { font-size: clamp(12px,3.5vw,14px); }
    .site-header nav a { font-size: 14px; padding: 9px 0; }
    .original-copy-hero h1 { font-size: clamp(26px,7.2vw,32px); line-height: 1.2; }
    .original-copy-hero .hero-copy > p { font-size: 16px; line-height: 1.75; }
    .hero-actions > :is(a,button) { font-size: 15px; line-height: 1.5; }
    .call-to-action { font-size: 22px; line-height: 1.35; }
    .calculator-actions button { font-size: 16px !important; line-height: 1.45; min-height: 56px; }
    body .how-to-measure { font-size: 15px; line-height: 1.5; white-space: normal; }
    .dimensions .form-group label { font-size: 15px; }
    .input-with-icon input::placeholder { font-size: 15px; }
    .input-with-icon input { padding-right: 32px; }
    .input-icon { font-size: 13px; }
    :is(.benefits,.comparison-section,.products-section,.testimonials-section,.video-section,.stats-section) h2 { font-size: clamp(25px,6.8vw,29px); line-height: 1.25; }
    .season-card { padding: 20px 15px; }
    .season-card h3 { font-size: 19px; }
    .season-card p { font-size: 15px; }
    .feature-content h3 { font-size: 22px; line-height: 1.3; }
    .feature-content p,.benefit-content p,.comparison-content p { font-size: 16px; line-height: 1.7; }
    .benefit-content strong { font-size: 17px; line-height: 1.4; }
    .benefit-item { gap: 12px; }
    .comparison-item { padding: 20px; }
    .comparison-content h4 { font-size: 18px; }
    .card-header { padding: 16px; }
    .card-header h3 { font-size: 18px; line-height: 1.35; }
    .card-side { padding: 16px; }
    .card-side h4,.card-side p { font-size: 16px; line-height: 1.65; }
    .product-info h3 { font-size: 20px; line-height: 1.3; }
    .product-short-desc { font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
    .stat-description { font-size: 14px; line-height: 1.65; }
    .stat-item { padding: 8px 2px; min-width: 0; }
    .stats-container { gap: 24px 12px; }
    .appointment-form h3 { font-size: 25px; }
    .contact-phone { font-size: 16px; }
    .appointment-form .form-group label { font-size: 15px; }
    .appointment-draft textarea { font-size: 16px; line-height: 1.65; }
    .footer-copyright { font-size: 14px; line-height: 1.7; }
    .mobile-contact { grid-template-columns: 1fr 1.7fr; gap: 9px; }
    body .mobile-contact :is(a,button) { font-size: 13px; line-height: 1.35; padding: 8px; min-height: 52px; white-space: normal; text-align: center; }
    /* Larger placeholder text needs full-width fields on the smallest phones. */
    .dimensions { grid-template-columns: 1fr; }
}
@media(min-width:480px) and (max-width:767px) { .dimensions { grid-template-columns: 1fr 1fr; } }
