/*
Theme Name: COMEG Energy Theme
Theme URI: https://www.comegenergy.com
Author: OpenAI
Description: Custom premium COMEG Energy UK Ltd theme.
Version: 1.0
*/

:root {
  --navy: #0f2341;
  --navy-2: #18345f;
  --gold: #c7a24a;
  --gold-2: #e4cb84;
  --light: #f5f7fb;
  --text: #1b2330;
  --muted: #5d687b;
  --line: #e3e9f2;
  --white: #ffffff;
  --success: #1f6d52;
  --shadow: 0 18px 45px rgba(9, 19, 38, 0.1);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text);
  background: var(--white); line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--navy); color: #dbe6fb; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 10px 0; }
header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid #edf1f7; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, var(--navy), #2a518b); display: grid; place-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.brand-mark::before { content: ""; width: 26px; height: 26px; border: 3px solid var(--gold-2); border-top-color: transparent; border-radius: 50%; transform: rotate(45deg); display: block; }
.brand h1 { margin: 0; font-size: 20px; color: var(--navy); }
.brand p { margin: 2px 0 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; }
nav ul { list-style:none; margin:0; padding:0; display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
nav a { font-size: 15px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:13px 20px; border-radius:999px; border:1px solid transparent; font-weight:700; transition:.2s ease; cursor:pointer; }
.btn-primary { background:var(--gold); color:#1e1a12; }
.btn-primary:hover { background:var(--gold-2); }
.btn-outline { background:transparent; border-color:rgba(255,255,255,.35); color:var(--white); }
.btn-outline:hover { background:rgba(255,255,255,.08); }
.btn-light { background:var(--white); border-color:var(--line); color:var(--navy); }
.hero { background: linear-gradient(120deg, rgba(15,35,65,.97), rgba(24,52,95,.93)), radial-gradient(circle at top right, rgba(199,162,74,.2), transparent 30%); color:var(--white); padding:88px 0 74px; }
.hero-grid { display:grid; grid-template-columns: 1.12fr .88fr; gap:40px; align-items:center; }
.eyebrow { display:inline-block; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.09); color:var(--gold-2); font-size:12px; text-transform:uppercase; letter-spacing:1.4px; font-weight:700; margin-bottom:18px; }
.hero h2 { margin:0 0 16px; font-size:54px; line-height:1.04; max-width:760px; }
.hero p { margin:0 0 26px; color:#e6eefc; font-size:18px; max-width:720px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px; }
.hero-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.stat { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.11); border-radius:18px; padding:18px; }
.stat strong { display:block; font-size:24px; color:var(--gold-2); }
.stat span { display:block; margin-top:4px; color:#d6deef; font-size:14px; }
.hero-card,.card,.panel,form,.contact-card,.cta,.ceo-quote { background:var(--white); border:1px solid #e8edf6; border-radius:22px; padding:26px; box-shadow: 0 10px 30px rgba(17,31,58,.06); }
.hero-card { background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); border:1px solid rgba(255,255,255,.13); color:var(--white); }
.hero-card h3,.card h4,.panel h4,.contact-card h4 { margin:0 0 10px; }
.bullet { display:flex; gap:12px; align-items:flex-start; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.bullet:last-child { border-bottom:none; }
.dot { width:10px; height:10px; border-radius:50%; background:var(--gold-2); margin-top:8px; flex: 0 0 10px; }
section { padding:76px 0; }
.band { background:var(--light); border-top:1px solid #eef2f8; border-bottom:1px solid #eef2f8; }
.section-head { display:flex; justify-content:space-between; gap:20px; align-items:end; flex-wrap:wrap; margin-bottom:28px; }
.section-head h3 { margin:0; font-size:38px; color:var(--navy); }
.section-head p { margin:10px 0 0; max-width:760px; color:var(--muted); font-size:17px; }
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.card .icon { width:56px; height:56px; border-radius:16px; display:grid; place-items:center; background: linear-gradient(135deg, rgba(199,162,74,.18), rgba(15,35,65,.12)); color:var(--navy); font-weight:700; font-size:22px; margin-bottom:14px; }
.card p,.panel p { color:var(--muted); }
.card ul,.panel ul { margin:0; padding-left:18px; }
.service-card img, .portfolio-card img { width:100%; height:240px; object-fit:cover; border-radius:16px; margin-bottom:16px; border:1px solid #e8edf6; }
.split { display:grid; grid-template-columns: .95fr 1.05fr; gap:34px; align-items:start; }
.checklist { display:grid; gap:10px; }
.check { display:flex; gap:12px; align-items:flex-start; }
.check b { width:22px; height:22px; border-radius:50%; background: rgba(31,109,82,.12); color:var(--success); display:grid; place-items:center; font-size:13px; flex:0 0 22px; }
.process { display:grid; gap:14px; }
.step { display:grid; grid-template-columns:56px 1fr; gap:16px; background:var(--white); border:1px solid #e8edf7; border-radius:18px; padding:18px; }
.num { width:56px; height:56px; border-radius:16px; background:var(--navy); color:var(--white); display:grid; place-items:center; font-size:22px; font-weight:700; }
.step h5 { margin:4px 0 6px; font-size:20px; color:var(--navy); }
.step p { margin:0; color:var(--muted); }
.ceo-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap:34px; align-items:start; }
.ceo-photos { display:grid; gap:18px; }
.ceo-photos img { width:100%; border-radius:22px; border:1px solid #e7ebf4; box-shadow: 0 14px 34px rgba(10,20,38,.08); }
.ceo-name { font-size:34px; line-height:1.15; margin:0 0 8px; color:var(--navy); }
.ceo-role { color:var(--gold); font-weight:700; font-size:18px; margin-bottom:18px; }
.feature-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; margin-top:18px; }
.feature-box { background:var(--white); border:1px solid #e8edf6; border-radius:18px; padding:18px; }
.feature-box h5 { margin:0 0 8px; font-size:18px; color:var(--navy); }
.ceo-quote { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color:var(--white); border-color: rgba(255,255,255,.08); margin-top:18px; }
.ceo-quote p { color:#e3ebfc; margin:0; font-size:18px; }
.contact-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap:26px; }
.contact-card { background:var(--navy); color:var(--white); }
.contact-card .item { padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.contact-card .item:last-child { border-bottom:none; }
.contact-card span { display:block; font-size:13px; color:#b9c7e6; text-transform:uppercase; letter-spacing:1px; }
.contact-card strong { display:block; margin-top:4px; font-size:18px; }
label { display:block; margin-bottom:7px; font-weight:700; color:var(--navy); }
form { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.full { grid-column:1 / -1; }
input,select,textarea { width:100%; padding:14px 16px; border-radius:14px; border:1px solid #d8e0ed; background:var(--white); color:var(--text); font:inherit; }
textarea { min-height:130px; resize:vertical; }
.small-note { font-size:13px; color:var(--muted); }
.hidden-field { position:absolute!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; height:1px!important; width:1px!important; margin:-1px!important; padding:0!important; border:0!important; }
.cta { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color:var(--white); display:grid; grid-template-columns:1.2fr .8fr; gap:24px; align-items:center; border-color: rgba(255,255,255,.08); }
.cta h3 { margin:0 0 10px; font-size:36px; }
.cta p { margin:0; color:#dce6fb; }
.floating { position:fixed; right:18px; bottom:18px; display:grid; gap:10px; z-index:999; }
.floating a { display:inline-flex; align-items:center; justify-content:center; min-width:58px; height:58px; padding:0 18px; border-radius:999px; font-weight:700; box-shadow:0 16px 34px rgba(11,21,40,.18); }
.wa { background:#25d366; color:#0b2015; }
.quote { background:var(--gold); color:#1e1a12; }
footer { background:#091427; color:#d2ddf2; padding:36px 0; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 1024px) {
  .hero-grid,.split,.contact-grid,.cta,.ceo-grid { grid-template-columns:1fr; }
  .hero h2 { font-size:44px; }
  .hero-stats { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  nav { display:none; }
  .hero { padding-top:58px; }
  .hero h2 { font-size:36px; }
  .section-head h3, .ceo-name { font-size:30px; }
  form,.cards,.feature-grid { grid-template-columns:1fr; }
}
