/*
  style.css
  Theme: Inversiones en Estaciones de Servicio en Argentina
  Design: Futuristic + Neo-brutalism
  Color Scheme: Neutral
  Animation: Parallax
*/

/* -------------------------------------------------------------------
 * ## CSS Variables
 * ------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Source Sans Pro', sans-serif;

  /* Neutral Color Scheme with Futuristic/Neo-brutalist Accents */
  --color-text: #333333;
  --color-text-light: #F5F5F5;
  --color-text-headings: #222222;
  --color-text-accent: #00AEEF; /* Vibrant blue for accents, links */
  --color-text-subtle: #555555;

  --color-background-light: #FFFFFF;
  --color-background-medium: #F0F2F5; /* Main light gray page background */
  --color-background-dark-section: #2C3E50; /* Darker neutral for some sections */
  --color-background-dark: #1A1A1A;
  --color-background-footer: #111111;

  --color-primary-accent: #00AEEF; /* Bright, futuristic blue */
  --color-primary-accent-dark: #008CBB; /* Darker shade for hover/active */
  --color-secondary-accent: #FF4081; /* Optional: Neo-brutalist accent - vibrant pink */
  --color-secondary-accent-dark: #D81B60;

  --color-border: #444444; /* Mid-dark gray for neo-brutalist sharp borders */
  --color-card-background: #FFFFFF;
  --color-card-border: #E0E0E0;

  /* Gradients & Overlays */
  --gradient-overlay-dark: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  --gradient-overlay-hero: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);


  /* Spacing & Sizing */
  --spacing-unit: 8px;
  --container-width: 1200px;
  --header-height: 80px; /* Assuming fixed header height */

  /* Borders & Shadows */
  --border-radius-sharp: 0px;
  --border-radius-subtle: 4px;
  --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-neo: 3px 3px 0px var(--color-border); /* Neo-brutalist shadow */
  --box-shadow-neo-inset: inset 2px 2px 0px var(--color-border);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.3s ease-in-out;
}

/* -------------------------------------------------------------------
 * ## Basic Styles & Typography
 * ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-background-medium);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

.main-container {
  overflow-x: hidden; /* Prevent horizontal scroll from AOS or other animations */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-text-headings);
  margin-top: 0;
  margin-bottom: calc(var(--spacing-unit) * 2.5); /* 20px */
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.8rem; margin-bottom: calc(var(--spacing-unit) * 3); } /* 2.5rem before */
h2 { font-size: 2.2rem; } /* 2rem before */
h3 { font-size: 1.6rem; } /* 1.5rem before */
h4 { font-size: 1.3rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
}

p {
  margin-top: 0;
  margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
}

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

a:hover, a:focus {
  color: var(--color-primary-accent-dark);
  text-decoration: underline;
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--spacing-unit) * 2);
  padding-right: calc(var(--spacing-unit) * 2);
}

.section-padding {
  padding-top: calc(var(--spacing-unit) * 7.5); /* 60px */
  padding-bottom: calc(var(--spacing-unit) * 7.5);
}
.section-padding-alt {
  padding-top: calc(var(--spacing-unit) * 7.5);
  padding-bottom: calc(var(--spacing-unit) * 7.5);
  background-color: var(--color-background-light); /* Or another contrasting neutral */
}

.section-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 1.5); /* 12px */
  color: var(--color-text-headings);
  font-size: 2.5rem; /* Ensure this is larger than h2 default if used as standalone title */
}
.section-title-alt { /* For use on darker backgrounds or alternative styling */
  text-align: left; /* Example */
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  color: var(--color-text-headings);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-subtle);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: calc(var(--spacing-unit) * 5); /* 40px */
}

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

/* For main content starting after a fixed header, if header is fixed. */
main {
  padding-top: var(--header-height);
}


/* -------------------------------------------------------------------
 * ## Header & Navigation
 * ------------------------------------------------------------------- */
