/* ============================================================
   Bohol Light — home.css
   Homepage section styles, ported from the approved mockup.
   ============================================================ */

/* ===== HERO SPLIT ===== */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero .wrap {
	display: grid;
	grid-template-columns: 1.02fr .98fr;
	min-height: 100vh;
	padding: 0;
	max-width: none;
}
.hleft {
	background: var(--green-deep);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
}
.hinner { max-width: 34rem; }
.hchip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--orange);
	color: #fff;
	font-weight: 800;
	font-size: .82rem;
	padding: .5rem 1rem;
	border-radius: var(--pill);
	margin-bottom: 1.5rem;
}
.hero h1 {
	font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4rem);
	letter-spacing: -.025em;
	line-height: 1.02;
	margin-bottom: 1.2rem;
	color: #fff;
}
.hero .lead {
	font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem);
	color: rgba(255, 255, 255, .9);
	max-width: 44ch;
	margin-bottom: 2rem;
}
.hact { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.hlink {
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: rgba(255, 255, 255, .5);
}
.hlink:hover { color: #FFD27A; text-decoration-color: #FFD27A; }
.htrust { font-size: .9rem; color: rgba(255, 255, 255, .72); max-width: 42ch; }
.htrust b { color: #FFD27A; }
.hright { position: relative; overflow: hidden; min-height: 60vh; }
.hright img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hbadge {
	position: absolute;
	left: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	background: #fff;
	color: var(--green-ink);
	border-radius: 18px;
	padding: 1rem 1.3rem;
	box-shadow: 0 20px 44px -24px rgba(18, 58, 24, .55);
	max-width: 220px;
}
.hbadge .n {
	font-family: var(--mono);
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1;
	color: var(--green-deep);
}
.hbadge .t { font-size: .82rem; font-weight: 700; color: var(--body); margin-top: .35rem; }

/* ===== STAT BAND ===== */
.statband { background: var(--orange); }
.statband .wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	padding-block: clamp(2.2rem, 4vw, 3rem);
}
.stat { text-align: center; color: #fff; border-left: 1px solid rgba(255, 255, 255, .28); padding: 0 .5rem; }
.stat:first-child { border-left: none; }
.stat .num {
	font-family: var(--mono);
	font-weight: 600;
	font-size: clamp(2rem, 1.35rem + 2.2vw, 3.1rem);
	line-height: 1;
	letter-spacing: -.02em;
}
.stat .lbl {
	font-family: var(--mono);
	font-weight: 500;
	font-size: .74rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .94);
	margin-top: .5rem;
}

/* ===== SECTIONS ===== */
section.blk { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.hd2 { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.hd2.c { margin-inline: auto; text-align: center; }
.hd2 h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--green-ink); }
.hd2 h2 .o { color: var(--orange); }
.hd2 p { color: var(--body); font-size: 1.1rem; margin-top: .7rem; }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 1.7rem 1.5rem;
	display: flex;
	flex-direction: column;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -26px rgba(18, 58, 24, .3); }
.card .ic {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	margin-bottom: 1.05rem;
	color: #fff;
}
.card:nth-child(1) .ic { background: var(--orange); }
.card:nth-child(2) .ic, .card:nth-child(3) .ic, .card:nth-child(4) .ic { background: var(--green); }
.card h3 { font-size: 1.25rem; color: var(--green-ink); margin-bottom: .35rem; }
.card p { color: var(--body); font-size: .93rem; flex: 1; }
.card .go { margin-top: .9rem; font-weight: 800; color: var(--orange-deep); font-size: .88rem; }

.why { background: var(--mist); }
.pil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pcard { background: #fff; border-radius: var(--r); padding: 1.9rem 1.7rem; border: 1px solid var(--line); }
.pcard .pi {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--mist2);
	color: var(--green);
	display: grid;
	place-items: center;
	margin-bottom: 1.1rem;
}
.pcard h3 { font-size: 1.3rem; color: var(--green-ink); margin-bottom: .5rem; }
.pcard p { color: var(--body); font-size: .96rem; }

/* ===== POWER ADVISORIES IMAGE GALLERY ===== */
.advhd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.advhd h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gitem { display: block; color: inherit; }
/* The thumb is the sizing box: a uniform portrait tile. Posters are portrait
   story graphics, so every card is the same 4:5 shape with the image filling
   it (top-aligned so the poster header shows). No uneven white gaps. */
.gthumb {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: #fff;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.gitem:hover .gthumb { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(18, 58, 24, .42); }
.gthumb img,
.gthumb .gph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	border: 0;
	border-radius: 0;
}
.gthumb .gph { background: linear-gradient(135deg, var(--mist), var(--mist2)); }
.gthumb .gcat { z-index: 2; }
.gcat {
	position: absolute;
	top: .7rem;
	left: .7rem;
	color: #fff;
	font-family: var(--f);
	font-weight: 800;
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: .35rem .75rem;
	border-radius: var(--pill);
}
.gcat.maint { background: var(--orange); }
.gcat.emer { background: var(--red); }
.gttl {
	margin-top: .85rem;
	font-family: var(--d);
	font-weight: 600;
	font-size: 1.08rem;
	color: var(--green-ink);
	line-height: 1.2;
}
.gcap {
	margin-top: .35rem;
	font-family: var(--mono);
	font-size: .8rem;
	font-weight: 600;
	color: var(--body);
	opacity: .75;
	letter-spacing: .02em;
}

/* ===== MISSION / VISION / VALUES ===== */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.mvc { border-radius: var(--r); padding: 2rem 1.9rem; color: #fff; }
.mvc.m { background: var(--green); }
.mvc.v { background: var(--orange); }
.mvc h3 { color: #fff; font-size: 1.6rem; margin-bottom: .7rem; }
.mvc p { color: rgba(255, 255, 255, .94); }
.vals {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: clamp(1.6rem, 3vw, 2.2rem);
}
.vals h3 { font-size: 1.4rem; color: var(--green-ink); margin-bottom: 1.3rem; }
.vg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.vi { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--body); font-size: .93rem; }
.vi .k {
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 10px;
	background: var(--mist);
	color: var(--green);
	display: grid;
	place-items: center;
}

/* ===== NEWS OVERLAY CARDS ===== */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nc {
	position: relative;
	border-radius: var(--r);
	overflow: hidden;
	min-height: 420px;
	display: flex;
	isolation: isolate;
	transition: transform .3s var(--ease);
	background: var(--green-deep);
}
.nc:hover { transform: translateY(-5px); }
.nc img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform .5s var(--ease);
}
.nc:hover img { transform: scale(1.06); }
.nc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 60, 20, .55); }
.nc .cb { margin-top: auto; padding: 1.4rem 1.4rem 1.5rem; color: #fff; }
.nc time { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .85); }
.nc h3 { font-size: 1.2rem; color: #fff; margin: .45rem 0 .5rem; }
.nc p { color: rgba(255, 255, 255, .9); font-size: .9rem; }
.ncat {
	position: absolute;
	top: .9rem;
	left: .9rem;
	z-index: 2;
	background: var(--orange);
	color: #fff;
	font-family: var(--f);
	font-weight: 800;
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: .35rem .75rem;
	border-radius: var(--pill);
}

/* ===== CONTACT SPLIT ===== */
.cta { background: var(--green-deep); color: #fff; }
.cta .wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.ctasplit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: 16ch; margin-bottom: 1rem; }
.cta .lead { color: rgba(255, 255, 255, .88); max-width: 46ch; margin-bottom: 1.8rem; }
.cta .row { display: flex; gap: 1rem; flex-wrap: wrap; }
.emg { margin-top: 1.6rem; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.emg b { color: #FFD27A; }
.ctaform { margin-top: 1.8rem; }
/* Two-column field grid so the form isn't one tall stack. Each CF7 field is a
   <p>; pair the short fields, span the long ones full width.
   Order: 1 First name · 2 Last name · 3 Email · 4 Phone · 5 Subject ·
   6 Message · 7 File upload · 8 Submit. */
.ctaform .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .3rem 1rem;
	align-items: start;
}
.ctaform .wpcf7-form > p { margin: 0 0 .8rem; }
/* Subject, Message, File upload, Submit span both columns. */
.ctaform .wpcf7-form > p:nth-of-type(n+5) { grid-column: 1 / -1; }
/* Field labels (CF7 wraps each control in a <label> or a <p>). */
.ctaform label { display: block; font-weight: 700; color: #fff; margin: 0 0 .4rem; font-size: .95rem; }
.ctaform input[type="text"],
.ctaform input[type="email"],
.ctaform input[type="tel"],
.ctaform input[type="date"],
.ctaform input[type="number"],
.ctaform select,
.ctaform .wpcf7-select,
.ctaform textarea {
	width: 100%;
	margin-top: .1rem;
	padding: .8rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-family: var(--f);
	font-size: .95rem;
	line-height: 1.4;
	transition: border-color .2s, background .2s;
}
.ctaform textarea { min-height: 110px; resize: vertical; }
@media (max-width: 600px) {
	.ctaform .wpcf7-form { grid-template-columns: 1fr; }
	.ctaform .wpcf7-form > p:nth-of-type(n+5) { grid-column: auto; }
}
.ctaform select, .ctaform .wpcf7-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.6rem;
	cursor: pointer;
}
/* Dropdown options render in the OS palette — force readable dark-on-white. */
.ctaform select option { color: var(--green-ink); background: #fff; }
.ctaform input::placeholder, .ctaform textarea::placeholder { color: rgba(255, 255, 255, .6); }
.ctaform input:focus,
.ctaform select:focus,
.ctaform textarea:focus {
	outline: none;
	border-color: var(--orange);
	background: rgba(255, 255, 255, .12);
}

/* Drag & drop file upload (drag-and-drop-multiple-file-upload-contact-form-7). */
.ctaform .codedropz-upload-handler {
	border: 2px dashed rgba(255, 255, 255, .4);
	border-radius: 14px;
	background: rgba(255, 255, 255, .05);
	padding: 1.4rem 1rem;
	transition: border-color .2s, background .2s;
}
.ctaform .codedropz-upload-handler:hover { border-color: var(--orange); background: rgba(255, 255, 255, .08); }
.ctaform .codedropz-upload-inner h3 { color: #fff; font-family: var(--d); font-weight: 600; }
.ctaform .codedropz-upload-inner span { color: rgba(255, 255, 255, .75); }
.ctaform .cd-upload-btn { color: #FFD27A; font-weight: 800; cursor: pointer; }
.ctaform .dnd-upload-counter { color: rgba(255, 255, 255, .6); font-family: var(--mono); font-size: .8rem; }

/* Submit button — theme pill. This CF7 form uses a custom .submit-btn button. */
.ctaform .wpcf7-submit,
.ctaform .submit-btn,
.ctaform button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--orange);
	color: #fff;
	border: 0;
	font-family: var(--f);
	font-weight: 800;
	font-size: 1rem;
	padding: .9rem 1.7rem;
	border-radius: var(--pill);
	cursor: pointer;
	transition: transform .25s var(--ease), background .2s;
}
.ctaform .wpcf7-submit:hover,
.ctaform .submit-btn:hover,
.ctaform button[type="submit"]:hover { background: var(--orange-deep); transform: translateY(-2px); }
.ctaform .submit-btn svg, .ctaform .submit-btn img { width: 1.1em; height: 1.1em; }
.ctaform .wpcf7-spinner { margin: .6rem auto 0; }
/* CF7 validation / response messages. */
.ctaform .wpcf7-response-output { grid-column: 1 / -1; border-radius: 10px; margin: .6rem 0 0; padding: .7rem 1rem; font-size: .9rem; }
.ctaform .wpcf7-not-valid-tip { color: #FFD27A; font-size: .82rem; }
.ctamap {
	height: 340px;
	overflow: hidden;
	border-radius: var(--r);
	border: 1px solid rgba(255, 255, 255, .18);
}
.ctamap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Empty states ===== */
.empty-state {
	background: #fff;
	border: 1px dashed var(--line);
	border-radius: var(--r);
	padding: clamp(2rem, 5vw, 3rem);
	text-align: center;
	color: var(--body);
}
.why .empty-state { background: rgba(255, 255, 255, .6); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
	.hero .wrap { grid-template-columns: 1fr; min-height: 0; }
	.hleft { min-height: 100vh; }
	.hright { min-height: 56vh; }
	.svc { grid-template-columns: repeat(2, 1fr); }
	.pil { grid-template-columns: 1fr; }
	.mv { grid-template-columns: 1fr; }
	.vg { grid-template-columns: repeat(2, 1fr); }
	.news { grid-template-columns: 1fr; }
	.statband .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
	.stat:nth-child(1), .stat:nth-child(3) { border-left: none; }
	.stat:nth-child(3), .stat:nth-child(4) { padding-top: .4rem; }
	.ctasplit { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.statband .wrap { grid-template-columns: 1fr; }
	.stat { border-left: none !important; padding: .3rem 0; }
	.svc { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr; }
	.vg { grid-template-columns: 1fr; }
}
