/* =========================================
   DEDOTT FZCO — Global Stylesheet
   ========================================= */

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

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

:root {
  --color-dark: #0E1A1E;
  --color-teal: #115f73;
  --color-teal-light: #1A7A91;
  --color-gold: #B8934C;
  --color-gold-light: #D4B06A;
  --color-offwhite: #F7FAFB;
  --color-warm-gray: #EEF3F4;
  --color-text: #1E2D33;
  --color-text-light: #5A6E75;
  --color-border: #D5DFE2;
  --color-white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-width: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* — Typography — */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--color-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-teal-light); }

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-dark);
}
.btn-outline:hover { background: var(--color-dark); color: var(--color-white); }

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: var(--color-white); color: var(--color-dark); }

.btn-download::after {
  content: '↓';
  font-size: 1rem;
}

/* — Header / Navigation — */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-dark);
  transition: background 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.logo span { color: var(--color-gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--color-white); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-teal);
}

.nav-cta {
  color: var(--color-teal) !important;
  border: 1px solid var(--color-teal);
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-teal); color: var(--color-white) !important; }
.nav-cta::after { display: none !important; }

.nav-lang {
  color: var(--color-gold-light) !important;
  font-weight: 600 !important;
  font-family: 'Tajawal', Arial, sans-serif;
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-lang:hover { color: var(--color-gold) !important; }
.nav-lang::after { display: none !important; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-trigger::after {
  content: ' ▾';
  font-size: 0.7rem;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 12px;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
}

/* — Hero — */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #071f27 0%, #0A3D4E 45%, #115f73 100%);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: radial-gradient(ellipse at 68% 38%, #3AB5D0 0%, transparent 58%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold);
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* — Brand Bar — */
.brand-bar {
  background: var(--color-warm-gray);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 48px;
}

.brand-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.brand-bar-item:hover { opacity: 1; }

.brand-bar-item .brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-dark);
}

.brand-bar-item .brand-origin {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* — Section Defaults — */
.section {
  padding: var(--section-pad) 0;
}

.section-compact {
  padding: 70px 0;
}

.section-alt { background: var(--color-warm-gray); }
.section-dark { background: var(--color-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-dark p, .section-dark .subtitle { color: rgba(255,255,255,0.65); }
.section-dark .eyebrow { color: var(--color-gold); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header .subtitle { margin: 0 auto; }

/* — Stats Row — */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* — Card Grid — */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--color-teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--color-teal);
}

.card-photo {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: var(--color-warm-gray);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-light); font-size: 0.95rem; }

/* — Brand Cards (Home) — */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.brand-card {
  position: relative;
  background: linear-gradient(150deg, #0A3D4E 0%, #115f73 100%);
  border-radius: 10px;
  padding: 48px 40px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.brand-card .brand-card-origin {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.brand-card h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.brand-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 360px;
}

.brand-card .brand-card-link {
  color: var(--color-teal-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.brand-card .brand-card-link:hover { color: var(--color-white); }
.brand-card .brand-card-link::after { content: ' →'; }

.brand-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.06;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--color-white);
}

/* — Brand Page Layout — */
.brand-hero {
  padding: 160px 0 80px;
  background: linear-gradient(150deg, #0A3D4E 0%, #115f73 100%);
}

.brand-hero .eyebrow { color: var(--color-gold-light); }
.brand-hero h1 { color: var(--color-white); margin-bottom: 20px; }
.brand-hero p { color: rgba(255,255,255,0.6); max-width: 640px; font-size: 1.1rem; }

.brand-hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.brand-hero-meta-item {
  display: flex;
  flex-direction: column;
}

.brand-hero-meta-item .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.brand-hero-meta-item .value {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Product Categories */
.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.product-cat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.product-cat-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.product-cat-card .card-icon {
  margin: 0 auto 20px;
}
.product-cat-card h4 { margin-bottom: 8px; }
.product-cat-card p { color: var(--color-text-light); font-size: 0.88rem; }

/* Download CTA */
.download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-teal);
  border-radius: 10px;
  padding: 48px;
  gap: 32px;
}

.download-cta h3 { color: var(--color-white); margin-bottom: 8px; }
.download-cta p { color: rgba(255,255,255,0.7); margin-bottom: 0; }
.download-cta .btn-primary { background: var(--color-dark); }
.download-cta .btn-primary:hover { background: #000000; }

/* 3-card sections that should span the full row (no leftover empty column) */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

/* 2-column layout, e.g. product visual + copy side by side */
.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .card-grid-2 { grid-template-columns: 1fr; }
}

/* — Services page — */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 48px 40px;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.service-card .service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-teal);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--color-text-light); font-size: 0.95rem; }

/* — About page — */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-text h2 { margin-bottom: 20px; }
.about-intro-text p { color: var(--color-text-light); }

.about-sidebar {
  background: var(--color-warm-gray);
  border-radius: 10px;
  padding: 48px;
}

.about-sidebar-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}
.about-sidebar-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.about-sidebar-item .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 6px;
}
.about-sidebar-item .value {
  font-weight: 500;
  font-size: 1.05rem;
}

/* — Partner page — */
.partner-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.partner-benefit {
  text-align: center;
  padding: 40px 24px;
}

.partner-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
}

.partner-benefit h4 { margin-bottom: 8px; }
.partner-benefit p { color: var(--color-text-light); font-size: 0.9rem; }

/* — Contact page — */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--color-text-light); margin-bottom: 40px; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  font-size: 1rem;
}

.contact-detail .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-detail .value { font-weight: 500; }
.contact-detail .value a { color: var(--color-teal); }

/* Contact form */
.contact-form {
  background: var(--color-warm-gray);
  border-radius: 10px;
  padding: 48px;
}

.contact-form h3 { margin-bottom: 24px; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-teal);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}

.form-row > .form-group {
  min-width: 0;
}

/* Country code + mobile number pairing (Partner With Us form) */
.form-row--phone {
  grid-template-columns: 150px 1fr;
}

.form-group select,
.form-group input {
  max-width: 100%;
}

/* Generic wrapping row for button/link groups (e.g. social links) so they
   don't overflow the container width on narrow phones */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* — Page Hero (for inner pages) — */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(150deg, #0A3D4E 0%, #115f73 100%);
}

.page-hero h1 { color: var(--color-white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.55); max-width: 600px; font-size: 1.05rem; }

/* — Footer — */
.site-footer {
  background: var(--color-dark);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-teal-light); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  display: flex;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 1; }

/* — CTA Banner — */
.cta-banner {
  background: var(--color-teal);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

.cta-banner .btn {
  background: var(--color-white);
  color: var(--color-dark);
}
.cta-banner .btn:hover { background: var(--color-dark); color: var(--color-white); }

/* — Privacy/Terms links — */
.legal-links {
  text-align: center;
  padding: 20px 0;
  background: var(--color-dark);
}
.legal-links a {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  margin: 0 12px;
}
.legal-links a:hover { color: rgba(255,255,255,0.5); }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
  .brand-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-benefits { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: var(--section-pad-mobile); }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-dark);
    padding: 32px 24px;
    gap: 0;
  }
  .nav-links.open a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open .nav-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    border: 1px solid var(--color-teal);
    border-radius: 6px;
    text-align: center;
  }
  .nav-links.open .nav-lang {
    display: inline-block;
    margin-top: 12px;
    margin-left: 0;
    padding: 10px 20px;
    border: 1px solid var(--color-gold-light);
    border-radius: 6px;
    text-align: center;
  }
  .nav-links.open .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    padding-left: 16px;
    margin-top: 0;
  }
  .hamburger { display: flex; }

  .hero { min-height: 80vh; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .brand-cards { grid-template-columns: 1fr; }
  .brand-card { min-height: 220px; padding: 32px 28px; }
  .download-cta { flex-direction: column; text-align: center; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .brand-hero-meta { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* — Utility — */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }


/* — Logo Image — */
.logo-img {
  height: 36px;
  width: auto;
}

.footer-brand .logo-img {
  height: 40px;
  margin-bottom: 16px;
}

/* — Hero with image — */
.hero-image {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,26,30,0.92) 0%, rgba(17,95,115,0.75) 100%);
}

.hero-image .container { position: relative; z-index: 2; }

/* — Image Cards for Industries — */
.image-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.image-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Cools down a warm-toned photo so it sits with the dark teal palette instead of clashing */
.image-card-bg--cool {
  filter: grayscale(15%) sepia(20%) hue-rotate(160deg) saturate(0.7) brightness(0.85) contrast(1.05);
}

.image-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,26,30,0.85) 0%, rgba(14,26,30,0.2) 60%, transparent 100%);
}

.image-card h3 { color: var(--color-white); position: relative; z-index: 2; margin-bottom: 8px; }
.image-card p { color: rgba(255,255,255,0.7); position: relative; z-index: 2; font-size: 0.9rem; }

@media (max-width: 768px) {
  .image-card-grid { grid-template-columns: 1fr; }
  .image-card { min-height: 240px; }
}

/* — Logo dot accent — */
.logo-text { 
  font-family: 'Nunito', var(--font-body); 
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white); 
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.logo-text .logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.logo-text .logo-word {
  line-height: 1;
}

/* Remove gaps between sections */
.section + .section,
.section + .section-alt,
.section-alt + .section,
.section-alt + .section-dark,
.section-dark + .section,
.brand-bar + .section {
  margin-top: 0;
}

/* Brand bar with logos */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ONE Light is a stacked logo (2:1 ratio) — needs more height so "LIGHT" subcopy stays legible */
.brand-logo--stacked {
  height: 52px;
}

/* ONE Light is a stacked logo (2:1 ratio) — needs extra height to keep "LIGHT" readable */
.brand-logo--stacked {
  height: 52px;
}


/* WhatsApp floating action button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Cookie consent banner — slim bottom bar */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  gap: 20px;
  padding: 16px 32px;
  background: linear-gradient(120deg, var(--color-dark) 0%, var(--color-teal) 140%);
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-banner__icon svg {
  width: 22px;
  height: 22px;
}

.cookie-banner__body {
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner__learn-more {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  color: var(--color-gold-light);
  text-decoration: underline;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
}

.cookie-banner__details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-banner__details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 70ch;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.cookie-btn-accept {
  background: var(--color-gold);
  color: var(--color-dark);
  border: none;
}

.cookie-btn-accept:hover {
  background: var(--color-gold-light);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Shift the WhatsApp button up while the cookie banner is showing so they don't overlap */
body.cookie-banner-active .whatsapp-float {
  bottom: 110px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-wrap: wrap;
    padding: 16px 20px;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
  }
  body.cookie-banner-active .whatsapp-float {
    bottom: 190px;
  }
}

/* =========================================
   Blog Article
   ========================================= */

.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h2 { margin-top: 48px; margin-bottom: 16px; font-size: 1.7rem; }
.article h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.3rem; }
.article p { color: var(--color-text-light); margin-bottom: 18px; line-height: 1.75; }
.article ul, .article ol { color: var(--color-text-light); margin: 0 0 18px 22px; line-height: 1.75; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--color-text); }

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.compare-table-wrap { overflow-x: auto; margin: 24px 0 32px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: var(--color-warm-gray);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
}
.compare-table td { color: var(--color-text-light); }
.compare-table tr td:first-child { font-weight: 600; color: var(--color-text); white-space: nowrap; }

.article-faq { margin-top: 8px; }
.article-faq-item { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.article-faq-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.article-faq-item p { margin-bottom: 0; }

.article-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-warm-gray);
  border-left: 3px solid var(--color-teal);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 8px 0 32px;
}
.article-callout .icon { flex: 0 0 auto; width: 28px; height: 28px; color: var(--color-teal); margin-top: 2px; }
.article-callout p { margin-bottom: 0; color: var(--color-text); font-size: 1rem; }
.article-callout p strong { color: var(--color-teal); }

.article-verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}
.article-verdict-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 22px 24px;
}
.article-verdict-card h4 { font-size: 1rem; margin-bottom: 10px; color: var(--color-teal); }
.article-verdict-card p { margin-bottom: 0; font-size: 0.92rem; }
@media (max-width: 700px) {
  .article-verdict-grid { grid-template-columns: 1fr; }
}

.article-backlink {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal);
}

/* =========================================
   Blog
   ========================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--color-teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.blog-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: var(--color-warm-gray);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 24px 24px 0;
  width: fit-content;
}
.blog-card-body { padding: 16px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.blog-card-body p { color: var(--color-text-light); font-size: 0.92rem; flex: 1; }
.blog-card-date {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 16px;
}
.blog-card-link {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-teal);
}
.blog-card.is-placeholder {
  opacity: 0.55;
  cursor: default;
}
.blog-card.is-placeholder:hover {
  transform: none;
  border-color: var(--color-border);
  box-shadow: none;
}
.blog-card-tag.is-soon { background: transparent; border: 1px dashed var(--color-border); color: var(--color-text-light); }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* =========================================
   Project Showcase (Use Cases / Case Studies)
   ========================================= */

.projects-teaser {
  background: var(--color-warm-gray);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.projects-teaser-icon {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(14,26,30,0.08);
}
.projects-teaser-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-teaser-body { flex: 1; }
.projects-teaser-body .eyebrow { color: var(--color-teal); }
.projects-teaser-body h3 { margin: 8px 0 10px; font-size: 1.6rem; }
.projects-teaser-body p { color: var(--color-text-light); max-width: 520px; margin-bottom: 22px; }

@media (max-width: 700px) {
  .projects-teaser { flex-direction: column; text-align: center; padding: 36px 28px; }
  .projects-teaser-body p { margin-left: auto; margin-right: auto; }
}

.project-jumpnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.project-jumpnav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  scrollbar-width: none;
}
.project-jumpnav .container::-webkit-scrollbar { display: none; }
.project-jumpnav a {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.project-jumpnav a:hover,
.project-jumpnav a.active {
  color: var(--color-white);
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.project-category {
  scroll-margin-top: 76px;
}

.project-category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.project-category-head h2 { margin-bottom: 8px; }
.project-category-head .subtitle { max-width: 560px; }
.project-category-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
  padding-bottom: 6px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-grid.photo-grid-2 { grid-template-columns: repeat(2, 1fr); }

.photo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-warm-gray);
  aspect-ratio: 4 / 5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card .photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px 14px;
  background: linear-gradient(to top, rgba(14,26,30,0.85), rgba(14,26,30,0));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}
.photo-card:hover .photo-caption { opacity: 1; transform: translateY(0); }

.project-coming-soon {
  border: 1.5px dashed var(--color-border);
  border-radius: 10px;
  padding: 56px 32px;
  text-align: center;
  color: var(--color-text-light);
}
.project-coming-soon h4 { color: var(--color-text); margin-bottom: 10px; }

@media (max-width: 860px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .photo-grid, .photo-grid.photo-grid-2 { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 14, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Promo offer modal */
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 14, 16, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.promo-modal-overlay.show { opacity: 1; }
.promo-modal-overlay.is-visible { display: flex; }

.promo-modal {
  position: relative;
  background: var(--color-white);
  border-radius: 14px;
  max-width: 620px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s ease;
}
.promo-modal-overlay.show .promo-modal { transform: translateY(0) scale(1); }

.promo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-warm-gray);
  color: var(--color-text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.promo-modal-close:hover { background: var(--color-border); }

.promo-modal-header {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-dark) 100%);
  color: var(--color-white);
  padding: 22px 28px;
  border-radius: 14px 14px 0 0;
}
.promo-modal-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.promo-modal-header h3 {
  color: var(--color-white);
  font-size: 1.4rem;
  margin: 0 0 4px;
}
.promo-modal-header p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  margin: 0;
}

.promo-modal-body { padding: 24px 28px 28px; }

.promo-modal-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.promo-modal-product {
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 10px 12px;
}
.promo-modal-product img,
.promo-modal-product .promo-modal-product-icon {
  width: 100%;
  max-width: 150px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}
.promo-modal-product .promo-modal-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}
.promo-modal-product-name { font-weight: 700; font-size: 0.95rem; color: var(--color-dark); }
.promo-modal-product-qty { font-size: 0.82rem; color: var(--color-text-light); }

.promo-modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.promo-modal-price { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--color-teal); line-height: 1; }
.promo-modal-price-note { font-size: 0.85rem; color: var(--color-text-light); }

@media (max-width: 560px) {
  .promo-modal-price { font-size: 2.5rem; }
}

.promo-modal-body p { font-size: 0.94rem; margin-bottom: 12px; }

.promo-modal-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-modal-features li {
  position: relative;
  padding-left: 30px;
  font-size: 0.94rem;
  color: var(--color-text);
  line-height: 1.45;
}
.promo-modal-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-teal);
  background-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.promo-modal-features li strong { color: var(--color-dark); }
.promo-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.promo-modal-tag {
  font-size: 0.78rem;
  background: var(--color-warm-gray);
  color: var(--color-text-light);
  padding: 4px 10px;
  border-radius: 20px;
}
.promo-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-modal-actions .btn { flex: 1; text-align: center; min-width: 160px; }
.promo-modal-fineprint { font-size: 0.76rem; color: var(--color-text-light); margin-top: 14px; margin-bottom: 0; }

@media (max-width: 560px) {
  .promo-modal-products { grid-template-columns: 1fr; }
  .promo-modal-header { padding: 18px 20px; }
  .promo-modal-body { padding: 18px 20px 22px; }
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
