/* UNU VIVO Global Styles v3.1 - Desktop-Only Version */

/* ===== Basic Setup & Typography ===== */
:root {
    --primary-text: #2c2c2c; --secondary-text: #555; --background-color: #f7f7f7; --header-bg: #ffffff;
    --accent-color: #333; --border-color: #e0e0e0; --primary-cta-bg: #2c2c2c; --primary-cta-text: #ffffff;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0; padding: 0; background-color: var(--background-color); color: var(--primary-text);
    line-height: 1.7; font-size: 16px; 
}
h1, h2, h3, h4 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--accent-color); line-height: 1.3;
    margin-top: 0; margin-bottom: 0.75em; font-weight: 300;
}
h1 { font-size: 2.8em; } h2 { font-size: 2.2em; } h3 { font-size: 1.8em; font-weight: 400; } h4 { font-size: 1.4em; font-weight: 600; }
p { margin-top: 0; margin-bottom: 1em; } ul { margin-top: 0; padding-left: 20px; } li { margin-bottom: 0.5em; }
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease, background-color 0.3s ease; }
a:hover { color: var(--secondary-text); }

/* ===== Sticky Header & Footer ===== */
.sticky-header, .sticky-footer {
    position: sticky; width: 100%; background-color: var(--header-bg); box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 1000; padding: 10px 5%; box-sizing: border-box;
}
.sticky-header { top: 0; display: flex; justify-content: space-between; align-items: center; }
.sticky-footer {
    bottom: 0; font-size: 0.8em; color: var(--secondary-text); display: flex; justify-content: space-between;
    align-items: center; border-top: 1px solid var(--border-color); padding: 15px 5%;
}
.header-logo img { max-height: 40px; }
.footer-links { display: flex; gap: 20px; }
.footer-copyright a { color: var(--secondary-text); }
.footer-copyright a:hover { color: var(--primary-text); }

/* ===== Main Navigation (Desktop) ===== */
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 25px; }
.main-nav a { font-weight: 500; letter-spacing: 0.5px; }
.main-nav a.active { font-weight: 700; border-bottom: 2px solid var(--accent-color); padding-bottom: 4px; }

