/* Reserve scrollbar gutter so opening modals (which lock body scroll)
   does not shift the page layout horizontally. */
html { scrollbar-gutter: stable; }

/* ===== CSS Variables ===== */
:root {
    /* Brand Colors */
    --valoriza-blue: #003F87;
    --valoriza-blue-dark: #00306a;
    --valoriza-green: #00C031;
    --valoriza-green-light: #00e03a;
    
    /* Semantic Colors */
    --background: #f7faf8;
    --foreground: #0a1a12;
    --card: #ffffff;
    --card-foreground: #0a1a12;
    --primary: #003F87;
    --primary-foreground: #ffffff;
    --secondary: #00C031;
    --secondary-foreground: #ffffff;
    --muted: #eef2f0;
    --muted-foreground: #4a6355;
    --accent: #e8f5ec;
    --border: #dce5e0;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -4px rgba(0, 63, 135, 0.15);
    --shadow-elevated: 0 12px 40px -8px rgba(0, 63, 135, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 192, 49, 0.3);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #003F87 0%, #00306a 50%, #00542a 100%);
    --gradient-accent: linear-gradient(135deg, #00C031 0%, #00e03a 100%);
    
    /* Spacing */
    --radius: 0.75rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.text-secondary {
    color: var(--secondary);
}

.w-full {
    width: 100%;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-primary:hover {
    background-color: var(--valoriza-green-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-glow);
}

.btn-secondary:hover {
    background-color: var(--valoriza-green-light);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--muted);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0, 63, 135, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo img {
    height: 48px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-foreground);
    opacity: 0.9;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-foreground);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    background-color: var(--valoriza-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.75rem 0;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-contact i {
    margin-right: 0.5rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.85;
}

.hero-decoration-1,
.hero-decoration-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration-1 {
    top: 5rem;
    right: 2.5rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(0, 192, 49, 0.2);
}

.hero-decoration-2 {
    bottom: 10rem;
    left: 2.5rem;
    width: 12rem;
    height: 12rem;
    background-color: rgba(0, 192, 49, 0.15);
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 48rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 192, 49, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 192, 49, 0.3);
    color: var(--secondary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 42rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(0, 192, 49, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10rem;
    background: linear-gradient(to bottom, transparent, rgba(247, 250, 248, 0.5), var(--background));
}

/* Scroll Indicator Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: fadeIn 0.5s ease-out 1s both;
}

.scroll-indicator-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    animation: bounceArrow 1.5s ease-in-out infinite;
    transition: background-color 0.3s ease;
}

.scroll-indicator-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 192, 49, 0.1);
    border: 1px solid rgba(0, 192, 49, 0.2);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-badge i {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 192, 49, 0.1);
    border-radius: 4px;
    color: var(--secondary);
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* ===== Section Decorations ===== */
.section-decoration-1,
.section-decoration-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.section-decoration-1 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: rgba(0, 192, 49, 0.05);
    transform: translate(50%, -50%);
}

.section-decoration-2 {
    bottom: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    background-color: rgba(0, 63, 135, 0.05);
    transform: translate(-50%, 50%);
}

/* ===== Services Section ===== */
.services {
    background-color: var(--background);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: rgba(0, 192, 49, 0.03);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(25%, -33%);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: rgba(0, 63, 135, 0.03);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(-25%, 33%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card);
    border: 1px solid rgba(220, 229, 224, 0.4);
    border-radius: var(--radius);
    padding: 1.75rem;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: -4rem;
    right: -4rem;
    width: 10rem;
    height: 10rem;
    background: linear-gradient(135deg, rgba(0, 192, 49, 0.08), rgba(0, 63, 135, 0.04));
    border-radius: 50%;
    filter: blur(2rem);
    transition: all 0.5s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(0, 192, 49, 0.3);
    box-shadow: var(--shadow-elevated);
    transform: translateY(-4px) scale(1.02);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 192, 49, 0.25);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--secondary);
}

.service-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ===== About Section ===== */
.about {
    background-color: var(--muted);
}

.about-decoration-1,
.about-decoration-2 {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    opacity: 0.05;
}

.about-decoration-1 {
    top: 2.5rem;
    left: 2.5rem;
    width: 10rem;
    height: 10rem;
    border-color: var(--secondary);
}

.about-decoration-2 {
    bottom: 5rem;
    right: 5rem;
    width: 15rem;
    height: 15rem;
    border-color: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

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

.about-badge {
    display: inline-block;
    background-color: rgba(0, 192, 49, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.about-content h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-content p strong {
    color: var(--foreground);
}

.location-card {
    margin-top: auto;
    padding: 1.25rem;
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.location-card h4 {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.location-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0;
}

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

.value-card {
    padding: 1.25rem;
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(0, 192, 49, 0.3);
    box-shadow: var(--shadow-elevated);
}

.value-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: rgba(0, 192, 49, 0.1);
}

.value-icon i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.value-card h4 {
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.value-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: flex-start;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    opacity: 1 !important;
    transform: none !important;
}

.contact-card:hover {
    border-color: rgba(0, 192, 49, 0.3);
    box-shadow: var(--shadow-soft);
}

.contact-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.contact-details h4 {
    color: var(--foreground);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-details a,
.contact-details p,
.contact-details .email-button {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-details a:hover,
.contact-details .email-button:hover {
    color: var(--secondary);
}

/* Email button styled as link */
.email-button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

/* Footer email button */
.footer-email-button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-email-button:hover {
    color: var(--secondary);
}

.cta-card {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 1.25rem;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background-color: rgba(0, 192, 49, 0.2);
    border-radius: 50%;
    filter: blur(40px);
}

.cta-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.form-card {
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elevated);
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.form-card form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--muted);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    color: var(--foreground);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23003F87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:invalid,
.form-group select option[disabled] {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-card form > .form-group {
    flex: 1;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
    flex: 1;
    height: 100%;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(0, 192, 49, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.form-message.error {
    display: block;
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid #dc2626;
}

/* ===== Map Section ===== */
.map-section {
    margin-top: 3rem;
}

.map-card {
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background-color: rgba(0, 192, 49, 0.05);
    border-bottom: 1px solid var(--border);
}

.map-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(0, 192, 49, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-icon i {
    color: var(--secondary);
}

.map-info h3 {
    color: var(--foreground);
    font-size: 1.125rem;
}

.map-info p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.map-card iframe {
    filter: grayscale(30%);
    transition: filter 0.5s ease;
}

.map-card iframe:hover {
    filter: grayscale(0%);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr minmax(220px, 1.2fr) 1.5fr;
    gap: 2.5rem;
    padding: 4rem 0;
}

.footer-logo {
    height: 4rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
}

.footer h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-services li {
    display: grid;
    grid-template-columns: 0.75rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-services i {
    color: var(--secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.1rem;
}

.footer-services li span {
    display: block;
    line-height: 1.45;
    text-wrap: pretty;
}

.footer-services li span.footer-service-nowrap {
    white-space: nowrap;
}

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-contact i {
    color: var(--secondary);
    margin-top: 0.25rem;
}

.newsletter {
    margin-top: 2rem;
}

.newsletter h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-foreground);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-form button {
    padding: 0.625rem 0.875rem;
    background-color: var(--secondary);
    border: none;
    border-radius: var(--radius);
    color: var(--secondary-foreground);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button i {
    color: var(--secondary-foreground);
}

.newsletter-form button:hover {
    background-color: var(--valoriza-green-light);
}

.newsletter-consent {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.newsletter-consent a,
.footer-contact .newsletter-consent a {
    display: inline;
    align-items: initial;
    gap: 0;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.newsletter-consent a:hover,
.footer-contact .newsletter-consent a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--secondary);
}

.footer-cookie-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-cookie-link:hover {
    color: var(--secondary);
}

.footer-cookie-link i {
    color: var(--secondary);
}

/* reCAPTCHA Disclaimer */
.recaptcha-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    display: block;
}

.recaptcha-disclaimer a {
    color: inherit;
    text-decoration: underline;
}

.recaptcha-disclaimer a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer credit (inbli) */
.footer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}
.footer-credit-link:hover { color: rgba(255,255,255,0.9); }
.footer-credit-logo {
    height: 22px;
    line-height: 22px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #fff;
    display: inline-flex;
    align-items: center;
}
.footer-credit-logo sup { font-size: 9px; font-weight: 500; margin-left: 1px; }
.footer-bottom-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}
.footer-bottom-row--credits {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 640px) {
    .footer-bottom-row { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* Hide reCAPTCHA badge (using badge=inline with text attribution in footer) */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    position: fixed !important;
    right: -9999px !important;
    bottom: -9999px !important;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--card);
    border-radius: var(--radius);
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 201;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Gradient Header */
.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 192, 49, 0.1), rgba(0, 63, 135, 0.05), rgba(0, 192, 49, 0.1));
}

.modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--card));
    pointer-events: none;
}

.modal-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 192, 49, 0.25);
    position: relative;
    z-index: 1;
}

.modal-icon i {
    font-size: 1.5rem;
    color: white;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--foreground);
    flex: 1;
    position: relative;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2;
}

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

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

