/* ==========================================================================
   EPTA SYSTEM S.R.L. - WHITE THEME SIMPLE HOLDING PAGE
   ========================================================================== */

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Clean White Palette */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-surface-white: #FFFFFF;

    --color-navy: #0B132B;
    --color-navy-light: #1C2541;

    --color-green: #10B981;
    --color-green-dark: #059669;
    --color-green-light: rgba(16, 185, 129, 0.1);
    --color-green-glow: rgba(16, 185, 129, 0.35);

    --color-blue: #00B4D8;
    --color-blue-dark: #0077B6;

    --color-amber: #D97706;
    --color-amber-bg: #FEF3C7;

    --color-text-main: #0F172A;
    --color-text-muted: #64748B;
    --color-text-light: #94A3B8;

    --color-border: #E2E8F0;
    --color-border-dark: #CBD5E1;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body, html {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-bg);
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.header {
    background: var(--color-surface-white);
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo-img {
    max-height: 90px;
    width: auto;
    transition: var(--transition);
}

.brand-logo-img:hover {
    transform: scale(1.02);
}

/* MAIN CONTENT */
.main-content {
    flex-grow: 1;
    padding: 50px 0 70px 0;
}

/* SITO IN COSTRUZIONE BANNER CARD */
.construction-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 44px;
}

.construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-amber-bg);
    color: var(--color-amber);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-amber);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.main-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.sub-heading {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* 4 UNIFORM MODERN BUTTONS GRID (Styled like Verifica Attestati) */
.buttons-section {
    margin-bottom: 50px;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.action-btn {
    background: var(--color-surface-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-green);
}

.btn-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--color-green-light);
    color: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.action-btn:hover .btn-icon {
    background: var(--color-green);
    color: #FFFFFF;
}

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

.btn-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

.btn-sub {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Specific highlight styling for 'Verifica Attestati' button */
.btn-attestati {
    background: linear-gradient(135deg, #0F2027 0%, #11998E 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.btn-attestati .btn-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #34D399;
}

.btn-attestati .btn-title {
    color: #FFFFFF !important;
}

.btn-attestati .btn-sub {
    color: #A7F3D0 !important;
}

.btn-attestati:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45);
    border-color: #34D399;
}

.btn-attestati:hover .btn-icon {
    background: #10B981;
    color: #FFFFFF;
}

/* OFFICES SECTION (No images inside cards) */
.offices-section {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

.offices-heading {
    font-size: 1.6rem;
    color: var(--color-navy);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offices-heading i {
    color: var(--color-green);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.office-card {
    background: var(--color-surface-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.office-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-green);
}

.office-card-header {
    background: #0B132B;
    color: #FFFFFF;
    padding: 24px 28px;
}

.office-card-header.header-green {
    background: #0F2027;
}

.office-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-blue);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}

.office-tag.tag-green {
    color: #34D399;
}

.office-card-header h3 {
    font-size: 1.25rem;
    color: #FFFFFF;
}

.office-card-body {
    padding: 28px;
    flex-grow: 1;
}

.office-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.office-details li {
    display: flex;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.office-details i {
    color: var(--color-green);
    font-size: 1.15rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.office-details strong {
    color: var(--color-navy);
}

.office-details a {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.office-details a:hover {
    color: var(--color-green);
}

.sep {
    color: var(--color-text-light);
    margin: 0 6px;
}

/* FOOTER */
.footer {
    background: var(--color-surface-white);
    color: var(--color-text-muted);
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer strong {
    color: var(--color-navy);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

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

/* RESPONSIVE */
@media (max-width: 868px) {
    .main-heading { font-size: 2.2rem; }
    .buttons-grid { grid-template-columns: 1fr; }
    .offices-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
}
