/* Complete interaction palette, 05.11.2026.
   The source copy and original CSS are retained. Every control group declares
   BOTH foreground and background for every state: legacy hover colors must not
   combine with a new pale background. Keep this file after the layout sheet.
   Palette targets at least 4.5:1 for ordinary button text and 3:1 for icons.
   This is a scoped check of controls, not a claim of full WCAG conformance. */
:root {
    --primary: #08728f;
    --primary-dark: #07566e;
    --primary-light: #08728f;
    --primary-gradient: linear-gradient(120deg, #08728f, #08728f);
    --control-primary: #08728f;
    --control-hover: #07566e;
    --control-pressed: #063f53;
    --control-ink: #17485d;
    --control-border: #64828f;
    --control-surface: #edf6f9;
    --control-focus: #173746;
}
/* Legacy pulse animations animate box-shadow above ordinary cascade rules.
   Disable them on controls so restored focus and hover states stay stable. */
body :is(button,.primary-link,.call-btn,.whatsapp-btn) { animation: none; }

/* Preserve the original words in a quieter, readable layout. The introduction
   is moved verbatim from the benefits section; nothing new is advertised. */
.brand .logo { margin: 0; width: auto; max-width: none; }
.brand .logo img { width: 205px; max-width: 100%; height: auto; }
.original-copy-hero .hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.original-copy-hero .title-container { margin: 0 0 20px; text-align: left; }
.original-copy-hero h1 { font-size: clamp(29px,3.5vw,43px); letter-spacing: -.9px; margin: 0; line-height: 1.18; color: #173746; }
.original-copy-hero .country-badge { position: static; transform: none; padding: 7px 13px; margin: 0 0 23px; border: 1px solid #96bdcd; background: #e7f4f8; color: #144c63; border-radius: 7px; font-size: 14px; box-shadow: none; }
.original-copy-hero .country-badge::before { display: none; }
.original-copy-hero .hero-copy > p { font-size: 16px; line-height: 1.85; margin: 0 0 26px; color: #435f6e; }
.original-copy-hero .hero-visual { min-height: 420px; }
.original-copy-hero .hero-visual::after { display: none; }
.original-copy-hero .hero-actions { align-items: stretch; gap: 12px; }
.hero .secondary-link { font-size: 12px; padding: 13px 16px; }
.call-to-action { font-size: 22px; line-height: 1.4; color: #173746; margin: 0 0 22px; }
.calculator-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.calculator-actions > div { margin: 0 !important; }
.calculator-actions button { width: 100%; height: 100%; min-height: 56px; letter-spacing: .1px; }

/* Filled actions. A solid color keeps contrast predictable at every pixel;
   gradients and legacy glows are removed from interactive surfaces. */
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: 2px solid var(--control-primary);
    border-radius: 9px; min-height: 48px; font-weight: 650; opacity: 1;
    box-shadow: 0 3px 8px #123c4d12; text-decoration: none;
    transition: background-color .15s, border-color .15s, 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):hover {
    background: var(--control-hover); color: #fff; border-color: var(--control-hover);
    box-shadow: 0 4px 12px #123c4d26; transform: none; opacity: 1;
}
body :is(.primary-link,.calculate-btn,.appointment-btn,.submit-btn,.call-btn,.whatsapp-btn,.modal-close-btn,.modal-bottom-close,.mobile-contact button):active {
    background: var(--control-pressed); color: #fff; border-color: var(--control-pressed);
    box-shadow: inset 0 2px 4px #0003; transform: none;
}

/* Outlined actions are visibly bordered even before hover. Explicit white text
   on the dark hover background also fixes the original product detail button. */
body :is(.consult-btn,.secondary-link,.how-to-measure,.product-details-btn,.copy-btn,.mobile-contact a) {
    background: #fff; color: var(--control-ink); border: 2px solid var(--control-border);
    border-radius: 9px; min-height: 48px; font-weight: 650;
    opacity: 1; box-shadow: none; text-decoration: none;
    /* Switch both colors immediately: interpolating dark-on-white into
       white-on-dark can briefly create matching midtones during a fade. */
    transition: box-shadow .15s;
}
body :is(.consult-btn,.secondary-link,.how-to-measure,.product-details-btn,.copy-btn,.mobile-contact a):hover {
    background: var(--control-hover); color: #fff; border-color: var(--control-hover);
    opacity: 1; box-shadow: 0 3px 10px #123c4d20; transform: none;
}
body :is(.consult-btn,.secondary-link,.how-to-measure,.product-details-btn,.copy-btn,.mobile-contact a):active {
    background: var(--control-pressed); color: #fff; border-color: var(--control-pressed);
    box-shadow: inset 0 2px 4px #0003; transform: none;
}
.product-details-btn { padding: 12px 22px; font-size: 14px; }
.how-to-measure { padding: 12px 18px; }

/* Icon controls keep their percentage-based slider positioning. Never reset
   transform globally: translateY(-50%) centers the arrow on the visible image. */
body :is(.testimonial-nav,.video-nav,.product-nav,.modal-photo-nav,.modal-close) {
    background: #fff; color: var(--control-ink); border: 2px solid var(--control-border);
    min-width: 44px; min-height: 44px; opacity: 1; box-shadow: 0 2px 10px #1737461c;
    transition: box-shadow .15s;
}
body :is(.testimonial-nav,.video-nav,.product-nav,.modal-photo-nav,.modal-close):hover {
    background: var(--control-hover); color: #fff; border-color: var(--control-hover);
    box-shadow: 0 3px 12px #123c4d30; opacity: 1;
}
body :is(.testimonial-nav,.video-nav,.product-nav,.modal-photo-nav,.modal-close):active {
    background: var(--control-pressed); color: #fff; border-color: var(--control-pressed);
    box-shadow: inset 0 2px 4px #0003;
}
body .modal-close:hover { transform: none; }
body .modal-close { position: sticky; top: 10px; border-radius: 50%; }

/* Focus has a white separation ring plus a dark outer ring, so it remains
   visible on both the white page and a filled button. Do not remove outlines. */
body :is(button,a,input,select,textarea,[role="button"]):focus-visible {
    outline: 3px solid var(--control-focus); outline-offset: 4px;
    box-shadow: 0 0 0 3px #fff;
}
body :is(button,a)[disabled], body button:disabled {
    background: #e3e9ec; color: #526471; border-color: #8a9ca6;
    cursor: not-allowed; box-shadow: none; opacity: 1;
}

/* Input placeholders previously inherited opacity:.7, which made the already
   pale text even lighter. Reset that inherited effect explicitly. */
body :is(input,select,textarea) { color: #173746; background: #fff; border: 1.5px solid #718d9b; }
body input::placeholder, body textarea::placeholder { color: #5a7483; opacity: 1; }
body :is(input,select,textarea):hover { border-color: #355c71; }
body :is(input,select,textarea):focus { color: #173746; border-color: #08728f; }
body input[type="date"]::-webkit-calendar-picker-indicator { filter: none; opacity: 1; }
.input-icon { color: #486577; }

/* Secondary page information remains readable; keyboard and pointer states
   are distinct without relying on an almost imperceptible tint difference. */
.site-header nav a { color: #2e5265; padding: 8px 3px; border-bottom: 2px solid transparent; }
.site-header nav a:hover { color: #07566e; border-bottom-color: #08728f; }
.header-phone:hover,.footer-phone a:hover { color: #07566e; text-decoration: underline; text-underline-offset: 4px; }
.footer-copyright { color: #4c6878; }
.testimonial-dot::after,.video-dot::after,.product-dot::after { background: #687f8b; }
.testimonial-dot:hover::after,.video-dot:hover::after,.product-dot:hover::after { background: #07566e; width: 10px; height: 10px; top: 7px; left: 7px; }
.testimonial-dot.active::after,.video-dot.active::after,.product-dot.active::after { background: #08728f; }
.stat-item:hover { transform: none; box-shadow: none; }
.comparison-table tr:hover { background: #e9f4f8; }
.feature-yes { color: #16533b; }
.feature-no { color: #98352c; }
.feature-partial { color: #735113; }

/* Responsive controls retain the same states. No hover-only labels or actions
   are introduced, so touch devices expose the complete interface by default. */
@media(max-width:1000px) { .original-copy-hero h1 { font-size: 34px; } }
@media(max-width:767px) {
    .brand .logo img { width: 155px; }
    .original-copy-hero h1 { font-size: 31px; }
    .original-copy-hero .hero-copy > p { font-size: 14px; line-height: 1.8; }
    .original-copy-hero .hero-visual { min-height: 300px; }
    .original-copy-hero .hero-actions { width: 100%; flex-direction: column; }
    .hero-actions > * { width: 100%; }
    .call-to-action { font-size: 20px; }
    .calculator-actions { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
    .calculator-actions button { font-size: 14px !important; min-height: 54px; }
    .mobile-contact button { font-size: 12px; }
    .modal-photo-nav { width: 44px; height: 44px; }
}
@media(max-width:360px) { .brand .logo img { width: 135px; } .original-copy-hero h1 { font-size: 27px; } }
@media(prefers-reduced-motion:reduce) { body :is(button,a) { transition: none; } }
