/* ==========================================================================
   CONFIRA BRAND DESIGN SYSTEM & STYLESHEET
   Colors extracted from brand guidelines:
   - Primary Deep Teal: #48887b
   - Secondary Green-Teal: #5ca47a
   - Accent Warm Gold: #cfa14c
   - Neutral Dark Gray: #727376 (and #1f2122 for text)
   - Neutral Light Gray: #bdbfc1 (and #f4f6f5 for backgrounds)
   ========================================================================== */

:root {
    --primary: #48887b;
    --primary-light: #5f9e91;
    --primary-dark: #376e63;
    --secondary: #5ca47a;
    --secondary-light: #72ba90;
    --accent: #cfa14c;
    --neutral-dark: #727376;
    --neutral-light: #bdbfc1;
    
    --bg-dark: #1f2122;
    --bg-light: #f4f6f5;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    
    --text-color: #2c3133;
    --text-muted: #5e6569;
    --text-light: #f4f6f5;
    
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --shadow-soft: 0 10px 30px rgba(72, 136, 123, 0.05);
    --shadow-medium: 0 20px 40px rgba(44, 49, 51, 0.08);
    --shadow-hover: 0 30px 60px rgba(72, 136, 123, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-quick);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(72, 136, 123, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 136, 123, 0.35);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-medium);
}

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

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(244, 246, 245, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(189, 191, 193, 0.15);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(72, 136, 123, 0.1);
    box-shadow: var(--shadow-soft);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-quick);
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-quick);
}

/* Hero Section */
.hero-section {
    padding: 10rem 2rem 6rem 2rem;
    background: radial-gradient(circle at 80% 20%, rgba(92, 164, 122, 0.08) 0%, rgba(244, 246, 245, 0) 60%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: rgba(72, 136, 123, 0.08);
    color: var(--primary-dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(92, 164, 122, 0.2);
    z-index: -1;
    border-radius: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* Hero Gallery Structure (Mimicking Sun Over Reference layout) */
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    position: relative;
    height: 480px;
    align-items: center;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-left {
    transform: translateY(30px);
}

.col-center {
    transform: translateY(-20px);
}

.col-right {
    transform: translateY(15px);
}

.gallery-card {
    position: relative;
    border-radius: 200px; /* Capsule shape */
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 6px solid var(--bg-white);
    transition: var(--transition-smooth);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.card-small {
    height: 300px;
}

.card-tall {
    height: 400px;
}

.card-medium {
    height: 350px;
}

.gallery-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.card-badge.badge-bottom {
    top: auto;
    bottom: 30px;
}

.card-badge.badge-middle {
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-dark);
}

/* Value Proposition Section (Diferenciais) */
.diferenciais-section {
    padding: 6rem 2rem;
    background-color: var(--bg-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.split-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--bg-dark);
    margin-bottom: 2rem;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: auto;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(72, 136, 123, 0.08);
    transition: var(--transition-smooth);
}

.arrow-link:hover .arrow-circle {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateX(5px);
}

/* Right-side Value Cards */
.value-cards {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.value-card {
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(189, 191, 193, 0.25);
    transition: var(--transition-smooth);
}

.value-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(72, 136, 123, 0.06);
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.05);
}

.value-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.value-content p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Pain Section (Danger/Os Riscos) */
.danger-section {
    padding: 7rem 2rem;
    background-color: var(--bg-light);
}

.danger-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.danger-content {
    display: flex;
    flex-direction: column;
}

.danger-title {
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.danger-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.danger-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.danger-step {
    display: flex;
    gap: 2rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neutral-light);
    line-height: 1;
    position: relative;
}

.step-num::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background-color: rgba(189, 191, 193, 0.3);
}

.danger-step:last-child .step-num::after {
    display: none;
}

.step-body h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Overlapping Visual Blocks */
.danger-visual {
    position: relative;
    height: 400px;
}

.overlapping-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.overlap-card {
    position: absolute;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.overlap-card.primary-card {
    width: 80%;
    height: 320px;
    top: 0;
    left: 0;
    z-index: 1;
    border: 6px solid var(--bg-white);
}

.overlap-card.primary-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlap-card.secondary-card {
    width: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 1.8rem;
    border: 6px solid var(--bg-white);
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.overlap-card.secondary-card p {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.overlap-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Services Grid (Como Atuamos) */
.services-section {
    padding: 7rem 2rem;
    background-color: var(--bg-white);
}

.section-header-center {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem auto;
}

.section-tag {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 1rem;
}

.section-title-center {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.section-subtitle-center {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: 24px;
    padding: 2.5rem 1.8rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(189, 191, 193, 0.15);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-step-label {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-light);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background-color: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
}

.service-subtitle {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    min-height: 4.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-benefit {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    border-top: 1px solid rgba(189, 191, 193, 0.25);
    padding-top: 1.2rem;
    color: var(--text-color);
}

.service-benefit strong {
    color: var(--primary-dark);
}

.service-card:hover {
    background-color: var(--bg-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(72, 136, 123, 0.25);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* About Section */
.about-section {
    padding: 7rem 2rem;
    background-color: var(--bg-light);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-badge-card {
    background-color: var(--bg-white);
    border-radius: 32px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(189, 191, 193, 0.2);
    text-align: center;
}

.brand-visual-accent {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem auto;
    border-radius: 50%;
    background-color: rgba(72, 136, 123, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary);
}

.brand-visual-accent img {
    width: 60%;
    height: auto;
}

.about-badge-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.about-badge-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-paragraph {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--bg-dark);
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary);
}

/* CTA Banner Section */
.cta-banner-section {
    padding: 5rem 2rem 8rem 2rem;
    background-color: var(--bg-light);
}

.cta-banner-card {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--primary);
    border-radius: 32px;
    padding: 5rem;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 164, 122, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -250px;
    right: -100px;
    z-index: 0;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-banner-content h2 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.cta-banner-content p {
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
    opacity: 0.9;
}

/* Inline CTA Form */
.cta-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-form .form-group {
    flex: 1;
    min-width: 180px;
}

.cta-form input {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-white);
    color: var(--text-color);
    outline: none;
}

.cta-form input::placeholder {
    color: var(--neutral-light);
}

.form-feedback-success {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--bg-white);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-block;
}

/* Footer Styles */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 2rem 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 5rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 52px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-weight: 500;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.4;
    margin-top: auto;
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

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

.footer-links-col a {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--secondary-light);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact-col p {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-quick);
}

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

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 33, 34, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: 32px;
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--neutral-light);
    cursor: pointer;
    transition: var(--transition-quick);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-block label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--bg-dark);
}

.form-group-block input,
.form-group-block select {
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(189, 191, 193, 0.5);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.form-group-block input:focus,
.form-group-block select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(72, 136, 123, 0.15);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container,
    .section-header-split,
    .danger-wrapper,
    .about-grid,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-gallery {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .split-left {
        gap: 2rem;
    }
    
    .arrow-link {
        margin-top: 1rem;
    }
    
    .danger-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.5rem 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-medium);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        border-top: 1px solid rgba(189, 191, 193, 0.15);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: var(--transition-smooth);
        visibility: hidden;
    }
    
    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-gallery {
        display: none;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-banner-card {
        padding: 3rem 2rem;
    }
    
    .cta-banner-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-form {
        border-radius: 24px;
        flex-direction: column;
    }
    
    .cta-form .form-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-subtitle {
        min-height: auto;
    }
    
    .hero-gallery {
        height: 380px;
    }
    
    .card-small { height: 220px; }
    .card-tall { height: 320px; }
    .card-medium { height: 270px; }
}
