/*========================================================================
  ROOT VARIABLES & BASIC SETUP
========================================================================*/
:root {
    /* Color Scheme: Complementary (Dark Brutalist Base + Bright Orange Accent) */
    --color-primary-dark: #1a1a1a; /* Deepest dark, e.g., for footer */
    --color-primary-medium: #222222; /* Main dark for sections, header */
    --color-primary-light: #2F4F4F; /* Dark slate for specific sections */
    --color-secondary-light: #f0f0f0; /* Light grey for backgrounds, text on dark */
    --color-secondary-medium: #cccccc; /* Medium grey for less prominent text */
    --color-secondary-dark: #333333; /* Main text color on light backgrounds */
    --color-accent: #FF8C00; /* Bright Orange */
    --color-accent-dark: #e07b00; /* Darker Orange for hover/active states */
    --color-text-light: #FFFFFF;
    --color-text-dark: var(--color-secondary-dark);
    --color-text-headings: #222222; /* Slightly darker than body text on light bg */
    --color-border-brutalist: #000000;
    --color-shadow-brutalist: #000000;
    --color-input-bg: #333333;
    --color-input-border: #555555;
    --color-input-text: var(--color-text-light);
    --color-input-placeholder: #888888;
    --color-input-focus-ring: rgba(255, 140, 0, 0.5);

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'IBM Plex Sans', sans-serif;

    /* Spacing & Sizing */
    --spacing-unit: 1rem; /* 16px */
    --nav-height: 60px; /* Adjust as needed */
    --border-radius-sharp: 0px; /* Brutalism often uses sharp edges */
    --border-radius-subtle: 3px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-brutalist-small: 3px 3px 0px var(--color-shadow-brutalist);
    --shadow-brutalist-medium: 5px 5px 0px var(--color-shadow-brutalist);
    --shadow-brutalist-large: 8px 8px 0px var(--color-shadow-brutalist);
    --shadow-soft: 0px 5px 15px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-secondary-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*========================================================================
  TYPOGRAPHY & TEXT ELEMENTS
========================================================================*/
h1, h2, h3, h4, h5, h6,
.title, .subtitle, .site-title {
    font-family: var(--font-primary);
    font-weight: 700; /* Bold for Inter */
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    color: var(--color-text-headings); /* Darker for headings on light backgrounds */
}
.has-text-centered .title, .has-text-centered .subtitle {
    margin-left: auto;
    margin-right: auto;
}

.title.is-1 { font-size: 3rem; }
.title.is-2 { font-size: 2.5rem; }
.title.is-3 { font-size: 2rem; }
.title.is-4 { font-size: 1.5rem; }
.title.is-5 { font-size: 1.25rem; }
.title.is-6 { font-size: 1rem; }

.subtitle {
    font-weight: 400; /* Lighter for IBM Plex Sans subtitles */
    color: var(--color-secondary-dark);
}

p {
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-dark);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
a:hover, a:focus {
    color: var(--color-accent-dark);
    text-decoration: underline;
    transform: translateY(-1px);
}

.read-more-link {
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: calc(var(--spacing-unit) * 0.3) 0;
    color: var(--color-accent);
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-medium), color var(--transition-medium);
}
.read-more-link:hover, .read-more-link:focus {
    color: var(--color-accent-dark);
    border-bottom-color: var(--color-accent-dark);
    text-decoration: none;
}

strong, b {
    font-weight: 700; /* For IBM Plex Sans bold */
}

/*========================================================================
  GLOBAL BUTTON STYLES
========================================================================*/
.button, button, input[type="submit"], input[type="button"], .btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    background-color: var(--color-accent);
    color: var(--color-border-brutalist) !important; /* Text color for buttons */
    border: 3px solid var(--color-border-brutalist);
    box-shadow: var(--shadow-brutalist-medium);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    border-radius: var(--border-radius-sharp); /* Brutalist sharp edges */
}

