/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #111111;
  --navy-dark: #000000;
  --navy-mid: #1a1a1a;
  --gold: #00aeef;
  --gold-light: #29bcf5;
  --text: #1a1a1a;
  --text-light: #5a5a5a;
  --bg: #f5f6f8;
  --white: #ffffff;
  --border: #dde2e8;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 32px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-light); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
  transition: all 0.18s ease; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,134,26,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 86px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 8px 14px; color: rgba(255,255,255,0.8);
  font-size: 0.88rem; font-weight: 500; border-radius: 4px;
  transition: all 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); }

/* Dropdown */
.nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 180px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  border: 1px solid var(--border);
  overflow: hidden;
}
.dropdown a {
  display: block; padding: 10px 18px;
  color: var(--text); font-size: 0.88rem; font-weight: 500;
  transition: background 0.12s;
}
.dropdown a:hover { background: var(--bg); color: var(--navy); }

.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 8px; }
.nav-phone { color: var(--gold-light); font-weight: 600; font-size: 0.88rem; margin-right: 4px; }

/* === HERO === */
.hero {
  background: linear-gradient(160deg, rgba(0,0,0,0.88) 0%, rgba(17,17,17,0.82) 100%), url('/images/Pen-Yr-Heol-Drive14.jpg') center/cover no-repeat;
  padding: 150px 0 80px; color: var(--white); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,174,239,0.15); border: 1px solid rgba(0,174,239,0.4);
  color: var(--gold-light); padding: 5px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--gold-light); }
.hero-sub { font-size: 1.05rem; opacity: 0.82; margin-bottom: 32px; color: rgba(255,255,255,0.82); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 28px; backdrop-filter: blur(8px);
}
.hero-card h3 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.hero-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-bottom: 16px; }
.hero-card .phone-big { font-size: 1.5rem; font-weight: 700; color: var(--gold-light); display: block; margin-bottom: 14px; }
.hero-stats { display: flex; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.3rem; color: var(--white); }
.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

/* === TRUST BAR === */
.trust-bar { background: #000; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); padding: 14px 0; }
.trust-inner { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 0.88rem; font-weight: 600; }

/* === WHY === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white); padding: 28px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; }

/* === SERVICES GRID === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card-top { background: var(--navy); padding: 24px; display: flex; align-items: center; gap: 14px; }
.service-card-icon { font-size: 1.8rem; }
.service-card-top h3 { color: var(--white); font-size: 1.1rem; }
.service-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card-body p { font-size: 0.88rem; flex: 1; margin-bottom: 16px; }
.service-card-body a { color: var(--gold); font-weight: 600; font-size: 0.88rem; }
.service-card-body a:hover { color: var(--gold-light); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(17,17,17,0.82) 100%), url('/images/Goetre-Fawr-Road43.jpg') center/cover no-repeat;
  padding: 140px 0 56px; color: var(--white);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.5); font-size: 0.82rem; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* === CONTENT PAGE === */
.content-section { padding: 64px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.content-body h2 { color: var(--navy); margin-bottom: 16px; font-size: 1.5rem; }
.content-body p { margin-bottom: 16px; font-size: 0.95rem; }
.content-body ul { margin: 16px 0 20px 0; }
.content-body ul li { padding: 5px 0 5px 20px; font-size: 0.9rem; color: var(--text-light); position: relative; }
.content-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.sidebar-card { background: var(--navy); color: var(--white); padding: 28px; border-radius: var(--radius); margin-bottom: 20px; }
.sidebar-card h3 { margin-bottom: 14px; font-size: 1rem; }
.sidebar-card p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 16px; }
.sidebar-card .phone { font-size: 1.3rem; font-weight: 700; color: var(--gold-light); display: block; margin-bottom: 8px; }

.related-services { background: var(--bg); padding: 28px; border-radius: var(--radius); }
.related-services h3 { color: var(--navy); margin-bottom: 14px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.related-services a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; color: var(--text); font-size: 0.88rem; border-bottom: 1px solid var(--border); transition: color 0.15s; }
.related-services a:last-child { border-bottom: none; }
.related-services a:hover { color: var(--navy); font-weight: 600; }

/* === REVIEWS === */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: var(--white); padding: 26px; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}
.review-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; }
.review-text { font-size: 0.88rem; line-height: 1.6; font-style: italic; margin-bottom: 14px; }
.reviewer-name { font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.reviewer-date { font-size: 0.78rem; color: var(--text-light); }

/* === GALLERY === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { background: var(--bg); border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.85rem; }

/* === CONTACT SECTION === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon { width: 40px; height: 40px; background: var(--navy); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 2px; }
.contact-info-item a, .contact-info-item span { font-weight: 600; font-size: 0.95rem; color: var(--navy); }

/* Form */
.contact-form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { color: var(--navy); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 0.92rem;
  transition: border-color 0.15s; background: var(--white); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* === CTA BANNER === */
.cta-banner { background: var(--navy); padding: 56px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.65); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand strong { color: var(--white); font-size: 1rem; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: 0.85rem; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-dark); padding: 16px; gap: 2px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); border: none; border-radius: 0; }
  .dropdown a { color: rgba(255,255,255,0.7); padding-left: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-inner { gap: 16px; }
}

/* === PROJECTS STRIP === */
.projects-strip { padding: 56px 0; background: var(--bg); }
.projects-strip h2 { color: var(--navy); margin-bottom: 8px; }
.projects-strip p { margin-bottom: 32px; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.projects-grid .proj { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.projects-grid .proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.projects-grid .proj:hover img { transform: scale(1.04); }
