/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'MyriadProRegular';
  font-style: normal;
  font-weight: 400;
  src:
    url('../css/MyriadPro-Regular.woff') format('woff');
}

/* BASE */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
    color: #2c2c2c;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    /*background: #1f2a44;*/
    padding: 18px 0;
}

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

.red {
		background: #961829;
		padding: 8px;
}

.logo {
    color: #961829;
    font-weight: 600;
}
.logo a {
  color: #961829;
  font-weight: 600;
  text-decoration: none;
}

.logo img{
    width: 150px;
}

@media only screen and (max-width: 500px) {
    .logo {
        font-size: 0.6em;
    }
    .logo img {
        width: 75px;
    }
}

@media only screen and (min-width: 501px) AND (max-width: 700px) {
    .logo {
        font-size: 0.8em;
    }
    .logo img {
        width: 90px;
    }
}

@media only screen and (min-width: 701px) AND (max-width: 1260px) {
    .logo {
        font-size: 1.3em;
    }
    .logo img {
        width: 110px;
    }
}

.header nav a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 400;
    position: relative;
}
@media only screen and (max-width: 340px) {
    .header nav a {
        font-size: 0.6em;
    }
}

/* hover elegante */
.header nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #f4f6f9;
    transition: 0.3s;
}

.header nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(31,42,68,0.85), rgba(31,42,68,0.85)),
                url('../img/hero.jpg') center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
}

/* BANNER */
.banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* TITULOS */
.title {
    color: #961829;
    margin-bottom: 25px;
    font-weight: 600;
}

/* SECTIONS */
.section {
    padding: 70px 0;
}

.section.alt {
    background: #e9edf3;
}

/* CARDS */
.grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.card {
    background: white;
    flex: 1;
    min-width: 260px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-4px);
}

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

.card h3 {
    padding: 15px;
    color: #961829;
}

.card p {
    padding: 0 15px 20px;
    color: #555;
}

/* IMAGE BLOCK */
.image-block {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.image-block img {
    width: 100%;
    max-width: 500px;
    border-radius: 6px;
}

/* CONTACT */
.contact-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
}

button {
    background: #961829;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #7d1422;
}

.checkbox {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox input {
    margin-top: 3px;
}

.checkbox a {
    color: #961829;
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: #1f2a44;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  font-weight: 500;
}

.footer a:visited {
	color: white;
  text-decoration: none;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

    text-decoration: none;
    z-index: 9999;
}

.whatsapp svg {
    width: 28px;
    height: 28px;
    fill: white;
    /*display: block;*/
}

/* MAPA FULL WIDTH */
.map-full {
    width: 100%;
    margin-top: 40px;
}

.map-full iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ANIMACIONES SUAVES */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.7s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.7s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.7s ease;
}

.visible {
    opacity: 1;
    transform: translate(0,0);
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    max-width: 600px;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #961829;
    min-width: 120px;
}

.value {
    text-align: right;
    color: #333;
    flex: 1;
}