.site-header {
  background-color: rgba(26, 26, 26, 0.85); /* Dark, semi-transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: calc(var(--spacing-unit) * 1.5) 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-background-light);
  text-decoration: none;
}
.logo span {
  color: var(--color-primary-accent);
}
.logo:hover, .logo:focus {
  text-decoration: none;
  opacity: 0.9;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.main-nav li {
  margin-left: calc(var(--spacing-unit) * 3); /* 24px */
}

.main-nav a {
  font-family: var(--font-secondary);
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1);
  border-radius: var(--border-radius-subtle);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav li.active a { /* Add .active class via JS for current page */
  color: var(--color-primary-accent);
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.nav-toggle { /* Hamburger */
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-light);
  position: relative;
  transition: transform var(--transition-smooth);
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  transition: transform var(--transition-smooth), top var(--transition-smooth), bottom var(--transition-smooth);
}
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after { bottom: -8px; }

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-background-dark);
    flex-direction: column;
    padding: var(--spacing-unit) 0;
    border-top: 1px solid var(--color-border);
  }
  .main-nav.nav-open ul {
    display: flex;
  }
  .main-nav li {
    margin: 0;
    width: 100%;
  }
  .main-nav a {
    display: block;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav li:last-child a {
    border-bottom: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-open .nav-toggle .hamburger {
    transform: rotate(45deg);
  }
  .nav-open .nav-toggle .hamburger::before {
    top: 0;
    transform: rotate(90deg);
  }
  .nav-open .nav-toggle .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
    opacity: 0; /* Or rotate to form X */
  }
}

/* -------------------------------------------------------------------
 * ## Global Button Styles
 * ------------------------------------------------------------------- */
.btn, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--color-primary-accent);
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5); /* 12px 28px */
  border-radius: var(--border-radius-subtle);
  transition: all var(--transition-smooth);
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--box-shadow-neo); /* Neo-brutalist shadow */
}

.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
  box-shadow: none;
  transform: translate(2px, 2px);
}

.btn-primary {
  background-color: var(--color-primary-accent);
  color: var(--color-background-light);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-accent-dark);
  border-color: var(--color-primary-accent-dark);
  color: var(--color-background-light); /* Ensure text color remains contrasty */
  text-decoration: none;
  box-shadow: 1px 1px 0px var(--color-border);
  transform: translate(1px, 1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary-accent);
  border: 2px solid var(--color-primary-accent);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-primary-accent);
  color: var(--color-background-light);
  text-decoration: none;
  box-shadow: 1px 1px 0px var(--color-border);
  transform: translate(1px, 1px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* -------------------------------------------------------------------
 * ## Global Card Styles
 * ------------------------------------------------------------------- */
.card {
  background-color: var(--color-card-background);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-subtle);
  padding: calc(var(--spacing-unit) * 2.5); /* 20px */
  box-shadow: var(--box-shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center flex items (image container, content container) */
  text-align: center; /* Center text within child elements */
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
  height: 100%; /* For equal height cards in a grid */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card .card-image { /* This is the container for the image */
  width: 100%;
  height: 220px; /* Consistent height for card images */
  margin-bottom: calc(var(--spacing-unit) * 2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee; /* Placeholder bg */
}

.card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area, maintains aspect ratio */
  display: block;
}

.card .card-content {
  width: 100%;
  padding: 0 calc(var(--spacing-unit) * 1); /* Small horizontal padding if needed */
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows content to fill space for equal height cards */
}

.card .card-content h3 {
  font-family: var(--font-primary);
  color: var(--color-text-headings);
  font-size: 1.4rem; /* Adjusted for cards */
  margin-top: 0;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.card .card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  flex-grow: 1; /* Pushes button/link to bottom if present */
}
.card .card-content p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------
 * ## Hero Section
 * ------------------------------------------------------------------- */
.hero-section {
  position: relative;
  color: var(--color-text-light); /* Default text color for hero */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 80vh; /* Adjust as needed, less than 100vh to show content below */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--spacing-unit) * 5) 0;
  margin-top: calc(-1 * var(--header-height)); /* Pull up to overlap with fixed header */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay-hero); /* Dark semi-transparent overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.2rem; /* Larger for hero */
  color: #FFFFFF; /* Explicitly white as per requirement */
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.2rem;
  color: #FFFFFF; /* Explicitly white for better readability on varied backgrounds */
  margin-bottom: calc(var(--spacing-unit) * 4);
  line-height: 1.8;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .hero-section { min-height: 70vh; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.1rem; }
}

