/*
Theme Name: iHospitality
Theme URI: https://ihospitality.tv
Author: iHospitality LLC
Description: Custom one-page theme for iHospitality — hospitality telecommunications contractor. Every text, link and photo is editable in Appearance → Customize → iHospitality homepage.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ihospitality
*/

:root {
	--blue: #196dd4;
	--blue-600: #1459b0;
	--blue-50: #eaf2fd;
	--navy: #0a1a33;
	--navy-2: #11264a;
	--ink: #0f1b2d;
	--muted: #5b6b82;
	--line: #e3e9f2;
	--bg: #ffffff;
	--tint: #f4f7fc;
	--radius: 14px;
	--shadow: 0 10px 30px -12px rgba(10, 26, 51, .25);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 10px; font-weight: 700; font-size: 1rem; line-height: 1; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(25, 109, 212, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .7em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: .9em; }
.eyebrow--light { color: #9cc4f5; }

/* Brand stripes motif (from the logo's slanted bars) */
.stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stripes i { position: absolute; top: -10%; bottom: -10%; width: 9%; background: currentColor; opacity: .08; transform: skewX(-14deg); right: 6%; }
.stripes i:nth-child(2) { right: 19%; width: 5%; }
.stripes i:nth-child(3) { right: 28%; width: 2.5%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10, 26, 51, .35); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--blue); }
.brand .logo-img { max-height: 52px; width: auto; }
.wordmark { font-family: "Russo One", var(--font); font-size: 30px; font-style: italic; letter-spacing: .02em; color: var(--blue); transform: skewX(-6deg); display: inline-block; }
.wm-i { color: var(--navy); margin-right: 1px; }
.wm-tag { font-size: 8.4px; letter-spacing: .32em; color: var(--navy); text-transform: uppercase; margin-top: 4px; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--navy); font-weight: 600; font-size: .97rem; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav .nav-staff { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; padding-left: 20px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 26, 51, .94) 0%, rgba(10, 26, 51, .82) 42%, rgba(17, 38, 74, .35) 100%); }
.hero .stripes { color: var(--blue); z-index: -1; }
.hero .stripes i { opacity: .2; }
.hero-in { padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; max-width: 14ch; letter-spacing: -.03em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 560px; color: #d5e3f7; margin-bottom: 2em; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; padding: 0; margin: 2.6em 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: #cfe0f6; font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico { color: #6fb0ff; }

/* Sections */
.section { padding: clamp(70px, 9vw, 110px) 0; }
.section--tint { background: var(--tint); }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.06rem; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; text-align: left; gap: 20px; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-img { position: relative; aspect-ratio: 4 / 3; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-ico { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(25, 109, 212, .7); }
.service-ico .ico { width: 24px; height: 24px; }
.service-body { padding: 36px 22px 24px; }
.service-body h3 { font-size: 1.12rem; }
.service-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -14px; bottom: 28px; background: #fff; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); }
.about-badge .ico { color: #fff; background: var(--blue); border-radius: 50%; padding: 5px; width: 28px; height: 28px; }
.about-body > p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .97rem; }
.checks .ico { color: var(--blue); margin-top: 3px; }
.process { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.process h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.process ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.process li { display: flex; gap: 12px; }
.process .num { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.process strong { display: block; color: var(--navy); }
.process li span:not(.num) { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 51, 0) 25%, rgba(10, 26, 51, .92) 100%); }
.project:hover img { transform: scale(1.05); }
.project-body { padding: 26px; }
.project h3 { color: #fff; font-size: 1.3rem; }
.project p { color: #d6e2f3; font-size: .93rem; margin: 0; }
.tag { display: inline-block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; margin-bottom: 12px; }

/* Testimonial */
.quote { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.quote-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 89, 176, .95), rgba(25, 109, 212, .86)); }
.quote-in { padding: clamp(70px, 9vw, 110px) 0; text-align: center; max-width: 880px; }
.quote-mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .15); margin-bottom: 24px; }
.quote-mark .ico { width: 28px; height: 28px; fill: #fff; stroke: none; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.55; font-weight: 600; color: #fff; }
.quote blockquote footer { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.quote blockquote footer span { color: #cfe2fb; font-size: .95rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-side > p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; transition: transform .25s, background .25s, color .25s; }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { color: var(--muted); padding: 0 50px 22px 0; margin: 0; }

/* CTA band */
.cta { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 26, 51, .95), rgba(25, 109, 212, .75)); }
.cta .stripes { color: #fff; z-index: -1; }
.cta-in { padding: clamp(60px, 8vw, 90px) 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #d5e3f7; margin: 0; max-width: 560px; font-size: 1.08rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2em 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--navy); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1px solid #cdd7e5; border-radius: 10px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(25, 109, 212, .15); background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.notice--ok { background: #e7f7ee; color: #146c3b; }
.notice--err { background: #fdecec; color: #a32020; }

/* Footer */
.site-footer { position: relative; background: var(--navy); color: #b9c8de; overflow: hidden; font-size: .95rem; }
.site-footer .stripes { color: var(--blue); }
.site-footer .stripes i { opacity: .16; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.site-footer .brand { color: #fff; }
.site-footer .wordmark { color: #4f9bff; }
.site-footer .wm-i, .site-footer .wm-tag { color: #fff; }
.site-footer .logo-img { filter: none; background: #fff; padding: 8px 10px; border-radius: 8px; }
.f-about { margin: 20px 0; max-width: 340px; font-size: .92rem; }
.site-footer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b9c8de; }
.site-footer a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ico { color: #6fb0ff; margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.social a:hover { background: var(--blue); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 30px; font-size: .87rem; }
.f-legal { display: flex !important; gap: 20px !important; }

/* Inner pages */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: 70px 0; overflow: hidden; }
.page-hero .stripes { color: var(--blue); }
.page-hero .stripes i { opacity: .3; }
.page-hero h1 { color: #fff; position: relative; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* Reveal (quick and subtle) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .projects .reveal:nth-child(2) { transition-delay: .06s; }
.services .reveal:nth-child(3), .projects .reveal:nth-child(3) { transition-delay: .12s; }
.services .reveal:nth-child(4) { transition-delay: .18s; }

/* Responsive */
@media (max-width: 1080px) {
	.services { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
	.nav-toggle { display: block; z-index: 2; }
	.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10, 26, 51, .3); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav a:not(.btn)::after { display: none; }
	.site-nav .nav-staff { border-left: 0; padding-left: 0; }
	.site-nav .btn { margin-top: 16px; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.about, .faq-grid, .contact { grid-template-columns: 1fr; }
	.about-media img { aspect-ratio: 16 / 10; }
	.about-badge { right: 14px; }
	.faq-side { position: static; }
	.projects { grid-template-columns: 1fr; }
	.project { min-height: 340px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	:root { --header-h: 66px; }
	.wrap { width: calc(100% - 32px); }
	.wordmark { font-size: 24px; }
	.wm-tag { font-size: 6.6px; letter-spacing: .26em; }
	.services { grid-template-columns: 1fr; }
	.checks, .process ol, .row2 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.btns .btn { flex: 1 1 auto; }
	.faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
