@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #1a2744;
    --gold: #c9a84c;
    --gold-light: #e2c06a;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --white: #ffffff;
    --text: #2c3444;
    --text-light: #6b7280;
    --border: #e5e0d8;
    --shadow: rgba(26, 39, 68, 0.08);
    --shadow-md: rgba(26, 39, 68, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ===== Header ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    line-height: 1;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    animation: logoPulse 3.5s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(26, 39, 68, 0.14); }
    50%       { box-shadow: 0 4px 22px rgba(201, 168, 76, 0.38); }
}

.logo a:hover .logo-img {
    transform: scale(1.1) rotate(3deg);
    animation-play-state: paused;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.45);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    margin: 0;
    transition: color 0.3s ease;
}

.logo a:hover h1 { color: var(--gold); }

.logo-accent { color: var(--gold); }

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--gold);
    transition: width 0.4s ease;
}

nav ul li a:hover, nav ul li a.active { color: var(--primary); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26,39,68,0.85) 0%, rgba(26,39,68,0.5) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-hero-content .section-tag { color: var(--gold-light); }

.page-hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 18px;
}

.page-hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
}

/* ===== Profile Section ===== */
.profile-section {
    padding: 100px 5%;
    background: var(--white);
}

.profile-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.profile-image-col {
    position: sticky;
    top: 100px;
}

.profile-image-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 28px;
}

.profile-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.profile-image-wrap:hover img { transform: scale(1.03); }

.profile-frame {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 55%;
    height: 55%;
    border: 2px solid var(--gold);
    border-radius: 8px;
    pointer-events: none;
}

/* Credentials Card */
.credentials-card {
    background: var(--primary);
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.credential-icon {
    font-size: 1.4rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.credential-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.credential-item strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.credential-item span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Profile Content */
.profile-content {
    padding-top: 10px;
}

.profile-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--primary);
    margin-bottom: 24px;
}

.profile-intro {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 22px;
    font-weight: 400;
}

.profile-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid var(--gold);
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

/* ===== Notary Section ===== */
.notary-section {
    background: var(--cream-light);
    padding: 100px 5%;
}

.notary-container {
    max-width: 1300px;
    margin: 0 auto;
}

.notary-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.notary-intro h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 18px;
}

.notary-intro p {
    font-size: 1rem;
    color: var(--text-light);
}

.notary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.notary-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.notary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow-md);
    border-color: transparent;
}

.notary-card--highlight {
    background: var(--primary);
    border-color: var(--primary);
}

.notary-card--highlight .notary-icon,
.notary-card--highlight h3,
.notary-card--highlight p {
    color: var(--white);
}

.notary-card--highlight h3 {
    color: var(--gold-light);
}

.notary-card--highlight p {
    color: rgba(255, 255, 255, 0.75);
}

.notary-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.notary-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.notary-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===== Values Section ===== */
.values-section {
    padding: 100px 5%;
    background: var(--white);
}

.values-container {
    max-width: 1300px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 64px;
}

.values-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-item {
    padding: 36px 28px;
    border-top: 2px solid var(--border);
    transition: border-color 0.3s ease;
}

.value-item:hover {
    border-color: var(--gold);
}

.value-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 20px;
    line-height: 1;
}

.value-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    padding: 100px 5%;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=70&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: brightness(0.2);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--white);
    margin-bottom: 18px;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.btn-ghost-light {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

/* ===== Footer ===== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 5% 24px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-brand-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 260px;
}

.footer-section h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 20px auto 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 0%;
    z-index: 2000;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

/* ===== Hero Particles ===== */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.25);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ===== Profile Badges ===== */
.profile-badges {
    display: flex;
    gap: 20px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.profile-badge {
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 22px;
    text-align: center;
    transition: all 0.35s ease;
}

.profile-badge:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.badge-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.badge-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ===== Section Scroll Hint ===== */
.section-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 0 0;
}

.scroll-hint-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-hint-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    opacity: 0.7;
    animation: hintBounce 1.6s ease-in-out infinite;
}

@keyframes hintBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
    50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--primary);
    padding: 70px 5%;
    overflow: hidden;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: statGlow 5s ease-in-out infinite alternate;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: statGlow 5s ease-in-out infinite alternate-reverse;
}

