/*
Theme Name:  DABA L-GHDA
Theme URI:   https://daba-l-ghda.com
Author:      DABA L-GHDA Consulting
Author URI:  https://daba-l-ghda.com
Description: Four-language (EN/FR/NL/AR, RTL-ready) WordPress theme for DABA L-GHDA Consulting — AI, Innovation & Digital Transformation. From Now to Tomorrow.
Version:     1.2.0
Requires at least: 6.0
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: daba-l-ghda
Tags:        business, consulting, multilingual, one-column, custom-logo
*/

/* ============================================================
   DABA L-GHDA — Stylesheet
   ============================================================ */

:root {
  /* Display colours — the logo gradient, verbatim. Decorative only: none of
     these clears WCAG AA against white (the mint is 1.95:1), so they must
     never carry text. Use them for gradients, fills and accents. */
  --brand-blue:   #1677FF;
  --brand-cyan:   #12A9D7;
  --brand-green:  #22D38B;

  /* Functional colours — the same hues darkened until white text on them, and
     they on white, both clear 4.5:1. These are what buttons, links and labels
     use. */
  --green:        #0D8558;
  --dark-green:   #0A6644;
  --blue:         #1467E0;
  --dark-blue:    #0E4CA8;
  --light-green:  #E6F9F1;
  --light-blue:   #E7F0FF;
  --white:        #FFFFFF;
  --text-dark:    #1B2A41;
  --text-gray:    #5C6B7F;
  --bg-light:     #F5F9FF;
  --border:       #DCE6F2;
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 32px rgba(0,0,0,0.15);
  --radius:       12px;
  --transition:   0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 110px; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--text-gray); }

::selection { background: var(--green); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 2000;
  background: var(--green); color: var(--white);
  padding: 0.7rem 1.2rem; border-radius: 0 0 8px 8px; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---- SHARED BITS ---- */
.tagline { font-family: 'Dancing Script', cursive; font-size: 1.4rem; color: var(--green); font-weight: 700; }
.section-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.section-title { margin: 0.4rem 0 1rem; }
.section-subtitle { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .section-title { margin-bottom: 0.8rem; }
.section-head p { max-width: 640px; margin: 0 auto; }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-blue  { color: var(--blue); }

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--dark-green); border-color: var(--dark-green); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,133,88,0.35); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--dark-green); border-color: var(--white); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--dark-blue); border-color: var(--dark-blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(20,103,224,0.35); color: var(--white); }
.btn-ghost { background: transparent; color: var(--dark-green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

.section { padding: 90px 0; }
.section-tight { padding: 70px 0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.bg-light { background: var(--bg-light); }

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.12); padding: 0.6rem 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Wordmark logo */
.logo { display: flex; align-items: center; gap: 0.75rem; }
/* The mark is assets/img/logo-mark.svg — the DG monogram. It is wider than it
   is tall (476x302), so it is sized by height and the width follows. Its
   counters are real transparent holes, so no background or shadow is applied:
   a box-shadow would trace the bounding box, not the letterforms. */
.logo-mark {
  height: 46px; width: auto; flex-shrink: 0;
  display: block;
  transition: transform var(--transition), filter var(--transition);
}
.logo:hover .logo-mark { transform: translateY(-2px); filter: saturate(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text-dark); }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-gray); font-weight: 600; }
.custom-logo { height: 56px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links > li { position: relative; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-dark); position: relative; padding-bottom: 2px; transition: color var(--transition); display: inline-block; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--green); transition: width var(--transition); }
.nav-links a:hover { color: var(--green); }
.nav-links > li > a:hover::after,
.nav-links > li.current > a::after { width: 100%; }
.nav-links > li.current > a { color: var(--green); }
.nav-links .btn-primary { padding: 0.55rem 1.4rem; color: var(--white); font-size: 0.88rem; }
.nav-links .btn-primary::after { display: none; }
.nav-links .btn-primary:hover { color: var(--white); }

/* Services dropdown */
.has-dropdown > a i { font-size: 0.65rem; margin-left: 0.3rem; transition: transform var(--transition); }
.has-dropdown:hover > a i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 0.9rem); left: -1rem;
  min-width: 265px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(0,0,0,0.14);
  padding: 0.6rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before { content: ''; position: absolute; top: -0.9rem; left: 0; right: 0; height: 0.9rem; }
.dropdown a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0.8rem; border-radius: 8px;
  font-size: 0.87rem; font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown a::after { display: none; }
.dropdown a i { color: var(--green); font-size: 0.85rem; width: 1.1rem; text-align: center; }
.dropdown a:hover { background: var(--light-green); color: var(--dark-green); }

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: 0.15rem; background: var(--bg-light); border: 1px solid var(--border); border-radius: 50px; padding: 0.2rem; }
.lang-switch a {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.3rem 0.62rem; border-radius: 50px; color: var(--text-gray);
  transition: background var(--transition), color var(--transition);
}
.lang-switch a::after { display: none; }
.lang-switch a:hover { color: var(--dark-green); background: var(--light-green); }
.lang-switch a.active { background: var(--green); color: var(--white); }

.nav-tools { display: flex; align-items: center; gap: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 0 90px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.45); z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,119,255,0.60) 0%, rgba(34,211,139,0.52) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 1rem; max-width: 880px; margin: 0 auto; }
.hero-content .tagline { color: rgba(255,255,255,0.92); font-size: 1.35rem; margin-bottom: 0.5rem; }
.hero-content h1 { color: var(--white); margin-bottom: 1.2rem; text-shadow: 0 2px 14px rgba(0,0,0,0.32); }
.hero-content > p { color: rgba(255,255,255,0.9); font-size: 1.08rem; max-width: 640px; margin: 0 auto 2.4rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.6rem; }
.hero-pills span {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 0.4rem 1rem; border-radius: 50px;
  backdrop-filter: blur(4px);
}
.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.7); font-size: 0.75rem; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; animation: bounce 2s infinite; letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-image-wrapper { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image-wrapper img { height: 520px; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.about-image-wrapper:hover img { transform: scale(1.03); }
.about-badge { position: absolute; bottom: 1.5rem; right: 1.5rem; background: var(--green); color: var(--white); padding: 0.9rem 1.5rem; border-radius: var(--radius); text-align: center; box-shadow: 0 4px 16px rgba(13,133,88,0.40); }
.about-badge .badge-number { font-size: 1.5rem; font-weight: 800; display: block; line-height: 1.1; letter-spacing: 0.02em; }
.about-badge .badge-label { font-size: 0.72rem; opacity: 0.92; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1.2rem; line-height: 1.9; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.value-item { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem; background: var(--light-green); border-radius: var(--radius); transition: transform var(--transition); }
.value-item:hover { transform: translateY(-2px); }
.value-icon { width: 40px; height: 40px; background: var(--green); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.value-item h4 { font-size: 0.9rem; margin-bottom: 0.15rem; color: var(--dark-green); }
.value-item p   { font-size: 0.8rem; margin: 0; line-height: 1.55; }

/* ---- SERVICE CARDS ---- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 210px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,42,65,0) 55%, rgba(27,42,65,0.35) 100%); }
.service-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-icon { width: 46px; height: 46px; background: var(--light-green); color: var(--green); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 0.5rem; color: var(--text-dark); }
.service-card p  { font-size: 0.9rem; margin-bottom: 1.2rem; flex: 1; }
.service-link { font-size: 0.85rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap var(--transition); align-self: flex-start; }
.service-link:hover { gap: 0.8rem; }

/* ---- METHODOLOGY STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step-card {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 3px solid var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.step-card:nth-child(even) { border-top-color: var(--blue); }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  font-size: 2.1rem; font-weight: 800; line-height: 1;
  color: var(--light-green); margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.step-card:nth-child(even) .step-num { color: var(--light-blue); }
.step-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; color: var(--text-dark); }
.step-card p { font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* Inline numbered steps (approach page) */
.steps { margin: 1.8rem 0; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.1rem; padding: 1.3rem 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: transform var(--transition); }
.step:hover { transform: translateX(4px); }
.step-number { width: 42px; height: 42px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; flex-shrink: 0; }
.step:nth-child(odd) .step-number { background: var(--green); }
.step-text h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--text-dark); }
.step-text p  { margin: 0; font-size: 0.9rem; }

/* ---- MARKET CARDS ---- */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.market-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; transition: all var(--transition);
}
.market-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow); }
.market-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--light-blue); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 1rem; }
.market-card:hover .market-icon { background: var(--light-green); color: var(--green); }
.market-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.market-card p { font-size: 0.86rem; line-height: 1.65; margin: 0; }

