/* ════════════════════════════════════════════════════════════
   PROPIETARIOS — Portal Post Venta CSS
   Estética: Warm luxury · Service-oriented · Trust
   Prefijo: po-
═══════════════════════════════════════════════════════════════ */

:root {
  --po-warm:       #C4956A;
  --po-cream:      #F5F0EA;
  --po-dark:       #1A1A1A;
  --po-dark-soft:  #2A2A2A;
  --po-text:       #333333;
  --po-text-muted: #777777;
  --po-white:      #FFFFFF;
  --po-orange:     #FF8800;
  --po-orange-deep:#FF6600;
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Lato', system-ui, sans-serif;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --container-max: 1280px; --header-h: 82px;
}

/* ═══════ RESET ═══════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--po-text); background: var(--po-cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); margin-bottom: 0.5rem; }
a { color: inherit; text-decoration: none; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ═══════ UTILITIES ═══════ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 767px) { .container { padding: 0 16px; } }
.text-white { color: var(--po-white); }
.text-light { color: #EAEAEA; }
.text-light--soft { opacity: 0.85; }
.text-muted-footer { color: #999; transition: color 0.2s ease; }
.text-muted-footer:hover { color: var(--po-orange); }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--po-orange); color: var(--po-white); padding: 12px 20px; z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--po-orange); outline-offset: 3px; border-radius: 4px; }

/* ═══════ SECTIONS ═══════ */
.po-section { padding: 60px 0; }
@media (min-width: 768px) { .po-section { padding: 80px 0; } }
@media (min-width: 1024px) { .po-section { padding: 100px 0; } }
.po-section--white { background: var(--po-white); }
.po-section--cream { background: var(--po-cream); }
.po-section--dark  { background: var(--po-dark); color: #EAEAEA; }

.po-eyebrow { display: inline-block; font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.po-eyebrow--orange { color: var(--po-orange); }
.po-section-header { text-align: center; margin-bottom: 48px; }
.po-section-header__sub { max-width: 620px; margin: 0 auto; font-size: 0.95rem; line-height: 1.7; color: var(--po-text-muted); }

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; font-family: var(--font-heading); font-size: 0.875rem;
  font-weight: 600; border-radius: var(--radius-sm); text-transform: uppercase;
  letter-spacing: 0.05em; text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
@media (max-width: 767px) { .btn { width: 100%; padding: 16px 20px; font-size: 0.8rem; } }
.btn-primary { background: linear-gradient(135deg, #FF9900 0%, #FF8800 100%); color: var(--po-white); box-shadow: 0 4px 18px rgba(255,136,0,0.25); }
.btn-golden-glow:hover { background: linear-gradient(135deg, #FF8800 0%, #FF6600 100%); box-shadow: 0 0 24px rgba(255,136,0,0.35); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid rgba(0,0,0,0.15); color: var(--po-text); }
.btn-outline:hover { border-color: var(--po-orange); color: var(--po-orange); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.8rem; }
@media (max-width: 767px) { .btn--sm { width: 100%; } }

/* ═══════ HEADER ═══════ */
.po-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 14px 0;
  background: rgba(26,26,26,0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all 0.4s ease;
}
.po-header.scrolled { background: rgba(26,26,26,0.96); border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.35); padding: 8px 0; }
.po-header__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.po-nav { display: flex; align-items: center; gap: 14px; }
.po-nav__logo img { height: 30px; width: auto; }
.po-nav__links { display: none; margin-left: auto; gap: 22px; align-items: center; }
@media (min-width: 1024px) { .po-nav__links { display: flex; } }
.po-nav__link { color: var(--po-white); font-family: var(--font-heading); font-size: 0.72rem; font-weight: 500; opacity: 0.8; transition: all 0.2s ease; position: relative; padding: 4px 0; letter-spacing: 0.02em; }
.po-nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--po-orange); transition: width 0.3s ease; }
.po-nav__link:hover { color: var(--po-orange); opacity: 1; }
.po-nav__link:hover::after { width: 100%; }
.po-nav__link.is-active { color: var(--po-orange); opacity: 1; }
.po-nav__item--dropdown { position: relative; }
.po-nav__link--dropdown { display: inline-flex; align-items: center; gap: 4px; }
.po-dropdown-chevron { transition: transform 0.3s ease; }
.po-nav__link--dropdown[aria-expanded="true"] .po-dropdown-chevron { transform: rotate(180deg); }
.po-nav-dropdown { position: absolute; top: calc(100% + 16px); left: -16px; min-width: 280px; background: rgba(26,26,26,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.3s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 100; }
.po-nav__item--dropdown:hover .po-nav-dropdown, .po-nav__link--dropdown[aria-expanded="true"] + .po-nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.po-nav-dropdown__link { display: flex; flex-direction: column; padding: 12px 16px; border-radius: var(--radius-sm); transition: all 0.2s ease; }
.po-nav-dropdown__link:hover { background: rgba(255,136,0,0.08); }
.po-nav-dropdown__label { font-family: var(--font-heading); font-weight: 600; color: var(--po-white); font-size: 0.9rem; }
.po-nav-dropdown__sub { font-size: 0.72rem; color: #999; margin-top: 2px; }
.po-nav-dropdown__link--all { color: var(--po-orange) !important; font-weight: 600; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 6px; padding-top: 16px; font-family: var(--font-heading); font-size: 0.82rem; }
.po-nav__cta { margin-left: auto; background: var(--po-orange-deep); color: var(--po-white); padding: 9px 20px; border-radius: var(--radius-sm); font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s ease; display: none; }
@media (min-width: 1024px) { .po-nav__cta { display: inline-flex; margin-left: 0; } }
.po-nav__cta:hover { background: #E67A00; box-shadow: 0 0 24px rgba(255,136,0,0.35); }
.po-nav__toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; z-index: 1001; margin-left: auto; }
.po-nav__bar { width: 24px; height: 2px; background: var(--po-white); border-radius: 2px; transition: all 0.3s ease; }
@media (min-width: 1024px) { .po-nav__toggle { display: none; } }
@media (max-width: 1023px) {
  .po-nav__links { position: fixed; top: 0; right: 0; width: min(85%, 360px); height: 100vh; background: rgba(26,26,26,0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; padding: 100px 32px 32px; gap: 8px; transform: translateX(100%); transition: transform 0.4s ease; border-left: 1px solid rgba(255,255,255,0.08); }
  .po-nav__links.is-open { transform: translateX(0); }
  .po-nav__links > li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .po-nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; backdrop-filter: none; border: none; box-shadow: none; padding: 8px 0 0 16px; min-width: 0; display: none; }
  .po-nav__link--dropdown[aria-expanded="true"] + .po-nav-dropdown { display: block; }
}

/* ═══════ HERO ═══════ */
.po-hero { position: relative; min-height: 42vh; display: flex; align-items: center; overflow: hidden; background: var(--po-dark); }
.po-hero__bg { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 50%, #1A1A1A 100%); }
.po-hero__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 60%, rgba(255,136,0,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(196,149,106,0.06) 0%, transparent 50%); }
.po-hero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 48px) 0 56px; }
.po-hero__eyebrow { display: block; font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--po-orange); margin-bottom: 4px; font-weight: 600; }
.po-hero__title { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; color: var(--po-white); line-height: 1.05; margin-bottom: 16px; }
.po-hero__desc { font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: #EAEAEA; max-width: 620px; opacity: 0.85; line-height: 1.7; }
.po-breadcrumb { margin-bottom: 20px; }
.po-breadcrumb ol { display: flex; align-items: center; gap: 8px; }
.po-breadcrumb li { font-size: 0.8rem; color: #999; font-family: var(--font-heading); }
.po-breadcrumb li + li::before { content: '›'; margin-right: 8px; color: #666; }
.po-breadcrumb a { color: #999; transition: color 0.2s ease; }
.po-breadcrumb a:hover { color: var(--po-orange); }
.po-breadcrumb [aria-current="page"] { color: var(--po-orange); font-weight: 600; }

/* ═══════ ACCESO PORTAL ═══════ */
.po-acceso-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .po-acceso-layout { grid-template-columns: 1fr 1.3fr; gap: 40px; } }

.po-acceso-card {
  background: var(--po-cream); border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg); padding: 40px 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.po-acceso-card--main {
  background: var(--po-dark); color: var(--po-white);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center; align-items: center;
}
.po-acceso-card--main p { color: #CCCCCC; max-width: 360px; line-height: 1.7; font-size: 0.95rem; }
.po-acceso-card--main .btn { margin-top: 8px; }
.po-acceso-card__icon { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,136,0,0.1); color: var(--po-orange); }
.po-acceso-card--main .po-acceso-card__icon { background: rgba(255,136,0,0.15); }

.po-acceso-card--info p { color: var(--po-text-muted); line-height: 1.7; font-size: 0.925rem; }
.po-acceso-card--info h3 { font-size: 1.1rem; }
.po-acceso-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; width: 100%; }
.po-acceso-step { display: flex; align-items: flex-start; gap: 14px; }
.po-acceso-step__num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,136,0,0.1); color: var(--po-orange);
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.po-acceso-step span { font-size: 0.9rem; color: var(--po-text-muted); line-height: 1.5; }
.po-acceso-step strong { color: var(--po-text); }

/* ═══════ DOCUMENTOS ═══════ */
.po-docs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
@media (min-width: 768px) { .po-docs-grid { grid-template-columns: repeat(2, 1fr); } }

.po-doc-card {
  background: var(--po-white); border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg); padding: 32px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.po-doc-card:hover { transform: translateY(-4px); border-color: rgba(255,136,0,0.2); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }

.po-doc-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: rgba(255,136,0,0.08); color: var(--po-orange); flex-shrink: 0;
}
.po-doc-card__icon--verano { background: rgba(255,160,0,0.1); color: #E6A000; }
.po-doc-card__icon--invierno { background: rgba(100,160,200,0.1); color: #5A9AB5; }
.po-doc-card__icon--postventa { background: rgba(46,204,113,0.1); color: #2ECC71; }
.po-doc-card__body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.po-doc-card__body p { font-size: 0.85rem; color: var(--po-text-muted); line-height: 1.65; }
.po-doc-card .btn { margin-top: auto; }

/* ═══════ FORMULARIO CONTACTO ═══════ */
.po-contacto-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .po-contacto-layout { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: flex-start; } }

.po-contacto-info p { font-size: 0.95rem; line-height: 1.7; margin-top: 4px; }
.po-contacto-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.po-channel-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #CCCCCC; font-size: 0.9rem; transition: color 0.2s ease;
}
.po-channel-link:hover { color: var(--po-orange); }
.po-channel-link svg { color: var(--po-orange); flex-shrink: 0; }

.po-contacto-form-wrap {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px 32px;
  backdrop-filter: blur(8px);
}
@media (max-width: 767px) { .po-contacto-form-wrap { padding: 28px 20px; } }

.po-form__row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .po-form__row { grid-template-columns: 1fr 1fr; } }
.po-form__field { display: flex; flex-direction: column; gap: 6px; }
.po-form__field--full { margin-bottom: 24px; }
.po-form__label { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; color: #CCCCCC; letter-spacing: 0.03em; }
.po-form__label span { color: var(--po-orange); }
.po-form__input, .po-form__textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 14px 16px;
  color: var(--po-white); font-size: 0.9rem;
  transition: all 0.3s ease;
}
.po-form__input::placeholder, .po-form__textarea::placeholder { color: #666; }
.po-form__input:focus, .po-form__textarea:focus { border-color: var(--po-orange); background: rgba(255,255,255,0.08); outline: none; box-shadow: 0 0 0 3px rgba(255,136,0,0.15); }
.po-form__input.error, .po-form__textarea.error { border-color: #E74C3C; box-shadow: 0 0 0 3px rgba(231,76,60,0.15); }
.po-form__textarea { resize: vertical; min-height: 100px; }
.po-form__submit { margin-top: 0; }
.po-form__feedback { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; }
.po-form__feedback--success { background: rgba(46,204,113,0.12); color: #2ECC71; border: 1px solid rgba(46,204,113,0.2); }
.po-form__feedback--error { background: rgba(231,76,60,0.12); color: #E74C3C; border: 1px solid rgba(231,76,60,0.2); }

/* ═══════ FOOTER ═══════ */
.bg-dark{background-color:var(--po-dark);color:#EAEAEA}.text-muted{color:#999}.hover-primary{transition:color .2s}.hover-primary:hover{color:var(--po-orange)}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:1rem}.border-top-subtle{border-top:1px solid rgba(255,255,255,.08)}
.site-footer{padding:70px 0 30px}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 38px; width: auto; }
.footer-brand__tagline { margin-top: 1rem; font-size: 0.875rem; max-width: 260px; line-height: 1.7; color: #999; }
.footer-contact { margin-top: 1.5rem; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item.align-top { align-items: flex-start; }
.icon-primary { color: var(--po-orange); flex-shrink: 0; }
.mt-fix { margin-top: 1px; }
.footer-links h5, .footer-social h5 { color: var(--po-orange); margin-bottom: 18px; letter-spacing: 0.18em; font-size: 0.75rem; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #999; font-size: 0.85rem; transition: all 0.2s ease; display: inline-block; }
.footer-links a:hover { color: var(--po-orange); padding-left: 5px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { color: #999; transition: all 0.3s ease; }
.social-icons a:hover { color: var(--po-orange); transform: translateY(-2px); }
.footer-wsp { margin-top: 1.5rem; }
.footer-wsp h5 { color: var(--po-orange); margin-bottom: 0.5rem; letter-spacing: 0.18em; font-size: 0.75rem; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; }
.footer-wsp-link { display: block; font-size: 0.75rem; color: #999; margin-top: 6px; transition: all 0.2s ease; }
.footer-wsp-link:hover { color: var(--po-orange); }
.footer-bottom { padding-top: 2rem; margin-top: 2rem; }
.footer-bottom__copy { font-size: 0.8rem; }
.footer-bottom__disclaimer { font-size: 0.75rem; max-width: 400px; text-align: right; color: #666; }
@media (max-width: 767px) { .flex-between { flex-direction: column; align-items: flex-start; } .footer-bottom__disclaimer { text-align: left; max-width: 100%; } }

/* ═══════ ANIMATIONS ═══════ */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-fade.is-visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .js-fade { opacity: 1; transform: none; } html { scroll-behavior: auto; } }