/*
Theme Name: Transportes Inger
Theme URI: https://transportesinger.cl
Author: Simón Farías Servicios Digitales
Author URI: https://simonfarias.cl
Description: Tema a medida para Transportes Inger — transporte de pasajeros en Santiago: traslados privados, transfer al aeropuerto y transporte de personal. Diseño en azul marino, rápido y responsivo, integrado con el cotizador y WooCommerce.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: transportes-inger
*/

/* ===== Variables ===== */
:root {
	--navy: #0d2b52;
	--navy-2: #0a2140;
	--navy-3: #10315e;
	--blue: #1b4d8f;
	--blue-light: #2f6bbd;
	--accent: #2f6bbd;
	--text: #1a2b45;
	--muted: #5b6b82;
	--bg: #ffffff;
	--bg-soft: #f4f7fb;
	--border: #e2e8f2;
	--wa: #25d366;
	--radius: 14px;
	--maxw: 1180px;
	--shadow: 0 18px 40px rgba(13, 43, 82, 0.10);
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { color: var(--blue-light); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: 10px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: 2.1rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ===== Buttons ===== */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 1rem; line-height: 1;
	padding: 15px 28px; border-radius: 10px; border: none; cursor: pointer;
	transition: transform .05s, background .15s, box-shadow .15s; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-light); color: #fff; box-shadow: 0 10px 22px rgba(47,107,189,.32); }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef3fa; color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-arrow svg { width: 18px; height: 18px; }

/* ===== Top bar ===== */
.topbar { background: var(--navy-2); color: #cdd8ea; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #cdd8ea; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; opacity: .85; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.18); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-text .b1 { font-size: .72rem; letter-spacing: .22em; color: #9fb6d6; font-weight: 600; }
.brand .brand-text .b2 { font-size: 1.32rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { color: #dfe7f3; font-weight: 600; font-size: .96rem; padding: 6px 0; position: relative; }
.main-nav a:hover { color: #fff; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--blue-light); transition: width .2s; }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ===== Hero ===== */
.hero { position: relative; background: radial-gradient(1200px 500px at 80% -10%, #1c4f92 0%, rgba(28,79,146,0) 55%), linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 55%, #123a6d 100%); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero-content h1 { color: #fff; font-size: 3.15rem; letter-spacing: .01em; margin-bottom: 18px; }
.hero-content h1 span { color: #7fb0ef; }
.hero-content p { color: #c8d6ec; font-size: 1.18rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-illus { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.hero-badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: #d6e2f4; font-size: .95rem; font-weight: 600; }
.hero-badge svg { width: 22px; height: 22px; fill: #7fb0ef; flex: none; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 30px; text-align: center; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon-circle { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.card .icon-circle svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--muted); margin: 0; }

/* ===== Benefits strip ===== */
.benefits { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border-radius: 18px; padding: 40px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit svg { width: 38px; height: 38px; stroke: #fff; fill: none; stroke-width: 1.7; flex: none; }
.benefit h4 { margin: 0 0 4px; color: #fff; font-size: 1.05rem; }
.benefit p { margin: 0; color: #c4d4ec; font-size: .9rem; }
.benefit + .benefit { border-left: 1px solid rgba(255,255,255,.15); padding-left: 20px; }

/* ===== Fleet ===== */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fleet-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 18px rgba(13,43,82,.05); }
.fleet-photo { aspect-ratio: 16/10; background: linear-gradient(135deg, #17325c, #24507f); display: flex; align-items: center; justify-content: center; }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.fleet-photo .ph-van { width: 62%; opacity: .9; }
.fleet-body { padding: 22px 24px 26px; }
.fleet-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.fleet-body p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.fleet-body .cap { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: .9rem; }
.fleet-body .cap svg { width: 18px; height: 18px; fill: var(--blue); }

/* ===== Showcase (comodidad) ===== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showcase-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.showcase-text h2 { font-size: 2.05rem; margin-bottom: 14px; }
.showcase-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }
.showcase-list { list-style: none; margin: 0 0 26px; padding: 0; }
.showcase-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 600; color: var(--text); }
.showcase-list svg { width: 20px; height: 20px; fill: var(--blue); flex: none; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-size: 1.05rem; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { font-size: 1.4rem; color: var(--blue-light); transition: transform .2s; flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border-radius: 18px; padding: 54px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.cta-band p { color: #cad9ee; max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .ci-item .ci-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info .ci-item .ci-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.contact-info .ci-item h4 { margin: 0 0 3px; font-size: 1.02rem; }
.contact-info .ci-item p { margin: 0; color: var(--muted); }
.contact-info .ci-item a { color: var(--muted); }
.contact-info .ci-item a:hover { color: var(--blue); }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); text-align: center; }
.contact-card h3 { font-size: 1.4rem; }
.contact-card p { color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-2); color: #b9c7de; padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h5 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b9c7de; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-text .b2 { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: .92rem; max-width: 280px; }
.footer-contact .fc-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; font-size: .92rem; }
.footer-contact .fc-item svg { width: 17px; height: 17px; fill: #7fb0ef; flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--blue-light); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .85rem; color: #8fa0bd; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #8fa0bd; }

/* ===== WhatsApp float ===== */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Page (interior) ===== */
.page-hero { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; margin: 0; font-size: 2.4rem; }
.page-content { padding: 60px 0; }
.page-content .container { max-width: 860px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
	.hero .container { grid-template-columns: 1fr; }
	.hero-media { order: -1; max-width: 460px; }
	.hero-content h1 { font-size: 2.5rem; }
	.cards, .fleet-grid { grid-template-columns: 1fr; }
	.benefits { grid-template-columns: 1fr 1fr; }
	.benefit + .benefit { border-left: none; padding-left: 0; }
	.contact-grid, .footer-grid { grid-template-columns: 1fr; }
	.footer-grid { gap: 30px; }
	.showcase { grid-template-columns: 1fr; gap: 28px; }
	.showcase-media { order: -1; }
}
@media (max-width: 760px) {
	.section { padding: 60px 0; }
	.topbar .tb-left { display: none; }
	.main-nav { position: fixed; inset: 74px 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 20px; transform: translateY(-140%); transition: transform .25s; box-shadow: 0 12px 20px rgba(0,0,0,.2); }
	.main-nav.open { transform: translateY(0); }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav ul li { border-top: 1px solid rgba(255,255,255,.08); }
	.main-nav a { display: block; padding: 14px 24px; }
	.main-nav .btn { margin: 12px 24px 0; justify-content: center; }
	.nav-toggle { display: block; }
	.hero-content h1 { font-size: 2.1rem; }
	.benefits { grid-template-columns: 1fr; }
}