/* Image + Description Grid */
.modal-content-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.modal-image {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
}

.modal-description {
    display: flex;
    align-items: center;
}

.modal-description p {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Tags Section */
.modal-tags-section h4 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.modal-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background-color: rgba(0, 192, 49, 0.08);
    border: 1px solid rgba(0, 192, 49, 0.15);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.modal-tag:hover {
    background-color: var(--accent);
    border-color: rgba(0, 192, 49, 0.25);
    transform: scale(1.05);
}

.modal-tag i {
    font-size: 0.75rem;
    color: var(--secondary);
}

/* Divider */
.modal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-bottom: 1.25rem;
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
}

.modal-footer .btn {
    flex: 1;
}

.modal-footer .btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--valoriza-green-light));
    box-shadow: 0 4px 15px rgba(0, 192, 49, 0.3);
}

.modal-footer .btn-secondary:hover {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(0, 192, 49, 0.4);
}

/* Responsive Modal */
@media (max-width: 640px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        height: 9rem;
    }
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--card);
    border: 1px solid var(--secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevated);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 300;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 6rem;
        min-height: 100vh;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-bottom-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        grid-column: auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--muted);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== Legal Pages ===== */
.legal-header {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 2rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary);
}

.legal-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.legal-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.legal-content {
    padding: 3rem 0;
    min-height: calc(100vh - 250px);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.legal-section h2 i {
    color: var(--secondary);
}

.legal-section p {
    color: var(--muted-foreground);
    line-height: 1.8;
}

.legal-section a {
    color: var(--primary);
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.legal-list li {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    list-style: disc;
}

.cookie-categories-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.category-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(0, 192, 49, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.category-icon.muted {
    background: var(--muted);
    color: var(--muted-foreground);
}

.category-content h3 {
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.category-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-card-legal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-card-legal h4 {
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.contact-card-legal ul {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-card-legal li {
    margin-bottom: 0.25rem;
}

.legal-footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1.5rem 0;
    text-align: center;
}

.legal-footer p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Email link in cookie modal */
.cookie-modal .email-link {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}

.cookie-modal .email-link:hover {
    text-decoration: underline;
}

/* Email button in legal pages */
.email-button {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}

.email-button:hover {
    text-decoration: underline;
}

/* ===== Hamburger Dropdown Menu ===== */
.hamburger-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hamburger-btn {
    background: transparent;
    border: none;
    color: var(--primary-foreground);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.hamburger-btn:hover {
    opacity: 1;
    color: var(--secondary);
}

.hamburger-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    box-shadow: 
        var(--shadow-elevated),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.hamburger-dropdown.active .hamburger-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--foreground);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
    line-height: 1.25;
    margin: 0;
}

.menu-item:hover {
    background: var(--muted);
}

.menu-item i {
    width: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.menu-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem 0.25rem;
    font-size: 0.7rem;
    color: var(--muted-foreground);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.25;
}

.menu-label i {
    font-size: 0.65rem;
}

.menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.375rem 1rem;
}

/* ===== Mobile Menu Additional Styles ===== */
.mobile-section {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.mobile-menu-link:hover {
    color: var(--secondary);
}

.mobile-menu-link i {
    width: 1rem;
    font-size: 0.75rem;
}

.mobile-lang-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--secondary);
}

/* ===== Newsletter Pages - Unified Layout ===== */
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Status Card */
.status-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    animation: fadeIn 0.4s ease-out;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.status-icon.success { color: var(--valoriza-green); }
.status-icon.error { color: #f59e0b; }
.status-icon.loading { color: var(--valoriza-green); }

.status-card h2 {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.status-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Profile Form */
.profile-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    animation: fadeIn 0.4s ease-out;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.form-section-title i {
    color: var(--secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23003F87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 12px 8px;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group input:disabled,
.form-group select:disabled {
    background: var(--muted);
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Interests Checkboxes */
.interests-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .interests-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.interest-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--foreground);
}

.interest-checkbox input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--secondary);
}

/* Danger Button Outline */
.btn-danger-outline {
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.btn-danger-outline:hover {
    background: #fef2f2;
}

/* Farewell Card */
.farewell-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    animation: fadeIn 0.4s ease-out;
}

.farewell-icon {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.farewell-message {
    color: var(--muted-foreground);
    line-height: 1.8;
    font-style: italic;
    white-space: pre-line;
}

/* Action Buttons in Status Card */
.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Links in Newsletter Pages */
.newsletter-container a {
    color: var(--primary);
}

.newsletter-container a:hover {
    text-decoration: underline;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Data Saved Card */
.data-saved-card {
    text-align: center;
    padding: 2rem;
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 2rem;
    animation: fadeIn 0.4s ease-out;
}

.data-saved-card i {
    font-size: 2.5rem;
    color: var(--valoriza-green);
    margin-bottom: 1rem;
}

.data-saved-card h3 {
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.data-saved-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ============================================================
   ============= SHOWCASE STYLES (Hero/Services/About) ========
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

:root {
    --vshow-blue: #003F87;
    --vshow-green: #00C031;
    --vshow-muted: #64748b;
    --vshow-border: #e2e8f0;
}

@keyframes slideIn {
    0%   { opacity: 0; transform: translateY(30px); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}


/* Reveal */
.appear { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: 1s cubic-bezier(0.4,0,0.2,1); }
.appear.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.grow { transform: scale(0.95); opacity: 0; transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.grow.visible { transform: scale(1); opacity: 1; }

/* Glass card + flashlight */
.glass-card {
    background: white;
    border: 1px solid var(--vshow-border);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    transition: 0.5s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    cursor: pointer;
    width: 100%;
    font: inherit;
    color: inherit;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,63,135,0.1);
    border-color: var(--vshow-green);
}
.glass-card::after {
    content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s;
    background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(0,192,49,0.08), transparent 40%);
    pointer-events: none;
}
.glass-card:hover::after { opacity: 1; }

.glass-card .card-icon {
    width: 60px; height: 60px; border-radius: 18px;
    background: rgba(0,192,49,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--vshow-green); font-size: 1.5rem;
    flex-shrink: 0;
}
.glass-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; font-size: 1.25rem; color: var(--vshow-blue); margin: 0;
}
.glass-card .card-text { color: var(--vshow-muted); line-height: 1.6; font-size: 0.95rem; margin: 0; }
.glass-card .card-link {
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase; color: var(--vshow-green);
    text-decoration: none; display: flex; align-items: center; gap: 0.5rem; margin-top: auto;
}
.glass-card .card-link i { transition: 0.3s; }
.glass-card:hover .card-link i { transform: translateX(5px); }

/* ===== Hero Showcase ===== */
.hero-showcase {
    position: relative;
    z-index: 20;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 1.5rem 7rem;
}
.hero-showcase-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-showcase-overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to right, rgba(0,48,106,0.95), rgba(0,63,135,0.8) 50%, rgba(0,192,49,0.3));
    backdrop-filter: blur(3px);
}
.hero-showcase-grid {
    display: flex; flex-direction: column; gap: 2.5rem; align-items: center;
}
@media (min-width: 1024px) {
    .hero-showcase-grid { flex-direction: row; }
    .hero-showcase-text, .hero-stack { width: 50%; }
}
.hero-showcase-text .hero-badge {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: transparent; border: none; padding: 0;
    margin-bottom: 1.5rem; color: white;
    animation: slideIn 0.8s ease-out 0.1s both;
}
.hero-badge-line { width: 3rem; height: 1px; background: var(--vshow-green); display: inline-block; }
.hero-badge-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: white; }
.hero-badge i { color: var(--vshow-green); }
.hero-stack-title { display: flex; flex-direction: column; align-items: flex-start; line-height: 0.85; margin: 0; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: -0.02em; }
.hs-line-1 {
    font-family: 'Oswald', sans-serif; font-weight: 700; color: white;
    font-size: 4.5rem; text-shadow: 0 4px 20px rgba(0,0,0,0.2); line-height: 0.85;
    animation: slideIn 0.8s ease-out 0.2s both;
}
.hs-stack-right { display: flex; flex-direction: column; align-items: flex-end; width: fit-content; }
.hs-stroke {
    font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 0.85;
    font-size: 3rem; -webkit-text-stroke: 1.5px var(--vshow-green); color: transparent;
    animation: slideIn 0.8s ease-out 0.4s both;
}
.hs-stack-right .hs-stroke:nth-child(2) { animation-delay: 0.5s; }
@media (min-width: 768px) {
    .hs-line-1 { font-size: 6.5rem; }
    .hs-stroke { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
    .hs-line-1 { font-size: 8rem; }
    .hs-stroke { font-size: 5.5rem; }
}
.hero-showcase-text .hero-description {
    color: rgba(255,255,255,0.9); font-size: 1rem; margin: 2rem 0; max-width: 28rem;
    line-height: 1.6; font-weight: 500; font-family: 'Inter', sans-serif;
    animation: slideIn 0.8s ease-out 0.6s both;
}
.hero-desc-accent { color: var(--vshow-green); font-weight: 700; }
.hero-showcase-text .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 28rem;
    animation: slideIn 0.8s ease-out 0.8s both;
}
.hero-showcase-text .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.875rem;
    font-size: clamp(0.72rem, 2.5vw, 0.95rem);
    line-height: 1.2;
    text-align: center;
}
.hero-showcase-text .hero-buttons .btn i { flex-shrink: 0; }
.hero-showcase-text .hero-buttons .btn span { display: block; }
@media (min-width: 768px) {
    .hero-showcase-text .hero-description { font-size: 1.125rem; }
    .hero-showcase-text .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        width: auto;
        max-width: none;
    }
    .hero-showcase-text .hero-buttons .btn {
        width: auto;
        min-height: 2.75rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

/* Stack 3D */
.hero-stack {
    width: 100%; height: 500px; position: relative;
    display: flex; align-items: center; justify-content: center;
    perspective: 2000px;
}
@media (min-width: 1024px) { .hero-stack { height: 700px; } }
.hero-panel {
    position: absolute; border-radius: 1.5rem; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.4);
    background: #f1f5f9; cursor: pointer; z-index: 10;
    transition: 0.7s cubic-bezier(0.25,1,0.5,1);
}
.hero-panel img, .hero-panel video {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 2s;
}
.hero-panel:hover { z-index: 40; }
.hero-panel video { pointer-events: none; }

.hero-p1 { left: 5%; top: 15%; width: 45%; height: 60%; transform: rotate(-6deg); filter: grayscale(1); }
.hero-p1:hover { transform: rotate(0) scale(1.1); filter: grayscale(0); box-shadow: 0 20px 50px rgba(0,192,49,0.3); }
.hero-p1 img { object-position: center 30%; }
.hero-p1-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,63,135,0.4), transparent); mix-blend-mode: multiply; opacity: 0.5; }

