/* ========================================
   SOFT PASTEL DESIGN SYSTEM
   French Occupational Safety Services
   ======================================== */

/* CSS Variables - Soft Pastel Palette */
:root {
    /* Primary Colors - Soft Pastels */
    --mint: #B8E6D5;
    --mint-light: #E8F7F1;
    --mint-dark: #9DD4C3;

    --peach: #FFD4C4;
    --peach-light: #FFF0EB;
    --peach-dark: #FFBFA8;

    --lavender: #D4C4FB;
    --lavender-light: #F0EBFF;
    --lavender-dark: #BFA8FF;

    --blue: #C4E4FB;
    --blue-light: #EBF6FF;
    --blue-dark: #A8D4FF;

    /* Neutral Colors */
    --white: #FFFFFF;
    --bg-main: #FAFCFC;
    --bg-light: #F5F8FA;
    --border: #E1E8ED;

    /* Text Colors */
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #8B9AA8;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 24px;
    --text-2xl: 32px;
    --text-3xl: 40px;
    --text-4xl: 48px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pastel-body {
    overflow-x: hidden;
}

/* ========================================
   CONTAINER SYSTEM
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   GRID SYSTEM
   ======================================== */

.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-medium);
}

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

.text-large {
    font-size: var(--text-lg);
}

.text-small {
    font-size: var(--text-sm);
}

.gradient-text {
    background: linear-gradient(135deg, var(--mint-dark), var(--blue-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   LINKS
   ======================================== */

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

a:hover {
    color: var(--mint-dark);
}

/* ========================================
   BUTTONS - SOFT PASTEL STYLE
   ======================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--mint-dark), var(--mint));
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--mint);
    background: var(--mint-light);
}

.btn-service,
.btn-resource,
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 20px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-service:hover,
.btn-resource:hover,
.btn-download:hover {
    border-color: var(--mint);
    background: var(--mint-light);
    transform: translateX(4px);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-newsletter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--peach), var(--peach-dark));
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   HEADER - SOFT PASTEL NAVIGATION
   ======================================== */

.pastel-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}

.header-logo {
    flex-shrink: 0;
    margin-right: -8px;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.logo-icon {
    font-size: 24px;
    color: var(--mint-dark);
}

.logo-text {
    font-size: 19px;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.nav-link {
    padding: 8px 10px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
    background: var(--mint-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    justify-self: end;
    margin-left: -8px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--blue);
}

.header-phone i {
    color: var(--blue-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.mobile-nav-link {
    padding: var(--space-sm);
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--mint-light);
}

.mobile-nav-link.btn-mobile {
    margin-top: var(--space-sm);
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    text-align: center;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero-pastel {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--mint-light) 0%, var(--blue-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-pastel .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-medium);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-trust {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: var(--text-sm);
}

.trust-item i {
    color: var(--mint-dark);
    font-size: var(--text-lg);
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: var(--space-3xl) 0;
}

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

.section-mint {
    background: var(--mint-light);
}

.section-peach {
    background: var(--peach-light);
}

.section-lavender {
    background: var(--lavender-light);
}

.section-blue {
    background: var(--blue-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--text-medium);
}

/* ========================================
   CARDS - SOFT PASTEL
   ======================================== */

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-card,
.resource-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover,
.resource-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.service-icon,
.resource-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mint-light), var(--blue-light));
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.service-icon i,
.resource-icon i {
    font-size: 28px;
    color: var(--mint-dark);
}

.service-content,
.resource-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title,
.resource-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.service-description,
.resource-description {
    color: var(--text-medium);
    margin-bottom: var(--space-md);
    flex: 1;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    color: var(--text-medium);
}

.service-features li i {
    color: var(--mint-dark);
    font-size: var(--text-sm);
}

.service-footer,
.resource-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-md);
    border-top: 1px solid var(--border);
}

.service-meta,
.resource-date,
.resource-type {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-light);
}

.service-price {
    font-weight: 600;
    color: var(--mint-dark);
}

.resource-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--peach-light);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

/* ========================================
   FORMS - SOFT PASTEL STYLE
   ======================================== */

