/* ============================================================
   HEBERT PROFESSIONAL SERVICES — Main Stylesheet
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  --primary:    #0B3A75;
  --accent:     #1E5DAA;
  --text-dark:  #4A4A4A;
  --text-mid:   #7A7A7A;
  --bg-light:   #D9D9D9;
  --white:      #FFFFFF;
  --footer-bg:  #081f40;
  --nav-h:      80px;
  --max-w:      1100px;
  --radius:     2px;
  --ease:       0.25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* === UTILITY === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
}

.label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.divider {
  width: 44px;
  height: 3px;
  background: var(--accent);
  margin: 0.9rem 0 1.6rem;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.82rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary       { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--accent);  border-color: var(--accent); }
.btn-white         { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover   { background: transparent; color: var(--white); }
.btn-outline       { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white       { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); border-color: var(--white); }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid rgba(217,217,217,0.7);
  box-shadow: 0 2px 12px rgba(11,58,117,0.06);
  z-index: 999;
  transition: box-shadow var(--ease);
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 50px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-menu a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.nav-menu a:hover        { color: var(--primary); }
.nav-menu a.active       { color: var(--primary); border-bottom-color: var(--accent); }
.nav-cta-link {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.nav-cta-link:hover { background: var(--accent) !important; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   MAIN / PAGE OFFSET
   ============================================================ */
main { padding-top: var(--nav-h); }


/* ============================================================
   HERO — HOME PAGE
   ============================================================ */
.hero {
  min-height: calc(88vh - var(--nav-h));
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle structural grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
/* Accent gradient line at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, #89BDE0 60%, var(--accent) 80%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 4rem 2rem;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.4rem;
  line-height: 1.12;
}
.hero h1 em {
  font-style: normal;
  color: #89BDE0;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.8rem;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   INTRO / WHAT I DO — HOME
   ============================================================ */
.intro-band {
  padding: 6rem 5%;
  background: var(--white);
}
.intro-band .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-text h2     { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--primary); }
.intro-text p      { font-size: 0.92rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 1.8rem; }
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.stat-box {
  background: var(--bg-light);
  padding: 1.8rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.stat-box .num {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.3rem;
}
.stat-box .desc {
  font-size: 0.76rem;
  color: var(--text-mid);
  line-height: 1.55;
}


/* ============================================================
   SERVICES PREVIEW — HOME
   ============================================================ */
.services-preview {
  background: var(--bg-light);
  padding: 6rem 5%;
}
.services-preview .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-header       { margin-bottom: 3rem; }
.section-header h2    { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--primary); }
.section-header p     { font-size: 0.88rem; color: var(--text-mid); max-width: 500px; line-height: 1.9; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.8rem;
}
.card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-top: 3px solid var(--primary);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11,58,117,0.1);
}
.card-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.card-icon svg {
  width: 20px; height: 20px;
  stroke: white; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3    { font-size: 0.94rem; color: var(--primary); margin-bottom: 0.65rem; }
.card p     { font-size: 0.84rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; }
.card-price { font-size: 0.76rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }
.cards-cta  { text-align: center; }


/* ============================================================
   WHY WORK WITH ME — HOME
   ============================================================ */
.why-band {
  background: var(--primary);
  padding: 6rem 5%;
  color: var(--white);
}
.why-band .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-text .label   { color: rgba(255,255,255,0.45); }
.why-text .divider { background: rgba(255,255,255,0.22); }
.why-text h2       { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.why-text p        { font-size: 0.9rem; color: rgba(255,255,255,0.68); line-height: 1.95; margin-top: 0.5rem; }
.why-points        { display: flex; flex-direction: column; gap: 1.2rem; padding-top: 0.4rem; }
.why-point         { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
  width: 22px; height: 22px; min-width: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-check svg {
  width: 11px; height: 11px;
  stroke: white; fill: none;
  stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.why-point-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.why-point-text span {
  font-size: 0.81rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}


/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--accent);
  padding: 5rem 5%;
  text-align: center;
}
.cta-strip h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.8rem;
}
.cta-strip p {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 2.2rem;
  line-height: 1.85;
}
.cta-strip .btn-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  padding: 3.5rem 5%;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo { margin: 0 auto 2rem; }
.footer-logo img {
  height: 46px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}
.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 2.2rem;
  margin-bottom: 1.8rem;
}
.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--white); }
.footer-contact-row {
  font-size: 0.82rem;
  margin-bottom: 2rem;
  line-height: 2.1;
}
.footer-contact-row a {
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.footer-contact-row a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.26);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
}


/* ============================================================
   PAGE HEADER — inner pages
   ============================================================ */
.page-header {
  background: var(--primary);
  padding: 5rem 5% 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.page-header .label { color: rgba(255,255,255,0.45); display: inline-block; }
.page-header h1     { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.page-header p      { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 480px; margin: 0 auto; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 5%;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 5rem;
  align-items: start;
}
.about-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.about-card {
  background: var(--bg-light);
  padding: 2rem;
  border-top: 3px solid var(--primary);
}
.about-card h3    { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.2rem; }
.about-card .role {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  display: block;
}
.about-card-contact { padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 1.2rem; }
.about-card-contact a,
.about-card-contact span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 0.35rem;
}
.about-card-contact a:hover { color: var(--accent); }

.about-body h2    { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--primary); }
.about-body .divider { margin-bottom: 1.4rem; }
.about-body p {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}
.about-body h3    { font-size: 1rem; color: var(--primary); margin-top: 2rem; margin-bottom: 1rem; }
.value-list       { display: flex; flex-direction: column; gap: 0.9rem; }
.value-item       { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9rem; color: var(--text-dark); line-height: 1.65; }
.value-marker     { width: 8px; height: 8px; min-width: 8px; background: var(--accent); border-radius: 50%; margin-top: 7px; }


/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 5%;
}
.service-detail {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--bg-light);
  align-items: start;
}
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child  { border-bottom: none; }

.service-meta-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.service-meta-icon svg {
  width: 22px; height: 22px;
  stroke: white; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-meta h3    { font-size: 1rem; color: var(--primary); margin-bottom: 0.55rem; line-height: 1.35; }
.service-meta .price{ font-size: 0.8rem; font-weight: 700; color: var(--accent); }

.service-desc-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  display: block;
}
.service-desc-label:first-child { margin-top: 0; }
.service-desc p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.9;
  margin-bottom: 0.5rem;
}
.service-desc ul    { display: flex; flex-direction: column; gap: 0.45rem; }
.service-desc ul li {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding-left: 1.3rem;
  position: relative;
}
.service-desc ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}
.services-bottom-cta {
  background: var(--bg-light);
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--primary);
  margin-top: 4rem;
}
.services-bottom-cta h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.5rem; }
.services-bottom-cta p  { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 1.5rem; line-height: 1.85; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 5%;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 0.4rem; }
.contact-info > p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 2rem; }
.contact-item     { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.c-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.c-icon svg {
  width: 16px; height: 16px;
  stroke: white; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.c-text strong {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.2rem;
}
.c-text a, .c-text span { font-size: 0.88rem; color: var(--text-dark); }
.c-text a:hover { color: var(--accent); }

/* Form */
.contact-form-wrap h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 0.4rem; }
.contact-form-wrap > p { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 2rem; line-height: 1.85; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.87rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid #CFCFCF;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath stroke='%237A7A7A' stroke-width='1.5' fill='none' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; padding: 1rem; font-size: 0.76rem; }
.form-notice {
  font-size: 0.74rem;
  color: var(--text-mid);
  margin-top: 0.8rem;
  line-height: 1.65;
}
.form-success {
  display: none;
  background: #EEF6EE;
  border-left: 3px solid #4CAF50;
  padding: 1.2rem 1.4rem;
  font-size: 0.86rem;
  color: #2E7D32;
  border-radius: var(--radius);
  margin-top: 1rem;
}


/* ============================================================
   SCROLL FADE-IN ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible            { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2)       { transition-delay: 0.1s; }
.fade-up:nth-child(3)       { transition-delay: 0.2s; }
.fade-up:nth-child(4)       { transition-delay: 0.3s; }


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 900px) {
  .hamburger              { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 5%;
    gap: 1.4rem;
    border-bottom: 1px solid var(--bg-light);
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
  }
  .nav-menu.open          { display: flex; }
  .nav-cta-link           { margin-top: 0.4rem; }

  .intro-band .inner,
  .why-band .inner        { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout           { grid-template-columns: 1fr; gap: 3rem; }
  .about-sidebar          { position: static; }
  .service-detail         { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-layout         { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .cards-grid             { grid-template-columns: 1fr; }
  .intro-stats            { grid-template-columns: 1fr 1fr; }
  .form-row               { grid-template-columns: 1fr; }
  .hero-actions,
  .cta-strip .btn-actions { flex-direction: column; align-items: center; }
}