.hero-p2 { right: 5%; bottom: 15%; width: 40%; height: 55%; transform: rotate(6deg); filter: grayscale(1); }
.hero-p2:hover { transform: rotate(-2deg) scale(1.1); filter: grayscale(0); box-shadow: 0 20px 50px rgba(0,63,135,0.4); }
.hero-p2-overlay { position: absolute; inset: 0; background: rgba(0,192,49,0.2); mix-blend-mode: overlay; }
.hero-ping { position: absolute; top: 1rem; right: 1rem; width: 12px; height: 12px; background: var(--vshow-green); border-radius: 50%; }
.hero-ping-anim { animation: pingFx 1.5s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes pingFx { 75%,100% { transform: scale(2.5); opacity: 0; } }

.hero-p3 {
    left: 15%; top: -5%; width: 60%; height: 100%;
    border-radius: 2rem; border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 30px 60px rgba(0,63,135,0.3); z-index: 30;
}
.hero-p3:hover { transform: scale(1.04); z-index: 50; }
.hero-p3-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,63,135,0.9), rgba(0,63,135,0.2) 50%, transparent); pointer-events: none; transition: 0.7s; }
.hero-p3:hover .hero-p3-overlay { background: linear-gradient(to top, rgba(0,63,135,0.4), transparent); }