@keyframes statGlow {
    from { transform: scale(1); opacity: 0.6; }
    to   { transform: scale(1.4); opacity: 1; }
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
    padding: 20px 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.stat-block:last-child { border-right: none; }

.stat-block:hover { transform: translateY(-6px); }

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-block:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-block:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-block:nth-child(4) .stat-icon { animation-delay: 1.5s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

/* ===== Process Section ===== */
.process-section {
    background: var(--white);
    padding: 100px 5%;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.process-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.process-header p {
    font-size: 1rem;
    color: var(--text-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-bubble {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--cream-light);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 22px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    z-index: 1;
}

.step-bubble:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.15);
    box-shadow: 0 8px 28px rgba(201, 168, 76, 0.4);
}

.step-bubble--final {
    background: var(--primary);
    border-color: var(--primary);
}

.step-bubble--final .step-num { color: var(--gold); }

.step-icon {
    font-size: 1.5rem;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    position: absolute;
    bottom: -8px; right: -8px;
    background: var(--gold);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    letter-spacing: 0;
}

.step-connector {
    position: absolute;
    top: 36px;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--border));
    z-index: 0;
}

.process-step:last-child .step-connector { display: none; }

.process-step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Timeline Section ===== */
.timeline-section {
    background: var(--cream-light);
    padding: 100px 5%;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 72px;
}

.timeline-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 14px;
}

.timeline-header p {
    font-size: 1rem;
    color: var(--text-light);
}

.timeline {
    position: relative;
    padding: 0 0 0 60px;
}

.timeline-line {
    position: absolute;
    left: 18px;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
    transform-origin: top;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    height: 0%;
    transition: height 0.05s linear;
}

.timeline-item {
    position: relative;
    padding: 0 0 52px 32px;
    display: grid;
    grid-template-columns: 60px auto;
    align-items: start;
    gap: 0 20px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    padding-top: 4px;
    text-align: right;
    white-space: nowrap;
}

.timeline-dot {
    position: absolute;
    left: -10px;
    top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    transition: all 0.4s ease;
    z-index: 1;
}

.timeline-dot--active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.2);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(201,168,76,0.2); }
    50%       { box-shadow: 0 0 0 10px rgba(201,168,76,0.08); }
}

.timeline-content {
    background: var(--white);
    border-radius: 8px;
    padding: 24px 28px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(30px);
}

.timeline-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:hover .timeline-content {
    border-color: var(--gold);
    box-shadow: 0 8px 28px var(--shadow);
    transform: translateX(4px);
}

.timeline-item:hover .timeline-dot {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

.timeline-content h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--white);
    padding: 100px 5%;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 14px;
}

.testimonials-header p {
    font-size: 1rem;
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.testimonial-card:hover::before { width: 100%; }

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px var(--shadow-md);
    border-color: transparent;
}

.testimonial-card--featured {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-12px);
}

.testimonial-card--featured::before { background: var(--gold-light); }

.testimonial-card--featured:hover {
    transform: translateY(-18px);
}

.testimonial-card--featured .testimonial-stars,
.testimonial-card--featured .testimonial-text {
    color: rgba(255,255,255,0.85);
}

.testimonial-card--featured strong {
    color: var(--gold-light);
}

.testimonial-card--featured span {
    color: rgba(255,255,255,0.5);
}

.testimonial-card--featured .author-avatar {
    background: rgba(255,255,255,0.15);
    color: var(--gold-light);
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 0.6;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 16px;
    display: block;
    height: 36px;
}

