/*
Theme Name: Conventys Roy
Theme URI: https://conventysroy.com
Author: Conventys Roy LTD
Author URI: https://conventysroy.com
Description: One-page website theme for Conventys Roy LTD — international transport, logistics and construction advisory. Activate the theme and the full one-page site appears on the home page. Contact details and the enquiry-form recipient can be edited under Appearance → Customise → Conventys Roy Contact Details.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conventys-roy
*/

:root {
	--teal: #1fbb9c;
	--teal-dark: #17a085;
	--teal-soft: #e8f8f4;
	--navy: #1b0f7d;
	--navy-deep: #120a4f;
	--blue: #3a3fd4;
	--ink: #1d2238;
	--body: #5a6072;
	--line: #e7e9ef;
	--grey: #f6f6f7;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(29, 34, 56, .08);
	--shadow-lg: 0 20px 50px rgba(29, 34, 56, .14);
	--font-head: "Work Sans", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--white); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- Eyebrow & section headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { font-size: 15.5px; }
.bg-grey { background: var(--grey); }
.bg-teal { background: var(--teal); color: rgba(255,255,255,.92); }
.bg-teal h2, .bg-teal h3 { color: var(--white); }
.bg-teal .eyebrow { color: var(--white); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: all .2s ease; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(29,34,56,.08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; }
.brand img { height: 52px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--teal); transition: width .2s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(90deg, var(--grey) 0 34%, var(--teal) 34% 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 620px; }
.hero-media { align-self: end; padding-top: 50px; }
.hero-media img { width: 100%; max-width: 560px; }
.hero-copy { padding: 70px 0 70px 40px; color: rgba(255,255,255,.92); }
.hero-copy .eyebrow { color: var(--white); }
.hero-copy h1 { color: var(--white); font-size: clamp(42px, 6vw, 72px); line-height: 1.04; margin-bottom: 24px; }
.hero-copy p { font-size: 16.5px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.hero-regions li { font-size: 13.5px; font-weight: 500; color: var(--white); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-copy h2 { font-size: clamp(30px, 4vw, 44px); }
.about-highlights { display: flex; gap: 28px; align-items: center; margin-top: 34px; }
.about-mark { flex: 0 0 120px; height: 120px; background: var(--grey); border-radius: var(--radius); display: grid; place-items: center; }
.about-mark img { width: 62px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin: 8px 0; font-size: 15px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.about-collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 34px); }
.about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.about-collage .c1 { grid-column: 1 / 7; grid-row: 1 / 7; }
.about-collage .c2 { grid-column: 5 / 9; grid-row: 4 / 10; border: 6px solid var(--white); z-index: 2; border-radius: 14px; }
.about-collage .c3 { grid-column: 8 / 13; grid-row: 6 / 13; }
.about-collage .dots { position: absolute; right: 30px; top: 0; width: 120px; height: auto; box-shadow: none; opacity: .5; z-index: 0; }

/* ---------- Services ---------- */
.services-layout { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 26px; align-items: center; }
.services-col { display: grid; gap: 22px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); }
.service-icon img { width: 38px; }
.service-num { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; display: block; }
.service-card h3 { font-size: 17px; margin: 2px 0 8px; }
.service-card p { font-size: 14px; line-height: 1.6; margin: 0; }
.services-media { position: relative; }
.services-media .rings { position: absolute; inset: 8% 4% 0; width: 92%; opacity: .7; }
.services-media .engineer { position: relative; width: 100%; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step-badge { position: relative; width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.step-badge img { width: 62%; }
.step-badge .num { position: absolute; top: -6px; right: -6px; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 18px; display: grid; place-items: center; border: 3px solid var(--teal); box-shadow: 0 0 0 3px var(--white); }
.process-grid h3 { font-size: 20px; }
.process-grid p { font-size: 15px; max-width: 300px; margin: 0 auto; }
.process-cta { text-align: center; margin-top: 54px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--white); transition: border-color .25s, transform .25s; }
.why-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.why-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 20px; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; }
.why-card p { font-size: 14.5px; margin: 0; }

/* ---------- Sectors band ---------- */
.sectors { background: var(--navy); color: rgba(255,255,255,.85); padding: 80px 0; position: relative; overflow: hidden; }
.sectors::after { content: ""; position: absolute; right: -80px; top: -60px; width: 380px; height: 380px; background: url("assets/img/logo-white.png") left center/auto 100% no-repeat; opacity: .05; }
.sectors-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.sectors h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 38px); }
.sectors .eyebrow { color: var(--teal); }
.sector-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.sector-list li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 16px 18px; color: var(--white); font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.sector-list li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.testimonial { position: relative; background: var(--grey); border-radius: 18px; padding: 50px 44px 46px; text-align: center; overflow: hidden; }
.testimonial .quote-badge { position: absolute; top: 0; right: 0; width: 84px; height: 84px; background: var(--teal); border-bottom-left-radius: 60px; display: grid; place-items: center; }
.testimonial .quote-badge img { width: 34px; margin: -8px -8px 0 0; }
.testimonial .avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--white); box-shadow: var(--shadow); }
.testimonial .name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 18px; margin: 0; }
.testimonial .role { font-size: 13px; margin: 0 0 14px; }
.stars { color: var(--teal); letter-spacing: 3px; font-size: 18px; margin-bottom: 16px; }
.testimonial blockquote { margin: 0; font-size: 15.5px; color: var(--body); }
.partners-copy h2 { font-size: clamp(30px, 4vw, 44px); }
.partner-points { margin: 22px 0 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 4vw, 44px); }
.info-item { display: flex; gap: 16px; margin-top: 26px; align-items: flex-start; }
.info-item .ic { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 16px; }
.info-item span, .info-item a { font-size: 15px; }
.contact-form { background: var(--white); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--grey); border: 1.5px solid transparent; border-radius: 10px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; margin: 4px 0 20px; }
.hp-field { position: absolute; left: -9999px; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 15px; font-weight: 500; }
.form-alert.ok { background: var(--teal-soft); color: #0e6e5b; }
.form-alert.err { background: #fdecec; color: #a12a2a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-logo img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-quote { font-size: 15px; font-style: italic; color: rgba(255,255,255,.85); margin-bottom: 6px; }
.footer-quote-by { font-size: 13.5px; color: var(--teal); }
.site-footer h4 { color: var(--white); font-size: 17px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 14px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--white); transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Generic page fallback ---------- */
.page-content { padding: 80px 0; min-height: 50vh; }
.page-content h1 { font-size: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.main-nav ul { gap: 22px; }
	.header-cta .btn { display: none; }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.services-layout { grid-template-columns: 1fr 1fr; }
	.services-media { grid-column: 1 / -1; order: -1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 900px) {
	.section { padding: 80px 0; }
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 86px; left: 0; right: 0; background: var(--white); box-shadow: 0 16px 30px rgba(29,34,56,.1); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
	.nav-open .main-nav { max-height: 420px; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
	.main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.main-nav a::after { display: none; }
	.hero { background: var(--teal); }
	.hero-inner { grid-template-columns: 1fr; min-height: 0; }
	.hero-copy { padding: 60px 0 30px; order: -1; }
	.hero-media { padding-top: 0; }
	.hero-media img { margin: 0 auto; max-width: 440px; }
	.about-grid, .partners-grid, .contact-grid, .sectors-grid { grid-template-columns: 1fr; gap: 50px; }
	.process-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 600px) {
	.header-inner { height: 74px; }
	.brand img { height: 42px; }
	.main-nav { top: 74px; }
	.services-layout, .why-grid, .sector-list, .form-row { grid-template-columns: 1fr; }
	.services-media { grid-column: auto; }
	.about-highlights { flex-direction: column; align-items: flex-start; }
	.contact-form { padding: 28px 22px; }
	.testimonial { padding: 44px 24px 36px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