.hero-info-card {
    position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(20px); border-radius: 1rem; padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s;
}
.hero-info-card:hover { transform: translateY(-0.75rem); }
.hero-info-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.hero-info-check {
    width: 32px; height: 32px; border-radius: 50%;
    background: #f8fafc; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.hero-info-check i { color: var(--vshow-green); transition: 0.3s; }
.hero-info-card:hover .hero-info-check { background: var(--vshow-green); border-color: var(--vshow-green); transform: scale(1.1); }
.hero-info-card:hover .hero-info-check i { color: white; }
.hero-info-title { color: var(--vshow-blue); font-weight: 700; letter-spacing: 0.1em; font-size: 0.8rem; text-transform: uppercase; font-family: 'Oswald', sans-serif; }
.hero-info-sub { color: #1e293b; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; margin-left: 2.75rem; display: block; font-family: 'Courier New', monospace; }
.hero-info-bar { width: 100%; height: 6px; background: rgba(255,255,255,0.5); border-radius: 999px; overflow: hidden; margin-top: 0.75rem; }
.hero-info-bar span { display: block; height: 100%; width: 0%; background: var(--vshow-green); border-radius: 999px; box-shadow: 0 0 10px rgba(0,192,49,0.5); transition: width 150ms linear; }
.hero-info-card:hover .hero-info-bar span { background: var(--vshow-blue); box-shadow: 0 0 15px rgba(0,63,135,0.6); }

/* Mobile: alargar card central e compactar overlay (mantém painéis laterais) */
/* Mobile: sem :hover sticky; clique alterna .is-open nos laterais */
@media (max-width: 767px) {
    .hero-p3 { left: 8%; width: 84%; top: 5%; height: 90%; }
    .hero-p1 { left: 0%; width: 32%; transform: rotate(-6deg); filter: grayscale(1); }
    .hero-p2 { right: 0%; width: 30%; transform: rotate(6deg); filter: grayscale(1); }
    .hero-p1:hover, .hero-p2:hover, .hero-p3:hover {
        transform: inherit; filter: inherit; box-shadow: inherit;
    }
    .hero-p1.is-open {
        transform: rotate(0) scale(1.1); filter: grayscale(0);
        box-shadow: 0 20px 50px rgba(0,192,49,0.3); z-index: 50;
    }
    .hero-p2.is-open {
        transform: rotate(-2deg) scale(1.1); filter: grayscale(0);
        box-shadow: 0 20px 50px rgba(0,63,135,0.4); z-index: 50;
    }
    .hero-ping,
    .hero-ping-anim { display: none; }
    .hero-info-card { bottom: 1rem; left: 1rem; right: 1rem; padding: 1rem; }
    .hero-info-head { gap: 0.5rem; margin-bottom: 0.25rem; }
    .hero-info-check { width: 28px; height: 28px; flex-shrink: 0; }
    .hero-info-check i { font-size: 0.75rem; }
    .hero-info-title { font-size: 0.625rem; white-space: nowrap; }
    .hero-info-sub { font-size: 9px; margin-left: 2.25rem; white-space: nowrap; }
}

/* ===== Services Showcase ===== */
.services-showcase { background: #fff; }
.services-showcase-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem; max-width: 1300px; margin: 0 auto; padding: 0 0.5rem;
}
.section-divider { width: 96px; height: 4px; background: var(--vshow-green); border-radius: 999px; margin: 1rem auto 1.5rem; }

/* ===== About Showcase ===== */
.about-showcase .values-showcase-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 1rem; align-self: stretch; height: 100%;
}
.value-compact { padding: 1.25rem !important; gap: 0.75rem !important; border-radius: 1.25rem !important; }
.value-compact .card-icon { width: 48px !important; height: 48px !important; min-width: 48px; border-radius: 12px !important; font-size: 1.2rem !important; }
.value-compact .card-title { font-size: 1.1rem !important; }
.value-compact .card-text { font-size: 0.85rem !important; }

.location-card-showcase { padding: 0 !important; gap: 0 !important; overflow: hidden; border-color: rgba(0,192,49,0.2) !important; margin-top: auto; }
.loc-img-wrap { position: relative; width: 100%; height: 160px; overflow: hidden; }
.loc-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.05); transition: transform 0.6s ease; }
.loc-img-wrap:hover img { transform: scale(1.1); }
.loc-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,192,49,0.15), rgba(0,63,135,0.4)); pointer-events: none; }
.loc-img-line { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--vshow-green), transparent); }
.loc-body { padding: 1.5rem; }

