:root {
  --navy: #101d30;
  --navy-soft: #16233a;
  --cream: #f7f4ee;
  --cream-2: #f1ede3;
  --gold: #b9884f;
  --gold-soft: #cf9f66;
  --ink: #1c2433;
  --ink-soft: #5b6273;
  --line: #e4ded2;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.mb_10 {
  margin-bottom: 10rem;
}

h1, h2, h3, .font-serif {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.text-gold { color: var(--gold) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-cream-2 { background-color: var(--cream-2) !important; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}

/* Buttons */
.btn-navy {
  background-color: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  transition: all .25s ease;
}
.btn-navy:hover { background-color: #0a1424; color: #fff; }

.btn-outline-navy {
  background-color: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  transition: all .25s ease;
}
.btn-outline-navy:hover { background-color: var(--navy); color: #fff; }

.btn-gold {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
  font-weight: 500;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
}
.btn-gold:hover { background-color: #a7763f; color: #fff; }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow, a:hover .arrow { transform: translateX(4px); }

/* Navbar */
.navbar-hibert {
  background-color: rgba(247,244,238,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: .65rem;
}

.brand-text-main {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: .03em;
  color: var(--ink);
}
.brand-text-sub {
  font-size: .55rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.nav-link-hibert {
  color: var(--ink) !important;
  font-weight: 500;
  font-size: .93rem;
  margin: 0 .85rem;
}
.nav-link-hibert:hover { color: var(--gold) !important; }

/* Side vertical label */
.side-label {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--ink-soft);
  text-transform: uppercase;
  z-index: 5;
}
.side-label span { position: relative; }
.side-label::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: var(--line);
  margin: 12px auto 0;
}

@media (max-width: 991.98px) {
  .side-label { display: none; }
}

/* Floating contact rail */
.contact-rail {
  position: fixed;
  right: 0;
  top: 45%;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.contact-rail a {
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 1.05rem;
}
.contact-rail a:hover { background: var(--gold); color: #fff; }

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  z-index: 30;
}
.whatsapp-fab:hover { background: #a7763f; color:#fff; }

/* Hero */
.hero {
  padding-top: 6.5rem;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
}

.hero-visual svg { width: 100%; height: 100%; display: block; }

.scroll-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  color: var(--ink-soft);
  font-size: .85rem;
}
.scroll-hint .mouse-icon {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse-icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--ink-soft);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 16px; }
}

/* Stats bar */
.stats-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(16,29,48,.08);
  margin-top: -3.5rem;
  position: relative;
  z-index: 3;
}
.stats-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: auto;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.stats-card .stat-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.stats-card .stat-label { font-size: .85rem; color: var(--ink-soft); }
.stat-divider { width: 1px; background: var(--line); }

/* Service cards */
.service-card { padding: 1.5rem .5rem; }
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.1rem;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: .6rem; }
.service-card p { font-size: .88rem; color: var(--ink-soft); }
.ver-mas {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.ver-mas:hover { color: var(--gold); }

/* Why choose us (dark) */
.why-section { padding: 4.5rem 0; }
.why-item { text-align: center; }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto .9rem;
}
.why-item p { color: #dfe3ec; font-size: .88rem; font-weight: 500; margin-bottom: 0; }
.why-title-underline {
  width: 46px;
  height: 3px;
  background: var(--gold);
  margin-top: 1rem;
}

/* Process */
.process-step {
  text-align: center;
  position: relative;
}
.process-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}
.process-num {
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 700;
}
.process-step h4 { font-size: .98rem; margin: .35rem 0 .5rem; }
.process-step p { font-size: .82rem; color: var(--ink-soft); }
.process-line {
  position: absolute;
  top: 36px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--line);
  z-index: 1;
}
@media (max-width: 767.98px) {
  .process-line { display: none; }
}

/* About / contact */
.about-media {
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.about-media svg { width: 100%; height: 100%; display: block; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
}
.contact-info-item .ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-control-hibert {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .75rem .9rem;
  font-size: .92rem;
}
.form-control-hibert:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(185,136,79,.15);
}

/* Footer */
.footer-hibert { padding-top: 3.5rem; }
.footer-hibert h6 {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-hibert a {
  color: #b7bfcf;
  text-decoration: none;
  font-size: .9rem;
  display: block;
  margin-bottom: .55rem;
}
.footer-hibert a:hover { color: var(--gold-soft); }
.footer-hibert p.desc { color: #9ba4b6; font-size: .88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  color: #8890a1;
  font-size: .82rem;
}
.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  font-size: .9rem;
}
.social-circle:hover { background: var(--gold); color: #fff; }

/* Utility */
.divider-gold {
  width: 46px;
  height: 3px;
  background: var(--gold);
}

section { scroll-margin-top: 90px; }


.section-divider {
  padding: 1rem 0;
  background: #F7F4EE;
}

.section-divider hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(28, 43, 68, .18),
      transparent);
  opacity: 1;
}

/*==========================
        HISTORIA
==========================*/

.history-section {

  padding: 100px 0;

}

.history-section p {

  color: #666;

  line-height: 1.9;

  font-size: 1.05rem;

}

.history-number {

  background: #fff;

  padding: 30px;

  border-radius: 16px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);

}

.history-number h3 {

  font-size: 2.4rem;

  color: #b9884f;

  margin-bottom: 10px;

  font-weight: 700;

}

.history-number span {

  color: #777;

}