/* Page Header Section (used on About, Contact, etc.) */
.page-header-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(var(--spacing-unit) * 10) 0; /* 80px */
  text-align: center;
  margin-top: calc(-1 * var(--header-height)); /* Pull up for fixed header */
}
.page-header-section .hero-overlay { /* Re-use hero-overlay style */
  background: var(--gradient-overlay-dark);
}
.page-header-section h1, .page-header-section p {
  position: relative;
  z-index: 2;
  color: var(--color-text-light); /* Ensure text is light on dark overlay */
}
.page-header-section h1 {
  font-size: 2.8rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.page-header-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Specific padding for content on privacy/terms pages */
/* This rule targets the first .section-padding that is a sibling immediately after a .page-header-section */
/* Best used if pages like privacy/terms have a unique body class to make this selector more specific */
.page-header-section + .section-padding {
  padding-top: 100px !important; /* Overrides general .section-padding if needed for these pages */
}
/* Ensure the content-column within such sections has enough space */
.content-column {
  max-width: 800px; /* Good for readability on text-heavy pages */
  margin-left: auto;
  margin-right: auto;
}
.content-column h2 { margin-top: calc(var(--spacing-unit) * 4); }
.content-column ul {
    list-style-position: outside;
    padding-left: 20px;
}
.content-column ul li {
    margin-bottom: var(--spacing-unit);
}


/* -------------------------------------------------------------------
 * ## Services Section
 * ------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 3); /* 24px */
}

/* -------------------------------------------------------------------
 * ## Success Stories Section (Timeline)
 * ------------------------------------------------------------------- */
.success-stories-section {
  background-color: var(--color-background-dark-section); /* Darker background */
  color: var(--color-text-light);
}
.success-stories-section .section-title,
.success-stories-section .section-subtitle,
.success-stories-section h4,
.success-stories-section small {
  color: var(--color-text-light);
}
.success-stories-section .section-subtitle {
    color: rgba(245, 245, 245, 0.8);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::after { /* The central line */
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--color-primary-accent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 5); /* 10px 40px */
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item::after { /* The circles on the line */
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--color-background-light);
  border: 4px solid var(--color-primary-accent);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

/* Place items to the left */
.timeline-item:nth-child(odd) {
  left: 0;
}
/* Place items to the right */
.timeline-item:nth-child(even) {
  left: 50%;
}
/* Fix the circle for right-sided items */
.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-icon { /* The rocket/idea icon placeholder */
  position: absolute;
  right: -30px; /* Adjust if needed */
  top: 20px;
  font-size: 1.8rem;
  z-index: 2;
  color: var(--color-primary-accent);
  /* Neo-brutalist touch for icon container if desired */
  /* background-color: var(--color-primary-accent);
  color: var(--color-background-dark-section);
  padding: 5px;
  border-radius: 50%;
  border: 2px solid var(--color-background-light); */
}
.timeline-item:nth-child(even) .timeline-icon {
  left: -30px; /* Adjust if needed */
}


.timeline-content {
  padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 3.75); /* 20px 30px */
  background-color: rgba(255, 255, 255, 0.05); /* Subtle background for content block */
  position: relative;
  border-radius: var(--border-radius-subtle);
  border: 1px solid rgba(var(--color-primary-accent-rgb, 0,174,239), 0.3); /* Use RGB if var() not available */
  box-shadow: var(--box-shadow-light);
}
.timeline-content h4 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--color-primary-accent); /* Make title stand out */
}
.timeline-content small {
  display: block;
  margin-bottom: var(--spacing-unit);
  font-style: italic;
  color: rgba(245, 245, 245, 0.7);
}
.timeline-content .card-image { /* For images within timeline items */
  margin-top: var(--spacing-unit) * 1.5;
  height: 180px; /* Adjust as needed */
}
.timeline-content .card-image img {
  border-radius: var(--border-radius-subtle);
}


