/* 
  CoachPro - Estilos Principales
  Versión: 1.0
  Fecha: 2024
*/

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

:root {
  --primary-color: #4A90E2;
  --primary-dark: #3A73B4;
  --primary-light: #75AEFD;
  --secondary-color: #6B7C93;
  --accent-color: #F5A623;
  --text-color: #333333;
  --text-light: #6B7C93;
  --background-color: #FFFFFF;
  --background-alt: #F8F9FA;
  --border-color: #E0E0E0;
  --success-color: #27AE60;
  --error-color: #EB5757;
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --border-radius: 4px;
  --transition-main: all 0.3s ease-in-out;
  --container-max-width: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition-main);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

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

.btn.secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
}

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

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.text-controls {
  display: flex;
  gap: 0.5rem;
}

.text-controls button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  color: var(--text-color);
  transition: var(--transition-main);
}

.text-controls button:hover {
  background-color: var(--background-alt);
  color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-main);
    padding: 4rem 2rem 2rem;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0;
    margin-bottom: 1.5rem;
  }

  nav ul li a {
    display: block;
    padding: 0.5rem;
  }

  .mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

/* ===== PAGE HEADER ===== */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.9;
}

/* ===== FEATURED POSTS SECTION ===== */
.featured-posts {
  padding: 4rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more::after {
  content: '→';
  margin-left: 0.25rem;
  transition: var(--transition-main);
}

.read-more:hover::after {
  transform: translateX(3px);
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.services-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-main);
}

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

.service-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.testimonial {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  min-width: 300px;
  flex: 1;
}

.testimonial .quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-color);
}

.client {
  display: flex;
  align-items: center;
}

.client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.client-info h4 {
  margin-bottom: 0.25rem;
}

.client-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ===== CTA SECTION ===== */
.cta {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ===== FOOTER ===== */
footer {
  background-color: #2C3E50;
  color: white;
  padding-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  max-height: 50px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-main);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-main);
  color: white;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.7;
  margin: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.cookie-more-info {
  font-size: 0.875rem;
  margin: 0;
}

/* ===== BLOG PAGE ===== */
.blog-content {
  padding: 0 0 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* ===== SUBSCRIBE SECTION ===== */
.subscribe {
  padding: 4rem 0;
  background-color: var(--background-alt);
}

.subscribe-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.subscribe-box h2 {
  margin-bottom: 1rem;
}

.subscribe-box p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.subscribe-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.privacy-note {
  font-size: 0.875rem;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .subscribe-form {
    flex-direction: column;
  }
  
  .subscribe-box {
    padding: 2rem 1.5rem;
  }
}

/* ===== SERVICES PAGE ===== */
.services-section {
  padding: 0 0 4rem;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.service-detail.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.service-detail.reverse .service-info {
  direction: ltr;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.service-info h3 {
  margin-bottom: 1rem;
}

.service-info ul {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
}

.service-info li {
  margin-bottom: 0.5rem;
}

.service-info .btn {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
}

/* ===== METHODOLOGY SECTION ===== */
.methodology {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.methodology h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.methodology-item {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.methodology-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 4rem 0;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.price-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: var(--transition-main);
}

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

.price-card.featured {
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.price-tag {
  background-color: var(--accent-color);
  color: white;
  position: absolute;
  top: 1rem;
  right: -2rem;
  transform: rotate(45deg);
  padding: 0.25rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.price-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.price-header h3 {
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 0.5rem;
}

.price-features {
  padding: 2rem;
}

.price-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
}

.price-features li::before {
  content: '✓';
  display: inline-block;
  margin-right: 0.75rem;
  color: var(--success-color);
  font-weight: bold;
}

.price-cta {
  padding: 0 2rem 2rem;
  text-align: center;
}

.custom-quote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.1rem;
}

.custom-quote a {
  font-weight: 600;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  padding: 0 0 4rem;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
}

/* ===== VALUES SECTION ===== */
.values {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-main);
}

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

.value-icon {
  margin: 0 auto 1.5rem;
}

/* ===== TEAM SECTION ===== */
.team {
  padding: 4rem 0;
}

.team h2,
.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.team h2 {
  margin-bottom: 1rem;
}

.team-intro {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-main);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h3,
.team-member p {
  padding: 0 1.5rem;
}

.team-member h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-member p:nth-of-type(1) {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team-member .social-links {
  display: flex;
  padding: 0 1.5rem 1.5rem;
  gap: 1rem;
}

.team-member .social-links a {
  color: var(--text-light);
}

.team-member .social-links a:hover {
  color: var(--primary-color);
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.certifications h2,
.cert-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.certifications h2 {
  margin-bottom: 1rem;
}

.cert-intro {
  margin-bottom: 3rem;
}

.cert-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

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

.cert-logo img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-main);
}

.cert-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cert-logo p {
  font-size: 0.9rem;
  margin: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
  padding: 0 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-icon {
  margin-right: 1rem;
  display: flex;
  align-items: flex-start;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.social-contact {
  margin-top: 2.5rem;
}

.social-contact h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.social-contact .social-icons {
  justify-content: flex-start;
}

.social-contact .social-icons a {
  background-color: var(--background-alt);
  color: var(--text-color);
}

.contact-form-container {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.contact-form-container h2 {
  margin-bottom: 0.75rem;
}

.contact-form-container > p {
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group.checkbox {
  flex-direction: row;
  align-items: flex-start;
  grid-column: 1 / -1;
}

.form-group.checkbox input {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.form-group:nth-child(5) {
  grid-column: 1 / -1;
}

.form-submit {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 4rem 0;
  background-color: var(--background-alt);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 4rem 0;
}

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

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

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition-main);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  margin: 0 auto 1.5rem;
}

.thank-you-message h2 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .featured-posts,
  .services-preview,
  .testimonials,
  .cta,
  .methodology,
  .pricing,
  .team,
  .certifications,
  .values,
  .about-intro {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}
