/* ===== ROOT VARIABLES ===== */
:root {
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Colors - Complementary color scheme */
  --primary: #003f7d;      /* YPF Blue */
  --primary-light: #1a5692;
  --primary-dark: #002c5a;
  --secondary: #e63312;    /* Complementary Orange/Red */
  --secondary-light: #f54e2f;
  --secondary-dark: #c12200;
  --accent: #ffcc00;       /* YPF Yellow */
  --accent-light: #ffd633;
  --accent-dark: #e6b800;
  
  /* Neutral colors */
  --white: #ffffff;
  --light: #f5f7fa;
  --light-gray: #e1e8ef;
  --gray: #a0aec0;
  --dark-gray: #4a5568;
  --dark: #2d3748;
  --black: #1a202c;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* 3D effects */
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.12);
  --button-shadow: 0 4px 6px rgba(0, 0, 0, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Animation */
  --transition-fast: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-normal: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-light);
}

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

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.section-title p {
  font-size: 1.2rem;
  color: var(--dark-gray);
  max-width: 800px;
  margin: 1rem auto;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--button-shadow);
  transform: translateY(0);
}

.button:hover, .button:focus {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(1px);
}

.button.is-primary {
  background-color: var(--primary);
  color: var(--white);
}

.button.is-primary:hover {
  background-color: var(--primary-light);
}

.button.is-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.button.is-secondary:hover {
  background-color: var(--secondary-light);
}

.button.is-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.button.is-accent:hover {
  background-color: var(--accent-light);
}

.button.is-light {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--light-gray);
}

.button.is-light:hover {
  background-color: var(--light);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

.button.is-outlined.is-primary {
  color: var(--primary);
}

.button.is-outlined.is-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.button.is-outlined.is-secondary {
  color: var(--secondary);
}

.button.is-outlined.is-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.button.is-small {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.button.is-rounded {
  border-radius: var(--radius-full);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-end {
  display: flex;
  align-items: center;
}

.navbar-item {
  padding: 0.5rem 1rem;
  color: var(--dark);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-item:hover {
  color: var(--primary);
}

.navbar-item:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: transform var(--transition-normal);
  transform-origin: center;
}

.navbar-item:hover:after {
  transform: translateX(-50%) scaleX(0.8);
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  background: none;
  border: none;
}

.navbar-burger span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--dark);
  transition: all var(--transition-normal);
}

.navbar-burger span:nth-child(1) {
  top: 8px;
}

.navbar-burger span:nth-child(2) {
  top: 15px;
}

.navbar-burger span:nth-child(3) {
  top: 22px;
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  /*opacity: 0;*/
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media screen and (max-width: 1023px) {
  .navbar-burger {
    display: block;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    flex-direction: column;
  }

  .navbar-menu.is-active {
    display: flex;
  }

  .navbar-end {
    flex-direction: column;
    width: 100%;
  }

  .navbar-item {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero.is-fullheight {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-body {
  padding: 4rem 0;
  width: 100%;
  z-index: 2;
}

.hero .title, 
.hero .subtitle {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.hero-scroll a {
  display: inline-block;
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* ===== FEATURES SECTION ===== */
.estaciones-section {
  background-color: var(--white);
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.feature-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--dark-gray);
  flex-grow: 1;
}

/* ===== SERVICES SECTION ===== */
.servicios-section {
  background-color: var(--light);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray);
}

/* ===== STATISTICS SECTION ===== */
.statistics-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 6rem 0;
  position: relative;
}

.statistics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.statistics-section .container {
  position: relative;
  z-index: 2;
}

.statistics-section .title,
.statistics-section .subtitle {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.stat-description {
  color: var(--light);
  font-size: 1rem;
}

/* ===== PRESS SECTION ===== */
.press-section {
  background-color: var(--white);
}

.press-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.press-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.press-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.press-card:hover .press-image img {
  transform: scale(1.05);
}

.press-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.press-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.press-content p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.press-content .button {
  align-self: flex-start;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: var(--light);
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--light);
}

.faq-question h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-question .icon {
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--dark-gray);
  margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-section .title,
.contact-section .subtitle {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  background-color: var(--white);
  transition: border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 63, 125, 0.1);
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select::after {
  content: '\25BC';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--primary);
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox input {
  margin-right: 0.5rem;
}

.contact-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.contact-info-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.contact-info-item .icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 1rem;
  min-width: 40px;
  text-align: center;
}

.contact-info-item .text h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-info-item .text p {
  color: var(--light);
  margin-bottom: 0.25rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-logo img {
  height: auto;
  width: 150px;
}

.footer p {
  color: var(--light-gray);
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--light-gray);
  transition: color var(--transition-fast);
}

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

.footer-social {
  list-style: none;
}

.footer-social li {
  margin-bottom: 0.75rem;
}

.footer-social a {
  color: var(--light-gray);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent);
}

.app-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.app-button {
  display: block;
  transition: transform var(--transition-fast);
}

.app-button:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  background-color: var(--light);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.success-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

.success-message h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--dark-gray);
  font-size: 1.2rem;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.page-content {
  padding-top: 100px;
  min-height: calc(100vh - 250px);
}

.page-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.page-content h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.page-content ul, .page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

/* ===== COOKIE CONSENT ===== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  display: none;
}

#cookie-consent p {
  margin-bottom: 10px;
  color: white;
}

#accept-cookies {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--primary-light);
}

/* ===== ANIMATIONS ===== */
[data-aos] {
  /*opacity: 0;*/
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="flip-left"] {
  transform: perspective(2500px) rotateY(15deg);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0);
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1215px) {
  .container {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-title {
    font-size: 1.25rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 479px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .button.is-large {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  .app-links {
    flex-direction: column;
  }
}
.footer {
    background-color: rgb(193 182 182)!important;
    padding: 3rem 1.5rem 6rem;
}