.testimonial-card--featured .testimonial-quote {
    color: var(--gold-light);
    opacity: 0.4;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.testimonial-text {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(201,168,76,0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    border: 1.5px solid rgba(201,168,76,0.3);
}

.author-info { display: flex; flex-direction: column; gap: 3px; }

.author-info strong {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--cream-light);
    padding: 100px 5%;
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
    border-color: var(--gold);
    box-shadow: 0 4px 20px var(--shadow);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
}

.faq-question:hover { color: var(--gold); }

.faq-arrow {
    font-size: 1.1rem;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 28px 22px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

/* ===================================================================
   ANIMACIONES — Sobre Nosotros
   =================================================================== */

@keyframes fadeUp   { from { opacity:0; transform:translateY(45px); } to { opacity:1; transform:none; } }
@keyframes fadeLeft { from { opacity:0; transform:translateX(-50px); } to { opacity:1; transform:none; } }
@keyframes fadeRight{ from { opacity:0; transform:translateX(50px); } to { opacity:1; transform:none; } }
@keyframes scaleIn  { from { opacity:0; transform:scale(0.82); } to { opacity:1; transform:none; } }
@keyframes blurUp   { from { opacity:0; transform:translateY(25px); filter:blur(8px); } to { opacity:1; transform:none; filter:none; } }
@keyframes bounceIn { 0%{opacity:0;transform:scale(0.5);} 60%{transform:scale(1.08);} 100%{opacity:1;transform:none;} }
@keyframes float    { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
@keyframes shimmer  { 0%{background-position:-200% center;} 100%{background-position:200% center;} }
@keyframes gradientShift { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }
@keyframes numberReveal { from{opacity:0;transform:translateY(20px) scale(0.7);} to{opacity:1;transform:none;} }
@keyframes ripple { 0%{transform:scale(0);opacity:0.4;} 100%{transform:scale(4);opacity:0;} }

/* Hero page content */
.page-hero-content .section-tag { animation: fadeLeft 0.7s ease 0.3s both; }
.page-hero-content h1            { animation: blurUp  0.9s cubic-bezier(0.16,1,0.3,1) 0.5s both; }
.page-hero-content p             { animation: fadeUp  0.7s ease 0.75s both; }

/* Profile image reveal */
.profile-image-wrap {
    overflow: hidden;
}
.profile-image-wrap img {
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.profile-image-wrap:hover img {
    transform: scale(1.06);
}

/* Credential items stagger */
.credential-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.credential-item.animate-in {
    opacity: 1;
    transform: none;
}
.credential-item:nth-child(1) { transition-delay: 0.1s; }
.credential-item:nth-child(2) { transition-delay: 0.22s; }
.credential-item:nth-child(3) { transition-delay: 0.34s; }

/* Credential icon hover */
.credential-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.credential-item:hover .credential-icon {
    transform: scale(1.3) rotate(10deg);
}

/* Profile frame animated border */
.profile-frame {
    border: 2px solid transparent;
    background: linear-gradient(var(--cream-light), var(--cream-light)) padding-box,
                linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold)) border-box;
    animation: gradientShift 4s ease infinite;
    background-size: 200%;
}

/* Notary cards enhanced hover */
.notary-card {
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.notary-card:hover {
    transform: translateY(-10px) scale(1.01);
}
.notary-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.notary-card:hover .notary-icon {
    transform: scale(1.35) rotate(8deg);
}

/* Values section number glow */
.value-number {
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}
.value-item {
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.value-item:hover {
    transform: translateY(-4px);
}

/* CTA buttons shimmer */
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn-gold:hover::after { left: 150%; }
.btn-gold:hover {
    box-shadow: 0 10px 30px rgba(201,168,76,0.45);
}

/* Reveal utility */
.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1),
                filter 0.7s ease;
}
.reveal.up    { transform: translateY(45px); }
.reveal.left  { transform: translateX(-45px); }
.reveal.right { transform: translateX(45px); }
.reveal.scale { transform: scale(0.85); }
.reveal.blur  { transform: translateY(20px); filter: blur(8px); }
.reveal.animate-in { opacity:1; transform:none; filter:none; }

/* Stats + process + timeline section reveals */
.stat-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.stat-block.animate-in { opacity: 1; transform: translateY(0); }
.stat-block:nth-child(1) { transition-delay: 0s; }
.stat-block:nth-child(2) { transition-delay: 0.12s; }
.stat-block:nth-child(3) { transition-delay: 0.24s; }
.stat-block:nth-child(4) { transition-delay: 0.36s; }

.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step.animate-in { opacity: 1; transform: translateY(0); }
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }
.process-step:nth-child(5) { transition-delay: 0.4s; }

.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease,
                box-shadow 0.4s ease, border-color 0.4s ease;
}
.testimonial-card.animate-in { opacity: 1; transform: translateY(0); }
.testimonial-card--featured.animate-in { transform: translateY(-12px); }
.testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease,
                border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.animate-in { opacity: 1; transform: translateY(0); }
.faq-item:nth-child(1) { transition-delay: 0s; }
.faq-item:nth-child(2) { transition-delay: 0.08s; }
.faq-item:nth-child(3) { transition-delay: 0.16s; }
.faq-item:nth-child(4) { transition-delay: 0.24s; }
.faq-item:nth-child(5) { transition-delay: 0.32s; }

/* Profile badges float-in stagger */
.profile-badge {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease,
                border-color 0.3s ease, box-shadow 0.3s ease;
}
.profile-badge.animate-in { opacity: 1; transform: translateY(0) scale(1); }
.profile-badge:nth-child(1) { transition-delay: 0.1s; }
.profile-badge:nth-child(2) { transition-delay: 0.2s; }
.profile-badge:nth-child(3) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .notary-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
    .step-connector { display: none; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .profile-image-col {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-container { height: 70px; }
    .menu-toggle { display: flex; }

    #main-nav {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 20px 5%;
        transform: translateY(-120vh);
        visibility: hidden;
        transition: transform 0.4s ease, visibility 0.4s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(26,39,68,0.1);
    }

    #main-nav.open { transform: translateY(0); visibility: visible; }
    #main-nav ul { flex-direction: column; gap: 6px; }
    #main-nav ul li a { font-size: 1rem; padding: 12px 0; display: block; border-bottom: 1px solid var(--border); }

    .page-hero { margin-top: 70px; }

    .notary-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .stats-container { grid-template-columns: 1fr 1fr; gap: 1px; }
    .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card--featured { transform: none; }
    .testimonial-card--featured.animate-in { transform: translateY(-6px); }
    .timeline { padding-left: 40px; }
    .timeline-item { grid-template-columns: 44px auto; }

    .footer-content { grid-template-columns: 1fr; gap: 30px; }

    .profile-section, .notary-section, .values-section,
    .process-section, .timeline-section, .testimonials-section, .faq-section { padding: 70px 5%; }
}

@media (max-width: 500px) {
    .values-grid { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .profile-badges { gap: 12px; }
    .timeline { padding-left: 28px; }
    .timeline-item { grid-template-columns: 36px auto; gap: 12px; }
    .page-hero h1 { font-size: 1.9rem; }
}

/* =================================================================
   SINGLE-COLUMN PROFILE LAYOUT (no image)
   ================================================================= */

/* Profile single column (no image) */
.profile-container--single {
    grid-template-columns: 1fr;
    max-width: 860px;
}
.profile-content--centered {
    padding-top: 0;
}
.profile-content--centered .profile-badges {
    justify-content: flex-start;
}

/* =================================================================
   EXPERTISE CARDS (Profile section)
   ================================================================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 32px 0 28px;
}

.expertise-card {
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px var(--shadow-md);
    border-color: var(--gold);
}

.expertise-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expertise-card:hover .expertise-icon {
    background: rgba(201, 168, 76, 0.2);
    transform: scale(1.15) rotate(8deg);
}

.expertise-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.expertise-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.expertise-card p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* Cita destacada */
.profile-quote {
    position: relative;
    background: var(--cream-light);
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding: 22px 28px 22px 42px;
    margin: 8px 0 28px;
    text-align: left;
}

.quote-mark {
    position: absolute;
    top: 2px;
    left: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    line-height: 1;
    opacity: 0.35;
    pointer-events: none;
}

.profile-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.65;
    margin: 0;
}

/* =================================================================
   VALUE ICONS (Values section)
   ================================================================= */

.value-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.value-item:hover .value-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Responsive expertise grid */
@media (max-width: 900px) {
    .expertise-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .expertise-grid { grid-template-columns: 1fr; gap: 12px; }
    .profile-quote { padding: 18px 20px 18px 36px; }
}
