
:root {
  --gold: #c9a227;
  --gold-dark: #8a6a1f;
  --night: #0e1f33;
  --night-2: #081523;
  --ivory: #f8f5ef;
  --sand: #e8ddc8;
  --coffee: #6f4326;
  --green: #2e5e3e;
  --text: #111111;
  --muted: #6b7280;
  --line: #d9d4c7;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(8,21,35,.14);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:var(--text); background:var(--ivory); line-height:1.65; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
.container { width:min(1160px, calc(100% - 40px)); margin:0 auto; }
.narrow { width:min(860px, calc(100% - 40px)); }
.site-header { position:sticky; top:0; z-index:1000; background:rgba(248,245,239,.92); backdrop-filter:blur(18px); border-bottom:1px solid rgba(217,212,199,.75); }
.header-inner { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:22px; }
.brand { display:flex; align-items:center; gap:14px; min-width:245px; }
.brand-logo { width:52px; height:52px; border-radius:50%; object-fit:cover; box-shadow:0 10px 30px rgba(201,162,39,.25); border:1px solid rgba(201,162,39,.55); }
.brand-title { font-weight:900; letter-spacing:.02em; color:var(--night); line-height:1.1; }
.brand-subtitle { display:block; font-size:.78rem; color:var(--gold-dark); font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.nav { display:flex; align-items:center; gap:4px; }
.nav a { padding:12px 13px; font-weight:800; color:rgba(14,31,51,.78); border-radius:999px; font-size:.95rem; }
.nav a:hover, .nav a.active { background:rgba(201,162,39,.14); color:var(--night); }
.header-actions { display:flex; align-items:center; gap:10px; }
.lang-switch { display:flex; gap:4px; padding:4px; border:1px solid var(--line); border-radius:999px; background:var(--white); }
.lang-btn { border:0; background:transparent; color:var(--night); padding:7px 10px; border-radius:999px; cursor:pointer; font-weight:900; }
.lang-btn.active { background:var(--night); color:var(--white); }
.menu-toggle { display:none; border:0; background:var(--night); color:var(--white); border-radius:14px; padding:10px 13px; font-weight:900; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:14px 20px; border-radius:999px; font-weight:900; border:1px solid transparent; transition:transform .2s ease, box-shadow .2s ease, background .2s ease; cursor:pointer; text-align:center; }
.btn:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(14,31,51,.16); }
.btn-primary { background:var(--gold); color:var(--night); }
.btn-dark { background:var(--night); color:var(--white); }
.btn-outline { border-color:rgba(201,162,39,.55); color:var(--night); background:rgba(255,255,255,.55); }
.btn-green { background:var(--green); color:var(--white); }
.btn.disabled { opacity:.65; cursor:not-allowed; pointer-events:none; }
.hero { position:relative; overflow:hidden; background:radial-gradient(circle at 15% 5%, rgba(201,162,39,.25), transparent 28%), linear-gradient(135deg, var(--night) 0%, var(--night-2) 60%, #162a42 100%); color:var(--white); padding:80px 0 58px; }
.hero:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size:44px 44px; opacity:.35; pointer-events:none; }
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center; }
.eyebrow { display:inline-flex; color:var(--gold); text-transform:uppercase; letter-spacing:.13em; font-size:.78rem; font-weight:900; margin-bottom:16px; }
h1 { margin:0; font-family:Georgia, 'Times New Roman', serif; letter-spacing:-.045em; line-height:.95; font-size:clamp(3.2rem, 7vw, 7.2rem); }
.subtitle { font-size:clamp(1.08rem, 2vw, 1.35rem); color:rgba(255,255,255,.83); max-width:760px; margin:24px 0 0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.hero-card { position:relative; padding:18px; border-radius:var(--radius); background:linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.18); box-shadow:0 30px 90px rgba(0,0,0,.32); }
.hero-card img { border-radius:22px; width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center; }
.floating-badge { position:absolute; left:-16px; bottom:34px; width:min(300px, 78%); padding:18px; border-radius:22px; background:rgba(248,245,239,.96); color:var(--night); box-shadow:var(--shadow); border:1px solid rgba(201,162,39,.45); }
.floating-badge strong { display:block; font-size:1.1rem; }
.floating-badge span { color:var(--muted); font-weight:700; font-size:.92rem; }
.section { padding:76px 0; }
.section-sm { padding:48px 0; }
.section-alt { background:linear-gradient(180deg, rgba(232,221,200,.35), rgba(248,245,239,.75)); }
.section-title { max-width:850px; margin-bottom:36px; }
.section-title.centered { text-align:center; margin-left:auto; margin-right:auto; }
.section-title h2 { margin:0 0 14px; font-family:Georgia, 'Times New Roman', serif; font-size:clamp(2.2rem, 4vw, 4rem); line-height:1.08; color:var(--night); letter-spacing:-.03em; }
.section-title p { margin:0; color:var(--muted); font-size:1.1rem; }
.page-hero { background:linear-gradient(135deg, var(--night), #162a42); color:var(--white); padding:76px 0; position:relative; overflow:hidden; }
.page-hero:before { content:""; position:absolute; inset:-160px -120px auto auto; width:420px; height:420px; background:radial-gradient(circle, rgba(201,162,39,.32), transparent 65%); }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { font-size:clamp(2.8rem, 6vw, 5.5rem); }
.page-hero p { max-width:760px; color:rgba(255,255,255,.82); font-size:1.2rem; margin:18px 0 0; }
.cards { display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.card { background:rgba(255,255,255,.75); border:1px solid var(--line); border-radius:24px; padding:26px; box-shadow:0 12px 36px rgba(14,31,51,.07); }
.card h3 { margin:0 0 10px; color:var(--night); font-size:1.25rem; }
.card p { margin:0; color:var(--muted); }
.card .icon { color:var(--gold-dark); font-weight:900; font-size:1.8rem; margin-bottom:12px; }
.split { display:grid; grid-template-columns:.9fr 1.1fr; gap:46px; align-items:center; }
.split.reverse { grid-template-columns:1.15fr .85fr; }
.photo-frame { border-radius:var(--radius); padding:14px; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow); }
.photo-frame img { border-radius:22px; width:100%; object-fit:cover; }
.rich-text p { color:#263241; font-size:1.08rem; margin:0 0 18px; }
.rich-text h2 { color:var(--night); font-family:Georgia, 'Times New Roman', serif; font-size:2rem; margin:26px 0 10px; }
.rich-text strong { color:var(--night); }
.badge-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.badge { display:inline-flex; padding:9px 13px; border-radius:999px; background:rgba(201,162,39,.12); color:var(--night); font-weight:900; font-size:.92rem; border:1px solid rgba(201,162,39,.25); }
.knowledge-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch; }
.knowledge-grid .list-card { height:100%; }
.list-card { background:var(--white); border:1px solid var(--line); border-radius:24px; padding:28px; box-shadow:0 12px 32px rgba(14,31,51,.06); }
.list-card h2 { margin:0 0 16px; color:var(--night); font-family:Georgia, 'Times New Roman', serif; font-size:2rem; }
.clean-list { list-style:none; padding:0; margin:0; display:grid; gap:11px; }
.clean-list.two-cols { grid-template-columns:1fr 1fr; column-gap:18px; }
.clean-list li { padding-left:24px; position:relative; font-weight:800; color:#273545; }
.clean-list li:before { content:""; position:absolute; left:0; top:.75em; width:9px; height:9px; border-radius:50%; background:var(--gold); }
.experience-panel { background:linear-gradient(135deg, var(--night), #152c47); color:var(--white); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow); }
.experience-panel h2 { margin:0 0 16px; font-family:Georgia, 'Times New Roman', serif; font-size:2.25rem; }
.experience-panel p { color:rgba(255,255,255,.82); margin:0 0 18px; }
.books-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.book-card { background:var(--white); border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:0 16px 44px rgba(14,31,51,.1); display:flex; flex-direction:column; }
.book-cover { background:#150f09; padding:14px; }
.book-cover img { width:100%; aspect-ratio:2/3; object-fit:contain; border-radius:14px; box-shadow:0 18px 30px rgba(0,0,0,.25); background:#150f09; }
.book-body { padding:22px; display:flex; flex-direction:column; flex:1; }
.book-body h2 { margin:0 0 8px; color:var(--night); font-size:1.12rem; line-height:1.2; }
.book-body p { color:var(--muted); margin:0 0 18px; font-size:.95rem; }
.book-status { display:inline-flex; align-self:flex-start; margin-bottom:14px; padding:6px 10px; border-radius:999px; font-size:.78rem; font-weight:900; text-transform:uppercase; letter-spacing:.05em; background:rgba(46,94,62,.1); color:var(--green); }
.book-status.dev { background:rgba(201,162,39,.14); color:var(--gold-dark); }
.book-body .btn { margin-top:auto; padding:12px 14px; font-size:.92rem; }
.center-actions { display:flex; justify-content:center; margin-top:32px; }
.company-hero { background:var(--night); color:var(--white); border-radius:34px; overflow:hidden; display:grid; grid-template-columns:1fr 1fr; box-shadow:var(--shadow); }
.company-copy { padding:46px; }
.company-copy h2 { margin:0 0 14px; font-family:Georgia, 'Times New Roman', serif; font-size:clamp(2.4rem, 4vw, 4.3rem); line-height:1.05; }
.company-copy p { color:rgba(255,255,255,.84); text-align:justify; }
.company-media { min-height:560px; position:relative; }
.company-media img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.logo-panel { margin-top:24px; background:var(--white); border:1px solid var(--line); border-radius:28px; padding:32px; display:flex; align-items:center; justify-content:center; }
.logo-panel img { max-width:460px; width:100%; }
.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:30px; align-items:start; }
.contact-card { background:var(--white); border:1px solid var(--line); border-radius:28px; padding:30px; box-shadow:var(--shadow); }
.profile-contact { overflow:hidden; }
.contact-photo { width:100%; aspect-ratio:4/5; object-fit:contain; object-position:center top; border-radius:22px; margin-bottom:22px; background:var(--ivory); }
.contact-card h2 { margin:0 0 16px; color:var(--night); font-family:Georgia, 'Times New Roman', serif; font-size:2.2rem; }
.contact-methods { display:grid; gap:12px; margin-top:20px; }
.contact-method { padding:16px; border:1px solid var(--line); border-radius:18px; background:rgba(248,245,239,.7); }
a.contact-method:hover { border-color:rgba(201,162,39,.65); box-shadow:0 12px 24px rgba(14,31,51,.08); }
.contact-method span { display:block; color:var(--muted); font-size:.88rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.contact-method strong { display:block; color:var(--night); font-size:1.02rem; overflow-wrap:anywhere; }
.muted-card { opacity:.78; }
.form { display:grid; gap:14px; }
.form label { font-weight:900; color:var(--night); }
.form input, .form select, .form textarea { width:100%; border:1px solid var(--line); border-radius:16px; padding:14px 15px; font:inherit; background:var(--ivory); color:var(--text); margin-top:6px; }
.form textarea { min-height:150px; resize:vertical; }
.form-note { color:var(--muted); font-size:.92rem; }
.hidden { display:none; }
.privacy-text { background:rgba(255,255,255,.78); border:1px solid var(--line); border-radius:28px; padding:38px; box-shadow:var(--shadow); }
.simple-center { min-height:calc(100vh - 125px); display:flex; align-items:center; text-align:center; }
.simple-center .container { display:grid; justify-items:center; }
.thanks-logo { border-radius:50%; margin-bottom:20px; box-shadow:0 12px 34px rgba(0,0,0,.18); }
.cta-band { background:linear-gradient(135deg, var(--gold), #ebcc6b); border-radius:30px; padding:38px; display:flex; align-items:center; justify-content:space-between; gap:20px; box-shadow:var(--shadow); }
.cta-band h2 { margin:0; color:var(--night); font-family:Georgia, 'Times New Roman', serif; font-size:clamp(1.8rem, 3vw, 3rem); }
.cta-band p { margin:6px 0 0; color:rgba(14,31,51,.82); font-weight:800; }
.site-footer { padding:42px 0; background:var(--night); color:rgba(255,255,255,.78); }
.footer-inner { display:grid; grid-template-columns:1.2fr .9fr auto; align-items:start; gap:20px; }
.footer-brand { display:flex; align-items:center; gap:12px; }
.footer-brand img { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; font-weight:800; }
.footer-links a:hover { color:var(--gold); }
.legal { font-size:.85rem; max-width:980px; color:rgba(255,255,255,.62); margin:0; grid-column:1 / -1; }
@media (max-width: 1080px) {
  .nav a { padding:10px 9px; font-size:.88rem; }
  .brand { min-width:210px; }
  .books-grid { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .menu-toggle { display:inline-flex; }
  .nav { display:none; position:absolute; left:20px; right:20px; top:86px; background:rgba(248,245,239,.98); border:1px solid var(--line); border-radius:24px; padding:12px; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; }
  .nav.open { display:flex; }
  .nav a { border-radius:16px; padding:13px 16px; }
  .brand-title { font-size:.98rem; }
  .hero-grid, .split, .split.reverse, .company-hero, .contact-grid, .knowledge-grid { grid-template-columns:1fr; }
  .hero { padding:58px 0 42px; }
  .hero-card { max-width:560px; margin:0 auto; }
  .floating-badge { left:14px; right:14px; width:auto; bottom:22px; }
  .cards { grid-template-columns:1fr; }
  .company-media { min-height:360px; order:-1; }
  .footer-inner { grid-template-columns:1fr; }
  .cta-band { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 620px) {
  .container, .narrow { width:min(100% - 28px, 1160px); }
  .header-inner { min-height:72px; gap:10px; }
  .brand { min-width:0; gap:10px; }
  .brand-logo { width:44px; height:44px; }
  .brand-title { font-size:.9rem; }
  .brand-subtitle { font-size:.68rem; }
  .lang-switch { display:none; }
  h1 { font-size:clamp(2.6rem, 14vw, 4.4rem); }
  .page-hero { padding:54px 0; }
  .page-hero h1 { font-size:clamp(2.35rem, 12vw, 4rem); }
  .section { padding:54px 0; }
  .section-sm { padding:34px 0; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .btn { width:100%; }
  .books-grid { grid-template-columns:1fr; }
  .book-card { max-width:390px; margin:0 auto; }
  .clean-list.two-cols { grid-template-columns:1fr; }
  .company-copy, .contact-card, .privacy-text { padding:24px; }
  .company-media { min-height:300px; }
  .cta-band { padding:26px; }
}


.social-links { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.social-link { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:10px 13px; border-radius:999px; background:rgba(255,255,255,.84); border:1px solid rgba(201,162,39,.35); color:var(--night); font-weight:900; box-shadow:0 8px 22px rgba(14,31,51,.06); }
.social-link:hover { border-color:rgba(201,162,39,.75); transform:translateY(-1px); box-shadow:0 12px 28px rgba(14,31,51,.12); }
.social-link span { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--night); color:var(--gold); font-size:.72rem; letter-spacing:.02em; text-transform:uppercase; }
.social-links.compact { gap:7px; }
.social-links.compact .social-link { padding:0; width:34px; height:34px; font-size:0; gap:0; background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:var(--white); box-shadow:none; }
.social-links.compact .social-link span { width:24px; height:24px; background:rgba(201,162,39,.16); color:var(--gold); font-size:.68rem; }
.footer-social { display:grid; gap:9px; align-items:center; }
.footer-social > strong { color:var(--white); font-size:.9rem; }
.social-panel { margin-top:18px; padding:20px; border-radius:22px; background:linear-gradient(135deg, rgba(14,31,51,.06), rgba(201,162,39,.12)); border:1px solid rgba(201,162,39,.28); }
.social-panel h2 { font-size:1.7rem; margin-bottom:8px; }
.social-panel p { margin:0 0 14px; color:var(--muted); font-weight:700; }
.social-strip { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:28px; border-radius:28px; background:rgba(255,255,255,.72); border:1px solid var(--line); box-shadow:0 12px 32px rgba(14,31,51,.06); }
.social-strip h2 { margin:0 0 6px; color:var(--night); font-family:Georgia, 'Times New Roman', serif; font-size:clamp(1.8rem, 3vw, 2.8rem); }
.social-strip p { margin:0; color:var(--muted); font-weight:700; max-width:620px; }
@media (max-width: 920px) {
  .social-strip { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 620px) {
  .social-link { width:100%; }
  .social-links.compact .social-link { width:34px; }
  .social-panel { padding:16px; }
  .social-strip { padding:20px; }
}

.social-handles-note { margin-top:14px; padding:12px 14px; border-radius:16px; background:rgba(14,31,51,.05); border:1px solid rgba(14,31,51,.08); }
.social-handles-note p { margin:0; color:var(--muted); font-weight:800; font-size:.92rem; line-height:1.55; }


/* Requested refinements */
.cards .card { min-height:100%; }
@media (max-width:1080px) { .cards { grid-template-columns:repeat(2, 1fr); } }
.profile-split { align-items:stretch; }
.profile-split .photo-frame { height:100%; }
.profile-split .photo-frame img { height:100%; min-height:520px; object-fit:cover; object-position:center top; }
.justified-text p { text-align:justify; }
.domain-list { gap:14px; }
.domain-list li { font-weight:800; line-height:1.55; }
.door-i { color:#f5a623; }
.company-title-row { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:18px; }
.company-title-row h2 { margin:0; }
.company-logo-inline { width:150px; height:150px; object-fit:contain; border-radius:24px; background:rgba(255,255,255,.96); padding:14px; border:1px solid rgba(201,162,39,.32); }
.company-hero-balanced { align-items:stretch; }
.company-hero-balanced .company-copy, .company-hero-balanced .company-media { min-height:620px; }
.company-hero-balanced .company-copy { display:flex; flex-direction:column; justify-content:center; }
.company-hero-balanced .company-copy p { font-size:1.02rem; line-height:1.72; }
.contact-main-grid { align-items:stretch; }
.contact-photo-card { background:var(--white); border:1px solid var(--line); border-radius:28px; padding:18px; box-shadow:var(--shadow); }
.contact-photo-full { width:100%; height:100%; min-height:620px; object-fit:cover; object-position:center top; border-radius:22px; }
.contact-direct-card { margin-top:28px; background:var(--white); border:1px solid var(--line); border-radius:28px; padding:30px; box-shadow:var(--shadow); display:grid; grid-template-columns:1fr; gap:18px; }
.contact-direct-card h2 { margin:0 0 8px; color:var(--night); font-family:Georgia, 'Times New Roman', serif; font-size:2.2rem; }
.contact-direct-card p { color:var(--muted); margin:0; font-weight:700; }
.direct-methods { grid-template-columns:repeat(3, 1fr); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.social-links.icons-only { gap:12px; }
.social-links.icons-only .social-link { width:48px; height:48px; padding:0; border-radius:50%; font-size:0; gap:0; }
.social-links.icons-only .social-link span.social-icon { width:30px; height:30px; border-radius:0; background:transparent; color:var(--night); }
.social-links.icons-only .social-link .sr-only { display:block; }
.social-svg, .social-icon svg { width:100%; height:100%; fill:currentColor; }
.social-icon.instagram svg { fill:none; stroke:currentColor; stroke-width:2.2; }
.social-icon.youtube svg polygon { fill:#fff; }
.social-links.compact.icons-only .social-link { width:36px; height:36px; background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); }
.social-links.compact.icons-only .social-link span.social-icon { width:22px; height:22px; color:var(--gold); }
.social-links.contact-social-icons .social-link { background:rgba(14,31,51,.05); }
@media (max-width:920px) {
  .company-title-row { align-items:flex-start; }
  .company-logo-inline { width:118px; height:118px; }
  .company-hero-balanced .company-copy, .company-hero-balanced .company-media { min-height:auto; }
  .direct-methods { grid-template-columns:1fr; }
  .contact-photo-full { min-height:520px; }
}
@media (max-width:620px) {
  .cards { grid-template-columns:1fr; }
  .profile-split .photo-frame img { min-height:auto; }
  .company-title-row { flex-direction:column; }
  .contact-photo-full { min-height:420px; }
  .social-links.icons-only .social-link { width:46px; }
}


/* Ajustes solicitados V6 */
.hero-grid { align-items:stretch; }
.hero-copy { display:flex; flex-direction:column; justify-content:center; }
.hero-card { height:100%; }
.hero-card img { height:100%; aspect-ratio:auto; object-fit:cover; }
.book-cover { min-height:390px; height:390px; display:flex; align-items:center; justify-content:center; }
.book-cover img { width:auto; height:100%; max-width:100%; aspect-ratio:auto; object-fit:contain; }
.home-socials .social-strip { display:block; text-align:center; }
.home-socials .social-strip h2 { white-space:nowrap; font-size:clamp(1.65rem, 2.6vw, 2.35rem); }
.home-socials .social-strip p { margin:0 auto 18px; }
.home-socials .social-links.icons-only { justify-content:center; flex-wrap:nowrap; }
.company-title-row { display:block; }
.company-logo-inline { display:none; }
.company-media.logo-media { display:flex; align-items:center; justify-content:center; padding:42px; background:var(--night); }
.company-media.logo-media img { width:100%; height:auto; max-width:520px; object-fit:contain; border-radius:28px; background:var(--white); padding:28px; }
.door-word { display:inline; }
.contact-direct-card .contact-social-icons { justify-content:center; }
@media (max-width:620px) {
  .book-cover { height:360px; min-height:360px; }
  .home-socials .social-strip h2 { white-space:normal; }
  .home-socials .social-links.icons-only { gap:8px; }
  .home-socials .social-links.icons-only .social-link { width:42px; height:42px; }
  .company-media.logo-media { padding:24px; }
}
