@font-face {
    font-family: "Vintaface";
    src: url(../fonts/Vintaface-Regular.woff2) format("woff2"), url(../fonts/Vintaface-Regular.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --color-primario: #c62828;
    --color-secundario: #0d47a1;
    --color-acento: #ffd600;
    --color-fondo: #ffffff;
    --color-texto: #212121;
    --color-gris-suave: #f5f5f5;
    --fuente-titulo: "Vintaface-Regular", Arial, sans-serif;
    --fuente-principal: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --fuente-secundaria: Georgia, "Times New Roman", serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--fuente-principal);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    overflow-x: hidden;
}
.main-header {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/fondo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    will-change: transform;
    transition: opacity 1s ease;
}
.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(198 40 40 / 0.7);
    z-index: 1;
}
.top-nav {
    position: relative;
    z-index: 3;
    background-color: #282727;
    padding: 1rem 0;
    width: 100%;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.3);
}
.top-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}
.top-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}
.top-nav ul li a:hover {
    color: var(--color-acento);
    background-color: rgb(255 255 255 / 0.1);
}
.header-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
@keyframes letterWave {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-3deg);
    }
}
@keyframes titleGlow {
    0% {
        text-shadow: 0 0 0 #fff0;
    }
    50% {
        text-shadow: 0 0 15px rgb(255 214 0 / 0.4);
    }
    100% {
        text-shadow: 0 0 0 #fff0;
    }
}
.company-name {
    font-family: var(--fuente-titulo);
    font-size: 5.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.letter {
    display: inline-block;
    animation: letterWave 1.2s ease-in-out forwards, titleGlow 2s ease-in-out 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}
.letter:nth-child(1) {
    animation-delay: 0.1s;
}
.letter:nth-child(2) {
    animation-delay: 0.2s;
}
.letter:nth-child(3) {
    animation-delay: 0.3s;
}
.letter:nth-child(4) {
    animation-delay: 0.4s;
}
.letter:nth-child(5) {
    animation-delay: 0.5s;
}
.letter:nth-child(6) {
    animation-delay: 0.6s;
}
.letter:nth-child(7) {
    animation-delay: 0.7s;
}
.letter:nth-child(8) {
    animation-delay: 0.8s;
}
.letter:nth-child(9) {
    animation-delay: 0.9s;
}
.letter:nth-child(10) {
    animation-delay: 1s;
}
.letter:nth-child(11) {
    animation-delay: 1.1s;
}
.letter:nth-child(12) {
    animation-delay: 1.2s;
}
.letter:nth-child(13) {
    animation-delay: 1.3s;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.company-slogan {
    animation: fadeInUp 1s ease-out 1.5s both;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-acento);
    margin-bottom: 2rem;
    font-weight: 500;
}
@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.language-display {
    display: flex;
    gap: 1.5rem;
}
.language-display span {
    animation: bounceIn 0.6s ease-out both;
    font-size: 1.2rem;
    font-weight: 700;
    background: rgb(255 255 255 / 0.15);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #fff;
}
.language-display span:nth-child(1) {
    animation-delay: 1.8s;
}
.language-display span:nth-child(2) {
    animation-delay: 2s;
}
.language-display span:nth-child(3) {
    animation-delay: 2.2s;
}
.breadcrumbs {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}
.breadcrumbs a {
    color: #c62828;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs span {
    color: #333;
}
.about-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.about-content {
    flex: 1;
}
.about-section h2 {
    color: var(--color-primario);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.about-text {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.05);
    position: relative;
}
.about-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primario);
    border-radius: 8px 0 0 8px;
}
.expertise-list {
    list-style: none;
    margin-top: 1.5rem;
}
.expertise-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.expertise-list li::before {
    content: "•";
    color: var(--color-acento);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}
.about-image {
    flex: 0 0 350px;
    position: relative;
    margin-top: 2rem;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.15), 0 0 0 12px var(--color-primario);
    transition: all 0.3s ease;
}
.about-image img:hover {
    transform: rotate(0deg) scale(1.02);
}
.image-caption {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--color-texto);
    font-size: 0.9rem;
}
.highlight-box {
    background-color: var(--color-gris-suave);
    border-left: 4px solid var(--color-acento);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}
