/* =============================================
   MEDIAC MARKETING LTD — style.css
   Palette: Deep Navy #0F1F3D | Steel Blue #2563A8 | 
            Warm White #F7F8FC | Slate #4B5563 | 
            Gold Accent #C9993A | Light Border #DDE3EE
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0F1F3D;
  --blue:   #2563A8;
  --blue-light: #3A7DC9;
  --white:  #F7F8FC;
  --slate:  #4B5563;
  --border: #DDE3EE;
  --gold:   #C9993A;
  --text:   #1A2535;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(15,31,61,.10);
  --transition: .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Cookie Banner ───────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy); color: #e2e8f0;
  padding: 18px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border-top: 3px solid var(--gold);
  transform: translateY(0); transition: transform .4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { flex: 1; font-size: .875rem; min-width: 200px; }
#cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-accept {
  background: var(--gold); color: var(--navy);
  padding: 9px 22px; border: none; border-radius: var(--radius);
  font-weight: 600; font-size: .875rem; cursor: pointer;
  transition: opacity var(--transition);
}
.btn-accept:hover { opacity: .88; }
.btn-decline {
  background: transparent; color: #94a3b8;
  padding: 9px 22px; border: 1px solid #475569; border-radius: var(--radius);
  font-size: .875rem; cursor: pointer; transition: border-color var(--transition);
}
.btn-decline:hover { border-color: #94a3b8; }

/* ── Navigation ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; color: var(--navy); font-weight: 400;
}
.nav-logo span { color: var(--gold); }
.nav-logo .logo-mark {
  width: 36px; height: 36px; background: var(--navy);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--slate);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform var(--transition); transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.btn-nav {
  background: var(--navy); color: #fff;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600;
  transition: background var(--transition);
}
.btn-nav:hover { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  margin: 5px 0; transition: var(--transition);
}

/* ── Buttons ────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: background var(--transition), transform var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block; background: transparent; color: var(--navy);
  padding: 13px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  border: 2px solid var(--navy);
  transition: all var(--transition); cursor: pointer;
}
.btn-secondary:hover { background: var(--navy); color: #fff; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(37,99,168,.18) 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; 
  font-family: 'Inter', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,153,58,.4);
  padding: 5px 14px; border-radius: 2px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff; margin-bottom: 22px; line-height: 1.15;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc { color: #94a3b8; font-size: 1.05rem; margin-bottom: 36px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-hero-primary:hover { opacity: .88; color: var(--navy); transform: translateY(-1px); }
.btn-hero-outline {
  background: transparent; color: #cbd5e1;
  padding: 13px 32px; border-radius: var(--radius);
  border: 1px solid rgba(203,213,225,.3); font-weight: 500; font-size: .95rem;
  transition: border-color var(--transition), color var(--transition);
}
.btn-hero-outline:hover { border-color: #94a3b8; color: #fff; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card-stack { position: relative; width: 340px; height: 300px; }
.hero-card {
  position: absolute; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  backdrop-filter: blur(8px); padding: 24px;
}
.hero-card-main { width: 280px; bottom: 0; left: 0; }
.hero-card-float { width: 200px; top: 0; right: 0; }
.hero-stat-label { font-size: .72rem; color: #64748b; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.hero-stat-val { font-family: 'DM Serif Display', serif; font-size: 2rem; color: #fff; }
.hero-stat-sub { font-size: .78rem; color: #94a3b8; margin-top: 2px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 3px;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em;
}

/* ── Section Shared ─────────────────────────────── */
section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-header p { color: var(--slate); max-width: 560px; margin: 0 auto; }