.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, .btn:hover,
.button:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus, .btn:focus {
    background-color: var(--color-accent-dark);
    color: var(--color-border-brutalist) !important;
    transform: translate(2px, 2px);
    box-shadow: var(--shadow-brutalist-small);
    text-decoration: none;
}

.button:active, button:active, input[type="submit"]:active, input[type="button"]:active, .btn:active {
    transform: translate(5px, 5px);
    box-shadow: 0px 0px 0px var(--color-border-brutalist);
}

/* Button variants */
.button.is-primary { /* Bulma specific, align with global */
    background-color: var(--color-accent);
    color: var(--color-border-brutalist) !important;
    border-color: var(--color-border-brutalist);
}
.button.is-primary:hover {
    background-color: var(--color-accent-dark);
}

.button.is-outlined.is-warning { /* For event cards */
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent) !important;
    box-shadow: none;
}
.button.is-outlined.is-warning:hover {
    background-color: var(--color-accent);
    color: var(--color-border-brutalist) !important;
    transform: none;
    box-shadow: var(--shadow-brutalist-small);
}

/*========================================================================
  LAYOUT & SECTION STYLING
========================================================================*/
.container { /* Bulma's container */
    max-width: 1140px; /* Or your preferred max width */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-unit);
    padding-right: var(--spacing-unit);
}

.section {
    padding: calc(var(--spacing-unit) * 3) var(--spacing-unit); /* Natural height from content */
}
@media (min-width: 769px) {
    .section {
        padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 1.5);
    }
}

.section-title {
    margin-bottom: calc(var(--spacing-unit) * 2.5) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-headings); /* Ensure contrast */
    position: relative;
}
/* Brutalist underline for section titles (optional) */
/* .section-title.has-text-centered::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--color-accent);
    margin: calc(var(--spacing-unit) * 0.5) auto 0;
} */

/* Specific section background & text colors */
#quienes-somos, #prensa {
    background-color: var(--color-secondary-light); /* Light grey paper texture */
}
#quienes-somos .title, #quienes-somos p,
#prensa .title, #prensa p, #prensa .is-size-7 {
    color: var(--color-text-dark);
}
#prensa .press-logo-container p { color: #555; }


#eventos, #casos-de-exito {
    background-color: var(--color-primary-light); /* Dark Slate/Concrete Texture */
}
#eventos .section-title, #casos-de-exito .section-title,
#eventos .card .title, #casos-de-exito .card .title,
#eventos .card .subtitle, #casos-de-exito .card .subtitle, /* Fix subtitle color */
#eventos .card p, #casos-de-exito .card p,
#eventos .subtitle, #casos-de-exito .subtitle /* For section subtitle */
{
    color: var(--color-text-light);
}
#eventos .card .title, #casos-de-exito .card .title { color: var(--color-accent) !important; }

#planes { /* Metal texture */
    background-size: cover;
    background-repeat: no-repeat;
}
#planes .section-title, #planes p, #planes ul li {
    color: var(--color-text-dark);
}
#planes .pricing-card .is-size-3 { color: var(--color-accent) !important; }

#recursos-utiles {
    background-color: #ffffff; /* Clean white for resources */
}
#recursos-utiles .section-title, #recursos-utiles .subtitle, #recursos-utiles p {
    color: var(--color-text-dark);
}
#recursos-utiles .resource-list strong a {
    color: var(--color-accent);
}

#contacto, #contacto-pagina {
    background-color: var(--color-primary-medium); /* Dark for contact form */
}
#contacto .section-title, #contacto .subtitle, #contacto label,
#contacto-pagina .section-title, #contacto-pagina .subtitle, #contacto-pagina label, #contacto-pagina p {
    color: var(--color-text-light);
}
#contacto-pagina .checkbox a, #contacto-pagina .contact-info a { color: var(--color-accent); }
#contacto-pagina .checkbox { color: var(--color-secondary-light); }