/*==========================
        FILOSOFÍA
==========================*/

.philosophy-section {

  padding: 100px 0;

  background: #fff;

}

.philosophy-card {

  padding: 45px;

  border-radius: 20px;

  background: #F9F7F2;

  transition: .35s;

}

.philosophy-card:hover {

  transform: translateY(-10px);

  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);

}

.philosophy-icon {

  width: 70px;

  height: 70px;

  border-radius: 50%;

  background: #b9884f;

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 28px;

  margin-bottom: 25px;

}

.philosophy-card h4 {

  margin-bottom: 20px;

  color: #b9884f;

}

.philosophy-card p {

  color: #666;

  line-height: 1.9;

  margin-bottom: 0;

}

/*=====================================
        PRACTICE
=====================================*/

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

.section-description {

  max-width: 760px;

  margin: auto;

  color: #666;

  line-height: 1.9;

  margin-top: 20px;

}

.practice-card {

  background: #fff;

  border-radius: 18px;

  padding: 40px;

  transition: .35s;

  border: 1px solid rgba(18, 62, 124, .08);

}

.practice-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);

}

.practice-icon {

  width: 72px;

  height: 72px;

  border-radius: 50%;

  background: #b9884f;

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 30px;

  margin-bottom: 25px;

}

.practice-card h3 {

  color: #b9884f;

  margin-bottom: 25px;

}

.practice-card ul {

  margin: 0;

  padding-left: 20px;

}

.practice-card li {

  margin-bottom: 12px;

  color: #555;

  line-height: 1.7;

}

/*==========================
      CLIENTES
==========================*/

.clients-section {

  padding: 110px 0;

  background: #fff;

}

.client-card {

  background: #F8F6F2;

  border-radius: 20px;

  padding: 40px 30px;

  height: 100%;

  transition: .35s;

  text-align: center;

}

.client-card:hover {

  transform: translateY(-10px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);

}

.client-card i {

  font-size: 42px;

  color: #b9884f;

  margin-bottom: 25px;

}

.client-card h4 {

  margin-bottom: 18px;

  color: #b9884f;

}

.client-card p {

  color: #666;

  line-height: 1.8;

  margin-bottom: 0;

}

/*==================================
        CONTACT
==================================*/

.contact-section {

  padding: 110px 0;

  background: #F8F6F2;

}

.contact-card {

  background: #fff;

  padding: 35px;

  border-radius: 20px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, .06);

}

.contact-item {

  display: flex;

  align-items: center;

  gap: 20px;

  margin-bottom: 30px;

}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  width: 58px;
  height: 58px;
  background: #b9884f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-item small {
  color: #999;
}

.contact-item h6 {
  margin: 4px 0 0;
  font-size: 18px;
}

.contact-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.contact-form-card .form-control,

.contact-form-card .form-select {
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #ddd;
}

.footer-hibert {
  background: #0F1E33;
  color: #fff;
  padding: 80px 0 30px;
}

.footer-logo {
  color: #D4AF37;
  margin-bottom: 25px;
}

.footer-hibert h5 {
  margin-bottom: 20px;
}

.footer-hibert ul {
  list-style: none;
  padding: 0;
}

.footer-hibert li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .75);
}

.footer-hibert a {
  display: flex;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}

.footer-hibert a:hover {
  color: #D4AF37;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, .6);
  padding-top: 25px;
}

/*==================================================
CLIENTES
==================================================*/

.clients-section {
  overflow: hidden;
}

.client-highlight h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #112F5C;
  line-height: 1.3;
}

.client-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid #ECECEC;
  border-radius: 18px;
  height: 100%;
  background: #fff;
  transition: .35s;
}

.client-item:hover {

  transform: translateY(-6px);

  box-shadow: 0 18px 35px rgba(0, 0, 0, .08);

  border-color: #C5A46D;

}

.client-item i {

  width: 48px;
  height: 48px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  background: #F7F4ED;

  color: #C5A46D;

  font-size: 1.2rem;

  flex-shrink: 0;

}

.client-item span {

  color: #555;

  font-size: .96rem;

  line-height: 1.6;

}

.help-card {

  background: #fff;

  border-radius: 22px;

  padding: 40px 35px;

  text-align: center;

  border: 1px solid #ECECEC;

  height: 100%;

  transition: .35s;

}

.help-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, .08);

}

.help-icon {

  width: 74px;
  height: 74px;

  margin: auto auto 25px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #112F5C;

  color: #fff;

  font-size: 1.8rem;

}

.help-card h4 {

  color: #112F5C;

  margin-bottom: 15px;

}

.help-card p {

  color: #666;

  margin-bottom: 0;

}

.client-cta {

  background: #112F5C;

  color: white;

  border-radius: 28px;

  padding: 60px;

}

.client-cta h3 {

  color: white;

  margin-bottom: 18px;

}

.client-cta p {

  color: rgba(255, 255, 255, .8);

}

@media(max-width:991px) {

  .client-cta {

    padding: 40px 25px;

  }

  .client-highlight h3 {

    font-size: 1.6rem;

  }

}

@media only screen and (min-width: 1px) and (max-width: 600px) {
 .px2_sm {
    padding-left: 2rem;
    padding-right: 2rem;
 }

 .mt_3_sm {
  margin-top: 3rem !important;
 }

 .mb_3_sm {
  margin-bottom: 3rem !important;
 }

 .mb_5_sm {
  margin-bottom: 5rem !important;
 }
}