/* =========================================================
   ASESORÍA Y CONSULTORÍA O&C
   Estilos independientes — styles.css
   Paleta basada en el logo: azul petróleo, grafito y ocre.
========================================================= */

:root {
  --blue: #285f78;
  --blue-dark: #19465b;
  --blue-light: #eaf1f4;
  --ink: #283438;
  --ink-soft: #58666a;
  --ochre: #b98242;
  --ochre-light: #d5ad77;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #dfe5e6;
  --container: 1160px;
  --ease: 260ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
::selection { background: var(--blue); color: var(--white); }

/* Top utility strip */
.topbar { background: var(--blue-dark); color: rgba(255,255,255,.86); font-size: 11px; letter-spacing: .035em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-inner > span { display: flex; align-items: center; gap: 9px; }
.topbar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ochre-light); }
.topbar a { color: var(--white); transition: color var(--ease); }
.topbar a:hover { color: var(--ochre-light); }

/* Header / navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,250,247,.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(40,95,120,.10); }
.nav-wrap { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 61px; height: 61px; object-fit: contain; border-radius: 50%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { color: var(--ink); font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.brand-copy b { color: var(--blue); font-family: "Manrope", sans-serif; font-size: 23px; letter-spacing: .05em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 31px); }
.main-nav > a { position: relative; color: #4c595d; font-size: 12px; font-weight: 700; transition: color var(--ease); }
.main-nav > a:not(.nav-cta)::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--ochre); transition: right var(--ease); }
.main-nav > a:hover { color: var(--blue); }
.main-nav > a:hover::after { right: 0; }
.main-nav .nav-cta { padding: 12px 17px; color: var(--white); background: var(--blue); border: 1px solid var(--blue); }
.main-nav .nav-cta span { margin-left: 9px; color: var(--ochre-light); }
.main-nav .nav-cta:hover { background: var(--blue-dark); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--blue-dark); color: var(--white); }
.hero::before { position: absolute; content: ""; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, black, transparent 85%); }
.hero-shape { position: absolute; border: 1px solid rgba(213,173,119,.24); border-radius: 50%; pointer-events: none; }
.hero-shape-one { width: 650px; height: 650px; right: -180px; top: -270px; }
.hero-shape-two { width: 430px; height: 430px; right: -70px; top: -160px; }
.hero-grid { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; padding-top: 66px; padding-bottom: 80px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .19em; line-height: 1.5; }
.eyebrow > span { width: 27px; height: 2px; flex: 0 0 auto; background: var(--ochre); }
.hero .eyebrow { color: #d4e0e5; }
.hero h1, .section-heading h2, .values-intro h2, .contact-copy h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(39px, 4.7vw, 64px); font-weight: 700; letter-spacing: -.055em; line-height: 1.11; }
.hero h1 em, .section-heading h2 em, .values-intro h2 em, .contact-copy h2 em { color: var(--ochre-light); font-style: normal; }
.hero-lead { max-width: 510px; margin: 25px 0 10px; color: white; font-size: 19px; font-weight: 700; line-height: 1.5; }
.hero-description { max-width: 510px; margin: 0; color: #c7d7dd; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 49px; padding: 13px 19px; border: 1px solid transparent; font-size: 11px; font-weight: 800; letter-spacing: .035em; transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease); cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--ochre-light); }
.button-primary:hover { background: #e3c397; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.34); background: transparent; }
.button-ghost:hover { border-color: var(--ochre-light); }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 43px; }
.proof-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(213,173,119,.7); color: var(--ochre-light); border-radius: 50%; }
.hero-proof p { margin: 0; color: #d2dfe3; font-size: 11px; line-height: 1.6; }
.hero-proof strong { color: var(--white); font-size: 12px; }
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.visual-frame { position: relative; display: grid; place-items: center; width: min(100%, 410px); aspect-ratio: 1 / 1; padding: 25px; background: var(--white); box-shadow: 25px 25px 0 rgba(11,39,52,.3); transform: rotate(2deg); }
.visual-frame::before { position: absolute; content: ""; inset: 12px; border: 1px solid #d7e0e3; }
.visual-frame img { width: 100%; height: 100%; object-fit: contain; }
.visual-stamp { position: absolute; right: -5px; bottom: 25px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: var(--ink); background: var(--ochre-light); box-shadow: 0 12px 30px #102d3a40; font-size: 10px; font-weight: 700; line-height: 1.4; }
.stamp-mark { font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 800; }
.visual-caption { position: absolute; top: 12px; right: 0; display: flex; align-items: center; gap: 10px; color: #d0dde1; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.caption-line { width: 25px; height: 1px; background: var(--ochre-light); }
.hero-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.15); }
.hero-bottom-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: #b9cbd2; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-bottom-inner a { color: var(--ochre-light); font-size: 20px; }

/* Intro */
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: start; }
.section-heading h2, .values-intro h2, .contact-copy h2 { color: var(--ink); font-size: clamp(34px, 4vw, 49px); }
.section-heading h2 em, .values-intro h2 em, .contact-copy h2 em { color: var(--blue); }
.intro-text { padding-top: 4px; }
.intro-text p { color: var(--ink-soft); font-size: 14px; }
.intro-text .lead { margin-top: 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.8; }
.text-link { display: inline-flex; gap: 20px; align-items: center; margin-top: 14px; padding-bottom: 5px; color: var(--blue); border-bottom: 1px solid var(--ochre); font-size: 12px; font-weight: 800; }
.text-link span { color: var(--ochre); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 73px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip article { display: flex; gap: 18px; padding: 28px 23px 28px 0; }
.feature-strip article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.feature-num { color: var(--ochre); font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 800; }
.feature-strip h3 { margin: 0 0 4px; font-size: 14px; }
.feature-strip p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

/* Services */
.services { background: #f0f3f3; }
.section-heading-center { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading-center h2 { font-size: clamp(34px, 4vw, 48px); }
.heading-description { max-width: 580px; margin: 18px auto 0; color: var(--ink-soft); font-size: 14px; }
.services-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 38px; }
.services-aside { position: sticky; top: 120px; overflow: hidden; min-height: 390px; padding: 36px 30px; color: var(--white); background: var(--blue); }
.aside-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); color: var(--ochre-light); font-size: 25px; }
.services-aside h3 { position: relative; z-index: 1; margin: 25px 0 13px; font-family: "Manrope", sans-serif; font-size: 27px; line-height: 1.25; letter-spacing: -.035em; }
.services-aside p { position: relative; z-index: 1; margin: 0 0 25px; color: #d5e1e5; font-size: 13px; }
.button-dark { position: relative; z-index: 1; color: var(--white); background: var(--blue-dark); }
.button-dark:hover { background: #123748; }
.aside-decoration { position: absolute; right: -12px; bottom: -72px; color: rgba(255,255,255,.06); font-family: "Manrope", sans-serif; font-size: 130px; font-weight: 800; letter-spacing: -.08em; }
.services-list { border-top: 1px solid #cbd5d8; }
.service-item { display: grid; grid-template-columns: 34px 1fr 25px; gap: 16px; align-items: start; padding: 19px 5px 19px 0; border-bottom: 1px solid #cbd5d8; transition: padding var(--ease), background var(--ease); }
.service-item:hover { padding-left: 10px; background: rgba(255,255,255,.58); }
.service-index { padding-top: 4px; color: var(--ochre); font-size: 11px; font-weight: 800; }
.service-item h3 { margin: 0 0 3px; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 15px; line-height: 1.45; }
.service-item p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.service-arrow { color: var(--blue); font-size: 18px; }

/* Mission and vision */
.mission { background: var(--paper); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 42px; }
.mission-card { position: relative; min-height: 375px; padding: 39px 42px; }
.mission-main { color: var(--white); background: var(--blue); }
.mission-secondary { color: var(--ink); background: #e8e3d9; }
.card-kicker { position: relative; z-index: 1; font-size: 9px; font-weight: 800; letter-spacing: .15em; opacity: .82; }
.mission-symbol { position: absolute; top: 24px; right: 34px; color: var(--ochre-light); font-size: 55px; font-weight: 400; }
.mission-card h3 { position: relative; z-index: 1; max-width: 440px; margin: 55px 0 15px; font-family: "Manrope", sans-serif; font-size: clamp(24px, 2.8vw, 33px); line-height: 1.3; letter-spacing: -.035em; }
.mission-card p { position: relative; z-index: 1; max-width: 490px; margin: 0; color: #dce7eb; font-size: 13px; }
.mission-secondary p { color: #596367; }
.mission-secondary .mission-symbol { color: var(--blue); }

/* Values */
.values { background: var(--blue-dark); color: var(--white); }
.values-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.values-intro { align-self: start; position: sticky; top: 125px; }
.values-intro .eyebrow { color: #d0dfe4; }
.values-intro h2 { color: var(--white); }
.values-intro h2 em { color: var(--ochre-light); }
.values-intro > p:last-child { max-width: 350px; color: #c1d2d9; font-size: 13px; }
.values-list article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.values-list article:first-child { padding-top: 0; }
.values-list article > span { color: var(--ochre-light); font-size: 11px; font-weight: 800; }
.values-list h3 { margin: 0 0 4px; font-family: "Manrope", sans-serif; font-size: 17px; }
.values-list p { margin: 0; color: #bfd0d6; font-size: 12px; }

/* Commitment banner */
.commitment { position: relative; overflow: hidden; padding: 65px 0; background: var(--ochre-light); }
.commitment::after { position: absolute; content: "O&C"; right: 8%; top: -95px; color: rgba(255,255,255,.17); font-family: "Manrope", sans-serif; font-size: 250px; font-weight: 800; letter-spacing: -.1em; }
.commitment-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 60px 1fr auto; gap: 27px; align-items: center; }
.commitment-mark { align-self: start; color: var(--blue); font-family: Georgia, serif; font-size: 100px; line-height: .9; }
.commitment-copy .eyebrow { margin-bottom: 9px; color: var(--blue-dark); }
.commitment-copy h2 { max-width: 660px; margin: 0 0 8px; font-family: "Manrope", sans-serif; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; letter-spacing: -.04em; }
.commitment-copy > p:last-child { max-width: 670px; margin: 0; color: #394b51; font-size: 13px; }
.button-light { color: var(--white); background: var(--blue); white-space: nowrap; }
.button-light:hover { background: var(--blue-dark); }

/* Contact */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 470px; color: var(--ink-soft); font-size: 14px; }
.contact-note { display: flex; gap: 13px; align-items: center; margin: 28px 0 35px; padding: 16px; background: var(--blue-light); color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.contact-note strong { color: var(--ink); font-size: 12px; }
.note-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: var(--white); background: var(--blue); border-radius: 50%; }
.contact-detail { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.detail-symbol { display: grid; place-items: center; width: 42px; height: 42px; color: var(--blue); background: #e9eeee; font-size: 20px; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.contact-detail strong { margin-top: 2px; font-size: 12px; }
.contact-form { padding: 36px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(28,61,72,.07); }
.form-kicker { margin: 0; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.contact-form h3 { margin: 7px 0 25px; font-family: "Manrope", sans-serif; font-size: 27px; letter-spacing: -.04em; }
.contact-form label { display: block; margin: 15px 0 6px; color: #4b585c; font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #dce3e4; border-radius: 0; outline: none; color: var(--ink); background: #fcfcfb; font-size: 12px; transition: border-color var(--ease), box-shadow var(--ease); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,95,120,.09); }
.contact-form textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 19px; border: 0; }
.form-hint { margin: 11px 0 0; color: #7b8588; font-size: 10px; text-align: center; }

/* Footer */
.site-footer { color: var(--white); background: #172f3a; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 38px; padding-bottom: 38px; }
.footer-brand img { background: var(--white); }
.footer-brand .brand-copy strong { color: var(--white); }
.footer-brand .brand-copy b { color: var(--ochre-light); }
.footer-main > p { margin: 0; color: #c0cdd1; font-size: 12px; }
.footer-top { color: var(--ochre-light); font-size: 11px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; padding-bottom: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #9eafb5; font-size: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .nav-wrap { min-height: 82px; }
  .main-nav { gap: 14px; }
  .main-nav > a { font-size: 11px; }
  .main-nav .nav-cta { padding: 10px 12px; }
  .hero-grid { gap: 25px; }
  .visual-frame { width: min(100%, 340px); }
  .intro-grid, .values-grid { gap: 55px; }
  .services-layout { grid-template-columns: .8fr 1.2fr; gap: 25px; }
  .contact-grid { gap: 45px; }
}
@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 34px)); }
  .section-pad { padding: 78px 0; }
  .topbar-inner { min-height: 34px; font-size: 9px; }
  .topbar-inner > span { gap: 6px; }
  .nav-wrap { min-height: 76px; }
  .brand { min-width: 0; gap: 9px; }
  .brand img { width: 49px; height: 49px; }
  .brand-copy strong { font-size: 8px; }
  .brand-copy b { font-size: 20px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; background: var(--blue); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 17px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px #183b4914; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px 4px; font-size: 12px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .main-nav .nav-cta { margin-top: 7px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 65px; padding-bottom: 50px; }
  .hero h1 { font-size: clamp(39px, 9vw, 57px); }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 330px; margin: 5px 12px 0; }
  .visual-frame { width: min(78%, 300px); }
  .visual-stamp { right: 0; bottom: 5px; }
  .visual-caption { top: 0; right: 0; }
  .hero-bottom-inner { gap: 12px; font-size: 8px; letter-spacing: .06em; }
  .hero-bottom-inner > span:nth-child(2) { text-align: center; }
  .intro-grid, .values-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-strip { grid-template-columns: 1fr; margin-top: 45px; }
  .feature-strip article, .feature-strip article + article { padding: 19px 0; border-left: 0; }
  .feature-strip article + article { border-top: 1px solid var(--line); }
  .section-heading-center { margin-bottom: 38px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-aside { position: relative; top: auto; min-height: auto; }
  .services-aside h3 { max-width: 360px; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: 0; padding: 31px 27px; }
  .mission-card h3 { margin-top: 48px; font-size: 28px; }
  .values-intro { position: static; }
  .commitment-inner { grid-template-columns: 35px 1fr; gap: 15px; }
  .commitment-mark { font-size: 67px; }
  .commitment-inner .button { grid-column: 2; justify-self: start; }
  .contact-form { padding: 27px 22px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main > p { width: 100%; order: 3; }
}
@media (max-width: 430px) {
  .topbar-inner > a { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: space-between; }
  .hero-proof { margin-top: 30px; }
  .hero-bottom-inner > span:nth-child(2) { max-width: 120px; }
  .service-item { grid-template-columns: 25px 1fr 16px; gap: 10px; }
  .service-item h3 { font-size: 14px; }
  .service-item p { font-size: 11px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}