/*========================================================================
  HEADER & NAVIGATION
========================================================================*/
.header.hero { /* Bulma hero used as header */
    background-color: var(--color-primary-medium);
    border-bottom: 5px solid var(--color-accent);
    position: sticky; /* Fixed navigation effect */
    top: 0;
    z-index: 1000;
    width: 100%;
}
.site-title {
    font-family: var(--font-primary) !important;
    font-size: 1.8em !important;
    color: var(--color-text-light) !important;
    font-weight: 900;
}
.site-title span {
    color: var(--color-accent) !important;
}
.navbar-item {
    color: var(--color-text-light) !important;
    font-family: var(--font-secondary);
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast) !important;
}
.navbar-item:hover, .navbar-item:focus, .navbar-item.is-active {
    background-color: rgba(255, 140, 0, 0.1) !important;
    color: var(--color-accent) !important;
}
.navbar-burger {
    color: var(--color-text-light) !important;
}
.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.navbar-menu.is-active {
    background-color: var(--color-primary-medium); /* Match header */
}

/*========================================================================
  HERO SECTION
========================================================================*/
#hero {
    position: relative;
    overflow: hidden; /* For parallax */
    background-color: var(--color-primary-medium); /* Fallback if image fails */
    /* Hyperrealistic texture will be applied via inline style or data-prompt in HTML */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.hero-background-image { /* If using a separate img tag for parallax */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* GSAP will handle parallax transforms */
}
#hero .hero-body {
    position: relative;
    z-index: 2; /* Content above background */
    /* Dark overlay for text readability on varied backgrounds */
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#hero .hero-title, #hero .hero-subtitle, #hero p {
    color: var(--color-text-light) !important; /* STRICT: White text in hero */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Enhanced readability */
}
#hero .hero-title {
    font-size: 3.5rem; /* Larger for hero */
    font-weight: 900; /* Extra bold for Inter */
    margin-bottom: var(--spacing-unit);
}
#hero .hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-weight: 500;
}
#hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

@media (max-width: 768px) {
    #hero .hero-title { font-size: 2.5rem; }
    #hero .hero-subtitle { font-size: 1.25rem; }
    #hero p { font-size: 1rem; }
}

/*========================================================================
  CARD STYLES (EVENTS, PRICING, PORTFOLIO, etc.)
========================================================================*/
.card { /* Bulma card base */
    background-color: var(--color-secondary-light);
    border: 3px solid var(--color-border-brutalist);
    box-shadow: var(--shadow-brutalist-large);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%; /* For consistent height in columns */
    display: flex; /* For flex properties */
    flex-direction: column; /* Stack image and content vertically */
    border-radius: var(--border-radius-sharp); /* Brutalist sharp edges */
    overflow: hidden; /* Ensure content respects border radius and image fit */
}
.card:hover {
    transform: translate(-3px, -3px);
    box-shadow: calc(var(--shadow-brutalist-large) + 4px) calc(var(--shadow-brutalist-large) + 4px) 0px var(--color-shadow-brutalist); /* Slightly increase shadow */
}

/* Centering content within cards */
.card .card-content, .card .card-header {
    text-align: left; /* Default for text */
}
.card.has-text-centered .card-content, .card.has-text-centered .card-header {
    text-align: center;
}

/* Card Image Styling */
.card .card-image { /* Bulma's .card-image */
    position: relative; /* For potential overlays */
}
.card .image-container { /* Custom container for stricter control if needed */
    width: 100%;
    /* STRICT: Fixed height for image containers for consistency */
    height: 200px; /* Example fixed height, adjust as needed */
    overflow: hidden;
    display: flex; /* Center image within container */
    align-items: center;
    justify-content: center;
}
.card .image-container img, .card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STRICT: Ensure image covers and is cropped, not distorted */
    display: block; /* Remove extra space below image */
    transition: transform var(--transition-slow);
}
.card:hover .image-container img, .card:hover .card-image img {
    transform: scale(1.08); /* Subtle zoom on hover */
}

/* Card Content */
.card .card-content {
    padding: var(--spacing-unit);
    flex-grow: 1; /* Allow content to fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push footer/button to bottom */
    color: var(--color-text-dark); /* Default text color for card content on light bg */
}
.card .card-content .title {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--color-text-headings); /* Darker title for cards */
}
.card .card-content .subtitle {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    color: var(--color-secondary-dark);
}
.card .card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-unit);
}

