/* ============================================
   HADAPA SERVICES — Global Stylesheet
   Modern & Minimal Design
   ============================================ */

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

:root {
  --blue:       #18667c;
  --blue-light: #1e8fa6;
  --blue-pale:  #e6f4f7;
  --dark:       #111827;
  --mid:        #4B5563;
  --light:      #F9FAFB;
  --border:     #E5E7EB;
  --white:      #FFFFFF;
  --radius:     10px;
  --shadow:     0 2px 20px rgba(0,0,0,.07);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { color: var(--mid); max-width: 72ch; }

/* --- Layout Helpers --- */
.container { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.section    { padding-block: 80px; }
.section--alt { background: var(--light); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-light);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24,102,124,.3);
}
.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo:hover { text-decoration: none; opacity: 0.88; transition: opacity 0.2s ease; }
.nav__logo img { height: 60px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: var(--mid);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--blue); text-decoration: none; }

.nav__cta { margin-left: 16px; }

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, #071e27 0%, #18667c 55%, #1e8fa6 100%);
  color: var(--white);
  padding-block: 120px 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #7ec8d8;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }

.hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.15rem;
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header__tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { margin-inline: auto; }

/* ============================================
   CARDS / GRIDS
   ============================================ */
.cards {
  display: grid;
  gap: 24px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--blue);
  flex-shrink: 0;
}
.card__icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.card h3 { margin-bottom: 10px; color: var(--dark); }
.card p  { font-size: .93rem; margin: 0; }

/* ============================================
   STAT BAR
   ============================================ */
.stats {
  background: var(--blue);
  color: var(--white);
  padding-block: 56px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stats__item strong { display: block; font-size: 2.5rem; font-weight: 800; }
.stats__item span   { font-size: .9rem; opacity: .8; }

/* ============================================
   INDUSTRY PILLS
   ============================================ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--mid);
  transition: var(--transition);
}
.pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

/* ============================================
   VALUES LIST
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.value-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  align-items: flex-start;
}
.value-item__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}
.value-item h4 { margin-bottom: 4px; font-size: 1rem; }
.value-item p  { font-size: .88rem; margin: 0; }

/* ============================================
   ENGAGEMENT MODELS
   ============================================ */
.model-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.model-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
}
.model-card h3 { margin-bottom: 10px; }
.model-card p  { font-size: .93rem; margin: 0; }

/* ============================================
   VISION BLOCK
   ============================================ */
.vision-block {
  background: linear-gradient(135deg, #18667c, #1e8fa6);
  border-radius: 16px;
  padding: 56px;
  color: var(--white);
  text-align: center;
  margin-bottom: 64px;
}
.vision-block h2 { color: var(--white); margin-bottom: 14px; }
.vision-block p  { color: rgba(255,255,255,.85); margin-inline: auto; font-size: 1.05rem; max-width: 60ch; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 28px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .85rem; color: var(--mid); margin-bottom: 2px; font-weight: 600; }
.contact-detail p  { font-size: .95rem; color: var(--dark); margin: 0; }

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .93rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24,102,124,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding-block: 56px 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}
.footer__brand p { font-size: .9rem; margin: 12px 0 0; max-width: 28ch; }
.footer__logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.footer__logo span { color: var(--blue-light); }

.footer__col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; }
.footer__col ul li + li { margin-top: 10px; }
.footer__col ul li a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--white); text-decoration: none; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #071e27 0%, #18667c 100%);
  color: var(--white);
  padding-block: 72px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.75); margin-inline: auto; font-size: 1.05rem; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background: var(--blue-pale);
  border: 1px solid #b3dce6;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
.cta-strip h2 { margin-bottom: 12px; }
.cta-strip p  { margin: 0 auto 28px; }

/* ============================================
   KEYFRAMES
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.08); }
  66%       { transform: translate(-25px, 25px) scale(0.94); }
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-animate="fade"]  { transform: none; }
[data-animate="left"]  { transform: translateX(-50px); }
[data-animate="right"] { transform: translateX(50px); }
[data-animate="scale"] { transform: scale(0.88); }
[data-animate].visible { opacity: 1 !important; transform: none !important; }

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* ============================================
   HERO ENHANCEMENTS
   ============================================ */

.hero {
  background: linear-gradient(135deg, #061419 0%, #0c3545 35%, #18667c 65%, #1e8fa6 100%);
  background-size: 200% 200%;
  animation: gradShift 12s ease infinite;
}

.hero h1 {
  background: linear-gradient(130deg, #ffffff 0%, #b3dce6 55%, #7ec8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__orb--1 {
  width: 640px; height: 640px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(30,143,166,0.22) 0%, transparent 70%);
  animation: floatOrb 14s ease-in-out infinite;
}
.hero__orb--2 {
  width: 420px; height: 420px;
  bottom: -100px; left: 8%;
  background: radial-gradient(circle, rgba(12,53,69,0.18) 0%, transparent 70%);
  animation: floatOrb 10s ease-in-out infinite reverse;
  animation-delay: -4s;
}
.hero__orb--3 {
  width: 260px; height: 260px;
  top: 15%; right: 28%;
  background: radial-gradient(circle, rgba(126,200,216,0.12) 0%, transparent 70%);
  animation: floatOrb 17s ease-in-out infinite;
  animation-delay: -9s;
}

/* Hero entrance animations */
.hero__tag     { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.hero h1       { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.hero p        { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.32s both; }
.hero__actions { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.44s both; }

/* ============================================
   NAV SCROLL STATE
   ============================================ */

.nav { transition: box-shadow 0.3s ease; }
.nav--scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.1); }

/* ============================================
   ENHANCED BUTTONS
   ============================================ */

.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(24,102,124,0.38);
  text-decoration: none;
}
.btn--primary:active { transform: translateY(0); box-shadow: none; }