.pastel-form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.form-group {
    position: relative;
    margin-bottom: var(--space-lg);
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    padding-left: 48px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--mint);
    background: var(--white);
}

.form-label {
    position: absolute;
    left: 48px;
    top: 18px;
    font-size: var(--text-base);
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:valid ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 16px;
    font-size: var(--text-sm);
    color: var(--mint-dark);
    background: var(--white);
    padding: 0 8px;
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 18px;
    color: var(--text-light);
    font-size: var(--text-lg);
    pointer-events: none;
}

.form-select {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 18px;
}

.checkbox-group {
    margin-bottom: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    background: var(--white);
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--text-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--mint);
    border-color: var(--mint-dark);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    display: block;
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--mint-dark);
}

.checkbox-text {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: 1.6;
}

.checkbox-text a {
    color: var(--mint-dark);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: var(--mint-dark);
    text-decoration: none;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    justify-content: center;
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: var(--blue-light);
    border-radius: var(--radius-sm);
    color: var(--text-medium);
    font-size: var(--text-sm);
}

.form-notice i {
    color: var(--blue-dark);
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.form-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
}

.form-header p {
    font-size: var(--text-lg);
    color: var(--text-medium);
}

/* ========================================
   FOOTER - SOFT PASTEL
   ======================================== */

.pastel-footer {
    background: linear-gradient(135deg, var(--lavender-light) 0%, var(--peach-light) 100%);
    padding: var(--space-3xl) 0 var(--space-md);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-logo i {
    font-size: 28px;
    color: var(--lavender-dark);
}

.footer-description {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-certifications {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.cert-badge i {
    color: var(--lavender-dark);
}

.footer-title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-nav a {
    padding: var(--space-xs) 0;
    color: var(--text-medium);
    font-size: var(--text-sm);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--text-dark);
    padding-left: var(--space-xs);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.contact-item i {
    color: var(--lavender-dark);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-medium);
}

.contact-item a:hover {
    color: var(--text-dark);
}

.footer-newsletter {
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-2xl);
}

.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-text {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.newsletter-text h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.newsletter-text p {
    color: var(--text-medium);
}

.newsletter-form .form-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--peach);
    background: var(--white);
}

.newsletter-form .checkbox-label {
    justify-content: center;
    font-size: var(--text-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-legal {
    margin-bottom: var(--space-md);
}

.legal-text {
    font-size: var(--text-xs);
    color: var(--text-light);
    line-height: 1.6;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.footer-legal-links a {
    font-size: var(--text-sm);
    color: var(--text-medium);
}

.footer-legal-links a:hover {
    color: var(--text-dark);
}

.footer-copyright p {
    font-size: var(--text-sm);
    color: var(--text-medium);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1300px) {
    .header-container {
        grid-template-columns: auto auto;
        gap: 12px;
    }

    .header-nav {
        display: none;
    }

    .header-logo {
        margin-right: 0;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .mobile-nav.active {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .hero-pastel .container {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --text-4xl: 36px;
        --text-3xl: 28px;
        --text-2xl: 24px;
        --text-xl: 20px;
    }

    .header-container {
        padding: 12px 16px;
    }

    .header-logo a {
        font-size: 17px;
        gap: 8px;
    }

    .logo-icon {
        font-size: 22px;
    }

    .logo-text {
        font-size: 17px;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 8px 10px;
    }

    .header-actions .btn-primary {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .footer-legal-links {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

@media (max-width: 480px) {
    .container,
    .container-wide,
    .container-narrow {
        padding: 0 var(--space-md);
    }

    .header-container {
        padding: 10px 12px;
        gap: 8px;
    }

    .header-logo a {
        font-size: 15px;
        gap: 6px;
    }

    .logo-icon {
        font-size: 18px;
    }

    .logo-text {
        font-size: 15px;
    }

    .header-phone {
        padding: 6px 8px;
        font-size: 14px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .hero-pastel {
        padding: var(--space-2xl) 0;
    }

    .pastel-form {
        padding: var(--space-md);
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }
