/* Cinzel font for logo */
@font-face {
    font-family: "Cinzel";
    src: url("/assets/fonts/8vIU7ww63mVu7gtR-kwKxNvkNOjw-uTnTYo.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Cinzel";
    src: url("/assets/fonts/8vIU7ww63mVu7gtR-kwKxNvkNOjw-tbnTYo.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Cinzel";
    src: url("/assets/fonts/8vIU7ww63mVu7gtR-kwKxNvkNOjw-gjgTYo.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Cinzel";
    src: url("/assets/fonts/8vIU7ww63mVu7gtR-kwKxNvkNOjw-jHgTYo.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

/* ============================================================
   Portilla & Abogados — portillabogados.com.co
   V2 — DARK NAVY + GOLD + WINE + BLUE
   Fraunces + Inter
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --bg-primary:       #0B1220;
    --bg-secondary:     #111B30;
    --surface:          #1A2540;
    --surface-hover:    #213058;

    --text-primary:     #F5F1E8;
    --text-secondary:   #C9D0DC;
    --text-muted:       #8A93A6;

    --brand-gold:       #C9A961;
    --brand-gold-hover: #B89653;
    --brand-gold-pale:  #E8D5A3;
    --brand-wine:       #6B1E2A;
    --brand-wine-hover: #8A2837;
    --brand-blue:       #1E3A8A;

    --state-success:    #2F7D5C;
    --state-warning:    #C68A2C;
    --state-danger:     #B23A3A;

    --nav-height: 80px;
    --transition: .3s ease;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Shorthand aliases for inline styles */
    --gold: #C9A961;
    --wine: #6B1E2A;
    --dark: #0B1220;
    --white: #F5F1E8;
    --gray: #C9D0DC;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: var(--brand-gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-gold-hover);
}

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

ul, ol {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-primary);
}

.section-dark2 {
    background: var(--bg-secondary);
}

.section-dark3 {
    background: var(--surface);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
    margin: 0 auto 16px;
    border: none;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* --- Text Helpers --- */
.gold-text {
    color: var(--brand-gold);
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn-wine {
    display: inline-block;
    background: var(--brand-wine);
    color: #fff;
    padding: 16px 36px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    text-align: center;
}

.btn-wine:hover {
    background: var(--brand-wine-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold-outline {
    display: inline-block;
    background: transparent;
    color: var(--brand-gold);
    padding: 16px 36px;
    border: 2px solid var(--brand-gold);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-gold-outline:hover {
    background: var(--brand-gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* --- Grid Helpers --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* --- Cards --- */
.card {
    background: var(--surface);
    border-radius: 8px;
    padding: 28px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    border-left: 3px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    border-left-color: var(--brand-gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.card-icon {
    color: var(--brand-gold);
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.card-icon svg {
    width: 36px;
    height: 36px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-gold);
    letter-spacing: .5px;
    transition: color var(--transition);
}

.card-link:hover {
    color: var(--brand-gold-hover);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(11, 18, 32, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 18, 32, .98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 12px;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Portal button in nav */
.nav-portal {
    border: 1px solid var(--brand-gold) !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    border-radius: 4px;
    color: var(--brand-gold) !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
}

.nav-portal::after {
    display: none !important;
}

.nav-portal:hover {
    background: var(--brand-gold) !important;
    color: var(--bg-primary) !important;
    border-color: var(--brand-gold) !important;
}

.nav-cta {
    background: var(--brand-gold) !important;
    color: var(--bg-primary) !important;
    padding: 8px 16px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    border-radius: 4px;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--brand-gold-hover) !important;
    color: var(--bg-primary) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--brand-gold);
}

.mobile-menu .nav-portal-mobile {
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--brand-gold);
    padding: 12px 28px;
    border-radius: 4px;
    color: var(--brand-gold);
    letter-spacing: 2px;
}

.mobile-menu .nav-portal-mobile:hover {
    background: rgba(201, 169, 97, .1);
}

.mobile-menu .nav-cta-mobile {
    margin-top: 8px;
    background: var(--brand-gold);
    color: var(--bg-primary);
    padding: 14px 36px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-menu .nav-cta-mobile:hover {
    background: var(--brand-gold-hover);
    color: var(--bg-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    background-image: radial-gradient(ellipse at 20% 50%, rgba(201,169,97,.06) 0%, transparent 60%),
                       radial-gradient(ellipse at 80% 80%, rgba(107,30,42,.05) 0%, transparent 50%);
    position: relative;
    padding-top: var(--nav-height);
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-gold);
    border: 1px solid rgba(201, 169, 97, .3);
    padding: 8px 20px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

/* Hero Internal (sub-pages) */
.hero-internal {
    min-height: 45vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    background-image: radial-gradient(ellipse at 30% 60%, rgba(201,169,97,.05) 0%, transparent 50%);
    padding-top: var(--nav-height);
    position: relative;
}

.hero-internal h1 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--brand-gold);
}

.breadcrumb .separator {
    color: var(--brand-gold);
    font-size: 10px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--brand-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 8px;
}

.about-line {
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
    margin-bottom: 28px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-list {
    margin-top: 28px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 15px;
}

.about-list .check {
    color: var(--brand-gold);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.quote-card {
    background: var(--surface);
    border: 1px solid rgba(201, 169, 97, .2);
    border-left: 4px solid var(--brand-gold);
    border-radius: 8px;
    padding: 40px;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--brand-gold);
    line-height: 1;
    opacity: .4;
    position: absolute;
    top: 16px;
    left: 28px;
}

.quote-card blockquote {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    padding-top: 24px;
}

.quote-author {
    font-size: 14px;
    color: var(--brand-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-item {
    text-align: center;
    padding: 32px 24px;
}

.why-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--brand-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-gold);
    font-size: 24px;
    transition: all var(--transition);
}

.why-item:hover .why-icon {
    background: var(--brand-gold);
    color: var(--bg-primary);
}

.why-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--surface);
    border-left: 3px solid var(--brand-gold);
    border-radius: 8px;
    padding: 32px;
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 60px;
    color: var(--brand-gold);
    opacity: .3;
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.testimonial-role {
    color: var(--brand-gold);
    font-size: 13px;
    margin-top: 4px;
}

/* ============================================================
   PORTAL SECTION (Home)
   ============================================================ */
.portal-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.portal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portal-text h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 16px;
}

.portal-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.portal-features {
    margin-bottom: 32px;
}

.portal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.portal-features .pf-icon {
    color: var(--brand-gold);
    flex-shrink: 0;
}

.portal-visual {
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(201, 169, 97, .15);
    text-align: center;
}

.portal-visual-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--brand-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-gold);
}

.portal-visual h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.portal-visual p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.portal-support {
    margin-top: 12px;
    font-size: 14px;
}

.portal-support a {
    color: var(--text-muted);
}

.portal-support a:hover {
    color: var(--brand-gold);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, .1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--brand-gold);
}

.faq-question .faq-toggle {
    color: var(--brand-gold);
    font-size: 20px;
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid #2a3a5a;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-gold);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A93A6' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--surface);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #556;
}

.contact-info-section {
    padding-top: 8px;
}

.contact-info-section h3 {
    font-size: 28px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201, 169, 97, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-gold);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--brand-gold);
}

.contact-info-item h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-info-item a {
    color: var(--text-muted);
}

.contact-info-item a:hover {
    color: var(--brand-gold);
}

.contact-schedule {
    background: var(--surface);
    border-radius: 8px;
    padding: 28px;
    margin-top: 36px;
    border-left: 3px solid var(--brand-gold);
}

.contact-schedule h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 14px;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-day {
    color: var(--text-primary);
    font-weight: 500;
}

.schedule-time {
    color: var(--brand-gold);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 169, 97, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.contact-social a:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.contact-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--brand-gold);
    transition: fill var(--transition);
}

.contact-social a:hover svg {
    fill: var(--bg-primary);
}

.map-section {
    margin-top: 80px;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    filter: grayscale(80%) brightness(.7) contrast(1.1);
    transition: filter var(--transition);
}

.map-section iframe:hover {
    filter: grayscale(40%) brightness(.8) contrast(1.05);
}

/* ============================================================
   TIMELINE (Nosotros)
   ============================================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-gold), rgba(201,169,97,.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand-gold);
    border: 3px solid var(--bg-primary);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--brand-gold);
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   TEAM / FOUNDER
   ============================================================ */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.founder-photo {
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(201, 169, 97, .15);
}

.founder-photo .initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-wine), var(--brand-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
}

.founder-photo h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.founder-photo .title {
    color: var(--brand-gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.founder-photo .social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.founder-bio h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 8px;
}

.founder-bio p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-specialties {
    margin-top: 28px;
}

.founder-specialties h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.specialty-tag {
    display: inline-block;
    background: rgba(201, 169, 97, .1);
    border: 1px solid rgba(201, 169, 97, .2);
    color: var(--brand-gold);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    margin: 0 8px 8px 0;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-card-meta .blog-tag {
    color: var(--brand-gold);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h3 a:hover {
    color: var(--brand-gold);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ============================================================
   RESULTS
   ============================================================ */
.result-card {
    background: var(--surface);
    border-radius: 8px;
    padding: 32px;
    border-left: 3px solid var(--brand-gold);
    transition: transform var(--transition);
}

.result-card:hover {
    transform: translateY(-4px);
}

.result-card .result-type {
    font-size: 12px;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
}

.result-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.result-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.result-card .result-outcome {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 14px;
    font-weight: 600;
    color: var(--state-success);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-primary);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-about img {
    height: 36px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand-gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item a {
    color: var(--text-muted);
}

.footer-contact-item a:hover {
    color: var(--brand-gold);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 169, 97, .25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-gold);
    transition: fill var(--transition);
}

.footer-social a:hover svg {
    fill: var(--bg-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease-out, transform .7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
/* --- Prose: Justified text --- */
.prose {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .founder-grid,
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-portal, .lang-switcher {
        display: none !important;
    }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    :root {
    /* Shorthand aliases for inline styles */
    --gold: var(--brand-gold);
    --wine: var(--brand-wine);
    --dark: var(--bg-primary);
    --white: var(--text-primary);
    --gray: var(--text-secondary);
        --nav-height: 70px;
    }

    .section {
        padding: 70px 0;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: clamp(30px, 7vw, 48px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: clamp(26px, 5vw, 36px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quote-card {
        padding: 28px;
    }

    .quote-card blockquote {
        font-size: 18px;
    }

    .map-section iframe {
        height: 280px;
    }

    .prose {
        text-align: left;
        hyphens: none;
        -webkit-hyphens: none;
    }

    .contact-grid {
        gap: 40px;
    }

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

    .portal-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-badge {
        font-size: 10px;
        letter-spacing: 2px;
        padding: 6px 14px;
    }

    .btn-wine,
    .btn-gold-outline {
        padding: 14px 28px;
        font-size: 13px;
        width: 100%;
    }

    .stat-number {
        font-size: 36px;
    }

    .stats-grid {
        gap: 12px;
    }

    .card {
        padding: 22px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .footer-grid {
        gap: 28px;
    }

    .hero-internal {
        min-height: 35vh;
    }

    .founder-grid {
        gap: 32px;
    }
}

/* --- Language Switcher --- */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-left: 16px;
}
.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px 4px;
}
.lang-link:hover {
    color: var(--brand-gold);
}
.lang-link.active {
    color: var(--brand-gold);
    font-weight: 700;
}
.lang-divider {
    color: var(--text-muted);
    opacity: 0.5;
}
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lang-switcher-mobile .lang-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    padding: 4px 8px;
    font-size: 1rem;
}
.lang-switcher-mobile .lang-link:hover {
    color: var(--brand-gold);
}
.lang-switcher-mobile .lang-link.active {
    color: var(--brand-gold);
    font-weight: 700;
}
.lang-switcher-mobile .lang-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* === OVERHAUL ADDITIONS (2026-05-06) === */

/* Pillar badge for area cards */
.card-pillar { border-color: rgba(201,168,76,.3); }
.pillar-badge { display:inline-block;background:rgba(201,168,76,.15);color:var(--gold);padding:2px 10px;border-radius:10px;font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:8px; }

/* Picture tag responsive images */
picture img { width:100%; height:auto; border-radius:12px; }
.hero-photo { flex-shrink:0; max-width:420px; }
.hero-photo img { border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.4); }
.hero .container { display:flex; align-items:center; gap:48px; }
@media(max-width:992px) {
    .hero .container { flex-direction:column; }
    .hero-photo { max-width:100%; margin-top:32px; }
}

/* Screen reader only (accessibility) */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* About section photo */
.about-grid > div:last-child picture { margin-bottom:24px; }
.about-grid > div:last-child picture img { border-radius:12px; }

/* Portal section with photo */
.portal-visual picture img { border-radius:12px; box-shadow:0 12px 40px rgba(0,0,0,.3); }

/* Founder photo in team page */
.founder-photo picture img { border-radius:12px; margin-bottom:16px; }

/* === PORTILLA-HANDOFF v2 — Logo fix === */
.site-logo { display: inline-flex; align-items: center; height: 44px; text-decoration: none; padding-top: 6px; }
.site-logo img { height: 100%; width: auto; }

/* Hero image in areas and internal pages */
.hero-img {
    object-position: center 20%;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .hero-img {
        max-height: 250px;
    }
}

/* Fix: specialties no justify */
.founder-specialties {
    text-align: left !important;
}

/* Team cards - fotos simétricas */
.team-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(201, 169, 97, .15);
    transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.team-card picture,
.team-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}
.team-card h3 {
    font-size: 18px;
    margin-top: 16px;
}
@media (max-width: 768px) {
    .team-card picture,
    .team-card img {
        width: 160px;
        height: 160px;
    }
}

/* Blog grid fix */
.grid-2 .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.grid-2 .blog-card .blog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.grid-2 .blog-card .blog-card-body p {
    flex: 1;
}
.grid-2 .blog-card .blog-card-body .card-link,
.grid-2 .blog-card .blog-card-body a[href^="/blog/"] {
    margin-top: auto;
}