.btn--outline:hover {
  transform: translateY(-2px);
}

/* ============================================
   ENHANCED CARDS
   ============================================ */

.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
}
.card:hover {
  box-shadow: 0 20px 56px rgba(24,102,124,0.13);
  transform: translateY(-8px);
  border-color: rgba(24,102,124,0.18);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .card__icon { transform: scale(1.18) rotate(-6deg); }

/* ============================================
   ENHANCED STATS
   ============================================ */

.stats {
  background: linear-gradient(135deg, #061419 0%, #18667c 50%, #1e8fa6 100%);
  background-size: 200% 200%;
  animation: gradShift 10s ease infinite;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.stats__item { position: relative; z-index: 1; }
.stats__item strong {
  background: linear-gradient(135deg, #fff 0%, #b3dce6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   ENHANCED CTA STRIP
   ============================================ */

.cta-strip {
  background: linear-gradient(135deg, #061419 0%, #18667c 50%, #1e8fa6 100%);
  background-size: 200% 200%;
  animation: gradShift 10s ease infinite;
  border: none;
  border-radius: 20px;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-strip h2, .cta-strip p { color: var(--white); position: relative; z-index: 1; }
.cta-strip a { position: relative; z-index: 1; }
.cta-strip .btn--primary {
  background: var(--white);
  color: var(--blue);
}
.cta-strip .btn--primary:hover {
  background: #eef5ff;
  color: var(--blue);
  box-shadow: 0 10px 32px rgba(0,0,0,0.2);
}

/* ============================================
   ENHANCED PAGE HERO
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, #061419 0%, #18667c 60%, #1e8fa6 100%);
  background-size: 200% 200%;
  animation: gradShift 12s ease infinite;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,143,166,0.2) 0%, transparent 70%);
  top: -200px; right: -80px;
  animation: floatOrb 14s ease-in-out infinite;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  background: linear-gradient(130deg, #fff 0%, #b3dce6 55%, #7ec8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.page-hero p { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.22s both; }

/* ============================================
   ENHANCED MODEL CARDS
   ============================================ */

.model-card {
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.model-card::before { transition: height 0.35s ease; }
.model-card:hover {
  box-shadow: 0 16px 48px rgba(24,102,124,0.1);
  transform: translateY(-6px);
}
.model-card:hover::before { height: 6px; }

/* ============================================
   ENHANCED PILLS
   ============================================ */

.pill {
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 4px 14px rgba(24,102,124,0.15);
}

/* ============================================
   ENHANCED VALUE ITEMS
   ============================================ */

.value-item {
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.value-item:hover {
  box-shadow: 0 8px 32px rgba(24,102,124,0.09);
  transform: translateY(-4px);
  border-color: rgba(24,102,124,0.18);
}

/* ============================================
   VISION BLOCK
   ============================================ */

.vision-block {
  background: linear-gradient(135deg, #061419 0%, #18667c 50%, #1e8fa6 100%);
  background-size: 200% 200%;
  animation: gradShift 10s ease infinite;
}

/* ============================================
   TEAM PHOTO
   ============================================ */

.team-photo-block {
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  position: relative;
  max-width: 680px;
  margin-inline: auto;
}

.team-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease;
}

.team-photo-block:hover .team-photo { transform: scale(1.02); }

.team-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(6,20,25,.75));
  padding: 40px 28px 20px;
}

.team-photo-caption p {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
  max-width: none;
}

/* ============================================
   PROCESS STEPS (How It Works)
   ============================================ */

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.process-step__num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 16px;
  display: inline-block;
}

.process-step__icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(24,102,124,.15);
}

.process-step__icon svg { width: 28px; height: 28px; }

.process-step h3 { margin-bottom: 10px; font-size: 1.15rem; }
.process-step p { font-size: .92rem; max-width: 26ch; margin-inline: auto; }

.process-step__connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  margin-top: 88px;
  opacity: .4;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(24,102,124,.12);
}

.testimonial__quote {
  color: var(--blue);
  opacity: .25;
}
.testimonial__quote svg { width: 28px; height: 28px; }

.testimonial p {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--mid);
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
}

.testimonial__author span {
  font-size: .78rem;
  color: var(--mid);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav__links { gap: 22px; }
  .nav__links a { font-size: .88rem; }
  .nav__cta { padding: 11px 20px; font-size: .88rem; }
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .vision-block { padding: 36px 24px; }
  .product-row { grid-template-columns: 1fr !important; }
  .product-row-reverse { grid-template-columns: 1fr !important; }
  /* Flip order on mobile for second product so text comes first */
  .product-card-visual { order: -1; }
  /* 4-col → 2-col at tablet */
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  /* 3-col → stays 3 until 640px */
}

/* Mobile */
@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
    z-index: 99;
  }
  .nav__toggle { display: flex; }

  .hero { padding-block: 72px 60px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  .section { padding-block: 56px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }

  /* Cards go single column on small phones */
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }

  /* Products page two-col layout */
  .product-row,
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* About page two-col layout */
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  .cta-strip { padding: 40px 24px; }

  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .vision-block { padding: 28px 20px; }

  .page-hero { padding-block: 52px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* Process steps */
  .process-steps { flex-direction: column; gap: 32px; }
  .process-step__connector { display: none; }

  /* Testimonials */
  .testimonials { grid-template-columns: 1fr; }
}