/* ── Services Grid ──────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px; background: var(--navy);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; stroke: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--slate); }

/* ── Why Choose Us ──────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.why-item { text-align: center; }
.why-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; color: var(--gold); margin-bottom: 8px; line-height: 1;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { font-size: .875rem; color: var(--slate); }

/* ── Company Info Bar ───────────────────────────── */
.company-bar { background: var(--navy); padding: 48px 0; }
.company-bar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.company-bar-item { border-left: 2px solid rgba(201,153,58,.4); padding-left: 20px; }
.company-bar-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #64748b; margin-bottom: 6px; }
.company-bar-value { color: #e2e8f0; font-weight: 600; font-size: .95rem; }

/* ── Compliance Section ─────────────────────────── */
.compliance-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.compliance-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border);
  padding: 20px; border-radius: 6px;
}
.compliance-check {
  flex-shrink: 0; width: 28px; height: 28px;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.compliance-check svg { width: 14px; height: 14px; stroke: var(--gold); }
.compliance-item h4 { font-size: .95rem; margin-bottom: 4px; }
.compliance-item p { font-size: .82rem; color: var(--slate); }

/* ── Contact Section ────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--slate); margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--navy); }
.contact-detail-label { font-size: .75rem; color: var(--slate); margin-bottom: 3px; }
.contact-detail-value { font-weight: 500; font-size: .9rem; color: var(--text); }

/* ── Form ───────────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--text); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--text);
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,168,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group .field-error { font-size: .78rem; color: #dc2626; margin-top: 5px; display: none; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #dc2626; }
.form-group.has-error .field-error { display: block; }
.form-consent { font-size: .8rem; color: var(--slate); margin-bottom: 20px; }
.form-consent a { color: var(--blue); }
.form-success {
  display: none; background: #f0fdf4; border: 1px solid #86efac;
  padding: 16px; border-radius: var(--radius); color: #166534;
  font-size: .9rem; margin-top: 12px;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .875rem; color: #64748b; margin: 14px 0 24px; max-width: 280px; }
.footer-reg {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 14px 16px;
}
.footer-reg-item { font-size: .75rem; color: #64748b; margin-bottom: 5px; }
.footer-reg-item span { color: #94a3b8; font-weight: 500; }

.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #64748b; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .875rem; color: #94a3b8; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: #475569; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .8rem; color: #475569; transition: color var(--transition); }
.footer-bottom-links a:hover { color: #94a3b8; }

/* ── Inner Page Hero ─────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 64px 0 52px;
  border-bottom: 3px solid var(--gold);
}
.page-hero-eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: #94a3b8; max-width: 560px; }
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: .8rem; color: #475569; margin-bottom: 20px;
}
.breadcrumb a { color: #64748b; }
.breadcrumb a:hover { color: #94a3b8; }
.breadcrumb-sep { color: #334155; }

/* ── Legal / Content Pages ───────────────────────── */
.legal-wrap {
  max-width: 820px; margin: 0 auto; padding: 64px 24px;
}
.legal-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: .8rem; color: var(--slate);
  border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 40px;
}
.legal-meta span { display: flex; align-items: center; gap: 6px; }
.legal-wrap h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal-wrap h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--navy); }
.legal-wrap p { color: var(--slate); margin-bottom: 16px; font-size: .93rem; line-height: 1.75; }
.legal-wrap ul, .legal-wrap ol {
  color: var(--slate); font-size: .93rem; padding-left: 22px; margin-bottom: 16px;
}
.legal-wrap ul li, .legal-wrap ol li { margin-bottom: 8px; line-height: 1.7; }
.legal-highlight {
  background: var(--white); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 24px 0;
}
.legal-highlight p { margin: 0; font-size: .88rem; }

/* ── About Page ─────────────────────────────────── */
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 32px; text-align: center;
}
.team-avatar {
  width: 72px; height: 72px; background: var(--navy);
  border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar svg { width: 32px; height: 32px; stroke: var(--gold); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .team-role { font-size: .82rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: .875rem; color: var(--slate); }

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.value-item {
  background: #fff; border: 1px solid var(--border);
  padding: 28px; border-radius: 6px;
}
.value-item h3 { font-size: 1rem; margin-bottom: 8px; }
.value-item p { font-size: .875rem; color: var(--slate); }

/* ── Services Page ──────────────────────────────── */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  padding: 48px 0; border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-content h2 { font-size: 1.7rem; margin-bottom: 14px; }
.service-detail-content p { color: var(--slate); margin-bottom: 16px; }
.service-detail-content ul { color: var(--slate); padding-left: 20px; }
.service-detail-content ul li { margin-bottom: 8px; font-size: .9rem; }
.service-visual {
  background: var(--navy); border-radius: 8px; padding: 36px;
  min-height: 240px; display: flex; align-items: center; justify-content: center;
}
.service-visual-inner { text-align: center; }
.service-visual-icon { width: 64px; height: 64px; margin: 0 auto 16px; stroke: var(--gold); }
.service-visual h3 { color: #e2e8f0; font-size: 1.1rem; }

/* ── GDPR Rights Grid ───────────────────────────── */
.rights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.right-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 28px;
}
.right-card-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--gold); margin-bottom: 10px; line-height: 1;
}
.right-card h3 { font-size: 1rem; margin-bottom: 8px; }
.right-card p { font-size: .85rem; color: var(--slate); }

/* ── Sitemap ────────────────────────────────────── */
.sitemap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.sitemap-col h3 {
  font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 10px; }
.sitemap-col ul li a { color: var(--blue); font-size: .9rem; }
.sitemap-col ul li a:hover { color: var(--navy); }

/* ── Notice Box ─────────────────────────────────── */
.notice-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 24px; margin-bottom: 32px;
  display: flex; gap: 16px; align-items: flex-start;
}
.notice-icon { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.notice-box h4 { font-size: .95rem; margin-bottom: 6px; }
.notice-box p { font-size: .875rem; color: var(--slate); margin: 0; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px; gap: 14px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .company-bar-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