.card .card-footer { /* Bulma card footer */
    border-top: 1px solid var(--color-secondary-medium);
    padding: calc(var(--spacing-unit) * 0.75);
    margin-top: auto; /* Pushes footer to bottom if card content is short */
}
.card .card-footer-item { /* Center button in footer */
    display: flex;
    justify-content: center;
}

/* Specific Card Variations (Brutalist Dark) */
.brutalist-card-dark { /* For sections like Events, Portfolio */
    background-color: #383838; /* Darker card bg */
    border: 3px solid var(--color-accent); /* Accent border */
    box-shadow: var(--shadow-brutalist-large) rgba(255, 140, 0, 0.2);
}
.brutalist-card-dark:hover {
    box-shadow: 10px 10px 0px rgba(255, 140, 0, 0.3);
}
.brutalist-card-dark .card-content .title,
.brutalist-card-dark .card-content .subtitle,
.brutalist-card-dark .card-content p {
    color: var(--color-secondary-light); /* Light text for dark cards */
}
.brutalist-card-dark .card-content .title {
    color: var(--color-accent) !important; /* Accent color for titles on dark cards */
}

/* Event Cards */
.event-card.brutalist-card-dark .card-content {
    background-color: transparent; /* If main card is already dark */
}

/* Pricing Cards */
.pricing-card .card-header {
    background-color: var(--color-primary-medium);
    border-bottom: 3px solid var(--color-accent);
    padding: var(--spacing-unit);
}
.pricing-card .card-header-title {
    color: var(--color-text-light) !important;
    font-size: 1.25rem;
    justify-content: center;
}
.pricing-card.brutalist-card[style*="border: 3px solid #FF8C00;"] .card-header { /* Highlighted plan */
    background-color: var(--color-accent);
}
.pricing-card.brutalist-card[style*="border: 3px solid #FF8C00;"] .card-header-title {
    color: var(--color-border-brutalist) !important;
}
.pricing-card .card-content .is-size-3 {
    font-size: 2.5rem !important; /* Large price */
    color: var(--color-accent) !important;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    font-weight: 900;
}
.pricing-card ul {
    list-style: none; /* Custom styling for features */
    padding-left: 0;
    margin-bottom: var(--spacing-unit);
}
.pricing-card ul li {
    padding: calc(var(--spacing-unit) * 0.3) 0;
    border-bottom: 1px dashed var(--color-secondary-medium);
    font-size: 0.9rem;
}
.pricing-card ul li::before {
    content: "✓"; /* Example custom bullet */
    color: var(--color-accent);
    margin-right: calc(var(--spacing-unit) * 0.5);
    font-weight: bold;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Portfolio Cards are similar to Event Cards (brutalist-card-dark) */

/*========================================================================
  PRESS SECTION
========================================================================*/
#prensa .press-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-unit);
    text-align: center;
}
#prensa .press-logo-container img {
    max-height: 60px;
    width: auto;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    filter: grayscale(1) opacity(0.7); /* Brutalist: desaturated, slightly muted */
    transition: filter var(--transition-medium);
}
#prensa .press-logo-container:hover img {
    filter: grayscale(0) opacity(1);
}
#prensa .press-logo-container p {
    font-size: 0.8rem;
    color: #555; /* From original HTML */
}

/*========================================================================
  EXTERNAL RESOURCES SECTION
========================================================================*/
#recursos-utiles .resource-list.box {
    background-color: #f9f9f9; /* Light box bg */
    border: 2px solid var(--color-border-brutalist);
    box-shadow: var(--shadow-brutalist-medium) var(--color-accent); /* Accent shadow */
    padding: calc(var(--spacing-unit) * 1.5);
}
#recursos-utiles .resource-list .media {
    padding-bottom: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
    border-bottom: 1px dashed var(--color-secondary-medium);
}
#recursos-utiles .resource-list .media:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
#recursos-utiles .resource-list strong a {
    font-size: 1.1rem;
    color: var(--color-accent);
    text-decoration: none;
}
#recursos-utiles .resource-list strong a:hover {
    text-decoration: underline;
}
#recursos-utiles .resource-list p {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/*========================================================================
  CONTACT FORM