/* ===== Service Modal (single, custom — no body lock) ===== */
.svc-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.55); backdrop-filter: blur(4px);
    z-index: 100; display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    animation: svcFadeIn 0.25s ease-out;
}
@keyframes svcFadeIn { from { opacity: 0 } to { opacity: 1 } }
.svc-modal {
    background: white; border-radius: 1.5rem;
    width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    animation: svcScaleIn 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes svcScaleIn { from { opacity: 0; transform: scale(0.95) } to { opacity: 1; transform: scale(1) } }
.svc-modal .modal-header { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; }
.svc-modal .modal-icon {
    background: rgba(0,192,49,0.1) !important; box-shadow: none !important;
    width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-modal .modal-icon i { color: var(--vshow-green) !important; font-size: 1.5rem; }
.svc-modal .modal-header h2 { margin: 0; font-family: 'Poppins', sans-serif; color: var(--vshow-blue); font-size: 1.4rem; font-weight: 700; }
.svc-modal .modal-close { background: transparent; border: none; font-size: 2rem; line-height: 1; color: var(--vshow-muted); cursor: pointer; padding: 0 0.5rem; }
.svc-modal .modal-close:hover { color: var(--vshow-blue); }
.svc-modal .modal-counter { font-size: 0.75rem; font-weight: 700; color: var(--vshow-muted); background: #f1f5f9; padding: 0.3rem 0.75rem; border-radius: 99px; letter-spacing: 0.05em; display: none; }
@media (max-width: 768px) { .svc-modal .modal-counter { display: inline-block; } }
.svc-modal .modal-body { padding: 0 1.5rem 1rem; }
.svc-modal .modal-content-grid {
    display: grid; grid-template-columns: 2fr 3fr; gap: 1.25rem;
    align-items: center; margin-bottom: 1rem;
}
.svc-modal .modal-img { width: 100%; height: 100%; min-height: 140px; max-height: 220px; object-fit: cover; border-radius: 0.75rem; margin: 0; display: block; }
@media (max-width: 768px) {
    .svc-modal .modal-content-grid { grid-template-columns: 1fr; }
    .svc-modal .modal-img { max-height: 180px; }
}
.svc-modal .modal-desc { color: #475569; line-height: 1.6; margin: 0 0 1rem; }
.svc-modal .modal-tags-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--vshow-muted); margin: 0 0 0.5rem; letter-spacing: 0.05em; }
.svc-modal .modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc-modal .modal-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.85rem; background: rgba(0,192,49,0.08);
    color: var(--vshow-blue); border: 1px solid rgba(0,192,49,0.25);
    border-radius: 999px; font-size: 0.85rem; font-weight: 500;
}
.svc-modal .modal-tag i { color: var(--vshow-green); font-size: 0.85rem; }
.svc-modal .modal-footer { display: flex; gap: 0.75rem; padding: 1rem 1.5rem 1.5rem; flex-wrap: wrap; }
.svc-modal .svc-btn {
    border: none; border-radius: 0.65rem; padding: 0.75rem 1.25rem;
    font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; transition: all 0.2s; font-family: inherit;
}
.svc-modal .svc-btn-primary { background: var(--vshow-green); color: white; flex: 1; min-width: 200px; justify-content: center; }
.svc-modal .svc-btn-primary:hover { background: #00a629; }
.svc-modal .svc-btn-outline { background: white; color: var(--vshow-blue); border: 1px solid var(--vshow-border); }
.svc-modal .svc-btn-outline:hover { background: #f8fafc; border-color: var(--vshow-blue); }
.svc-modal .svc-btn-icon { padding: 0.6rem 0.9rem; }
.svc-modal .modal-footer-actions { display: flex; gap: 0.5rem; align-items: center; margin-left: auto; }
.svc-modal .svc-cta-label-short,
.svc-modal .svc-cta-icon-short { display: none; }
@media (max-width: 640px) {
  .svc-modal .modal-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 0.3rem; padding: 0.75rem 1rem 1rem; align-items: stretch; }
  .svc-modal .modal-footer-actions { display: contents; }
  .svc-modal .svc-btn { min-width: 0; padding: 0.56rem 0.5rem; font-size: 0.74rem; gap: 0.28rem; white-space: nowrap; justify-content: center; }
  .svc-modal .svc-btn-primary { width: 100%; }
  .svc-modal .svc-btn-icon { width: 2.25rem; padding: 0.56rem 0; }
  .svc-modal .svc-btn-close { padding-inline: 0.6rem; }
  .svc-modal .svc-cta-label-full,
  .svc-modal .svc-cta-icon-full { display: none; }
  .svc-modal .svc-cta-label-short,
  .svc-modal .svc-cta-icon-short { display: inline-block; }
}

.hero-transition { position: absolute; bottom: 0; left: 0; right: 0; height: 8rem; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4), white); pointer-events: none; }