/* ===== Call to Action Buttons ===== */
.button-container { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-button {
    display: inline-block; padding: 10px 20px; text-decoration: none; border-radius: 5px;
    transition: background-color 0.3s ease; margin-right: 10px; font-weight: 600; letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
}
.cta-button.primary { background-color: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.cta-button.secondary { background-color: transparent; color: var(--primary-text); }
.cta-button:hover { opacity: 0.8; }

/* ===== Homepage Hero Section ===== */
.hero-section { background-color: #f0f0f0; text-align: center; padding: 100px 20px 120px 20px; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-section .main-tagline { font-size: 3em; font-weight: 200; }
.hero-section .sub-tagline { font-size: 1.2em; color: var(--secondary-text); max-width: 700px; margin: 20px auto 40px auto; }
.hero-cta { display: flex; justify-content: center; gap: 20px; }
.hero-cta .cta-button { padding: 15px 30px; border-width: 2px; }

/* ===== General Content Layout ===== */
.content-wrapper { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.content-section { margin-bottom: 2rem; }
.text-center-intro { text-align: center; }
.text-center-intro h2, .section-title { font-size: 2.5em; text-align: center; }
.text-center-intro p { max-width: 750px; margin-left: auto; margin-right: auto; font-size: 1.1em; color: var(--secondary-text); }

/* ===== Global Page Taglines ===== */
.page-opening-tagline { text-align: center; padding: 40px 0 20px 0; }
.page-opening-tagline h1 { font-size: 2.5em; font-weight: 200; }
.page-closing-tagline { text-align: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.page-closing-tagline h3 { font-size: 1.8em; margin-bottom: 10px; }
.page-closing-tagline p { font-size: 1.1em; color: var(--secondary-text); max-width: 600px; margin-left: auto; margin-right: auto; }

/* Sub-heading tagline under main page titles */
.sub-heading-tagline {
    font-size: 1.2em;
    font-style: italic;
    color: var(--secondary-text);
    margin: 0.5rem 0 2.5rem 0; /* Controls spacing above and below */
    padding: 0;
    text-align: center;
}

/* ===== Consolidated Icon & Logo Styling ===== */
.divider {
    text-align: center;
    margin: 3rem 0;
}
.divider img {
    max-height: 50px;
    width: auto;
    opacity: 0.5;
}
.service-card .service-icon {
    height: 35px;
    width: auto;
    margin: 0 auto 1.5rem auto;
    opacity: 0.6;
}
.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.feature-image img {
    display: block;
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    opacity: 0.6;
}

/* ===== Policy & Legal Page Styles ===== */
.commitment-pillars { margin-top: 3rem; display: grid; gap: 2.5rem; }
.pillar { background-color: #fff; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); }
.pillar h3 { font-size: 1.6em; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.policy-center { margin-top: 4rem; padding: 2rem; text-align: center; background-color: #fff; border: 1px solid var(--border-color); border-radius: 8px; }
.policy-center h2 { font-size: 2em; }
.policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 25px; margin-top: 1rem; }
.policy-links a { font-weight: 500; white-space: nowrap; }
.legal-page-content h4 { font-size: 1.5em; font-weight: 600; margin-top: 2em; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5em; }
.legal-page-content .legal-list { list-style-type: disc; padding-left: 40px; margin: 1em 0; }
.legal-page-content .legal-list li { margin-bottom: 1em; }

/* ===== Platform & Service Page Styles ===== */
.feature-section { display: flex; gap: 2rem; align-items: center; margin-bottom: 4rem; padding: 2rem; background-color: #ffffff; border: 1px solid var(--border-color); border-radius: 8px; }
.feature-section:nth-child(odd) { flex-direction: row-reverse; }
.feature-text { flex: 3; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { background-color: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; display: flex; flex-direction: column; text-align: center; }
.service-card h3 { font-size: 1.4em; font-weight: 600; margin-bottom: 1rem; }
.service-card p { color: var(--secondary-text); margin-bottom: 1rem; }
.service-card .cta-button.secondary { margin-top: auto; align-self: center; }
.service-card .price { font-size: 2.5em; font-weight: 300; color: var(--primary-text); margin: 0; }
.service-card .price-desc { font-size: 0.9em; color: var(--secondary-text); margin-bottom: 1.5rem; }

/* ===== FAQ Page Styles ===== */
.faq-container { margin-top: 2rem; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.faq-question { font-size: 1.3em; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5em; font-weight: 300; transition: transform 0.3s ease; }
.faq-item[open] > .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding-top: 1.5rem; color: var(--secondary-text); line-height: 1.8; }
.faq-answer ul { list-style-type: disc; padding-left: 20px; }

/* ===== Checkout Page & Payment Buttons ===== */
.checkout-layout { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.checkout-form { flex: 2; min-width: 320px; }
.order-summary { flex: 1; background-color: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; height: fit-content; }
.form-input { width: 100%; padding: 12px; margin-bottom: 1.5rem; border: 1px solid var(--border-color); border-radius: 4px; font-size: 1em; box-sizing: border-box; }
.checkout-form .cta-button.primary { display: block; margin-top: 1.5rem; width: 100%; text-align: center; padding: 18px; }
.payment-options { border: 1px solid var(--border-color); border-radius: 4px; padding: 1rem; margin-bottom: 1.5rem; }
.payment-button {
    width: 100%; padding: 15px; border-radius: 4px; color: #fff; font-weight: 600; font-size: 1em;
    text-align: center; cursor: pointer; margin-bottom: 1rem; box-sizing: border-box; border: none;
    display: flex; justify-content: center; align-items: center;
}
.payment-button:last-child { margin-bottom: 0; }
.payment-button.paypal { background-color: #00457C; }
.payment-button.card { background-color: #5469d4; }
.payment-logo { height: 1em; margin-right: 0.5rem; }

/* NO MOBILE STYLES ARE INCLUDED IN THIS VERSION */
/* ===== Consent Form Styles ===== */
.consent-form {
    margin-top: 2rem;
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.consent-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2rem 0;
}
.consent-agreement input[type="checkbox"] {
    margin-top: 5px;
    flex-shrink: 0;
}
.consent-form .cta-button.primary {
    width: 100%;
    text-align: center;
}
/* ===== Form Dropdown Style ===== */
.consent-form select.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}
/* ===== Manifesto & Corrected Footer Styles ===== */

/* Homepage Hero Excerpt */
.manifesto-excerpt {
    margin: 30px 0 40px 0;
    font-size: 1.3em;
    font-style: italic;
    line-height: 1.6;
    color: var(--secondary-text);
}

/* Full Manifesto on About Page */
.manifesto-full {
    text-align: center;
    margin: 40px auto 60px auto;
    max-width: 600px;
}
.manifesto-full p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--secondary-text);
}
/* ===== Clean One-Line Sticky Footer Layout ===== */
.sticky-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 10px 5%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    border-top: 1px solid var(--border-color);
}

/* Optional max-width container */
.footer-content {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* fallback for small screens */
    gap: 1rem;
}

/* Left-aligned links */
.footer-links {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-start;
}

/* Center-aligned tagline */
.footer-tagline {
    flex: 1;
    text-align: center;
    font-style: italic;
    color: var(--secondary-text);
    font-size: 1.05em;
    white-space: nowrap;
}

/* Right-aligned copyright */
.footer-copyright {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    font-size: 0.9em;
}
.footer-links a,
.footer-copyright a {
    color: var(--secondary-text);
    font-weight: 500;
    text-decoration: none;
}
.footer-links a:hover,
.footer-copyright a:hover {
    color: var(--primary-text);
}
/* ===== Make Header & Footer Static on Small Screens ===== */
@media (max-width: 768px) {
  .sticky-header,
  .sticky-footer {
    position: static !important;
    box-shadow: none; /* optional: remove shadow on scroll */
  }
}
@media only screen and (max-width: 768px) {
  .sticky-header,
  .sticky-footer {
    position: relative !important;
    top: unset !important;
    bottom: unset !important;
    z-index: auto !important;
    box-shadow: none !important;
  }

  body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
/* =================================
   Final Tagline Spacing & Style Fix
   ================================= */

/* This reduces the space below the main taglines on BOTH Home and About pages */
.hero-section .main-tagline,
.page-opening-tagline h1 {
    margin-bottom: 0.5rem; /* Reduces space below the main headline */
}

/* This is the corrected style for the new descriptive line */
.sub-heading-tagline {
    font-size: 1rem;      /* Sets text to a smaller, standard size */
    font-weight: 400;     /* Makes the font slightly less bold */
    font-style: italic;
    color: var(--secondary-text);
    margin: 0 0 2.5rem 0; /* No top margin, creating tight spacing */
    padding: 0;
    text-align: center;
}