========================================================================*/
.brutalist-form {
    /* Background is on the section */
}
.brutalist-form .field {
    margin-bottom: calc(var(--spacing-unit) * 1.25);
}
.brutalist-form .label {
    color: var(--color-text-light) !important; /* From HTML */
    font-family: var(--font-secondary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    display: block;
}
.modern-input, .modern-textarea {
    width: 100%;
    background-color: var(--color-input-bg);
    border: 2px solid var(--color-input-border);
    color: var(--color-input-text);
    padding: calc(var(--spacing-unit) * 0.75) var(--spacing-unit);
    font-family: var(--font-secondary);
    box-shadow: inset 2px 2px 0px var(--color-primary-dark); /* Inner shadow */
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
    border-radius: var(--border-radius-sharp);
    font-size: 1rem;
}
.modern-input::placeholder, .modern-textarea::placeholder {
    color: var(--color-input-placeholder);
    opacity: 1; /* Ensure placeholder is visible */
}
.modern-input:focus, .modern-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: inset 2px 2px 0px var(--color-primary-dark), 0 0 0 2px var(--color-input-focus-ring);
    outline: none;
}
.modern-textarea {
    min-height: 120px;
    resize: vertical;
}
.brutalist-form .checkbox { /* For privacy/terms checkbox */
    font-size: 0.9em;
}
.brutalist-form .checkbox input[type="checkbox"] {
    margin-right: calc(var(--spacing-unit) * 0.3);
    accent-color: var(--color-accent); /* Modern browsers */
}

/*========================================================================
  FOOTER
========================================================================*/
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-secondary-light);
    padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
    border-top: 5px solid var(--color-accent);
}
.footer .title {
    color: var(--color-text-light) !important;
    font-size: 1.1rem; /* Smaller titles in footer */
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer .site-title { /* Match header site title style */
    font-size: 1.5em !important;
    color: var(--color-text-light) !important;
}
.footer .site-title span { color: var(--color-accent) !important; }

.footer p {
    color: var(--color-secondary-medium);
    font-size: 0.9rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.footer ul {
    list-style: none;
    padding-left: 0;
}
.footer ul li {
    margin-bottom: calc(var(--spacing-unit) * 0.4);
}
.footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.footer a:hover, .footer a:focus {
    color: var(--color-text-light);
    text-decoration: underline;
}
/* Text-based social links styling */
.footer .column:last-child ul li a { /* Assuming social links are in the last column */
    /* Add more distinct styling if needed, e.g., larger font or different weight */
    /* For now, inherits general footer link style */
}

/*========================================================================
  SPECIFIC PAGE STYLES
========================================================================*/
/* Success Page */
body[data-barba-namespace="success"] main, /* For Barba.js context */
.success-page-main { /* Fallback class if Barba not fully integrated */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
body[data-barba-namespace="success"] .section,
.success-page-main .section { /* Ensure section inside takes full height */
    width: 100%;
}
/* The icon styling is already in the HTML with inline styles for the SVG checkmark example */
/* If using a font icon, style here */
.success-page-main .icon.is-large.has-text-success {
    font-size: 5rem;
    color: var(--color-accent) !important;
    margin-bottom: 1.5rem;
    display: inline-flex; /* Use flex for centering SVG */
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-accent);
    border-radius: 50%;
    padding: 20px;
    background-color: rgba(255,255,255,0.1);
}
.success-page-main .icon.is-large.has-text-success svg {
    width: 50px;
    height: 50px;
    fill: var(--color-accent);
}


/* Privacy & Terms Pages */
.content-page { /* Container for text-heavy pages like privacy, terms */
    padding-top: calc(var(--spacing-unit) * 3); /* Avoid header overlap */
    padding-bottom: calc(var(--spacing-unit) * 3);
}
@media (min-width: 769px) {
    .content-page {
        padding-top: 100px; /* More precise for larger screens if nav is fixed height */
    }
}
.content-page .content { /* Bulma's .content class */
    background-color: #ffffff;
    padding: calc(var(--spacing-unit) * 2);
    border: 1px solid var(--color-secondary-medium);
    box-shadow: var(--shadow-soft);
    color: var(--color-text-dark);
    max-width: 800px; /* Readable line length */
    margin-left: auto;
    margin-right: auto;
}
.content-page .content h1, .content-page .content h2, .content-page .content h3 {
    color: var(--color-text-headings);
    margin-top: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
}
.content-page .content ul {
    list-style: disc;
    margin-left: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
}
.content-page .content p, .content-page .content li {
    margin-bottom: var(--spacing-unit);
    line-height: 1.7;
}

/* About Page Specifics (Values Boxes) */
.value-box {
    background-color: #f9f9f9;
    padding: calc(var(--spacing-unit) * 1.5);
    height: 100%;
    border: 1px solid #eee;
    border-left: 5px solid var(--color-accent) !important; /* From HTML */
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.value-box .title.is-5 {
    color: var(--color-text-headings);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

/*========================================================================
  UTILITY CLASSES & ANIMATIONS
========================================================================*/
/* Background image handling (global) */
[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
/* Text on image overlays (ensure this is applied in HTML where needed) */
.has-overlay-gradient {
    position: relative;
}
.has-overlay-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)); /* Adjust opacity as needed */
    z-index: 1;
}
.has-overlay-gradient > * { /* Ensure content is above overlay */
    position: relative;
    z-index: 2;
}

/* Scroll Reveal (Base for GSAP) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    /* GSAP will handle the transition, this is a fallback or initial state */
}

/* Barba.js Page Transitions */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease-in-out;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}