/* ===== Email Form Modal ===== */
.email-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: emFadeIn 0.2s ease-out;
}
.email-modal-overlay.active { display: flex; }
@keyframes emFadeIn { from { opacity: 0; } to { opacity: 1; } }

.email-modal {
    background: var(--card);
    color: var(--card-foreground);
    border-radius: 0.75rem;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.75rem;
    position: relative;
    box-shadow: var(--shadow-elevated);
    animation: emZoomIn 0.2s ease-out;
}
@keyframes emZoomIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.email-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: background 0.15s, color 0.15s;
}
.email-modal-close:hover { background: var(--muted); color: var(--foreground); }

.email-modal-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}
.email-modal-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--accent);
    color: var(--valoriza-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
}
.email-modal-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--foreground);
    margin: 0 0 0.125rem;
    font-weight: 600;
}
.email-modal-header p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}
.email-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.email-modal-form .form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.email-modal-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.4rem;
}
.email-modal-form input,
.email-modal-form textarea {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--foreground);
    transition: border-color 0.15s, background 0.15s;
}
.email-modal-form input:focus,
.email-modal-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--card);
}
.email-modal-form textarea { min-height: 120px; resize: vertical; }
.email-modal-form .btn { margin-top: 0.5rem; }

@media (max-width: 640px) {
    .email-modal { padding: 1.25rem; }
    .email-modal-form .form-row { grid-template-columns: 1fr; }
}