/* Responsive timeline */
@media (max-width: 768px) {
  .timeline::after {
    left: 20px; /* Line to the left */
  }
  .timeline-item {
    width: 100%;
    padding-left: calc(var(--spacing-unit) * 6.25); /* 50px */
    padding-right: calc(var(--spacing-unit) * 1.25); /* 10px */
  }
  .timeline-item:nth-child(even) {
    left: 0%; /* All items on the right of the line */
  }
  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 10px; /* Circle on the left line */
  }
  .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: -10px; /* Icon on the line */
  }
}

/* -------------------------------------------------------------------
 * ## Media Section
 * ------------------------------------------------------------------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 4);
}
.media-item .card-image {
  height: 280px; /* Taller images for media section */
}
.media-video-placeholder {
    background-color: var(--color-card-background);
    padding: var(--spacing-unit) * 3;
    border-radius: var(--border-radius-subtle);
    border: 1px solid var(--color-card-border);
    text-align: center;
}
.media-video-placeholder p {
    color: var(--color-text-subtle);
    margin-bottom: var(--spacing-unit) * 2;
}

/* -------------------------------------------------------------------
 * ## Resources Section
 * ------------------------------------------------------------------- */
.resources-list .card {
  text-align: left; /* Override default card center align for resource list */
  align-items: flex-start;
  margin-bottom: calc(var(--spacing-unit) * 2);
  box-shadow: var(--box-shadow-neo);
  border: 2px solid var(--color-border);
}
.resources-list .card:hover {
    box-shadow: 1px 1px 0px var(--color-border);
    transform: translate(2px, 2px);
}
.resources-list .card h3 {
  font-size: 1.2rem;
  margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.resources-list .card h3 a {
  text-decoration: none;
}
.resources-list .card p {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  margin-bottom: 0;
}
/* Grid for resources if multiple columns are desired */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2.5);
}


/* -------------------------------------------------------------------
 * ## Contact Preview Section
 * ------------------------------------------------------------------- */
.contact-preview-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(var(--spacing-unit) * 10) 0; /* 80px */
  color: var(--color-text-light);
}
.contact-preview-section .contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 30, 40, 0.8); /* Darker, slightly blueish overlay */
  z-index: 1;
}
.contact-preview-section .container {
  position: relative;
  z-index: 2;
}
.contact-preview-section .section-title {
    color: var(--color-text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.contact-preview-section p {
  font-size: 1.1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: calc(var(--spacing-unit) * 3.5);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* -------------------------------------------------------------------
 * ## Contact Page Styles
 * ------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--spacing-unit) * 5); /* 40px */
}
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr; /* Form takes a bit more space */
  }
}

.contact-form-container, .contact-info-container {
  background-color: var(--color-background-light);
  padding: calc(var(--spacing-unit) * 3.5); /* 28px */
  border-radius: var(--border-radius-subtle);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--box-shadow-light);
}

/* Form Styles */
.form-group {
  margin-bottom: calc(var(--spacing-unit) * 2.5); /* 20px */
}
.form-group label {
  display: block;
  margin-bottom: var(--spacing-unit);
  font-weight: 600;
  color: var(--color-text-subtle);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1.5); /* 12px */
  border: 1px solid #ccc;
  border-radius: var(--border-radius-subtle);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: #fdfdfd;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-accent);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-accent-rgb, 0,174,239), 0.2);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
/* Neo-brutalist input fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-sharp); /* Sharp edges */
    box-shadow: var(--box-shadow-neo-inset);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-accent);
    box-shadow: var(--box-shadow-neo-inset), 0 0 0 2px rgba(var(--color-primary-accent-rgb, 0,174,239), 0.3);
}


.contact-details li {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  display: flex; /* For aligning icon with text if icons were used */
  align-items: flex-start;
  font-size: 1rem;
}
.contact-details li strong {
  margin-right: var(--spacing-unit);
  color: var(--color-text-headings);
  min-width: 90px; /* Align text after strong */
  display: inline-block;
}
.map-placeholder img {
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-subtle);
}