/* ---- BRIDGE ---- */
.bridge { background: linear-gradient(135deg, var(--dark-blue) 0%, #0B7A6A 55%, var(--dark-green) 100%); color: var(--white); }
.bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.bridge .section-label { color: rgba(255,255,255,0.72); }
.bridge h2 { color: var(--white); margin-bottom: 1.1rem; }
.bridge p { color: rgba(255,255,255,0.85); margin-bottom: 1.1rem; }
.bridge-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.bridge-stat { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 1.2rem 1rem; text-align: center; }
.bridge-stat strong { display: block; font-size: 0.95rem; color: var(--white); margin-bottom: 0.15rem; }
.bridge-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.bridge-image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 44px rgba(0,0,0,0.3); }
.bridge-image img { width: 100%; height: 440px; object-fit: cover; }

/* ---- DIFFERENTIATORS ---- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.diff-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform var(--transition), box-shadow var(--transition); }
.diff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.diff-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--light-green); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1rem; }
.diff-card:nth-child(3n+2) .diff-icon { background: var(--light-blue); color: var(--blue); }
.diff-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.diff-card p { font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* ---- BRAND MEANING ---- */
.meaning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.meaning-card { border-radius: var(--radius); padding: 2rem 1.8rem; }
.meaning-card.daba { background: var(--light-blue); border-left: 4px solid var(--blue); }
.meaning-card.lghda { background: var(--light-green); border-left: 4px solid var(--green); }
.meaning-word { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.meaning-card.daba .meaning-word { color: var(--dark-blue); }
.meaning-card.lghda .meaning-word { color: var(--dark-green); }
.meaning-card p { font-size: 0.92rem; margin: 0; }

/* ---- CTA BAND ---- */
.cta-band { background: var(--bg-light); border-top: 1px solid var(--border); padding: 76px 0; }
.cta-inner { text-align: center; max-width: 760px; }
.cta-band .container { max-width: 760px; }
.cta-band h2 { margin-bottom: 0.9rem; }
.cta-band p { margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-actions .btn-outline { color: var(--dark-green); border-color: var(--border); }
.cta-actions .btn-outline:hover { background: var(--white); border-color: var(--green); color: var(--dark-green); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1.5rem; font-size: 1.6rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; padding: 1.1rem 1.2rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform var(--transition); }
.contact-item:hover { transform: translateY(-2px); }
.contact-item-icon { width: 44px; height: 44px; background: var(--light-green); color: var(--green); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.8rem; color: var(--text-gray); margin-bottom: 0.15rem; font-weight: 500; }
.contact-item-text span, .contact-item-text a { font-weight: 600; color: var(--text-dark); font-size: 0.93rem; line-height: 1.5; display: block; }
.contact-item-text a:hover { color: var(--green); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 0.6rem; }
.btn-whatsapp i { font-size: 1.15rem; }
.contact-info .btn-whatsapp { width: 100%; justify-content: center; margin-bottom: 1rem; }

.contact-form-wrapper { background: var(--white); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
.contact-form-wrapper h2 { margin-bottom: 1.6rem; font-size: 1.4rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.45rem; }
input, textarea, select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.9rem; color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1rem; padding-right: 2.4rem; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,133,88,0.12); }
textarea { resize: vertical; min-height: 140px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; margin-top: 0.3rem; border: none; border-radius: 50px; cursor: pointer; }
.form-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.form-note { font-size: 0.78rem; color: var(--text-gray); margin-top: 0.9rem; text-align: center; line-height: 1.55; }
.form-message { margin-top: 1rem; padding: 0.85rem 1.1rem; border-radius: 8px; font-size: 0.88rem; display: none; }
.form-message.success { background: var(--light-green); color: var(--dark-green); display: block; }
.form-message.error   { background: #FDE8E8; color: #C0392B; display: block; }

.map-embed { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); line-height: 0; }
.map-embed iframe { width: 100%; height: 260px; border: 0; }

/* ---- FOOTER ---- */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .logo-name { color: var(--white); }
.footer .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 1.1rem; font-size: 0.86rem; line-height: 1.8; color: rgba(255,255,255,0.65); }
.footer-brand .tagline { display: block; margin-top: 0.9rem; font-size: 1.2rem; color: #5EE0A8; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform var(--transition); }
.footer-social a:hover { background: var(--green); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a, .footer-col span { font-size: 0.86rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col .footer-contact-line { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.6; }
.footer-col .footer-contact-line i { color: #5EE0A8; font-size: 0.82rem; margin-top: 0.35rem; width: 1rem; flex-shrink: 0; }
.footer-bottom { padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.62); }
.footer-bottom a:hover { color: var(--white); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, var(--dark-blue) 0%, #0B7A6A 55%, var(--dark-green) 100%); padding: 160px 0 72px; color: var(--white); text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.03rem; max-width: 720px; margin: 0 auto; }
.page-hero .breadcrumb { font-size: 0.83rem; color: rgba(255,255,255,0.62); margin-bottom: 1rem; display: flex; gap: 0.5rem; justify-content: center; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* ---- ARTICLE / RICH TEXT ---- */
.page-content { padding: 70px 0 90px; }
.page-body { max-width: 840px; margin: 0 auto; }
.page-body h2 { font-size: 1.35rem; color: var(--dark-blue); margin: 2.6rem 0 0.8rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--light-blue); }
.page-body h2:first-of-type { margin-top: 0; }
.page-body h3 { margin: 1.6rem 0 0.6rem; }
.page-body p { color: var(--text-gray); margin-bottom: 1rem; line-height: 1.9; }
.page-body a { color: var(--blue); font-weight: 500; text-decoration: underline; }
.page-body > ul { margin: 0.5rem 0 1.2rem 1.2rem; }
.page-body > ul li { margin-bottom: 0.4rem; list-style: disc; color: var(--text-gray); line-height: 1.85; }

/* Checkmark list */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.92rem; color: var(--text-dark); line-height: 1.6; }
.check-list li i { color: var(--green); font-size: 0.85rem; margin-top: 0.42rem; flex-shrink: 0; }
.check-list.single-col { grid-template-columns: 1fr; }

.info-card { background: var(--light-blue); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; margin: 1.6rem 0; }
.info-card p { margin: 0; color: var(--dark-blue); font-weight: 500; }
.highlight-card { background: var(--light-green); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; margin: 1.6rem 0; }
.highlight-card p { margin: 0; color: var(--dark-green); font-weight: 500; }

/* Service detail blocks */
.service-block { padding: 80px 0; border-bottom: 1px solid var(--border); }
.service-block:last-of-type { border-bottom: none; }
.service-block:nth-child(even) { background: var(--bg-light); }
.service-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.service-block:nth-child(even) .service-block-media { order: -1; }
.service-block-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-block-media img { width: 100%; height: 380px; object-fit: cover; }
.service-block .service-icon { margin-bottom: 1rem; }
.service-block h2 { margin-bottom: 0.9rem; }
.service-block .check-list { grid-template-columns: 1fr; margin: 1.2rem 0 1.4rem; }

/* ---- LEGAL / PRIVACY PAGE ---- */
.legal-body .lead { font-size: 1.03rem; color: var(--text-dark); line-height: 1.85; margin-bottom: 1.8rem; }
.legal-body h3 { font-size: 1.02rem; color: var(--dark-green); margin: 1.6rem 0 0.5rem; }
.legal-body ul { margin: 0.5rem 0 1.3rem 1.2rem; }
.legal-body ul li { margin-bottom: 0.45rem; list-style: disc; color: var(--text-gray); line-height: 1.8; }
.legal-body ul.plain-list { margin-left: 0; }
.legal-body ul.plain-list li { list-style: none; margin-bottom: 0.25rem; }
.legal-body .term-list { margin: 1.2rem 0 1.6rem; }
.legal-body .term-list dt { font-weight: 600; color: var(--text-dark); margin-top: 0.9rem; }
.legal-body .term-list dd { margin: 0.25rem 0 0; color: var(--text-gray); line-height: 1.8; }
.legal-body code { background: var(--light-blue); color: var(--dark-blue); padding: 0.12rem 0.42rem; border-radius: 4px; font-size: 0.86em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.page-updated { display: inline-block; background: var(--light-green); color: var(--dark-green); font-size: 0.8rem; font-weight: 600; padding: 0.34rem 0.9rem; border-radius: 50px; margin-bottom: 1.6rem; }

.table-scroll { overflow-x: auto; margin: 1.3rem 0 1.8rem; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); font-size: 0.87rem; }
.legal-table th {
  background: var(--light-blue); color: var(--dark-blue);
  text-align: left; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.85rem 1rem; white-space: nowrap;
}
.legal-table td { padding: 0.85rem 1rem; border-top: 1px solid var(--border); color: var(--text-gray); line-height: 1.65; vertical-align: top; }
.legal-table tbody tr:hover td { background: var(--bg-light); }
.legal-table td:first-child { color: var(--text-dark); font-weight: 500; }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1200;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 1.3rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.8rem; flex-wrap: wrap;
}
.cookie-copy { flex: 1 1 420px; }
.cookie-copy h2 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--text-dark); }
.cookie-copy p { font-size: 0.86rem; line-height: 1.65; margin: 0; }
.cookie-copy a { color: var(--blue); font-weight: 500; text-decoration: underline; }
.cookie-copy a:hover { color: var(--dark-blue); }
.cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
/* Decline carries the same visual weight as accept — required for valid consent. */
.cookie-actions .btn { padding: 0.65rem 1.5rem; font-size: 0.87rem; white-space: nowrap; }

@media (max-width: 640px) {
  .cookie-inner { padding: 1.1rem 1.2rem; gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; padding: 0.7rem 1rem; }
}

/* ---- 404 ---- */
.error-page { padding: 190px 0 120px; text-align: center; }
.error-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--brand-blue), var(--brand-green)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.error-page p { max-width: 480px; margin: 0 auto 2rem; }

