/* Estilos propios de contactenos.php — lo compartido está en main.css */

:root { --navy: #225199; --navy-dark: #193d73; --navy-mid: #2a62b8; --blue: #2a62b8; --blue-light: #dbeafe; --lime: #ffcf00; --white: #ffffff; --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-400: #9ca3af; --gray-600: #4b5563; --gray-900: #111827; --radius: 8px; --shadow: 0 4px 24px rgba(0,0,0,.12); }

.nav-menu a { padding: .45rem .8rem; border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--gray-600); transition: background .15s, color .15s; }

.nav-menu a.active { background: var(--blue-light); color: var(--blue); }

.page-hero { background: linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%); padding: 5rem 2rem 4rem; position: relative; overflow: hidden; }

.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }

.page-hero::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(135deg, transparent 50%, rgba(255,207,0,.07) 50%); pointer-events: none; }

.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1.2rem; }

.breadcrumb a { color: rgba(255,255,255,.55); transition: color .15s; }

.breadcrumb span { color: var(--lime); }

.page-hero h1 { font-size: clamp(2rem,4vw,3rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: .8rem; }

.page-hero h1 em { font-style: normal; color: var(--lime); }

.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 560px; line-height: 1.7; }

.hero-accent-line { width: 60px; height: 4px; background: var(--lime); border-radius: 2px; margin: 1.4rem 0; }

.section { padding: 5rem 2rem; }

.section.alt { background: var(--gray-50); }

.section-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }

.section-label::before { content: ''; display: block; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; }

.section-title { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; color: var(--gray-900); line-height: 1.2; margin-bottom: .75rem; }

.section-title em { font-style: normal; color: var(--navy); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }

.reveal.visible { opacity: 1; transform: none; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }

.c-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-200); background: white; box-shadow: 0 2px 12px rgba(0,0,0,.06); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }

.c-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }

.c-img { position: relative; height: 170px; overflow: hidden; }

.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.c-card:hover .c-img img { transform: scale(1.05); }

.c-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(25,61,115,.05) 0%, rgba(25,61,115,.55) 100%); display: flex; align-items: flex-end; padding: .7rem 1rem; }

.c-img-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,207,0,.9); color: #193d73; padding: 3px 10px; border-radius: 999px; }

.c-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }

.c-title { font-size: .9rem; font-weight: 800; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; }

.c-number { font-size: 1.8rem; font-weight: 900; letter-spacing: -.02em; color: var(--navy); line-height: 1.1; }

.c-email-val { font-size: .9rem; font-weight: 700; color: var(--navy); word-break: break-all; line-height: 1.4; }

.c-desc { font-size: .83rem; color: var(--gray-600); line-height: 1.65; flex: 1; margin-bottom: .5rem; }

.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem 1rem; border-radius: 7px; font-weight: 700; font-size: .83rem; transition: all .2s; }

.c-btn.navy { background: var(--navy); color: white; }

.c-btn.navy:hover { background: var(--navy-dark); }

.c-btn.green { background: #1a6e3c; color: white; }

.c-btn.green:hover { background: #145530; }

.c-btn.orange { background: #c2410c; color: white; }

.c-btn.orange:hover { background: #9a3412; }

.cita-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 2.5rem; }

.cita-img { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.15); position: relative; }

.cita-img img { width: 100%; height: 420px; object-fit: cover; }

.cita-img-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(25,61,115,.85) 0%, transparent 65%); padding: 2.5rem 1.5rem 1.2rem; color: white; font-size: .88rem; line-height: 1.6; }

.cita-img-caption strong { color: var(--lime); }

.steps { display: flex; flex-direction: column; }

.step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--gray-200); }

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

.step-num { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: white; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.step h4 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; color: var(--gray-900); }

.step p { font-size: .83rem; color: var(--gray-600); line-height: 1.55; }

.step a { color: var(--navy); font-weight: 700; }

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

.horario-box { margin-top: 1.4rem; background: white; border-radius: 10px; border: 1px solid var(--gray-200); padding: 1.1rem 1.3rem; }

.horario-box h4 { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: .8rem; }

.h-row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; padding: .4rem 0; }

.h-row + .h-row { border-top: 1px solid var(--gray-100); }

.h-day { color: var(--gray-600); }

.h-time { font-weight: 700; color: var(--gray-900); }

.h-time.closed { color: var(--gray-400); font-weight: 400; }

.map-wrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin-top: 2.5rem; }

.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; }

.map-chip { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 10; background: white; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.15); padding: 1rem 1.2rem; max-width: 240px; }

.map-chip h4 { font-size: .9rem; font-weight: 800; margin-bottom: .3rem; }

.map-chip p { font-size: .78rem; color: var(--gray-600); margin-bottom: .8rem; line-height: 1.4; }

.map-dir-btn { display: inline-flex; align-items: center; gap: .35rem; background: var(--navy); color: white; padding: .45rem .9rem; border-radius: 6px; font-size: .78rem; font-weight: 700; transition: background .2s; }

.map-dir-btn:hover { background: var(--navy-dark); }

.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }

.fb-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }

.fb-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }

.fb-img { position: relative; height: 190px; overflow: hidden; }

.fb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.fb-card:hover .fb-img img { transform: scale(1.05); }

.fb-img-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; }

.fb-badge { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }

.fb-badge.diurno { background: rgba(255,207,0,.92); color: #193d73; }

.fb-badge.nocturna { background: rgba(11,17,32,.88); color: var(--lime); border: 1px solid rgba(255,207,0,.35); }

.fb-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; }

.fb-body.light { background: white; }

.fb-body.dark { background: #0b1120; }

.fb-body h3 { font-size: 1rem; font-weight: 800; }

.fb-body.dark h3 { color: white; }

.fb-body p { font-size: .83rem; }

.fb-body.light p { color: var(--gray-600); }

.fb-body.dark p { color: rgba(255,255,255,.55); }

.fb-link { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 7px; font-weight: 700; font-size: .83rem; align-self: flex-start; margin-top: .3rem; transition: all .2s; }

.fb-link.diurno { background: #1877f2; color: white; }

.fb-link.diurno:hover { background: #1260cc; }

.fb-link.nocturna { background: rgba(255,207,0,.12); border: 1px solid rgba(255,207,0,.3); color: var(--lime); }

.fb-link.nocturna:hover { background: rgba(255,207,0,.22); }

.fb-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.brete-logo { font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }

.brete-link { display: inline-flex; align-items: center; gap: .35rem; background: var(--lime); color: #0e2040; padding: .35rem .8rem; border-radius: 6px; font-size: .75rem; font-weight: 800; align-self: flex-start; transition: opacity .15s; }

.brete-link:hover { opacity: .85; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cita-grid { grid-template-columns: 1fr; }
  .fb-grid { grid-template-columns: 1fr; }
}
