/*
Theme Name: Profitsma Partners
Theme URI: https://profitsma.com
Author: Profitsma Partners
Author URI: https://profitsma.com
Description: Tema premium, ligero y profesional para Profitsma Partners, consultoria financiera y desarrollo de negocio.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profitsma-partners
*/

:root {
  --ink: #111111;
  --muted: #66615d;
  --line: #e7e2dc;
  --paper: #fbfaf8;
  --warm: #f4f1ed;
  --gold: #c86f2d;
  --gold-dark: #9a4a1f;
  --forest: #171717;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 226, 217, 0.82);
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 111, 45, 0.5);
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.86rem;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--ink);
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  background: #0f0f0f;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(200, 111, 45, 0.55);
  background: #fffdfa;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  background: #111111;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("assets/profitsma-sma-hero-v6.png") center center/cover no-repeat;
  filter: blur(7px) saturate(0.96);
  opacity: 0.9;
  transform: scale(1.035);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(17, 17, 17, 0.84) 40%, rgba(17, 17, 17, 0.48) 72%, rgba(17, 17, 17, 0.2) 100%),
    linear-gradient(180deg, rgba(200, 111, 45, 0.2) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 84px 0 116px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #f1dfcf;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin-bottom: 32px;
  color: #f1eadf;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.trust-strip {
  position: relative;
  margin-top: -54px;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-size: 1.5rem;
}

.trust-item span {
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--warm);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.section-kicker {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.05;
  font-weight: 500;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-section {
  background:
    linear-gradient(180deg, rgba(251, 250, 248, 0.97), rgba(244, 241, 237, 0.94)),
    radial-gradient(circle at 86% 8%, rgba(200, 111, 45, 0.18), transparent 34%);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 34px;
}

.about-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-problem {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.problem-copy,
.problem-list,
.ideal-client,
.differentiator {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.problem-copy {
  padding: 32px;
}

.problem-copy h3,
.ideal-client h3,
.differentiator h3 {
  margin: 12px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.12;
  font-weight: 500;
}

.problem-copy p,
.differentiator p {
  margin-bottom: 0;
  color: var(--muted);
}

.problem-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  position: relative;
  padding: 20px 24px 20px 54px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.problem-list li:last-child {
  border-bottom: 0;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.about-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.insight-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
}

.insight-card span {
  color: var(--gold);
  font-weight: 900;
}

.insight-card h3 {
  margin: 28px 0 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.insight-card p {
  margin-bottom: 0;
  color: #e2ded9;
}

.ideal-client {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  margin-bottom: 20px;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(200, 111, 45, 0.34);
  border-radius: 999px;
  background: #fffdfa;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 750;
}

.differentiator {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: #111111;
  color: var(--white);
}

.differentiator .section-kicker {
  color: var(--gold);
}

.differentiator p {
  color: #f1dfcf;
  font-size: 1.2rem;
  font-weight: 750;
}

.service-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.sector-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card .number {
  color: var(--gold-dark);
  font-weight: 850;
}

.service-card h3,
.sector-card h3 {
  margin: 24px 0 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.service-card p,
.sector-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.impact-section {
  background: var(--paper);
}

.impact-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.impact-panel {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.07);
}

.impact-panel.after {
  border-color: rgba(200, 111, 45, 0.34);
  background: #fffaf5;
}

.impact-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.impact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
}

.impact-panel.after .impact-icon {
  background: var(--gold);
}

.impact-panel h3 {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 500;
}

.finance-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.finance-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.finance-list dt {
  color: var(--muted);
  font-weight: 650;
}

.finance-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  text-align: right;
}

.action-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.action-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-weight: 650;
}

.action-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.profit-highlight {
  margin-top: auto;
  padding: 22px;
  border-radius: var(--radius);
  background: #111111;
  color: var(--white);
}

.profit-highlight span,
.profit-highlight small {
  display: block;
  color: #e2ded9;
}

.profit-highlight strong {
  display: block;
  margin: 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 500;
}

.profit-highlight.positive {
  background: var(--gold);
}

.impact-summary {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
}

.impact-summary div,
.impact-summary p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.impact-summary span,
.impact-summary small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.impact-summary strong {
  display: block;
  margin: 6px 0;
  color: var(--gold-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.impact-summary p {
  color: var(--muted);
  font-size: 0.94rem;
}

.scenario-label {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.method-step {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-weight: 850;
}

.method-list h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.method-list p {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  background: var(--forest);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.contact-grid p {
  color: #e2ded9;
}

.contact-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-band .button {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.contact-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
}

.site-footer {
  padding: 34px 0;
  background: #0b0b0b;
  color: #cbd3ce;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-inner small {
  color: #98a39d;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #092f17;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.page-content {
  padding: 86px 0;
}

.page-content .entry-title {
  margin-bottom: 28px;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-nav ul {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    min-height: 620px;
  }

  .trust-grid,
  .section-heading,
  .about-intro,
  .about-problem,
  .about-services,
  .ideal-client,
  .differentiator,
  .service-grid,
  .sector-grid,
  .impact-comparison,
  .impact-summary,
  .method,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero-content {
    padding: 68px 0 104px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
