/* 
   SAL Energia Website Style Sheet
   Professional, Corporate, and Minimalist Design
   Clean layout, thin borders, ample white space, and premium shadows.
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* --- CUSTOM PROPERTIES --- */
:root {
    --color-orange: #f26522;
    --color-red: #d2232a;
    --color-dark: #302e2f;
    --color-dark-lighter: #3f3c3d;
    --color-white: #ffffff;
    --color-light-bg: #f9f9f9;
    --color-border: rgba(48, 46, 47, 0.08);
    --color-text-muted: rgba(48, 46, 47, 0.7);
    
    --font-heading: 'Roboto Flex', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1200px;
    --header-height: 85px;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* --- BASE STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-dark);
}

.text-orange {
    color: var(--color-orange) !important;
}

.text-white {
    color: var(--color-white) !important;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-orange);
    display: inline-block;
    margin-bottom: 1.25rem;
}

/* --- LAYOUTS --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

/* Section Backgrounds */
.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--color-white);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-light {
    background-color: var(--color-light-bg);
}

.bg-orange {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.bg-orange h1, .bg-orange h2, .bg-orange h3, .bg-orange h4 {
    color: var(--color-white);
}

/* Section Header block */
.section-header {
    margin-bottom: 4.5rem;
    max-width: 800px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 850;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

.bg-dark .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Grid helper */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
}

.align-items-center {
    align-items: center;
}

@media (max-width: 1023px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    section {
        padding: 5rem 0;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-red);
    box-shadow: 0 8px 24px rgba(210, 35, 42, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-secondary-dark {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-secondary-dark:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-orange);
}

.btn-white:hover {
    color: var(--color-red);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

/* --- HEADER & NAVIGATION (WHITE BACKGROUND) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(48, 46, 47, 0.04);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    height: 75px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 48px;
    width: auto;
    transition: all var(--transition-normal);
}

.site-header.scrolled .site-logo img {
    height: 40px;
}

/* Desktop navigation links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    color: var(--color-dark);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header right controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

/* Language selector */
.lang-selector {
    display: flex;
    gap: 0.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color var(--transition-fast);
}

.lang-btn.active {
    color: var(--color-orange);
    border-bottom: 2px solid var(--color-orange);
}

.lang-btn:hover {
    color: var(--color-dark);
}

/* Hamburger toggle (Dark lines on White bg) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-dark);
    margin: 6px 0;
    transition: all var(--transition-normal);
}

/* --- MOBILE NAVIGATION DRAWER --- */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 6.5rem 2.25rem 2.25rem 2.25rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-normal);
}

.mobile-nav-panel.open {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(48, 46, 47, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav-link {
    color: var(--color-dark);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--color-orange);
}

.mobile-nav-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav-actions .lang-selector {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

/* Hamburger active animation */
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1023px) {
    .nav-menu, .header-actions .btn {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* --- HERO SECTIONS (PROFESSIONAL OVERLAYS) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(48, 46, 47, 0.85) 0%, rgba(48, 46, 47, 0.65) 60%, rgba(48, 46, 47, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 850px;
    color: var(--color-white);
    padding-top: calc(var(--header-height) * 0.5); /* Offset center to account for fixed header visual area */
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2.25rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

/* Internal page hero */
.hero-internal {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 6rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-internal-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.hero-internal-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.hero-internal-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .hero-internal {
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 4rem;
    }
    .hero-internal-title {
        font-size: 2.25rem;
    }
}

/* --- MINIMALIST CORPORATE CARDS --- */
.card-service {
    background-color: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.card-service:hover {
    transform: translateY(-6px);
    border-color: var(--color-orange);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--color-orange);
}

.card-service-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.card-service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Partnerships Card */
.card-partner {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.card-partner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-orange);
}

.card-partner-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.card-partner-title svg {
    width: 24px;
    height: 24px;
    fill: var(--color-orange);
}

.card-partner-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* Visão, Missão, Valores Card */
.card-vmv {
    background-color: var(--color-white);
    padding: 3rem 2.25rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.card-vmv-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 0.75rem;
}

.card-vmv-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-orange);
}

.card-vmv-content {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-vmv-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-vmv-list li {
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

.card-vmv-list li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--color-orange);
}

/* Minimal Commitments block */
.commitment-block {
    text-align: left;
    padding: 1rem;
}

.commitment-icon svg {
    width: 44px;
    height: 44px;
    fill: var(--color-orange);
}

.commitment-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 1.25rem 0 1rem 0;
}

.commitment-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- STATS SECTION --- */
.stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* --- CITATIONS & ALTERNATING IMAGES --- */
.quote-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 7rem;
}

.quote-row:last-child {
    margin-bottom: 0;
}

.quote-row:nth-child(even) {
    flex-direction: row-reverse;
}

.quote-image-container {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    aspect-ratio: 16/10;
}

.quote-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.quote-image-container:hover .quote-image {
    transform: scale(1.04);
}

.quote-content {
    flex: 1.2;
}

.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 1.75rem;
    line-height: 1.7;
    position: relative;
    padding-left: 2rem;
}

.quote-text::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: rgba(242, 101, 34, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-author {
    font-family: var(--font-heading);
}

.quote-author-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-dark);
}

.quote-author-role {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

@media (max-width: 900px) {
    .quote-row, .quote-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4.5rem;
    }
    .quote-image-container {
        width: 100%;
    }
}

/* --- CONTACT SECTION & FORM --- */
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(242, 101, 34, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-orange);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-orange);
}

.contact-info-text h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info-text a:hover {
    color: var(--color-orange);
}

/* Form inputs styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 750;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.15rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-light-bg);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-orange);
    outline: none;
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* --- FOOTER (DARK & SLEEK) --- */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer h3, .site-footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--color-orange);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.65);
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

.social-link:hover {
    background-color: var(--color-orange);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-orange);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--color-orange);
}

.footer-contact-icon {
    color: var(--color-orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--color-orange);
}

.group-sal-logo {
    display: block;
    margin-top: 1rem;
    max-width: 140px;
    height: auto;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.group-sal-logo:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* --- FINAL CTA GRADIENT (CORPORATE SHADE) --- */
.cta-gradient-section {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-red) 100%);
    padding: 7.5rem 0;
    text-align: center;
    color: var(--color-white);
}

.cta-gradient-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .cta-gradient-title {
        font-size: 2rem;
    }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Delay Helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* --- MODAL DIALOGS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(48, 46, 47, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--color-white);
    padding: 3.5rem 3rem;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-success-icon {
    font-size: 3.5rem;
    color: var(--color-orange);
    margin-bottom: 1.25rem;
    line-height: 1;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.modal-desc {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Privacy policy text content layout */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.4rem;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}
