@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
:root {
  font-family: Roboto, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #000000de;
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --primary-color: #010508;
  --icon-color: #1976d2;
  --secondary-color: #ff4444;
  --whatsapp-color: #25D366;
  --text-color: rgba(0, 0, 0, 0.87);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-light: #ffffff;
  --bg-overlay: rgba(25, 118, 210, 0.6);
  --card-bg: #ffffff;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: url(images/fondo.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5em;
}

h3 {
  font-size: 1.5em;
}

p {
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.whatsapp-icon {
  color: #25d366;
  font-size: 24px;
  transition: transform .3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.2);
}

.button-primary {
  background-color: #1976d2;
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color .3s ease;
}

.button-primary:hover {
  background-color: #1565c0;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px #0000001a;
  margin-bottom: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: rgb(25, 118, 210);
  margin: 12px auto 0px;
}

.section-subtitle {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 400;
  line-height: 1.75;
}

/* Hero Section */
.hero {
  position: relative;
  color: white;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  text-align: center;
  margin: 40px 0px 60px;
}

.hero-wrapper {
  position: relative;
  color: white;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10px 0px -20px;
  background-color: rgba(25, 118, 210, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1;
  border-radius: 15px;
  margin: 0px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container {
  display: flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .hero-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.hero-content-wrapper {
  max-width: 800px;
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  text-align: center;
  margin: 0px auto;
}

.hero-title-blue {
  font-weight: bold;
  font-size: 2.3rem;
  display: inline;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0px 8px 0px 0px;
  font-family: Roboto, sans-serif;
  line-height: 1.167;
  font-weight: 700;
}

@media (min-width: 600px) {
  .hero-title-blue {
    font-size: 2.5rem;
  }
}

.hero-title-red {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 2.5rem;
  display: inline;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0px;
  font-family: Roboto, sans-serif;
  line-height: 1.167;
  font-weight: 700;
}

@media (min-width: 600px) {
  .hero-title-red {
    font-size: 2.7rem;
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  margin: 0px auto 0.35em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  width: 100%;
  text-align: center;

  font-weight: 600;
  font-family: Roboto, sans-serif;
  line-height: 1.2;
}

@media (min-width: 600px) {
  .hero-subtitle {
    font-size: 1.8rem;
  }
}

@media (min-width: 900px) {
  .hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 24px;
  }
}

.hero-description {
  font-size: 0.9rem;

  margin: 0px 0px 16px;
  line-height: 1.5;
  font-family: Roboto, sans-serif;
  font-weight: 400;
}

@media (min-width: 600px) {
  .hero-description {
    font-size: 1rem;
    display: block;
  }
}

@media (min-width: 900px) {
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
}

.whatsapp-button {
  background-color: rgb(37, 211, 102);
  color: white;
  padding: 8px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.75;
  text-transform: uppercase;
  min-width: 64px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 16px;
  border: none;
  outline: 0;
}

@media (min-width: 900px) {
  .whatsapp-button {
    margin-top: 0px;
  }
}

.whatsapp-button:hover {
  background-color: #128C7E;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: white;
  transition: transform 0.3s ease;
  font-size: 1.25rem;
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.2);
}

/* Servicios Section */
.services-section {
  background-color: transparent;
}

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

.service-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Nuestros Servicios New Grid */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card-new {
  margin-bottom: 1rem;
  text-align: center;
  color: rgb(51, 51, 51);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  backdrop-filter: blur(8px);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-new:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.service-card-new h3 {
  color: rgb(51, 51, 51);
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-card-new p {
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Service CTA Section */
.service-cta-section {
  background-color: transparent;
}

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

.cta-title {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.whatsapp-button-large {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: 0px;
    margin: 16px 0px 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    border: 0px;
    color: var(--variant-containedColor);
    background-color: var(--variant-containedBg);
    --variant-textColor: #1976d2;
    --variant-outlinedColor: #1976d2;
    --variant-outlinedBorder: rgba(25, 118, 210, 0.5);
    --variant-containedColor: #fff;
    --variant-containedBg: rgb(37, 211, 102);
    font-size: 0.9375rem;
    padding: 12px 32px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
    transition: transform 0.2s, box-shadow 0.2s;

}

.whatsapp-button-large:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 5px 8px 0px, rgba(0, 0, 0, 0.12) 0px 1px 14px 0px;
}

@media (hover: hover) {
  .whatsapp-button-large:hover {
    --variant-containedBg: rgb(17, 82, 147);
    --variant-textBg: rgba(25, 118, 210, 0.04);
    --variant-outlinedBorder: #1976d2;
    --variant-outlinedBg: rgba(25, 118, 210, 0.04);
  }
}

.whatsapp-button-large .whatsapp-icon {
  width: 28px;
  height: 28px;
}

/* Por Qué Elegirnos Section */
.why-choose-section {
 
}

.benefits-grid {
    --Grid-columns: 12;
    --Grid-columnSpacing: 24px;
    --Grid-rowSpacing: 24px;
    flex-flow: wrap;
    min-width: 0px;
    box-sizing: border-box;
    display: flex;
    gap: var(--Grid-rowSpacing) var(--Grid-columnSpacing);
    -webkit-box-pack: center;
    justify-content: center;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-icon svg {
  width: 48px;
  height: 48px;
  color: var(--icon-color);
  font-size: 2rem;
}

.benefit-card h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}


/* Casos de Éxito Section */
.success-cases-section {
  background-color: transparent;
}

.cases-grid {
--Grid-columns: 12;
    --Grid-columnSpacing: 32px;
    --Grid-rowSpacing: 32px;
    flex-flow: wrap;
    min-width: 0px;
    box-sizing: border-box;
    display: flex;
    gap: var(--Grid-rowSpacing) var(--Grid-columnSpacing);
    -webkit-box-pack: center;
    justify-content: center;
}

.case-card-wrapper {
  transition: var(--transition);
}

.case-card-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
}

.case-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12);
  transition: var(--transition);
  position: relative;
}

.case-card-wrapper:hover .case-card {
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}

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

.case-category {
  position: relative;
  background-color: #1976d2;
  color: white;
  padding: 4px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -20px 0 0 16px;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.case-category svg {
  width: 20px;
  height: 20px;
  font-size: 1.25rem;
}

.case-content {
  padding: 1.5rem;
}

.case-content h3 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.case-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.case-result {
  max-width: 100%;
  font-family: Roboto, sans-serif;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: unset;
  vertical-align: middle;
  box-sizing: border-box;
  height: 24px;
  background-color: transparent;
  color: rgb(46, 125, 50);
  border-radius: 16px;
  white-space: nowrap;
  transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: 0px;
  text-decoration: none;
  padding: 0px 7px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(46, 125, 50, 0.7);
}

/* FAQ Section */
.faq-section {
  background-color: transparent;
}

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

.faq-item {
  background-color: rgb(255, 255, 255);
  color: rgba(0, 0, 0, 0.87);
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
  border-radius: 0px;
  transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-anchor: none;
}

.faq-item.active {
  margin: 16px 0px;
}

.faq-heading {
  all: unset;
}

.faq-question {
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  background-color: transparent;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  appearance: none;
  color: inherit;
  display: flex;
  width: 100%;
  min-height: 48px;
  outline: 0px;
  border-width: 0px;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  margin: 0px;
  border-radius: 0px;
  text-decoration: none;
  padding: 0px 16px;
  transition: min-height 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover:not(.Mui-disabled) {
  cursor: pointer;
}

.faq-item.active .faq-question {
  min-height: 64px;
}

.faq-question-content {
  display: flex;
  text-align: start;
  -webkit-box-flex: 1;
  flex-grow: 1;
  margin: 12px 0px;
  transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question-content {
  margin: 20px 0px;
}

.faq-question-title {
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0px;
}

.faq-icon {
  display: flex;
  color: rgba(0, 0, 0, 0.54);
  transform: rotate(0deg);
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-icon-svg {
  user-select: none;
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  fill: currentcolor;
  font-size: 1.5rem;
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-collapse {
  height: 0px;
  transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item.active .faq-collapse {
  height: auto;
  overflow: visible;
}

.faq-collapse-wrapper {
  display: flex;
  width: 100%;
}

.faq-collapse-inner {
  width: 100%;
}

.faq-region {
  width: 100%;
}

.faq-details {
  padding: 8px 16px 16px;
}

.faq-details p {
  margin: 0px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.87);
}

/* Testimonios Section
.testimonials-section {
  background-color: rgba(255, 255, 255, 0.95);
}
*/

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

.testimonials-grid {
    --Grid-columns: 12;
    --Grid-columnSpacing: 32px;
    --Grid-rowSpacing: 32px;
    flex-flow: wrap;
    min-width: 0px;
    box-sizing: border-box;
    display: flex;
    gap: var(--Grid-rowSpacing) var(--Grid-columnSpacing);
    -webkit-box-pack: center;
    justify-content: center;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid #1976d2;
  height: 100%;
}

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

.testimonial-header {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.testimonial-rating-icon {
  color: #1976d2;
  font-size: 40px;
  margin-right: 0.5rem;
  opacity: 0.7;
  flex-shrink: 0;
  align-self: flex-start;
  width: 40px;
  height: 40px;
}

.testimonial-text {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  word-break: break-word;
}

.testimonial-divider {
  margin: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 150px;
}

.testimonial-avatar-icon {
  color: #1976d2;
  margin-right: 0.25rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.testimonial-author-details {
  overflow: hidden;
}

.testimonial-author {
  color: var(--text-color);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-location {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star-icon {
  color: #FFD700;
  width: 18px;
  height: 18px;
}

.rating-value {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.testimonial-service {
  color: #1976d2;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  font-weight: 500;
  font-style: italic;
}

/* Formulario de Testimonios */
.testimonial-form-section {
  background-color: transparent;
  padding: 48px 16px;
}

/* ===== Reset y estilos base del formulario ===== */
.testimonial-container {
  background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
  border-radius: 8px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.08);
  padding: 32px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

#testimonial-form {
  width: 100%;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ===== Título y subtítulo ===== */
.form-title {
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  color: #1a1a1a;
}

.form-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1976d2;
  margin: 12px auto 0;
  border-radius: 2px;
}

.form-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Grid de dos columnas ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 8px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.form-label {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 8px;
  display: block;
  transform-origin: top left;
  transition: color 0.2s ease;
}

/* ===== Inputs y Textarea ===== */
.form-input {
  width: 100%;
  padding: 16.5px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:hover {
  border-color: #1a1a1a;
}

.form-input:focus {
  border-color: #1976d2;
  border-width: 2px;
  padding: 15.5px 13px;
  box-shadow: 0 0 0 1px #1976d2;
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.42);
  opacity: 1;
}

/* Select personalizado */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
  padding-right: 40px;
  cursor: pointer;
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== RATING EN FORMULARIO ===== */
.rating-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 24px;
    font-size: 1rem; /* tamaño base del texto */
}

/* Texto "Calificación:" */
.rating-group > span:first-child {
    font-size: 1rem;      /* 16px base */
    font-weight: 500;
    color: rgba(0,0,0,0.6);
}

/* Contenedor de estrellas */
.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.stars input {
    display: none;
}

.stars label {
    cursor: pointer;
    transition: transform 0.15s;
}

.stars label svg {
    width: 2rem;          /* ≈32px en desktop */
    height: 2rem;
    fill: #ccc;
    transition: fill 0.2s;
}

/* Estrella seleccionada y hover */
.stars label:hover svg,
.stars label:hover ~ label svg {
    fill: #ffb400;
}

.stars input:checked ~ label svg {
    fill: #ffb400;
}

.stars label:hover {
    transform: scale(1.15);
}

/* ===== RESPONSIVE para el rating ===== */
@media (max-width: 768px) {
    .rating-group {
        gap: 8px;
    }
    .rating-group > span:first-child {
        font-size: 0.9rem;
    }
    .stars label svg {
        width: 1.75rem;   /* ≈28px */
        height: 1.75rem;
    }
}

@media (max-width: 480px) {
    .rating-group {
        gap: 6px;
        flex-wrap: wrap;  /* permite que baje si es necesario */
    }
    .rating-group > span:first-child {
        font-size: 0.85rem;
    }
    .stars label svg {
        width: 1.5rem;    /* ≈24px */
        height: 1.5rem;
    }
}/* ===== Botón de envío ===== */
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  margin-top: 16px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  color: #fff;
  background-color: #1976d2;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-button:hover {
  background-color: #1565c0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-button:active {
  background-color: #0d47a1;
}

.submit-button:disabled {
  background-color: #bdbdbd;
  cursor: not-allowed;
  box-shadow: none;
}

.send-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Snackbar ===== */
.snackbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
   min-width: 288px;
  max-width: 600px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.snackbar.show {
  opacity: 1;
  visibility: visible;
}

.snackbar-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 4px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  color: #fff;
}

.snackbar.success .snackbar-content {
  background-color: #2e7d32;
}

.snackbar.error .snackbar-content {
  background-color: #d32f2f;
}

.snackbar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  line-height: 1;
}

.snackbar-close:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .testimonial-container {
    padding: 24px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .form-subtitle {
    font-size: 1.1rem;
  }

  .form-input {
    padding: 14px 12px;
  }

  .form-input:focus {
    padding: 13px 11px;
  }
}

/* Footer */
.footer {
  background: rgba(25, 118, 210, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 32px 16px 16px;
  margin-top: 32px;
  border-radius: 15px 15px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand-red {
  color: #ff4444;
}

.footer-desc {
  font-size: 0.9rem;
  margin-top: 4px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.social-link.whatsapp:hover {
  color: #25D366;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Snackbar */
.snackbar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 400px;
}

.snackbar.show {
  transform: translateY(0);
  opacity: 1;
}

.snackbar-message {
  flex: 1;
}

.snackbar-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.snackbar-close:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }

  .section-title {
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }

  .container {
    padding: 0 0.5rem;
  }

  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.5em;
  }

  .hero::before {
    margin: 0px 10px;
    inset: -5px 0px -10px;
  }

  .hero-content-wrapper {
    padding: 0 15px;
  }

.hero-title { font-size: 2.5rem; font-weight: 700; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); margin-bottom: 0.5rem; }

  .hero-title-red {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: none;
  }

  .services-grid,
  .benefits-grid,
  .cases-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 1.5rem 0;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }

  .hero-title-blue {
    font-size: 2.3rem;
  }

  .hero-title-red {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .service-card,
  .benefit-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .whatsapp-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .services-grid-new {
    grid-template-columns: 1fr;
  }

  .case-card {
    flex-direction: column;
  }

  .case-image {
    width: 100%;
    height: 200px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .hero-title-blue {
    font-size: 2.5rem;
  }

  .hero-title-red {
    font-size: 2.7rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.3s ease forwards;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1565c0;
}

/* Estilos adicionales del CSS original */
.service-item {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px #0000001a;
}

.service-item:hover {
  transform: translateY(-5px);
  transition: transform .3s ease;
}

.check-icon {
  color: #4caf50;
  font-size: 20px;
}

.warning-icon {
  color: #f57c00;
  font-size: 20px;
}

.snow-icon {
  color: #90a4ae;
  font-size: 20px;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: .6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color .25s;
}

button:hover {
  border-color: #646cff;
}

button:focus, button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #fff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter .3s;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  0% {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.read-the-docs {
  color: #888;
}