/* -------------------------------------------------------------------
 * ## Success Page
 * ------------------------------------------------------------------- */
.success-page-section {
  min-height: calc(100vh - var(--header-height) - var(--footer-height, 200px)); /* Approximate footer height */
  /* If header/footer are not fixed or their height is dynamic, this needs JS or more robust CSS */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--spacing-unit) * 5) var(--spacing-unit) * 2;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--color-text-light);
  margin-top: calc(-1 * var(--header-height)); /* Pull up to overlap fixed header */
}
.success-page-section .hero-overlay { /* Re-use from hero */
    background-color: rgba(26, 26, 26, 0.8); /* Darker overlay for success page */
}
.success-page-section .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.success-icon {
    font-size: 4rem; /* Custom size for checkmark */
    color: var(--color-primary-accent);
    margin-bottom: var(--spacing-unit) * 2;
    line-height: 1;
}

/* -------------------------------------------------------------------
 * ## Footer
 * ------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-background-footer);
  color: rgba(245, 245, 245, 0.7); /* Lighter text for footer */
  padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 3) 0; /* 48px 24px */
  font-size: 0.9rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: calc(var(--spacing-unit) * 4); /* 32px */
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-widget h4 {
  font-family: var(--font-primary);
  color: var(--color-background-light);
  font-size: 1.2rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-widget p,
.footer-widget ul {
  margin-bottom: 0;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget li {
  margin-bottom: var(--spacing-unit);
}

.footer-widget a {
  color: rgba(245, 245, 245, 0.7);
  text-decoration: none;
}
.footer-widget a:hover,
.footer-widget a:focus {
  color: var(--color-primary-accent);
  text-decoration: underline;
}

.social-links-text li a {
  font-weight: 600; /* Make social links stand out a bit */
}

.copyright {
  text-align: center;
  padding-top: calc(var(--spacing-unit) * 3);
  border-top: 1px solid var(--color-border); /* Subtle separator */
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.5);
}

/* -------------------------------------------------------------------
 * ## Utility Classes
 * ------------------------------------------------------------------- */
.parallax-background {
  background-attachment: fixed;
  /* Ensure other background properties are set on the element itself or here */
  /* background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
}
/* Apply parallax only on larger screens where it's effective */
@media (min-width: 1024px) {
  .hero-section,
  .contact-preview-section,
  .page-header-section,
  .success-page-section { /* Apply to sections with background images */
    /* background-attachment: fixed; */ /* This creates the simple parallax */
    /* This can sometimes have performance issues or conflicts with overlays. Test thoroughly. */
    /* For more complex parallax, JS is usually needed. */
  }
}

.read-more-link {
  color: var(--color-primary-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
  display: inline-block; /* For proper underline effect */
}
.read-more-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary-accent);
  transition: width var(--transition-smooth);
}
.read-more-link:hover::after,
.read-more-link:focus::after {
  width: 100%;
}
.read-more-link:hover,
.read-more-link:focus {
  color: var(--color-primary-accent-dark);
  text-decoration: none;
}


/* -------------------------------------------------------------------
 * ## Cookie Consent Popup (Minimal inline styles are in HTML)
 * ------------------------------------------------------------------- */
#cookieConsentPopup {
  /* Most styles are inline in HTML for simplicity as requested,
     but can be enhanced here if needed */
  font-family: var(--font-secondary);
}
#cookieConsentPopup p {
    color: #e0e0e0; /* Match HTML styles */
}
#acceptCookieConsent {
    /* Uses .btn like styles, can be overridden if needed */
}

/* -------------------------------------------------------------------
 * ## AOS Animations (Can be customized if default is not enough)
 * ------------------------------------------------------------------- */
[data-aos] {
  /* Default AOS styles are good, but you can add base transitions here */
  /* e.g., transition-property: transform, opacity; */
}

/* Ensure high contrast for accessibility */
/* Most colors are chosen with contrast in mind. Double check specific combinations. */