/* ---- ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.3rem; }
  .diff-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
  .market-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .bridge-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .bridge-image     { order: -1; }
  .bridge-image img { height: 300px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid    { grid-template-columns: 1fr; }
  .service-block-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-block:nth-child(even) .service-block-media { order: 0; }
  .service-block-media img { height: 280px; }
  .service-block    { padding: 60px 0; }
  .meaning-grid     { grid-template-columns: 1fr; }
  .check-list       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .page-hero { padding: 130px 0 55px; }

  .nav-links {
    display: none; flex-direction: column; gap: 0; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 0.6rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-top: 1px solid #E9EFF7;
    max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 0.8rem 0; border-bottom: 1px solid #E9EFF7; font-size: 1rem; display: block; }
  .nav-links > li > a::after { display: none; }
  .has-dropdown > a i { float: right; margin-top: 0.4rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0.3rem 0 0.6rem 0.9rem; min-width: 0;
    display: none; background: transparent;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 0.55rem 0.5rem; font-size: 0.9rem; }
  .nav-links .btn-primary { margin-top: 0.9rem; border-radius: 8px; }

  .nav-tools { gap: 0.7rem; }
  .hamburger { display: flex; }
  .logo-mark { height: 40px; }
  .logo-name { font-size: 0.95rem; }
  .logo-sub  { font-size: 0.56rem; }

  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .hero-scroll { display: none; }

  .about-image-wrapper img { height: 320px; }
  .values-grid   { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .market-grid   { grid-template-columns: 1fr; }
  .diff-grid     { grid-template-columns: 1fr; }
  .bridge-stats  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 1.6rem; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-actions   { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .container { width: 92%; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.45rem; }
  .hero-content .tagline { font-size: 1.15rem; }
  .hero-pills { gap: 0.4rem; }
  .hero-pills span { font-size: 0.72rem; padding: 0.32rem 0.8rem; }
  .lang-switch a { padding: 0.28rem 0.5rem; font-size: 0.68rem; }
  .about-badge { bottom: 1rem; right: 1rem; padding: 0.7rem 1.1rem; }
}

/* ---- PRINT ---- */
@media print {
  .header, .footer-social, .hero-scroll, .cta-band, .hamburger, .lang-switch { display: none !important; }
  body { color: #000; }
  .hero, .page-hero { background: none !important; color: #000; padding: 1rem 0; }
  .hero-bg, .hero-overlay { display: none; }
  .hero-content h1, .page-hero h1, .hero-content > p, .page-hero p { color: #000 !important; text-shadow: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