/* Glassmorphism example (use sparingly) */
.glassmorphic-element {
    background: rgba(255, 255, 255, 0.1); /* Adjust alpha for transparency */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-subtle); /* Glass usually has some rounding */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/*========================================================================
  RESPONSIVE ADJUSTMENTS (Bulma handles most grid, these are refinements)
========================================================================*/
@media screen and (max-width: 1023px) { /* Bulma tablet breakpoint */
    .navbar-menu { /* Mobile menu style */
        background-color: var(--color-primary-medium);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 0.5rem 0;
    }
    .navbar-menu .navbar-item {
        color: var(--color-text-light) !important;
        padding: 0.75rem 1rem;
    }
    .navbar-menu .navbar-item:hover {
        background-color: var(--color-accent) !important;
        color: var(--color-border-brutalist) !important;
    }
}

@media screen and (max-width: 768px) { /* Bulma mobile breakpoint */
    .title.is-1 { font-size: 2.25rem; }
    .title.is-2 { font-size: 1.85rem; }
    .section {
        padding: calc(var(--spacing-unit) * 2) var(--spacing-unit);
    }
    .columns.is-vcentered .column:not(:last-child) { /* Ensure spacing on mobile for stacked columns */
        margin-bottom: var(--spacing-unit);
    }
    .footer .columns {
        text-align: center;
    }
    .footer .column {
        margin-bottom: calc(var(--spacing-unit) * 1.5);
    }
    .card .image-container {
        height: 180px; /* Adjust fixed height for mobile if needed */
    }
}

/* Cookie Consent (minimal as per prompt, already in HTML with inline styles) */
#cookieConsentPopup {
    /* Styles are inline in HTML, these are for reference or override */
    /* font-family: var(--font-secondary);
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--color-secondary-light);
    border-top: 3px solid var(--color-accent);
    z-index: 9999; */
}
#acceptCookieButton {
    /* background-color: var(--color-accent);
    color: var(--color-border-brutalist);
    border: 2px solid var(--color-border-brutalist);
    box-shadow: var(--shadow-brutalist-small); */
    /* Other button styles apply from global .button */
}