@font-face {
    font-family: 'Helvetica';
    src: url('./assets/Tipografia/Helvetica/Helvetica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('./assets/Tipografia/Helvetica/Helvetica-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Light';
    src: url('./assets/Tipografia/Helvetica/helvetica-light-587ebe5a59211.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
    --primary-color: #2b6cb0; 
    --primary-dark: #2c5282;
    --accent-color: #4299e1;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-gray: #f5f5f5;
    --bg-dark: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ================== HEADER ================== */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav a:hover {
    color: #a3d9ff;
}

.btn-phone {
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.btn-phone:hover {
    transform: scale(1.05);
}

/* ================== HERO ================== */
.hero {
    position: relative;
    background: url('./assets/fotos/Banner 1.png') center no-repeat;
    background-size: 100% 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 82, 130, 0.4); /* Blue overlay */
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.hero-left {
    max-width: 600px;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 5px;
}

.hero-desc {
    font-size: 24px;
    font-family: 'Helvetica Light', Arial, sans-serif;
    margin-bottom: 30px;
}

.hero-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-form-container h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.btn-submit-img {
    transition: transform 0.2s;
}

.btn-submit-img:hover {
    transform: scale(1.02);
}

.hero-badge-img {
    width: 250px;
    height: auto;
    object-fit: contain;
}

/* ================== NOSOTROS ================== */
.nosotros {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    display: flex;
}

.nosotros-img {
    flex: 1;
    background: url('./assets/fotos/nosotros.png') center/contain no-repeat;
    min-height: 400px;
}

.nosotros-content {
    flex: 1;
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nosotros-text {
    max-width: 500px;
}

.nosotros-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.nosotros-text p {
    margin-bottom: 15px;
    font-size: 14px;
    font-family: 'Helvetica Light', Arial, sans-serif;
}

.badge-14-img {
    width: 150px;
    height: auto;
    margin-left: 20px;
}

/* ================== CARACTERISTICAS ================== */
.caracteristicas {
    padding: 60px 0;
    background: white;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.caract-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.caract-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.caract-item p {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
    min-height: 100px;
}

.caract-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: none;
}

/* ================== SERVICIOS ================== */
.servicios {
    background: url('./assets/fotos/seccion servicios.png') center no-repeat;
    background-size: 100% 100%;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(66, 153, 225, 0.4);
}

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

.servicios h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.serv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.serv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.serv-icon-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}

.serv-item h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================== COTIZA BIG ================== */
.cotiza-banner {
    background: url('./assets/fotos/seccion contactanos.png') center no-repeat;
    background-size: 100% 100%;
    padding: 60px 0;
    position: relative;
}

.cotiza-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cotiza-text h2 {
    color: var(--accent-color);
    font-size: 42px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 10px;
}

.cotiza-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 600px;
}

.cotiza-form input, .cotiza-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
}

.cotiza-form textarea {
    grid-row: span 3;
    resize: none;
    height: 100%;
}

.cotiza-form .col-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cotiza-form .col-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ================== CASOS DE EXITO ================== */
.casos {
    padding: 80px 0;
    text-align: center;
}

.casos {
    background-color: var(--bg-gray);
}

.carousel {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.car-img {
    width: auto;
    max-width: 250px;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
}

.car-content {
    text-align: left;
    max-width: 400px;
}

.car-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.car-quote {
    color: var(--accent-color);
    font-style: italic;
    font-weight: bold;
    margin-bottom: 10px;
}

.car-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.car-nav {
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}
.car-nav:hover {
    transform: scale(1.1);
}

/* ================== BLOG ================== */
.blog-banner {
    background: url('./assets/fotos/blog 1.png') center/contain no-repeat;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-banner h2 {
    color: white;
    font-size: 48px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.blog-articles {
    padding: 60px 20px;
    background-color: var(--bg-gray);
}

.blog-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-dark);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h3 {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
}

.accordion-header i {
    font-size: 16px;
    transition: transform 0.3s;
    color: var(--accent-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: white;
}

.accordion-inner {
    padding: 0 25px 25px 25px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.accordion-inner p {
    margin-bottom: 15px;
}

.accordion-item.active .accordion-content {
    max-height: 1000px; /* Suficiente para el contenido */
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* ================== FOOTER ================== */
footer {
    background-color: var(--bg-dark);
    color: #aaa;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 12px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .caract-grid { grid-template-columns: 1fr; }
    .serv-grid { grid-template-columns: 1fr; }
    .nosotros { flex-direction: column; }
    .hero .container { flex-direction: column-reverse; gap: 30px; align-items: center; }
    .hero-form-container { width: 100%; max-width: 400px; margin-top: 30px; }
    .hero-badge { margin-bottom: 20px; }
    .cotiza-inner { flex-direction: column; text-align: center; gap: 30px;}
    .cotiza-form { width: 100%; grid-template-columns: 1fr; }
    .carousel { flex-direction: column; text-align: center; }
    .car-content { text-align: center; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    nav ul { display: none; /* simple hidden for mobile for now, to add mobile menu in JS */ }
}