.services-section {
    background-color: #f9f9f9;
    padding: 5rem 0;
}
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.services-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
    font-family: var(--fuente-titulo);
}
.services-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--color-texto);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}
.services-subtitle::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primario), var(--color-acento));
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgb(0 0 0 / 0.12);
}
.service-image-container {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-image {
    transform: scale(1.05);
}
.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-content h3 {
    color: var(--color-primario);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}
.service-content p {
    color: var(--color-texto);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}
.service-more-btn {
    display: inline-block;
    background: var(--color-primario);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
    width: auto;
}
.service-more-btn:hover {
    background: var(--color-secundario);
    transform: translateY(-2px);
}
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-section h2 {
        font-size: 2.2rem;
    }
    .service-more-btn {
        align-self: stretch;
        text-align: center;
    }
}
.service-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgb(198 40 40 / 0.1);
}
.service-page-header h1 {
    font-size: 2.5rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
    font-weight: 700;
}
.service-description {
    font-size: 1.2rem;
    color: var(--color-texto);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.service-page-content {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    align-items: flex-start;
}
.service-page-image {
    flex: 0 0 45%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.1);
    position: sticky;
    top: 20px;
}
.service-page-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.service-page-image:hover img {
    transform: scale(1.03);
}
.service-page-details {
    flex: 1;
}
.service-benefits h2,
.pricing-section h2 {
    color: var(--color-primario);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.features-list {
    list-style: none;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.features-list li {
    padding: 0.8rem 1rem;
    background: rgb(198 40 40 / 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
}
.features-list li:hover {
    background: rgb(198 40 40 / 0.1);
    transform: translateX(5px);
}
.features-list li i {
    color: var(--color-acento);
    font-size: 1.1rem;
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgb(0 0 0 / 0.12);
}
.pricing-card.highlight {
    border: 2px solid var(--color-acento);
}
.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-acento);
    color: #fff;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgb(255 214 0 / 0.3);
}
.pricing-card h3 {
    color: var(--color-primario);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 1.2rem;
}
.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-texto);
}
.pricing-card ul {
    list-style: none;
    margin-top: 1.5rem;
}
.pricing-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
}
.pricing-card ul li i {
    color: var(--color-acento);
    width: 20px;
    text-align: center;
}
.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(198 40 40 / 0.1);
}
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-primario);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(198 40 40 / 0.2);
}
.service-cta:hover {
    background: var(--color-secundario);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgb(13 71 161 / 0.3);
}
.service-cta i {
    font-size: 1.2rem;
}
.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-texto-claro);
    font-style: italic;
}
.pricing-table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  font-size: 1rem;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.pricing-table th {
  background: var(--color-primario, #c62828);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.pricing-table td {
  text-align: center;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.combo-row {
  background: #f9f9f9;
}

.pricing-note {
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1rem;
  color: var(--color-texto, #444);
  text-align: center;
}

.pricing-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-cta {
  display: inline-block;
  background: var(--color-primario, #c62828);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(198, 40, 40, 0.15);
}
.btn-cta:hover {
  background: var(--color-secundario, #0d47a1);
}

/* Responsive tabla */
@media (max-width: 600px) {
  .pricing-table th, .pricing-table td {
    padding: 0.7rem 0.3rem;
    font-size: 0.97rem;
  }
}
@media (max-width: 1024px) {
    .service-page-content {
        flex-direction: column;
    }
    .service-page-image {
        flex: 1;
        width: 100%;
        margin-bottom: 2rem;
        position: static;
    }
}
@media (max-width: 768px) {
    .service-page-header h1 {
        font-size: 2rem;
    }
    .features-list {
        grid-template-columns: 1fr;
    }
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    .service-cta {
        width: 100%;
        justify-content: center;
    }
    .contact-section {
        padding: 4rem 0;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-header h2 {
        font-size: 2.2rem;
    }
    .contact-info,
    .contact-form {
        padding: 1.8rem;
    }
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .social-links {
        justify-content: center;
    }
}
.error-message {
    display: none;
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 5px;
}
input:invalid {
    border-color: #ff5252;
}
input:valid {
    border-color: #4caf50;
}
.contact-section {
    background-color: var(--color-primario);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.contact-section {
    background-color: var(--color-primario);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(198 40 40 / 0.9) 0%, rgb(198 40 40 / 0.95) 100%);
    z-index: 0;
}
.contact-section::after {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="white" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39 116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="white" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>');
    background-size: cover;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}
.contact-header h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--fuente-titulo);
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}
.contact-header h2.animate-contact,
.contact-subtitle.animate-contact {
    animation: slideInFromBottom 0.8s ease-out forwards;
}
.contact-subtitle.animate-contact {
    animation-delay: 0.3s;
}
.contact-header h2,
.contact-subtitle {
    opacity: 0;
    transform: translateY(30px);
}
.contact-subtitle {
    color: rgb(255 255 255 / 0.9);
    font-size: 1.3rem;
    display: inline-block;
    position: relative;
}
.contact-subtitle::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-acento);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.contact-info {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgb(0 0 0 / 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgb(0 0 0 / 0.15);
}
.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}
.contact-icon {
    font-size: 2rem;
    color: var(--color-primario);
    background: rgb(198 40 40 / 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.contact-method:hover .contact-icon {
    background: var(--color-primario);
    color: #fff;
    transform: scale(1.1);
}
.contact-method h3 {
    color: var(--color-primario);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}
.contact-link {
    color: var(--color-primario);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}
.contact-link:hover {
    color: var(--color-secundario);
    transform: translateX(5px);
}
.contact-text {
    color: var(--color-texto);
    font-size: 1rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}
.social-icon {
    background-color: #fff;
    color: var(--color-primario);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primario);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.social-icon:hover {
    background-color: var(--color-acento);
    color: #fff;
    border-color: var(--color-acento);
    transform: translateY(-3px);
}
.contact-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgb(0 0 0 / 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgb(0 0 0 / 0.15);
}
.form-group {
    margin-bottom: 1.8rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--color-texto);
    font-weight: 500;
    font-size: 1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--fuente-principal);
    transition: all 0.3s ease;
    font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primario);
    outline: none;
    box-shadow: 0 0 0 3px rgb(198 40 40 / 0.1);
}
.submit-btn {
    background-color: var(--color-primario);
    color: #fff;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgb(198 40 40 / 0.3);
}
.submit-btn:hover {
    background-color: var(--color-secundario);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgb(13 71 161 / 0.3);
}
@keyframes slideInFromBottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-header h2 {
        font-size: 2.2rem;
    }
    .contact-info,
    .contact-form {
        padding: 1.8rem;
    }
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .social-links {
        justify-content: center;
    }
}
footer {
    background-color: #282727;
    color: #fff;
    padding: 3rem 0 1.5rem;
    position: relative;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}
.footer-brand h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--fuente-titulo);
}
.footer-brand p {
    color: rgb(255 255 255 / 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.4rem;
}
.social-icon:hover {
    background-color: var(--color-primario);
    transform: translateY(-3px) scale(1.1);
    color: #fff;
}
.fa-weixin {
    font-size: 1.3rem;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primario);
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 0.8rem;
}
.footer-column a {
    color: rgb(255 255 255 / 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer-column a:hover {
    color: var(--color-acento);
    padding-left: 5px;
}
.footer-copyright {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    display: flex;
    justify-content: space-between;
    color: rgb(255 255 255 / 0.6);
    font-size: 0.85rem;
}
@media (max-width: 768px) {
    .company-name {
        font-size: 3.5rem;
    }
    .letter {
        animation: letterWave 1s ease-in-out forwards, titleGlow 1.5s ease-in-out 0.8s forwards;
    }
    .about-section {
        flex-direction: column;
    }
    .about-image {
        flex: 1;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 1.5rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
.header-bg {
    opacity: 0.4 !important;
}
.main-header::before {
    background: rgb(198 40 40 / 0.8);
}
